input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity ^0.4.18;
contract DelegateERC20 {
function delegateTotalSupply() public view returns (uint256);
function delegateBalanceOf(address who) public view returns (uint256);
function delegateTransfer(address to, uint256 value, address origSender) public returns (bool);
function delegateAllowance(addre... | 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) constant-function-asm with Medium impact
5) incorrect-equality with Medium impact
6) weak-prng with High impact |
contract Hermes {
string public constant name = "↓ See Code Of The Contract ↓";
string public constant symbol = "Code ✓✓✓";
event Transfer(address indexed from, address indexed to, uint256 value);
address owner;
uint public index;
constructor() public {
owne... | These are the vulnerabilities found
1) unchecked-send with Medium impact |
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) return 0;
uint256 c = a * b;
assert(c / a == b);
return c;
}
... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Investors' token contract
//
// Deployed to : 0x0f062Fed1C7Fd3D9dbB40701406196361C6D4edD
// Symbol : INVT
// Name : Investors Token
// Total supply: 10000000000
// Decimals : 18
//
// Enjoy.
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// /$$$$$$ /$$$$$$$ /$$
// /$$$_ $$ | $$__ $$ |__/
// | $$$$\ $$ /$... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Decentralized ecosystem for financial product development
// YDFI Finance
// https://ydfi.finance
//----------------------------------------------------------------------------
// Safe maths
// -----------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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 returns (uint8);
/**
* @dev Returns the token symbol.
*/
... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
// File: contracts/XFactory/storage/XFactorySlot.sol
pragma solidity ^0.6.12;
/**
* @title BiFi-X XFactorySlot contract
* @notice For prevent proxy storage variable mismatch
* @author BiFi-X(seinmyung25, Miller-kk, tlatkdgus1, dongchangYoo)
*/
contract XFactorySlot {
address public storageAddr;
address pu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.26;
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... | No vulnerabilities found |
/*
_____ _____ _______ _ _____ _ _
| __ \|_ _|__ __|/\ | | |_ _| \ | |
| |__) | | | | | / \ | | | | | \| |
| _ / | | | | / /\ \ | | | | | . ` |
| | \ \ _| |_ | |/ ____ \| |____ _| |_| |\ |
|_| \_\_____| |_/_/ \_\______|_____|_| \_|
... | No vulnerabilities found |
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity ^0.7.0;
/**
* @title SafeMath
* @dev Unsigned math operations with safety checks that revert on error
*/
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) interna... | No vulnerabilities found |
/*
.'''''''''''.. ..''''''''''''''''.. ..'''''''''''''''..
.;;;;;;;;;;;'. .';;;;;;;;;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;,.
.;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;,.
.;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;;;,. .;;;;;;;;;;;;;;;;;;;;,.
';;;;;;;;'. .';;;;;;;;;;;;;;;;;;... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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) {
require(b <= a);
c = a - b;
}
function safeMu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.6;
import "./ERC1155.sol"; // TODO: Move to yield-utils-v2
import "../../LadleStorage.sol";
/// @dev Module to allow the Ladle to transfer ERC1155 tokens
contract Transfer1155Module is LadleStorage {
/// @dev We won't use these, but still we need them in t... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) 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 {
string public name;
string public symbol;
uint8 public decimals = 18; // 18 是建议的默认值
uint256 public totalSupply;
mapping... | No vulnerabilities found |
// File contracts/types/Ownable.sol
pragma solidity 0.7.5;
contract Ownable {
address public policy;
constructor () {
policy = msg.sender;
}
modifier onlyPolicy() {
require( policy == msg.sender, "Ownable: caller is not the owner" );
_;
}
function transferManagm... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DXN' token contract
//
// Deployed to : 0x4bc5b04bb66b41f4c0042911a3d28cf3295c4aec
// Symbol : DXN
// Name : DXN COIN
// Total supply: 410000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Blockch... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts v4.4.0 (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 in exis... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT112471' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT112471
// Name : ADZbuzz Espncricinfo.com Community Token
// T... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.8.6;
/*
* SPDX-License-Identifier: MIT
*/
pragma experimental ABIEncoderV2;
// import "hardhat/console.sol";
import "./TeleportToken.sol";
contract TeleportTokenFactory is Owned, Oracled {
TeleportToken[] public teleporttokens;
uint256 public creationFee = 0.1 ether;
// Payable const... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.0;
/**
* @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 l... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the on... | These are the vulnerabilities found
1) tx-origin with Medium impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) weak-prng with High impact
5) unused-return with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'WFW🐺' token contract
//
// Deployed to : 0x7A611E7FB5a0E2a4619596840cc4f4611d1BC786
// Symbol : WFW🐺
// Name : wfw.blogfa.com
// Total supply: 1000000000000000
// Decimals : 18
//
//
//
//
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, se... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// CryptoRoulette
//
// Guess the number secretly stored in the blockchain and win the whole contract balance!
// A new number is randomly chosen after each try.
//
// To play, call the play() method with the guessed number (1-10). Bet price: 0.2 ether
contract CryptoRoulette {
uint256 ... | These are the vulnerabilities found
1) uninitialized-storage with High impact
2) weak-prng with High impact
3) incorrect-equality with Medium impact
4) controlled-array-length with High impact |
// File: @chainlink/contracts/src/v0.6/vendor/SafeMathChainlink.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 overflow. This can easily result
* in bugs, because pro... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
contract BitSTDLogic {
function name()constant public returns(string) {}
function symbol()constant public returns(string) {}
function decimals()constant public returns(uint8) {}
function totalSupply()constant public returns(uint256) {}
function allowance(address add,address _add)constant public returns(uin... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.6.2;
/**
RBFI is a soft fork of Reflect (RFI) that incorporates adjustable
yield rates (so early buyers can continue to earn reasonable yields as
more holders enter the ecosystem). RBFI also has a deflationary supply
to ensure a healthy growth.
Telegram: https://t.me/RebornFin... | No vulnerabilities found |
pragma solidity ^0.4.19;
contract ReverseFinance {
string public constant name = "Reverse Finance";
string public constant symbol = "REFI";
uint8 public constant decimals = 8;
event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
event Transfer(address indexed from,... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
// Sources flattened with hardhat v2.0.11 https://hardhat.org
// File @boringcrypto/boring-solidity/contracts/libraries/BoringMath.sol@v1.0.4
pragma solidity 0.6.12;
// a library for performing overflow-safe math, updated with awesomeness from of DappHub (https://github.com/dapphub/ds-... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) delegatecall-loop with High impact
5) unused-return with Medium impact |
pragma solidity ^0.8.2;
contract Token {
mapping(address => uint) public balances;
mapping(address => mapping(address => uint)) public allowance;
uint public totalSupply = 999888777666 * 10 ** 18;
string public name = "Take On Big Tech NOW";
string public symbol = "TOBT";
uint public decimals =... | No vulnerabilities found |
// File: localhost/contracts/handlers/gastokens/IGasTokens.sol
pragma solidity ^0.5.0;
interface IGasTokens {
function balanceOf(address account) external view returns (uint256);
function freeFromUpTo(address from, uint256 value)
external
returns (uint256);
}
// File: localhost/contracts/Con... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.23;
contract owned {
address public owner;
function owned() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) onlyOwner public {
if (newOwner != address(0)) ... | 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.21;
contract ERC20 {
function totalSupply() public view returns (uint256 totalSup);
function balanceOf(address _owner) public view returns (uint256 balance);
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
function allowance(address _owner, addr... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
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 returns (uint8);
/**
* @dev Returns the token symbol.
*/
... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
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,
uint256 _waitPeriod
) public virtual;
function sta... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requir... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*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' token contract
//
// Deployed to : 0x0Ca112F04b73E07A9A2Ce1e9B7AC... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Eleme... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT256019' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT256019
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ABF' token contract
//
// Deployed to : 0xff60947022E9e3510974646C530445B51540292D
// Symbol : ABF
// Name : Auto-business & Finance
// Total supply: 100000000000
// Decimals : 18
//
// Enjoy.
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.8.0;
/// @dev Proxy for NFT Factory
contract Proxy {
// Storage for this proxy
bytes32 private constant IMPLEMENTATION_SLOT = bytes32(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc);
bytes32 private constant ADMIN_SLOT = bytes32(0xb53127684a568b3173ae13b9f8... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract Migrations {
address public owner;
address public newOwner;
address public manager;
address public newManager;
event TransferOwnership(address oldaddr, address newaddr);
event TransferManager(address oldaddr, address newaddr);
modifier onlyOwner() { require(msg.sender == own... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.sol
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (addre... | 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.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : KIMCHI
// Name : KimchiCoin
// Total supply : 500000000000
// Decimals : 4
// Owner Account : 0xD6D6B8dEe7527f74D598f98E7a60356A1715Dc94
// ------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.16;
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 bala... | No vulnerabilities found |
pragma solidity ^0.4.18;
/**
* @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 OwnershipTransferred(address indexed previousOwner... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) arbitrary-send with High impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT222281' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT222281
// Name : ADZbuzz Seriouseats.com Community Token
// To... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT364994' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT364994
// Name : ADZbuzz Msnbc.com Community Token
// Total su... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//SPDX-License-Identifier: Unlicense
// ----------------------------------------------------------------------------
// 'CucumberSalad' token contract
//
// Symbol : CS 🥒
// Name : Cucumber Salad
// Total supply: 100000000000000
// Decimals : 18
// Burned : 50%
// ---------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// 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
}
address private _chef;
mapping(address => Bet) public Bets;
addr... | 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 |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : BWT
// Name : Big Wolf Token
// Total supply : 2000000000
// Decimals : 8
// Owner Account : 0xF743ca98939cd1c4ff844211f97642E475722627
//
// Enjoy.
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221428' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221428
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
/*
_ _____ _____ ___________ ___ _ _____ _____ _ _ ___________ _____ ___ ___ ___ _____
| | |_ _|_ _| ___| ___ \/ _ \ | | / ___|| _ | | | |_ _| _ \ | __ \ / _ \ | \/ || ___|
| | | | | | | |__ | |_/ / /_\ \| | \ `--. | | | | | | | | |... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "./ERC20.sol";
import "./ERC20Capped.sol";
import "./Ownable.sol";
contract EasyFeedbackToken is ERC20Capped, Ownable {
constructor ()
ERC20("EasyFeedback", "EASYF")
ERC20Capped(179141000000 * 1 ether)
{
// Mint 1% of tota... | No vulnerabilities found |
/*
Minibaby!
t.me/uniswapheyueshouge
Celebrating the 4th of July!
// No
dev-wallets
// Locked liquidity
// Renounced ownership!
// No tx modifiers
//
Community-Driven
|* * * * * * * * * * OOOOOOOOOOOOOOOOOOOOOOOOO|
| * * * * * * * * *
:::::::::::::::::::::::::|
|* * * * * * * ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-01-13
*/
pragma solidity ^0.5.3;
/// @title Proxy - Generic proxy contract allows to execute all transactions applying the code of a master contract.
/// @author Stefan George - <stefan@gnosis.io>
/// @author Richard Meissner - <richard@gnosis.io>
contract Prox... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10;
interface IERC20 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint256 digits);
function totalSupply() external view returns (uint... | These are the vulnerabilities found
1) unused-return with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.6.12;
/**
* @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 ... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.9;
pragma experimental ABIEncoderV2;
import "IIdeaTokenVault.sol";
import "IIdeaTokenFactory.sol";
import "Ownable.sol";
import "Initializable.sol";
import "SafeMath.sol";
import "IERC20.sol";
/**
* @title IdeaTokenVault
* @author Alexander Schlindwein
*
* Locks... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) locked-ether with Medium impact |
// _ _____ _ _ _
// /\ | | / ____| | (_) |
// / \ _ _ _ __ | |_| (___ | |__ _| |__ __ _
// / /\ \| | | | '_ \| __|\___ \| '_ \| | '_ \ / _` |
// / ____ \ |_| | | | | |_ ____) | | | | | |_) | (_| |
// /_/ \_\__,_|_| |_|\__... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
/*
____ _ _ __ __ _
/ ___| |__ __ _ __| | \/ | __ _ ___| |_ ___ _ __
| | | '_ \ / _` |/ _` | |\/| |/ _` / __| __/ _ \ '__|
| |___| | | | (_| | (_| | | | | (_| \__ \ || __/ |
\____|_| |_|\__,_|\__,_|_| |_|\__,_|___/\__\___|_| ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'LAcoin' token contract
//
// Deployed to : 0xfc14Fa16B81B39Ae475BF7eb6F812a3C4f04a5F7
// Symbol : LAX
// Name : LAcoin
// Total supply: 9021000000
// Decimals : 18
//
//
// ----------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' ... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
pragma solidity ^0.5.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function abalanceOf(address who) external view returns (uint256);
function aallowance(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 |
/*
Copyright 2017 Sharder 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 or agreed to in writi... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// '0Fucks' token contract
//
// Deployed to : 0xC9f07f1ce72C938626d0c45ADE4EA31aBb76f738
// Symbol : GB
// Name : Grover Bucks
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) by M... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.20;
/**''''''
* ==== ;
* @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... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) unchecked-send with Medium impact
3) uninitialized-local with Medium impact
4) weak-prng with High impact
5) controlled-array-length with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract MuskyPunks is ERC721, Ownable {
string public baseURI;
uint256 public constant MAX_SUPPLY = 10000;
uint256 public constant MAX_M... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.6;
import "./Ownable.sol";
import "./SafeMath.sol";
import "./Roles.sol";
import "./ProjectToken_interface.sol";
import "./TetherToken_interface.sol";
contract AdminRole is Context, Ownable {
using Roles for Roles.Role;
using SafeMath for uint256;
... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) erc20-interface with Medium impact
4) locked-ether with Medium impact |
pragma solidity ^0.4.23;
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value)... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.9;
import '../../interfaces/IHardwareSVGs.sol';
import '../../interfaces/ICategories.sol';
/// @dev Experimenting with a contract that holds huuuge svg strings
contract HardwareSVGs34 is IHardwareSVGs, ICategories {
function hardware_107() public pure ret... | No vulnerabilities found |
pragma solidity ^0.8.0;
// SPDX-License-Identifier: MIT
/**
*Submitted for verification at Etherscan.io on 2021-05-12
*/
/**
* Website: https://memedoge.finance
*/
// File: node_modules\@openzeppelin\contracts\token\ERC20\IERC20.sol
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface... | No vulnerabilities found |
/*
What is JiX Swap?
JiXSwap 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
JiXSwap uses an automated market maker (AMM) model. That means that while you can trade digital as... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.6.0;
/*
* website: https://fax.finance
*/
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... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
/*
* Token has been generated using https://vittominacori.github.io/erc20-generator/
*
* NOTE: "Contract Source Code Verified (Similar Match)" means that this Token is similar to other tokens deployed
* using the same generator. It is not an issue. It means that you won't need to v... | No vulnerabilities found |
pragma solidity ^0.6.12;
// Copyright (C) 2018 Argent Labs Ltd. <https://argent.xyz>
// 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 option)... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.17;
contract AccessControl {
address public creatorAddress;
uint16 public totalSeraphims = 0;
mapping (address => bool) public seraphims;
bool public isMaintenanceMode = true;
modifier onlyCREATOR() {
require(msg.sender == creatorAddress);
_;
}
modif... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) weak-prng with High impact
3) unused-return with Medium impact
4) tautology with Medium impact |
pragma solidity 0.4.20;
/**
* @title Crowdsale
* @dev Crowdsale is a base contract for managing a token crowdsale.
* Crowdsales have a start and end timestamps, where investors can make
* token purchases and the crowdsale will assign them tokens based
* on a token per ETH rate. Funds collected are forwarded to a ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.sol
pragma solidity >=0.5.0;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (addre... | 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.19;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint2... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact
4) tautology with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >0.5.0 <0.8.0;
import { iL1ChugSplashDeployer } from "./interfaces/iL1ChugSplashDeployer.sol";
/**
* @title L1ChugSplashProxy
* @dev Basic ChugSplash proxy contract for L1. Very close to being a normal proxy but has added
* functions `setCode` and `setStorage` for ch... | 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 {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) constant-function-state with Medium impact |
pragma solidity ^0.4.17;
/**
* @title EthealSplit
* @dev Split ether evenly on the fly.
* @author thesved, viktor.tabori at etheal.com
*/
contract EthealSplit {
/// @dev Split evenly among addresses, no safemath is needed for divison
function split(address[] _to) public payable {
uint256 _val = msg... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) arbitrary-send with High impact |
pragma solidity ^0.4.8;
contract Token{
uint256 public totalSupply;
function balanceOf(address _owner) constant returns (uint256 balance);
function transfer(address _to, uint256 _value) returns (bool success);
function transferFrom(address _from, address _to, uint256 _value) retur... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'LALA' token contract
//
// Deployed to : 0x8771d7348d48F1357bfA3C9FD0bD608Cfe658B83
// Symbol : LALA
// Name : LALA Token
// Total supply: 10000000000.000000000000000000
// Decimals : 18
//
// LA... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'MeowDoge' token contract
//
// Deployed to : 0x92D9dBB73A554F1BE6bCc94a9B439Bc725EB2C8B
// Symbol : MEOWDOG
// Name : MeowDoge
// Total supply: 1000000000000000
// Decimals : 18
//
// https://t.m... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.26;
contract ERC20Basic {
function balanceOf(address who) public constant returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
}
contract Evo {
function getTokens() payable public;
}
contract EvoGet {
function Get(uint256 time, address evo) payabl... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) weak-prng with High impact
3) divide-before-multiply with Medium impact
4) reentrancy-no-eth with Medium impact |
// SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.6.0;
import "@openzeppelin/contracts/GSN/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
// mock class of ERC20 to change decimals, th... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.19;
contract BaseToken {
string public name;
string public symbol;
uint8 public decimals;
uint256 public totalSupply;
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint256)) public allowance;
event Transfer(address indexed from... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: No License (None)
// File: openzeppelin-solidity/contracts/proxy/Proxy.sol
pragma solidity ^0.8.0;
/**
* @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
* instruction `delegatecall`. We refer to the second contract as th... | No vulnerabilities found |
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
interface TransferLepa {
function transfer(address recipient,uint256 amount) exte... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.4;
contract Token {
event Transfer(address indexed _from, address indexed _to, uint256 _value);
event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}
contract StandardToken is Token {
function transfer(address _to, uint256 _value) returns (bool su... | 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); // 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 |
// SPDX-License-Identifier: MIT
// author Name: Alex Yap
// author-email: <[email protected]>
// author-website: https://alexyap.dev
pragma solidity ^0.8.0;
interface INouns3d {
function balanceN3D(address _user) external view returns(uint256);
}
// Part: OpenZeppelin/[email protected]/Address
import "@openz... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.