input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity 0.4.26;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowance(address owner, address spender)
external view returns (uint256);
function transfer(address to, uint256 value) ext... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
interface ERC20 {
function approve(address, uint256) external returns (bool);
function transfer(address, uint256) external returns (bool);
function transferFrom(address, address, uint256) external returns (bool);
function name() external view... | No vulnerabilities found |
pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
struct ProtocolBalance {
ProtocolMetadata metadata;
AdapterBalance[] adapterBalances;
}
struct ProtocolMetadata {
string name;
string description;
string websiteURL;
string iconURL;
uint256 version;
}
struct AdapterBalance ... | No vulnerabilities found |
pragma solidity 0.5.16;
interface IEnergiTokenProxy {
function proxyOwner() external view returns (address);
function delegate() external view returns (address);
function setProxyOwner(address _owner) external;
function upgradeDelegate(address _delegate) external;
}
contract EnergiTokenPr... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
struct ProtocolBalance {
ProtocolMetadata metadata;
AdapterBalance[] adapterBalances;
}
struct ProtocolMetadata {
string name;
string description;
string websiteURL;
string iconURL;
uint256 version;
}
struct AdapterBalance ... | No vulnerabilities found |
pragma solidity 0.4.26;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address who) external view returns ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.5.17;
library Address {
/**
* Returns whether the target address is a contract
* @dev This function will return false if invoked during the constructor of a contract,
* as the code is not actually created until after the constructor finishes.
* @param account address to check... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(a... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) weak-prng with High impact
3) incorrect-equality with Medium impact
4) unchecked-transfer with High impact |
pragma solidity 0.6.4;
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among ot... | No vulnerabilities found |
pragma solidity 0.7.1;
pragma experimental ABIEncoderV2;
struct PoolInfo {
address swap; // stableswap contract address.
address deposit; // deposit contract address.
uint256 totalCoins; // Number of coins used in stableswap contract.
string name; // Pool name ("... Pool").
}
stru... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) locked-ether with Medium impact |
pragma solidity 0.5.17;
interface IERC20 {
function totalSupply() external view returns (uint);
function balanceOf(address account) external view returns (uint);
function transfer(address recipient, uint amount) external returns (bool);
function allowance(address owner, address spender) external vi... | No vulnerabilities found |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 9