input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/access/Ownable.sol";
import "./MetadataStruct.sol";
import "./VRFConsumer.sol";
contract metadataAddonContract {
function getImage(uint _collectionId, uint _tokenId) external view returns (string memory) {}
function get... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) incorrect-shift with High impact
3) uninitialized-local with Medium impact
4) weak-prng with High impact
5) unused-return with Medium impact |
// (c) KYC KNOW YOUR CAPITAL 2021
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) {
this;
return msg.data;
}
}
interface... | 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.18;
// ----------------------------------------------------------------------------
// 'FoxyFries' token contract
//
// Deployed to : 0x5F8556aA922Bc139c0c10c83f860b43687053de8
// Symbol : FOXFI
// Name : FoxyFries
// Total supply: 1000000000000000
// Decimals : 18
//
// https://t.m... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10;
abstract contract IDFSRegistry {
function getAddr(bytes4 _id) public view virtual returns (address);
function addNewContract(
bytes32 _id,
address _contractAddr,
uint256 _waitPeriod
) public virtual;
function star... | 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 constant returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
f... | No vulnerabilities found |
pragma solidity ^0.4.24;
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);
c = a - b;
}
function mul(uint a, uint b) internal p... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
//**********************************************************************************
// KITTYPILLAR CONTRACT
//**********************************************************************************
contract KittyPillar {
using SafeMath for uint256;
address public owner; //owner of thi... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) tautology with Medium impact
4) weak-prng with High impact
5) controlled-array-length with High impact |
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT159799' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT159799
// Name : ADZbuzz Usitech-int.com Community Token
// Total supply: 2000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract Quicketh {
// Bet 0.001 ETH.
// Get a 10% change to win 0.008
address public owner; // Who's the boss?
uint public players; // How many are playing?
address[] public playedWallets; // These can win
... | These are the vulnerabilities found
1) weak-prng with High impact
2) controlled-array-length with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {OperationCenterInterface} from "./interfaces/IOperationCenter.sol";
contract AccountProxy {
// auth is shared storage with AccountProxy and any OpCode.
mapping(address => bool) internal _auth;
address internal immutable opCenterAddress;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// 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() external view returns (uint256);
/**
* @dev Returns the amount o... | No vulnerabilities found |
// SPDX-License-Identifier: BUSL-1.1
// For further clarification please see https://license.premia.legal
pragma solidity ^0.8.0;
import {ProxyUpgradeableOwnable} from "../ProxyUpgradeableOwnable.sol";
import {PremiaMiningStorage} from "./PremiaMiningStorage.sol";
contract PremiaMiningProxy is ProxyUpgradeableOwnabl... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT341587' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT341587
// Name : ADZbuzz Eff.org Community Token
// Total supp... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin/contracts/GSN/Context.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.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.sender and msg.data, they should not be... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT100628' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT100628
// Name : ADZbuzz Howchangemylife.com Community Token
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* Website: https://icediamond.finance/
* Telegram: imond_official
*/
pragma solidity >=0.6.2;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.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,... | No vulnerabilities found |
pragma solidity ^0.4.22;
/**
* @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;
address delegate;
event OwnershipTransferred(address i... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v2.5.0/contracts/utils/ReentrancyGuard.sol
pragma solidity ^0.5.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, whic... | No vulnerabilities found |
// Sources flattened with hardhat v2.6.4 https://hardhat.org
// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v4.3.2
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount o... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity ^0.4.21;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
return 0;
}
c ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.22;
// ----------------------------------------------------------------------------
// 'EmmiumCoin' token contract
//
// Deployed to : 0x24D11cb41BD995D00F0FD5bB4ac5906997776236
// Symbol : EMMI
// Name : EmmiumCoin
// Total supply: 2000000000
// Decimals : 18
//
// Enjoy and thanks... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import './AMPowerPassCore.sol';
contract MetaciplesPowerPass is AMPowerPassCore{
string public name = "Metaciples: Power-Pass";
string public symbol = "AM: M";
constructor()
Delegated()
AM1155Base(""){
setToken( 0,
"Metaciples: Power-P... | These are the vulnerabilities found
1) unused-return with Medium impact
2) msg-value-loop with High impact
3) uninitialized-local with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : BBM
// Name : BIBIM MIX
// Total supply : 1000000000
// Decimals : 18
// Owner Account : 0x36f9784246dC55283E39579c0025B61f6a69A753
//
// --------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import './SwapERC20.sol';
import '../libraries/Math.sol';
import '../libraries/UQ112x112.sol';
import '../interfaces/IERC20.sol';
import '../interfaces/ISwapFactory.sol';
import '../interfaces/ISwapCallee.sol';
interface IMigrator {
// Return the desired amo... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract XanaToken is ERC20 {
constructor() ERC20("XanaToken", "Xana") public {
_mint(msg.sender, 10000000 * 10 ** 18);
}
}
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;... | No vulnerabilities found |
pragma solidity ^0.4.22;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract DollarCatToken {
string public name;
string public symbol;
uint8 public decimals = 18;
uint256 public totalSupply;
address public owner;
... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.5.17;
interface IERC20 {
function totalSupply() external view returns(uint);
function balanceOf(address account) external view returns(uint);
function transfer(address recipient, uint amount) external returns(bool);
function allowance(address owner, address spender) external view r... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'WTT' 'WinTech Token' token contract
//
// Symbol : WTT
// Name : WinTech Token
// Total supply : 100,000,000.000000000000000000
// Decimals : 18
//
// -----------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'AWMV' AnyWhereMobile Voucher Token
//
// Symbol : AWMV
// Name : Example Fixed Supply Token
// Total supply: 100,000,000,000.000000
// Decimals : 6
//
// -----------------------------------------... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
/**
* Stick Fighter
.m.
(;)
(;)
(;)
. (;) .
|\_(;)_/|
|/ )|( \|
( o )
)8(
( o )
)8(
;|S|;
||S||
... | 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.18;
// ----------------------------------------------------------------------------
// 'ACT549131' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT549131
// Name : ADZbuzz Recode.net Community Token
// Total s... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.0;
contract Echoer {
event Echo(address indexed who, bytes data);
function echo(bytes calldata _data) external {
emit Echo(msg.sender, _data);
}
} | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT470596' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT470596
// Name : ADZbuzz Investors.com Community Token
// Total supply: 2000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT117638' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT117638
// Name : ADZbuzz Beforeitsnews.com Community Token
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
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 |
pragma solidity ^0.4.21;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
return 0;
}
c ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract IMigrationContract {
function migrate(address addr, uint256 nas) public returns (bool success);
}
/* 灵感来自于NAS coin*/
contract SafeMath {
function safeAdd(uint256 x, uint256 y) internal pure returns(uint256) {
uint256 z = x + y;
assert((z >= x) && (z >= y));
... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FBI' token contract
//
// Deployed to : 0x4056807bdc9f38ce06fd891b1bfb0ee1cc79361d
// Symbol : FBI
// Name : Farming Building Industry
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/*
* ZETHR PRESENTS: SLOTS
*
* Written August 2018 by the Zethr team for zethr.io.
*
* Code framework written by Norsefire.
* EV calculations written by TropicalRogue.
*
* Rolling Odds:
* 52.33% Lose
* 35.64% Two Matching Icons
* - 5.09% : 2x Multiplier [Two Rockets]
* ... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) weak-prng with High impact
3) reentrancy-no-eth with Medium impact
4) uninitialized-local with Medium impact |
pragma solidity ^0.4.13;
contract IHandleCampaignDeployment {
/**
* @notice Function which will be used as simulation for constructor under TwoKeyAcquisitionCampaign contract
* @dev This is just an interface of the function, the actual logic
* is implemented under TwoKeyAcquisitionCampaignERC20.sol... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
// File: openzeppelin-solidity/contracts/cryptography/ECDSA.sol
pragma solidity ^0.5.0;
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
/**
... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) weak-prng with High impact
3) incorrect-equality with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// THX token contract
//
// Deployed to : 0xcc8446Bad1225717EFeF5e1015DFfc98E23274B5
// Symbol : THX
// Name : Thrill
// Total supply: 800000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz Neto... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
VariExpensiveCapital: $VEC
- The aggregator of aggregators. Granting holders exposure to a range of cross chain yield generating tokens.
- Buy one token ($VEC) to earn yield generated from multiple other aggregator projects.
Website:
https://variexpensive.capital/
Discord:
https://disc... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= 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
pragma solidity ^0.6.12;
import "../utils/Configurable.sol";
import "./ERC20UpgradeSafe.sol";
contract ApprovedERC20 is ERC20UpgradeSafe, Configurable {
address public operator;
function __ApprovedERC20_init_unchained(address operator_) public governance {
operator = o... | No vulnerabilities found |
pragma solidity ^0.4.21;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
return 0;
}
c =... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
//
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
//Safe Math Interface
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
fun... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this;
return msg.data;
}
}
interface IDEXFactory {
function createP... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) incorrect-equality with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.5.13;
import "./ERC20.sol";
import "./DateTime.sol";
import "./Ownable.sol";
contract StableCoin is ERC20, DateTime, Ownable {
using SafeMath for uint256;
address public tokenIssuer;
uint256 public lastOxydationDate;
event Oxydated(address holder, uint256 amount);
event Timest... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity ^0.6.6;
import "./Permissions.sol";
import "./SafeMath.sol";
import "./Address.sol";
/**
* @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 returns (uint25... | No vulnerabilities found |
// Sources flattened with hardhat v2.6.8 https://hardhat.org
// File @openzeppelin/contracts/utils/math/SafeMath.sol@v4.3.3
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in o... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) locked-ether with Medium impact |
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT111204' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT111204
// Name : ADZbuzz Livegood.gq Community Token
// Total ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Loomi Coin' token contract
//
// Deployed to : 0x1d29E71D4461773FCc8C84282CEb2851bd7213e9
// Symbol : Loomi
// Name : Loomi Coin
// Total supply: 100000000
// Decimals : 8
//
// Enjoy.
//
// (c) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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 Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) uninitialized-local with Medium impact
3) controlled-array-length with High impact |
// File: contracts/zeppelin/GSN/Context.sol
pragma solidity ^0.5.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, ... | No vulnerabilities found |
pragma solidity ^0.4.25;
// ----------------------------------------------------------------------------
// CARBONCREDIT token contract
//
// Symbol : CPT
// Name : Consumer Privacy Token
// Total supply : 2000000000000000000
// Decimals : 9
// Owner Account : 0x22e1D1af3b33126B13A4B6127D7Cfc9Eec... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : MNKC
// Name : MonkeCoin
// Total supply : 694200000000000000000000
// Decimals : 2
// Owner Account : 0x8cF1543DC4e9bF3BD791Ca5ac6402f83e7bb4Cb3
//
// ... | 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 c) {
if (a == 0) {
return 0;
}
c = ... | No vulnerabilities found |
pragma solidity ^0.6.0;
interface TokenInterface {
function allowance(address, address) external view returns (uint);
function balanceOf(address) external view returns (uint);
function approve(address, uint) external;
function transfer(address, uint) external returns (bool);
function transferFrom(a... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : CHIPS
// Name : CHIPS Token
// Total supply : 10000000000.00
// Decimals : 2
// Owner Account : 0x6fffB577dE7E65EB7803b098CB14a32DeFA5d5E1
//
// Enjoy.
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// CONTRACT USED TO TEST THE ICO CONTRACT
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) public view returns (uint256);... | 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
// solhint-disable-next-line compiler-version
pragma solidity ^0.8.0;
/**
* @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
* behind a proxy. Since a proxied contract can't have a constructor, it's common to move con... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) unused-return with Medium impact
3) delegatecall-loop with High impact |
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SafeMath.sol
// OpenZeppelin Contracts v4.3.2 (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.2;
interface IERC20Token {
function transferFrom(address _from, address _to, uint256 _value) external returns (bool success);
}
interface IERC721 {
function setPaymentDate(uint256 _asset) external;
function getTokenDetails(uint256 index) external view ... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
// solhint-disable const-name-snakecase
pragma solidity 0.6.10;
/**
* @title OwnedUpgradeabilityProxy
* @dev This contract combines an upgradeability proxy with basic authorization control functionalities
*/
contract OwnedUpgradeabilityProxy {
/**
* @dev Event to show owners... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Limucoin' token contract
//
// Deployed to : 0xA49DEc780DdC333a62eD0673Ce6756aE162809A7
// Symbol : LIM
// Name : Limucoin
// Total supply: 10000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Mor... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GNU GPLv3
pragma solidity >=0.8.0;
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
funct... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^ 0.5.17;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactio... | No vulnerabilities found |
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity >=0.6.12;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
// add m... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import './IERC20.sol';
import './ERC721.sol';
import './Ownable.sol';
interface ERC20Interface is IERC20 {
function deposit() external payable;
}
interface IApymonPack {
function increaseInsideTokenBalance(
uint256 eggId,
uint8 tokenTyp... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) unchecked-transfer with High impact
3) uninitialized-local with Medium impact
4) reentrancy-eth with High impact
5) weak-prng with High impact
6) unused-return with Medium impact |
pragma solidity ^0.4.18;
/**
* @title Helps contracts guard agains rentrancy attacks.
* @author Remco Bloemen <remco@2π.com>
* @notice If you mark a function `nonReentrant`, you should also
* mark it `external`.
*/
contract ReentrancyGuard {
/**
* @dev We use a single lock for the whole contract.37487895
... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.25;
/*
转自马三多:
亲爱的ADC家人们 大家现在好 我是三多
很高兴再次与大家分享。相信大家也知道今天币圈出现了又一波以瑞波币和以太坊为首的血案,很多的ADC的会员都通过了我们之前的直营项目学会了买卖以太坊进入了币圈进行跨界抢劫。时至今天,相信有大部分的学员已经从以太坊跨向其它数字货币。对于进入币圈的ADC家人们,我有以下几点要说一下:
一、如何逆市抢劫。
以大家熟悉以太坊为例,从180美元上升到250美元的波段中,很多ADC的会员都赚了一笔,但当大家还沉浸在小牛行情的幸福中时,价格却从250美元直泻至200美元,有很多的家人们又叫苦不迭。那如何在逆市中盈利呢?其实也简单,可... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requir... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/// SPDX-License-Identifier: MIT
/*
▄▄█ ▄ ██ █▄▄▄▄ ▄█
██ █ █ █ █ ▄▀ ██
██ ██ █ █▄▄█ █▀▀▌ ██
▐█ █ █ █ █ █ █ █ ▐█
▐ █ █ █ █ █ ▐
█ ██ █ ▀
▀ */
/// Special thanks to Keno and Boring for reviewing early bridge patterns.
pragma solidity 0.6.12;
pragma experi... | These are the vulnerabilities found
1) unused-return with Medium impact
2) delegatecall-loop with High impact |
pragma solidity ^0.4.26;// SPDX-License-Identifier: MIT
contract WhiteListHelper{
event NewWhiteList(uint _WhiteListCount, address _creator, address _contract, uint _changeUntil);
modifier OnlyCreator(uint256 _Id) {
require(
WhitelistSettings[_Id].Creator == msg.sender,
"Only ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
//Safe Math Interface
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
fun... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-FileCopyrightText: 2021 ShardLabs
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.7;
import "@openzeppelin/contracts/proxy/Proxy.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IValidatorProxy.sol";
/// @title ValidatorProxy
/// @author 2021 ShardLabs.
/// @notice The v... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
//
// Symbol : VTT
// Name : Vaulty Coin
// Total supply : 10000000000000000000
// Decimals : 8
// Owner Account : 0xeA5c58F2063D690e7969548A76090c3270f07D11
//
// ----------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.8.3;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : DFF
// Name : dfiyield.finance
// Total supply : 200000000000000000000000
// Decimals : 18
// Owner Account : 0x7c0Fd1a72448Cef5504a89C7E721cA4c410D83E6... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.4;
interface IRegistry {
function getProvenance () external view returns (address);
function getAsset () external view returns (address);
function getProvenanceSource () external view returns (address);
function getIdentitySource () external view return... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
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);
c = a - b;
}
function mul(uint a, uint b) internal ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2019-04-09
*/
pragma solidity 0.5.7;
/**
* @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 balanceO... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.25;
/*
* CryptoMiningWar - Mining Contest Game
* Author: InspiGames
* Website: https://cryptominingwar.github.io/
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == ... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FlexFit' token contract
//
// Deployed to : 0x8cc5A8233AC37780a07CE32654853ceDf26acc69
// Symbol : FLEX
// Name : FlexFitRewards
// Total supply: 800000000
// Decimals : 18
//
// Enjoy.
//
// (c)... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: bsl-1.1
pragma solidity ^0.8.1;
pragma experimental ABIEncoderV2;
interface IKeep3rV1Quote {
struct LiquidityParams {
uint sReserveA;
uint sReserveB;
uint uReserveA;
uint uReserveB;
uint sLiquidity;
uint uLiquidity;
}
struct ... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Symbol : SPELT
// Name : Super Ecology Outlying System
// Total supply: 2000000000.000000
// Decimals : 6
// ----------------------------------------------------------------------------
// -----... | These are the vulnerabilities found
1) 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 on... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
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 (uint25... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) arbitrary-send with High impact
3) incorrect-equality with Medium impact
4) reentrancy-eth with High impact
5) weak-prng with High impact
6) msg-value-loop with High impact
7) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
// Sources flattened with hardhat v2.0.11 https://hardhat.org
// File contracts/horus/interfaces/IHorusFactory.sol
pragma solidity >=0.5.0;
interface IHorusFactory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() exte... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
pragma solidity ^0.4.11;
/**
* @title Snow Coin
* @author lan yuhang
*/
contract SafeMath {
function safeMul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeDiv(uint256 a, uint256 b) internal pure... | These are the vulnerabilities found
1) shadowing-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.6.12;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transac... | No vulnerabilities found |
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20 {
function totalSupply() public view returns (uint);
function balanceOf(a... | No vulnerabilities found |
// SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.0;
import "@mochifi/core/contracts/interfaces/IMochiEngine.sol";
contract MinterV1 is IMinter {
IMochiEngine public immutable engine;
mapping(address => bool) public isMinter;
address[] public factories;
constructor(address _engine) {
... | No vulnerabilities found |
pragma solidity ^0.4.2;
// ----------------------------------------------------------------------------
// 'PLTS' token contract
//
// Deployed to : 0x2Eee02ceedc1b93055CBA6637af0B3fD93c5d973
// Symbol : PLTS
// Name : Ploutos
// Total supply: 200000000
// Decimals : 18
//
//
// -------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity >=0.4.25;
// ----------------------------------------------------------------------------
// Polkacast Token contract
//
// Symbol : CAST
// Name : Polkacast
// Total supply: 930000000
// Decimals : 18
// Author : kkdelos
// Website : https://www.polkacast.network/
// -------... | 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.