hash stringlengths 64 64 | size int64 7k 624k | ext stringclasses 1
value | lang stringclasses 1
value | is_test bool 2
classes | repo_id stringclasses 846
values | repo_name stringclasses 846
values | repo_head stringclasses 846
values | repo_path stringlengths 7 155 | content_tokens int64 1.82k 42.6k | content_chars int64 6.85k 58.7k | content stringlengths 6.85k 58.7k | __index_level_0__ int64 84 346k | id int64 0 14.2k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
53ce80b6f1cafc1afd3d942a143fa7d85e4e6b38eccdc6331a12f242cdc1b728 | 12,811 | .sol | Solidity | false | 287517600 | renardbebe/Smart-Contract-Benchmark-Suites | a071ccd7c5089dcaca45c4bc1479c20a5dcf78bc | dataset/UR/0xa9f06cf165fe40f6e52f5765389f2d79dfc567ff.sol | 3,404 | 12,735 | pragma solidity ^0.4.13;
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;
... | 165,552 | 0 |
4addd10ff838b4b06774035b9479473f7516105db0d30db481dd1500038c88cb | 21,348 | .sol | Solidity | false | 504446259 | EthereumContractBackdoor/PiedPiperBackdoor | 0088a22f31f0958e614f28a10909c9580f0e70d9 | contracts/realworld-contracts/0xf2a7c7f3932efcc2ecb6b2c372b84030de191db0.sol | 3,345 | 12,231 | pragma solidity 0.4.19;
// File: node_modules/zeppelin-solidity/contracts/ownership/Ownable.sol
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
function Ownable() public {
owner = msg.sender;
}
modifier onlyOwner() {
require... | 147,926 | 1 |
7a9e85e8d75ccb41352d4915c3ea6eccbffa83068a0dc80ef0f5dad0ea8fcf41 | 29,901 | .sol | Solidity | false | 481422385 | helix-bridge/contracts | 9502f23dac3178911f8211f4dde3160ec97c7a6d | helix-contract/flatten/sub2eth/TransparentUpgradeableProxy.sol | 3,316 | 13,167 | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
// File @zeppelin-solidity/contracts/proxy/Proxy.sol@v4.7.3
// License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (proxy/Proxy.sol)
abstract contract Proxy {
function _delegate(address implementation) internal virtual {
assembly {... | 235,532 | 2 |
b03bc9d5e596dd5470dafbc396f81c04600cdf95b1a293b1e1539d52cc294b90 | 17,200 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.5/0xe4c577bdec9ce0f6c54f2f82aed5b1913b71ae2f.sol | 3,544 | 13,565 | pragma solidity ^0.5.0;
interface IGST2 {
function freeUpTo(uint256 value) external returns (uint256 freed);
function freeFromUpTo(address from, uint256 value) external returns (uint256 freed);
function balanceOf(address who) external view returns (uint256);
}
library ExternalCall {
// Source: https://g... | 211,349 | 3 |
59c0556ba3b16e3a88f7954b060ce9d75c57f57c6aa510799c5301a115c2168c | 11,636 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.5/0x9b041285587b701b703cbb40256558f0f3b94ed3.sol | 3,061 | 10,965 | pragma solidity ^0.4.18;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
// assert(b > 0); // Solidity au... | 217,930 | 4 |
2fa3c65176f84a6ef94a3305fa257188be17509bcad271b280a039cc6efca8e5 | 16,490 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/mainnet/65/6560051ead959645eeec16cbbf81fecc384ab95a_AVAXNation.sol | 3,940 | 15,655 | // SPDX-License-Identifier: MIT
pragma solidity >=0.5.0 <0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this;
return msg.data;
}
}
... | 95,831 | 5 |
cb6610087b741b19108b7bca3de604c243b4a56e256bb6ceda00c97c3df77212 | 12,626 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.5/0x8fd8599b06a13218e6550f5a77961a201543564c.sol | 2,690 | 10,277 | pragma solidity ^0.4.25;
contract owned {
address public owner;
constructor() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
}
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _ext... | 217,526 | 6 |
572635e0ddb274e2b30d9cd81791a3da909a2d05779900a7f31b0c0ceddd42d7 | 28,967 | .sol | Solidity | false | 413505224 | HysMagus/bsc-contract-sanctuary | 3664d1747968ece64852a6ac82c550aff18dfcb5 | 0xF6cEb88BC891051eDbfDa5D7cf1fB88fd7d78eaC/contract.sol | 5,103 | 18,269 | pragma solidity ^0.6.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this;
return msg.data;
}
}
interface IBEP20 {
function totalSup... | 250,015 | 7 |
dcd322eaa50e6064dd04b5ccea30055458af33dcfde16495200392c9c6b37b35 | 18,468 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | evaluation-dataset/0x904afb631a24881d8af2ef57dce1e9d6f117dcb6.sol | 2,820 | 10,293 | pragma solidity ^0.4.25;
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner,
address indexed newOwner);
constructor() internal {
_owner = msg.sender;
emit OwnershipTransferred(address(0), _owner);
}
function owner() public view returns(address) {
... | 208,455 | 8 |
f49c997c2d12d46bbc5e4b5b8df9e0c0562f44c7718c67bbc5db1fe8ee37d655 | 18,283 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/testnet/b0/b0bc3210b14b59b8708884884a895d6bd79d9d59_Pot.sol | 3,153 | 11,796 | // SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function symbol() external view returns (string memory);
function name() external view returns (string memory);
func... | 104,802 | 9 |
b032cffe925f77be22a476a16b44d23a552f0ab03f7d8144d6026c3f82a00be0 | 20,181 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.5/0x0e752b742f744fdc2d93774da44c37b72c3e6952.sol | 3,226 | 11,856 | 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)... | 218,093 | 10 |
8292e2e5b97a9147ef6e2774e3ac94641c6488d549e9271c039feafcbb0cc1b7 | 11,963 | .sol | Solidity | false | 519123139 | JolyonJian/contracts | b48d691ba0c2bfb014a03e2b15bf7faa40900020 | contracts/507_179128_0x090185f2135308bad17527004364ebcc2d37e5f6.sol | 3,110 | 11,230 | // SPDX-License-Identifier: MIT
// .d8888b. 888 888
// d88P Y88b 888 888
// Y88b. 888 888
// "Y888b. 88888b. .d88b. 888 888
// "Y88b. 888 "88b d8P Y8b 888 888
// "888 888 888 88888888 888 888
// Y88b d88P 888 d88P Y8b. 888... | 231,403 | 11 |
b873d53c001850bf49e8f2ce00e9ccaab714af737656ee2a67e4ad3c2c36b605 | 30,552 | .sol | Solidity | false | 413505224 | HysMagus/bsc-contract-sanctuary | 3664d1747968ece64852a6ac82c550aff18dfcb5 | 0xbf29F08404C3efa8CcF679c51eFA0b65F1fCFa78/contract.sol | 3,914 | 15,282 | // SPDX-License-Identifier: MIT
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this;
return msg.data;
}
}
abstract contract Ownable is Con... | 257,692 | 12 |
163911596c83f7e569325c37532b2c2a17555e734f6731fee41ecd61551951bd | 21,065 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.5/0xe7750c38c9a10d877650c0d99d1717bb28a5c42e.sol | 3,050 | 11,575 | pragma solidity ^0.5.2;
library SafeMath {
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' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-solid... | 214,887 | 13 |
95773784166e93c749408ba47a3b356093212a6c5d92ce2c34d09a4f4317f083 | 14,804 | .sol | Solidity | false | 454085139 | tintinweb/smart-contract-sanctuary-fantom | 63c4f5207082cb2a5f3ee5a49ccec1870b1acf3a | contracts/mainnet/8e/8E347e33d991a51F5b654245C054Bc5A6BC60cE1_AnyswapV6ERC20.sol | 3,294 | 12,942 | // SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.2;
interface IERC20 {
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uin... | 326,718 | 14 |
67b2a6a3f4218c063c1449071ba8c802b42dc6bdb2ff99a2e976440f30e43023 | 17,357 | .sol | Solidity | false | 293466625 | xf97/HuangGai | 40a349be6102d5eb63893fb914659405ae162d93 | injectedContractDataSet/uninitializedLocalVariables/0xa387d2be9f737612fa85c86d0234e36e3f2a048b_uninitializedLocalStateVariables.sol | 3,289 | 12,982 | pragma solidity 0.6.11;
// SPDX-License-Identifier: BSD-3-Clause
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c ; //inject UNINIT LOCAL/STATE VAR
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint2... | 279,498 | 15 |
554a787055637bd67384a8596470540f41081b2199a0417c7c0e2078a63fabea | 27,719 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/testnet/18/18034885bccfd8fa932772b3c3b6d5542257e766_Reservoir.sol | 5,457 | 21,006 | pragma solidity ^0.4.25;
interface IToken {
function approve(address spender, uint256 value) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function transferFrom(address from, address to, uint256 value) external returns (bool);
function trans... | 113,875 | 16 |
0004ba6547a87ae5a079925c89b3ea59e513826369ef1d25fafa7966fe8d4185 | 27,653 | .sol | Solidity | false | 413505224 | HysMagus/bsc-contract-sanctuary | 3664d1747968ece64852a6ac82c550aff18dfcb5 | 0x621A1c70df7D91830308bf8cCE23829218E563b9/contract.sol | 3,850 | 15,169 | pragma solidity >=0.6.4;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b... | 251,866 | 17 |
ec8e7a937e2650decf98445c126b348f99f7d6a4f7b524d3ec9064b181b0bd4b | 15,397 | .sol | Solidity | false | 504446259 | EthereumContractBackdoor/PiedPiperBackdoor | 0088a22f31f0958e614f28a10909c9580f0e70d9 | contracts/realworld-contracts/0xd6bdf5d0aa3de762d0dd65bcc5c143687ee6e192.sol | 3,533 | 13,968 | pragma solidity ^0.4.20;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a / b;
return c;
}
function sub(uin... | 141,675 | 18 |
9dfe98849ad2a2127b64c787c36dc4dd6e12bd74f053baab3334a4ecfaac0653 | 20,798 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | evaluation-dataset/0xb2a2a66d2a813ac32b940c406f14a06b390d442a.sol | 3,079 | 11,765 | pragma solidity ^0.4.24;
// File: contracts/ownership/MultiOwnable.sol
contract MultiOwnable {
address public manager; // address used to set owners
address[] public owners;
mapping(address => bool) public ownerByAddress;
event SetOwners(address[] owners);
modifier onlyOwner() {
require(owne... | 193,205 | 19 |
b59ee6b33d2b80f8bc6e8ed2b10ef5b0bbb29b2da8586146aa537af47d17d28c | 18,266 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/testnet/89/89f092342b20012ccab7936ada7d9d5df8df4cc2_Minter.sol | 4,273 | 14,905 | // SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.0;
interface IERC20 {
function balanceOf(address account) external view returns (uint256);
function mint(address account_, uint256 amount_) external;
function decimals() external view returns (uint8);
}
library SafeMath {
function add(uint25... | 129,449 | 20 |
c0961ff1a293a6ec67c00b15a384d78e480481ff209cddb0147384f2d050acdd | 10,767 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.6/0xcd2a5c39b13b2c27b2ed1f51eef17d5f646563d2.sol | 3,032 | 10,642 | pragma solidity 0.4.21;
// Wolf Crypto presale pooling contract
// written by @iamdefinitelyahuman
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) int... | 210,119 | 21 |
0adde36f72e0a129537bf6afa41dc6581e1a05ab99f2d4d9acc01b89baa232e0 | 23,414 | .sol | Solidity | false | 453466497 | tintinweb/smart-contract-sanctuary-tron | 44b9f519dbeb8c3346807180c57db5337cf8779b | contracts/mainnet/TT/TTJdgX8paJntHFpWv4LMtZPZAt2anSQiA1_SpecialTron.sol | 6,657 | 22,813 | //SourceUnit: SpecialTron.sol
pragma solidity ^0.5.4;
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) in... | 287,253 | 22 |
ec0097aa6206f43738a2a4720531ca85923261dd4dc919f7326467ea75e5c72d | 13,903 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | evaluation-dataset/0x6e50a486ca037e92ccb3a5ab3d084626b546c9c0.sol | 3,026 | 11,408 | pragma solidity ^0.4.21;
library SafeMath {
function mul(uint256 x, uint256 y) internal pure returns (uint256) {
if (x == 0) {
return 0;
}
uint256 z = x * y;
assert(z / x == y);
return z;
}
function div(uint256 x, uint256 y) internal pure returns (uint256) {
// assert(y > 0);//Solidity automaticall... | 179,115 | 23 |
322f2bf6fe7f508bc5f6ceef679f7698f9c8f53b1844703fd600515d9a34f653 | 10,167 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | evaluation-dataset/0x182fad6a68ebd9118549ec1091aa4eb95e234ef6.sol | 3,313 | 9,949 | pragma solidity ^0.4.18;
// If you wanna escape this contract REALLY FAST
// 1. open MEW/METAMASK
// 2. Put this as data: 0xb1e35242
// 3. send 150000+ gas
// That calls the getMeOutOfHere() method
// 10% fees, price goes up crazy fast
contract POWHclone {
uint256 constant PRECISION = 0x10000000000000000; // 2^64
//... | 201,476 | 24 |
e004054a7c7f0c0f149feb6e30707ab876172e12b3b509033265ce34b5954313 | 14,328 | .sol | Solidity | false | 293466625 | xf97/HuangGai | 40a349be6102d5eb63893fb914659405ae162d93 | injectedContractDataSet/wastefulContracts/0x42ab724e2a6a75930d6735189fc4f7b2edaffc72_wastefulContract.sol | 3,845 | 13,298 | pragma solidity ^0.5.8;
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function transf... | 278,393 | 25 |
2b311a699ce0df7ea29ba9d3cf5e9836f0c83ea0e71bc85283dc1f6e4dda620f | 10,525 | .sol | Solidity | false | 363993391 | gasgauge/gasgauge.github.io | 7795ecd73e31b875fb199c36a74ab8ecd74f870d | Benchmark/no loops/0xd0501e2c8e603b3f48a9a6283dc9744068b843b7.sol | 2,842 | 10,214 | pragma solidity >=0.5 <0.7.17;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address owner, address spender) ... | 341,964 | 26 |
6e5e1f1728f211dafb49f16e67f760b29f5a9cac4fc6f05ab3edd6b9a22bb63b | 25,460 | .sol | Solidity | false | 413505224 | HysMagus/bsc-contract-sanctuary | 3664d1747968ece64852a6ac82c550aff18dfcb5 | 0x96b6A0fAF7ab3E03757f60E808BB771E7761e014/contract.sol | 5,420 | 18,932 | pragma solidity 0.8.1;
// SPDX-License-Identifier: MIT
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
// assert(b > 0); // Soli... | 255,787 | 27 |
ac79328d76ded1010b7b3f4ab7f9f37abf37909fdd96318d2c2b895ae06c952f | 28,107 | .sol | Solidity | false | 453466497 | tintinweb/smart-contract-sanctuary-tron | 44b9f519dbeb8c3346807180c57db5337cf8779b | contracts/mainnet/TG/TGZ8jfoKSqWsD3GERWfqsYVz3KngtPKenh_RKTXBridge.sol | 3,180 | 12,266 | //SourceUnit: TronBridge.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
//
contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor() internal {}
function _msgSender() in... | 298,771 | 28 |
19a4e16e10b17297747e5d1e5d634c55889202a9c0964ca0bcec735f6c6804eb | 29,430 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/mainnet/ed/edc2173d4c1b4225385ba2079f927337abb90dc0_Staking3Months.sol | 3,776 | 15,310 | // SPDX-License-Identifier: MIT
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) {
return msg.data;
}
}
interface IERC20 {
functi... | 91,283 | 29 |
3d8f5bf82834a79943bcf15401687272491b36106dd17963ae03e50fd26a146d | 13,781 | .sol | Solidity | false | 453466497 | tintinweb/smart-contract-sanctuary-tron | 44b9f519dbeb8c3346807180c57db5337cf8779b | contracts/mainnet/TH/TH2cMEsjr7DZ5AsvwhfQ6U44PBDVxtLhFs_ChipGame.sol | 3,666 | 13,566 | //SourceUnit: ChipGame.sol
pragma solidity ^0.5.4;
interface Token {
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address owner_, address spender) external view returns (uint256);
fun... | 293,902 | 30 |
10080c6bf72d6ccc01fb63c436b2c82031ecfce31acb913d69533fc68a6574c4 | 19,614 | .sol | Solidity | false | 451141221 | MANDO-Project/ge-sc | 0adf91ac5bb0ffdb9152186ed29a5fc7b0c73836 | experiments/ge-sc-data/source_code/unchecked_low_level_calls/clean_95_buggy_curated_0/0x341ffd5852614e6a9189dc2931cb7ec3f10605b0.sol | 4,427 | 17,834 | pragma solidity ^0.5.0;
contract Ownable {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor () internal {
_owner = msg.sender;
emit OwnershipTransferred(address(0), _owner);
}
function owner() public view returns... | 132,625 | 31 |
fa362597d70fb05c56134f9685e32e79f748d74c83c0380ba8c0477d2917c55d | 27,574 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/testnet/4e/4ecfe3724ba29e9ebce0d3806d206e7f9c7ba218_SeedDistribution.sol | 3,200 | 12,851 | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address... | 98,157 | 32 |
b465f8e39bee492e605d24b9f596da11de47f6920c2ba6d6edfe8660c780c56d | 16,612 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.5/0x2aec18c5500f21359ce1bea5dc1777344df4c0dc.sol | 3,208 | 11,454 | pragma solidity ^0.4.18;
contract ERC20Basic {
uint256 public totalSupply;
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);
}
contract ERC20 is ERC20... | 215,978 | 33 |
263aabea62d2e8358f9a3551bfa2434a54ee7fbd97a1615e18b39acebc292fa2 | 30,412 | .sol | Solidity | false | 413505224 | HysMagus/bsc-contract-sanctuary | 3664d1747968ece64852a6ac82c550aff18dfcb5 | 0x422e8E504f8f29029D85184011e00a7126981E5D/contract.sol | 5,207 | 18,526 | // SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this;
return msg.data;
}
}
interfac... | 256,739 | 34 |
60a987d57d00a9473109a7f3cffbf24443ad2c0183c3ff4a12d9fbe230c1cb31 | 27,434 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/mainnet/02/029F209249875f8C4CcE1C8c1980bf7eDBA523F4_TimeStaking.sol | 4,198 | 16,940 | // SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.7.5;
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 add32(uint32 a, uint32 b) internal pure... | 78,149 | 35 |
d9aeebe8e2bf96cf94593155b608e86e4b92ff8111647984c1c2b29123e385dc | 19,638 | .sol | Solidity | false | 453466497 | tintinweb/smart-contract-sanctuary-tron | 44b9f519dbeb8c3346807180c57db5337cf8779b | contracts/mainnet/TC/TCrYVchgvCX2mE71CgYdbFUxU85DbPuJt7_Router.sol | 5,587 | 19,013 | //SourceUnit: Router.sol
pragma solidity 0.5.12;
interface ITRC20 {
event Approval(address indexed owner, address indexed spender, uint256 value);
event Transfer(address indexed from, address indexed to, uint256 value);
function approve(address spender, uint256 value) external returns(bool);
function tr... | 303,915 | 36 |
cbb84e5878ef746e8834d81b3721b7a43a671b9570fe20485cf1eed9fc356430 | 20,826 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | evaluation-dataset/0xc0e6c996f3642c3ff3287ef01375fa7b72702797.sol | 4,905 | 18,919 | pragma solidity ^0.4.19;
contract BitOpterations {
// helper functions set
// to manipulate on bits
// with different widht of allocator
function set512(bytes32[2] storage allocator,uint16 pos,uint8 value) internal returns(bytes32[2] storage) {
bytes32 valueBits = (bytes32)(... | 178,100 | 37 |
d6a92d2a1d66d8c747821d0bf574171d9c77124b879aaaf85623c9268df59b0d | 12,143 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/testnet/06/0664D43b14300921197c8CE27a949d9B439436c3_TsunamiToken.sol | 3,064 | 11,760 | pragma solidity ^0.4.25;
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner, 'only owner');
_;
}
... | 130,957 | 38 |
94b591e2853264a84a0291ca2ecb882220c4f087d89085414fd07780f3da52a0 | 15,873 | .sol | Solidity | false | 451141221 | MANDO-Project/ge-sc | 0adf91ac5bb0ffdb9152186ed29a5fc7b0c73836 | data/smartbugs-wild-clean-contracts/0x36a84dd5c8a606f44dc504aa3859b097083d631d.sol | 3,318 | 12,539 | pragma solidity 0.4.24;
contract ERC20 {
// modifiers
// mitigate short address attack
// TODO: doublecheck implication of >= compared to ==
modifier onlyPayloadSize(uint numWords) {
assert(msg.data.length >= numWords * 32 + 4);
_;
}
uint256 public totalSupply;
function balanceOf(addr... | 134,099 | 39 |
3f9dab8e64b50aa1812f976ca07604afb26c8cc19bbb67a543c870f1821cdf36 | 24,030 | .sol | Solidity | false | 413505224 | HysMagus/bsc-contract-sanctuary | 3664d1747968ece64852a6ac82c550aff18dfcb5 | 0xc4803010115D3A537D10064f2ABCCA6a0015F649/contract.sol | 3,903 | 15,051 | pragma solidity =0.6.2;
contract Initializable {
bool private initialized;
bool private initializing;
modifier initializer() {
require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized");
bool isTopLevelCall = !initializing;
if (isTopLevelCall) {
in... | 252,526 | 40 |
24bb9988db1f2f5263de3d5183f1ca86a7391afc3f6025d75cfffd4649c61327 | 11,931 | .sol | Solidity | false | 428503962 | PawnHouseOfficial/PawnHouse | ca6ef93968c53103e719be8c2c0e22966e8231fa | PHSigningUtils.sol | 2,519 | 10,613 | pragma solidity ^0.5.16;
library ECDSA {
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
bytes32 r;
bytes32 s;
uint8 v;
// Check the signature length
if (signature.length != 65) {
return (address(0));
}
// D... | 17,336 | 41 |
8084d012d87e9ea72f8a331a6e15c54071e8f3db3bceccd5cb097ecc3d9b0b43 | 29,850 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/testnet/72/72633d2d3ff61f787e5d180793832c4ac189935e_OlympusLPStaking.sol | 4,590 | 17,669 | // SPDX-License-Identifier: AGPL-3.0-or-later\
pragma solidity 0.7.5;
library SafeERC20 {
using SafeMath for uint256;
using Address for address;
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, va... | 115,616 | 42 |
2e14a7a3a9543d8ef53112201f487ee2415fa84e81bf2583726abde1b52399e6 | 17,103 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/mainnet/a2/A21121b3DfD558a3A91d508049D1454073c134D4_SwapTokenLockerFactory.sol | 2,943 | 11,681 | // SPDX-License-Identifier: UNLICENCED
pragma solidity ^0.6.12;
contract SwapAdmin {
address public admin;
address public candidate;
constructor(address _admin) public {
require(_admin != address(0), "admin address cannot be 0");
admin = _admin;
emit AdminChanged(address(0), _admin);... | 73,293 | 43 |
de00eda1ca64748989895943694fbecc9c8dcceb2df06b65db61e53945cbb93d | 13,709 | .sol | Solidity | false | 504446259 | EthereumContractBackdoor/PiedPiperBackdoor | 0088a22f31f0958e614f28a10909c9580f0e70d9 | contracts/realworld-contracts/0xdc8a6ef9a8a4114773e806dc24bb8e7b6f3d92eb.sol | 3,261 | 11,657 | 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)... | 140,066 | 44 |
f945e906de3ac5d3914ef49e84aa3947d7413c9256d164fc6ac713668d273783 | 18,468 | .sol | Solidity | false | 367422064 | YuGer26/ERC20-List-All | 4f93234ff8de0cddf2ca81994275768250f2b1b7 | erc20/indaHashCoin(IDH)_0x5136c98a80811c3f46bdda8b5c4555cfd9f812f0.sol | 4,104 | 15,427 | pragma solidity ^0.4.16;
// ----------------------------------------------------------------------------
//
// IDH indaHash token public sale contract
//
// For details, please visit: https://indahash.com/ico
//
// ----------------------------------------------------------------------------
// -------------------------... | 228,444 | 45 |
a32d8813ef1213d84352f38b20ae3df0599bc1158a7e7519f72c5ec7feae548c | 17,793 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/mainnet/cc/cc724cbe3769bb037e93a4e1b8f6c1ee32479d99_RebateTreasury.sol | 3,290 | 12,805 | // SPDX-License-Identifier: MIT
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) {
return msg.data;
}
}
abstract contract Ownable is ... | 95,127 | 46 |
e7d9fd3834da4999d7099b6c5f4a1037520fe5505ebddd65da8c92f1b6f6935a | 23,585 | .sol | Solidity | false | 454085139 | tintinweb/smart-contract-sanctuary-fantom | 63c4f5207082cb2a5f3ee5a49ccec1870b1acf3a | contracts/mainnet/78/78d18c4fc8b0ddd8fdd84c9dd538babb11ac2a90_Granary.sol | 5,470 | 15,427 | //SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.6;
pragma abicoder v2;
//ftm.guru's Universal On-chain TVL Calculator
//Source: https://ftm.guru/rawdata/tvl
interface ITVL {
//Using Version = 6
function p_lpt_coin_usd(address lp) external view returns(uint256);
}
interface IMasterchef {
// Info of each po... | 315,233 | 47 |
ad161ea9cc43937aac215712db8147c2c5ea08942390c7fdd82939862a20cfb2 | 17,712 | .sol | Solidity | false | 287517600 | renardbebe/Smart-Contract-Benchmark-Suites | a071ccd7c5089dcaca45c4bc1479c20a5dcf78bc | dataset/UR/0x93837c2668c80eb542c0e0159accdbf3bf3f9c3d.sol | 4,360 | 17,417 | pragma solidity 0.4.25;
contract Auth {
address internal mainAdmin;
address internal contractAdmin;
event OwnershipTransferred(address indexed _previousOwner, address indexed _newOwner);
constructor(address _mainAdmin,
address _contractAdmin)
internal
{
mainAdmin = _mainAdmin;
... | 161,957 | 48 |
5328b4c64ec5c2e530d7641915fd38c5149e5a8da9bf0d2bb156a4fb2389967b | 15,358 | .sol | Solidity | false | 453466497 | tintinweb/smart-contract-sanctuary-tron | 44b9f519dbeb8c3346807180c57db5337cf8779b | contracts/mainnet/TT/TTTRTVGDBsyedfywHXGuhgHuqqf7KjzGuD_TronProject.sol | 3,967 | 13,598 | //SourceUnit: Tron Project.sol
pragma solidity >=0.4.0 <0.8.0;
contract owned {
constructor() public { owner = msg.sender; }
address payable owner;
modifier bonusRelease {
require(msg.sender == owner,
"Nothing For You!");
_;
}
}
contract TronProject is owned {
struct U... | 287,325 | 49 |
76268cd9459abdaed2ed3aad289d3043f5a8ed5740f135afedec0ba12b3c2991 | 17,159 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | evaluation-dataset/0x532d69ae56e07ce965eb7f8164a78f3a81c2bf38.sol | 3,161 | 10,883 | pragma solidity ^0.4.24;
// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol
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 Tra... | 176,491 | 50 |
6cd8d402c2e7e32eb40b9544c4de3101ae724b7781e09de7551b850bc03ec8df | 15,357 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.5/0x7f5a7a6a25e06ddc94901cf596f9234f7d190bed.sol | 3,262 | 12,398 | 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)... | 214,023 | 51 |
511559cbfc1f06a0f8dfae30c91d25461b281ac2d1b8e9543e4bca4d27e46d7c | 17,468 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.6/0x34b97e824e1c18eeada2378fedbb285e2be167d5.sol | 3,025 | 11,360 | pragma solidity ^0.4.13;
contract Utils {
function Utils() {
}
// verifies that an amount is greater than zero
modifier greaterThanZero(uint256 _amount) {
require(_amount > 0);
_;
}
// validates an address - currently only checks that it isn't null
modifier validAddress(addre... | 210,568 | 52 |
fd75b7b76e714153bdd5daa5905bd701ac4932b9d52d595711420a8b05cce024 | 13,888 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.5/0x6d2e76213615925c5fc436565b5ee788ee0e86dc.sol | 3,635 | 13,029 | 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);
_;
}
modifier o... | 216,352 | 53 |
09206765b78a74c70bb42e5d3fa7dda226d1734525dc3ae4e773751ee1411eae | 20,981 | .sol | Solidity | false | 453466497 | tintinweb/smart-contract-sanctuary-tron | 44b9f519dbeb8c3346807180c57db5337cf8779b | contracts/mainnet/TT/TT8qV2n6rLapwPQUcs9EW1WYue3VmDqumq_MyTronBot.sol | 5,468 | 19,696 | //SourceUnit: mytronbot.sol
pragma solidity ^0.5.4;
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) inte... | 287,679 | 54 |
b98b71d9524794b1a5c432ed854fbe3e1ca7b128d683de8cfd8e95ca0b8fd902 | 14,872 | .sol | Solidity | false | 627794329 | uni-due-syssec/efcf-framework | c3088c935f567dc7fc286475d6759204b6e44ef5 | data/smartbugs-top-1000-balance/0x2abf00b596f4cb10384654dcd76253b3140d35ff.sol | 3,398 | 13,291 | //sol Wallet
// Multi-sig, daily-limited account proxy/wallet.
// @authors:
// Gav Wood <g@ethdev.com>
// single, or, crucially, each of a number of, designated owners.
// usage:
// interior is executed.
pragma solidity ^0.4.6;
contract multiowned {
// TYPES
// struct for the status of a pending operation.
str... | 270,922 | 55 |
a0b7188ebd85438f601faa4b527e2155b9a81af58aab2579e68132e85d698077 | 34,397 | .sol | Solidity | false | 635617544 | 0xblackskull/OpenZeppelin-Flattened | bef0a34f7a2402d302f91f7bccf2d2e153ebea6b | ozopenzeppelin-contracts/token/ERC721/ERC721_flat.sol | 4,069 | 16,553 | // SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)
pragma solidity ^0.8.0;
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
interface IERC165 {
function supportsInterfa... | 63,546 | 56 |
b34b0e6c93737336b40885ede78f1ee9d77aa88dd6f84369eda0fdb110893d30 | 12,566 | .sol | Solidity | false | 443847069 | JellyProtocol/JellyResearch | d453ec0c162eb5d6aa6f4ac8776b363cd52b6b36 | contracts/KP3R/StakingRewardsV3.sol | 3,217 | 12,282 | // SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
library Math {
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a >= b ? a : b;
}
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
}
library PoolAddress {
byt... | 21,041 | 57 |
8a40a4a78024d4feaff43b1d72f7ce079820babd6739afcdbaab152858db17ff | 14,964 | .sol | Solidity | false | 410736639 | SoftSec-KAIST/Smartian-Artifact | 33c42ba3f2b2f60093173801433b6fd7f3dd710d | benchmarks/B3/sol/0xfa55951f84bfbe2e6f95aa74b58cc7047f9f0644.sol | 3,434 | 13,706 | pragma solidity ^0.4.21;
contract Owned {
/// 'owner' is the only address that can call a function with
/// this modifier
address public owner;
address internal newOwner;
///@notice The constructor assigns the message sender to be 'owner'
function Owned() public {
owner = msg.sender;
... | 19,842 | 58 |
287c4cbb0dc525c99f92935cc042a3c93bb0a3cb72dd9d2cf76e4b847301c16c | 13,750 | .sol | Solidity | false | 504446259 | EthereumContractBackdoor/PiedPiperBackdoor | 0088a22f31f0958e614f28a10909c9580f0e70d9 | contracts/realworld-contracts/0xeb0058ce60d753004b0efa2164f88b2a5b528e7d.sol | 3,343 | 12,996 | pragma solidity ^0.4.16;
// copyright contact@Etheremon.com
contract SafeMath {
function safeAdd(uint256 x, uint256 y) pure internal returns(uint256) {
uint256 z = x + y;
assert((z >= x) && (z >= y));
return z;
}
function safeSubtract(uint256 x, uint256 y) pure internal returns(uint256) {
... | 147,481 | 59 |
0b8c0e61f31f27237a3b50db736e01ff92d501302fd65c51c1f2a8f76b767edc | 24,092 | .sol | Solidity | false | 453466497 | tintinweb/smart-contract-sanctuary-tron | 44b9f519dbeb8c3346807180c57db5337cf8779b | contracts/mainnet/TE/TEmfmn5YFaFVb7kq8s8VCC1AmQHyKsxPN7_TRXRacing.sol | 6,302 | 23,242 | //SourceUnit: TRXRacing.sol
pragma solidity 0.5.10;
contract TRXRacing {
using SafeMath for uint;
uint constant internal DEPOSITS_MAX = 200;
uint constant internal INVEST_MIN_AMOUNT = 500 trx;
uint constant internal WITHDRAW_MIN_AMOUNT = 200 trx;
uint constant internal BASE_PERCENT = 500;
uint c... | 292,623 | 60 |
5a6117e504abfb2a0844ccc0bb1fde4f4fd2f04d236277d9dd10aae161e1d15b | 19,284 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/testnet/fe/Fe1AcEC8bAA289Cd8A80FEAE284d9ab6Fe216DF3_SolisiumToken.sol | 3,199 | 12,241 | pragma solidity ^0.4.25;
// File: openzeppelin-solidity/contracts/ownership/Ownable.sol
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor() public {
owner = msg.sender;
}
modifier onlyOwner() {
re... | 112,531 | 61 |
41793341c1bfbd76673c96652557ae658ca70eab43c450f7b99621fd06267dab | 14,363 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.5/0xe07159a785f4254bf3c7f1454eabba5051d4276e.sol | 3,821 | 13,237 | pragma solidity ^0.5.8;
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function transf... | 213,352 | 62 |
013bd89b02b9d9c440d42c81ef5c7d934859a1f6e9ed88c5d14cd1a5d7c7de33 | 27,439 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/mainnet/33/33d43136960b62a2216bee8e5c5e54669b1a25bb_RoyaltyPaymentSplitter.sol | 3,131 | 12,670 | // SPDX-License-Identifier: AGPL-3.0-only
pragma solidity =0.8.17;
// OpenZeppelin Contracts (last updated v4.7.0) (finance/PaymentSplitter.sol)
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
interface IERC20 {
... | 75,626 | 63 |
ac4adc4aa3cb2b2a79ae5de17f1c1945279c62ded2100b03bbb6ff181976c012 | 38,018 | .sol | Solidity | false | 413505224 | HysMagus/bsc-contract-sanctuary | 3664d1747968ece64852a6ac82c550aff18dfcb5 | 0xE89842aa086a893EdD76fB47488569474CAeE20D/contract.sol | 4,856 | 19,072 | pragma solidity 0.6.12;
//
contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor() internal {}
function _msgSender() internal view returns (address payable) {
return msg.se... | 255,301 | 64 |
701de463bd96b3bff79f0dec411a3a88ec6c92cd42778622dc651865f6670faa | 14,954 | .sol | Solidity | false | 287517600 | renardbebe/Smart-Contract-Benchmark-Suites | a071ccd7c5089dcaca45c4bc1479c20a5dcf78bc | dataset/UR/0xf07d979303c50a8632848cb154c6b30980218c07.sol | 3,709 | 14,574 | pragma solidity ^0.4.2;
contract Token {
uint256 public totalSupply;
function balanceOf(address _owner) public constant returns (uint256 balance);
function transfer(address _to, uint256 _value) public returns (bool success);
function transferFrom(address _from, address _to, uint256 _value) public return... | 161,198 | 65 |
512420108a429c79a600f57d94f1332582fa87080afa76ca9425a65bf0d9b127 | 10,402 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | evaluation-dataset/0xaa10481f5d50ab16355f17ab3fb5309f2ac68037.sol | 2,727 | 10,179 | pragma solidity ^0.4.25;
// 'GadiunTrustWallet'
//
// NAME : Gadiun Trust Wallet
// Symbol : GTW
// Total supply: 8,000,000,000
// Decimals : 8
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
return 0;
}
c = a * b;
... | 203,246 | 66 |
1e4f5230e9bde626349e7f52148cee723375db9ed4aa17f38edfb0c3fadfc8ff | 9,643 | .sol | Solidity | false | 504446259 | EthereumContractBackdoor/PiedPiperBackdoor | 0088a22f31f0958e614f28a10909c9580f0e70d9 | contracts/realworld-contracts/0x0debfb5127d8b5dd2fafc93724c88bd7f40cc852.sol | 3,145 | 9,290 | pragma solidity ^0.4.25;
interface DSG {
function gamingDividendsReception() payable external;
}
contract DSG_Turntable{
using SafeMath for uint256;
address constant public DSG_ADDRESS = 0x696826C18A6Bc9Be4BBfe3c3A6BB9f5a69388687;
uint256 public totalDividends;
uint256 public totalWinnings;
uint... | 140,519 | 67 |
e21880c1d6ba2ccaf3c31aafa83766325eb0071548fe96682a63fdfb580e5f4d | 21,503 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/mainnet/5d/5dfF474Cea8A1FA929AC9A3cE2550376aF11d2A8_Fraxferry.sol | 4,097 | 15,515 | // SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity >=0.8.0;
// Sources flattened with hardhat v2.12.0 https://hardhat.org
// File @openzeppelin/contracts/token/ERC20/[emailprotected]
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
interface IERC20 {
event Transfer(address indexed ... | 82,839 | 68 |
6cd9382c772d28f718792ce1ce35a1108220e0bcd31c06d6fe5875c1b4ce3679 | 33,207 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/testnet/56/569D7b2Af1D97014B3e5970E0bd1119B2a609d6D_ProxyAdmin.sol | 3,531 | 14,793 | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
abstract contract Proxy {
function _delegate(address implementation) internal virtual {
// solhint-disable-next-line no-inline-assembly
assembly {
// Copy msg.data. We take full control of memory in this inline assembly
... | 124,261 | 69 |
04c98806cf71bf001a1086a7dcd47b1370ff8276c9958752fba3fa9fa299407b | 27,105 | .sol | Solidity | false | 454085139 | tintinweb/smart-contract-sanctuary-fantom | 63c4f5207082cb2a5f3ee5a49ccec1870b1acf3a | contracts/mainnet/8c/8c84a5f5ae706d99720e9e053581b9318583af26_PopeyeSwapper.sol | 3,875 | 14,758 | pragma solidity ^0.6.12;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this;
return msg.data;
}
}
library Address {
function isContra... | 307,572 | 70 |
40a4bb809ed98d459aacc5da40cf5bed1610f1574d9839f491002c87e3be49a9 | 29,525 | .sol | Solidity | false | 454085139 | tintinweb/smart-contract-sanctuary-fantom | 63c4f5207082cb2a5f3ee5a49ccec1870b1acf3a | contracts/mainnet/37/3794F101Cdff021b1B734E6f15786234bcA67f4B_RaidsFinance.sol | 5,192 | 18,705 | pragma solidity ^0.6.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this;
return msg.data;
}
}
interface IERC20 {
function totalSup... | 316,068 | 71 |
588153b7c432ac1bf0c50f1d61f652c72be45987cc89cb6017d5480920b05407 | 11,038 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.6/0x33f00114d5aca3dee03189d4ed9d4f886dad84b0.sol | 3,595 | 10,909 | pragma solidity ^0.4.18;
// If you wanna escape this contract REALLY FAST
// 1. open MEW/METAMASK
// 2. Put this as data: 0xb1e35242
// 3. send 150000+ gas
// That calls the getMeOutOfHere() method
// PROOF OF STEEL HANDS Version, 10% Fee on Purchase and Sell
contract PonziToken {
uint256 constant PRECISION = 0x100000... | 209,712 | 72 |
2f00fa70c9a8bf7c6f5f93baeda08c1cc7be6a285339f2348527f29761e12e06 | 19,251 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | evaluation-dataset/0x638e6355e9061e7c28ea5a0f96953922247b2896.sol | 9,315 | 16,085 | pragma solidity ^0.4.21 ;
contract RE_Portfolio_I_883 {
mapping (address => uint256) public balanceOf;
string public name = " RE_Portfolio_I_883 " ;
string public symbol = " RE883I " ;
uint8 public decimals = 18 ;
uint256 public totalSupply = 1591676265575320000000000000 ;... | 195,301 | 73 |
97b6ab80a3fc32bb7d74be2d598a27526ee8f33325fe023452dfa31d22cdcb4a | 27,368 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/mainnet/22/22e4facf2cc560791669d987f49f493cfe27290c_ValDaoStaking.sol | 4,223 | 16,945 | // SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.7.5;
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 add32(uint32 a, uint32 b) internal pure... | 87,382 | 74 |
b437feed5eac4ae04a999674eece0fe5485a0e929b0d6a59061fc0d5e779d89a | 14,877 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/mainnet/3b/3bd9856bf578910b55261d45d9148d61c177b092_AnyswapV6ERC20.sol | 3,294 | 12,942 | // SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.2;
interface IERC20 {
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uin... | 77,631 | 75 |
a86d0735bb487c54ba4b768e6b421e353df79111000fee65505a3d67c15d2791 | 23,783 | .sol | Solidity | false | 413505224 | HysMagus/bsc-contract-sanctuary | 3664d1747968ece64852a6ac82c550aff18dfcb5 | 0x309B87aBEF5605Aa73AcCfe42Bd8F19c25e9D302/contract.sol | 3,095 | 11,691 | pragma solidity ^0.6.12;
// SPDX-License-Identifier: Unlicensed
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance... | 249,843 | 76 |
e8d04d2071ed2de5c76b58515808c44f227b95118df979513fb36aaea708476c | 16,545 | .sol | Solidity | false | 454080957 | tintinweb/smart-contract-sanctuary-arbitrum | 22f63ccbfcf792323b5e919312e2678851cff29e | contracts/mainnet/41/4155fe24e1f65928bd608a129636f78b82e11147_arbinutwo.sol | 2,897 | 11,761 | // SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.7;
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(address tokenA,
address tokenB,
uint amountADesired,
uint amountBDes... | 25,350 | 77 |
1523faf5d4cf8e4f5fd7966edd5d659b72214bbc17f32346bb93fc5143c59b49 | 21,495 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/mainnet/a2/a2a296e3c16c329af2185fad1a7deaf40edd4260_Flokivax.sol | 2,860 | 10,936 | // SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(addres... | 73,254 | 78 |
28646c129bc8b69199df1c244b7690baf1b76dca5f8412ba769b3fce13317e5a | 28,585 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/mainnet/36/3670A20d734d04c61Ac310569C0d4c99237A7Cee_TransparentUpgradeableProxy.sol | 3,024 | 12,218 | // SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
// OpenZeppelin Contracts (last updated v4.5.0) (proxy/Proxy.sol)
abstract contract Proxy {
function _delegate(address implementation) internal virtual {
assembly {
// Copy msg.data. We take full control of memory in this inline assembly
... | 72,667 | 79 |
226a76872ab21eaecaa355903b62f4e98c1828ef7f9de972ac5b1700296b8e76 | 36,962 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.4/0xdeafc8d49ea6d6044eaa53f5e7c7c35c60e13d7f.sol | 5,183 | 18,752 | pragma solidity ^0.4.21;
// File: zeppelin-solidity/contracts/ownership/rbac/Roles.sol
library Roles {
struct Role {
mapping (address => bool) bearer;
}
function add(Role storage role, address addr)
internal
{
role.bearer[addr] = true;
}
function remove(Role storage role, address addr)
inter... | 222,762 | 80 |
4636c0f25c162e96fa83737ad427390843ed2a7b5e620a57177ae4ab696913cd | 14,946 | .sol | Solidity | false | 410736639 | SoftSec-KAIST/Smartian-Artifact | 33c42ba3f2b2f60093173801433b6fd7f3dd710d | benchmarks/B3/sol/0xb70835d7822ebb9426b56543e391846c107bd32c.sol | 3,572 | 13,650 | pragma solidity ^0.4.8;
// @address 0xb70835d7822ebb9426b56543e391846c107bd32c
// @multisig
// The implementation for the Game ICO smart contract was inspired by
// the Ethereum token creation tutorial, the FirstBlood token, and the BAT token.
// compiler: 0.4.17+commit.bdeb9e52
///////////////
// SAFE MATH //
////////... | 20,175 | 81 |
f7345012c542d9e5fcebd75b0898d3a1d485039131304b20f6affe04d7e865e5 | 29,922 | .sol | Solidity | false | 453466497 | tintinweb/smart-contract-sanctuary-tron | 44b9f519dbeb8c3346807180c57db5337cf8779b | contracts/mainnet/TH/THGtdxrjSHgHgM1E2fo6Sah82LxTumcSmu_SQUID.sol | 3,408 | 12,663 | //SourceUnit: .sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) interna... | 294,069 | 82 |
4db81fd420063f64b15d24a01117c7ce3ed4554d18b52d3726da61974ab97c84 | 21,512 | .sol | Solidity | false | 593908510 | SKKU-SecLab/SmartMark | fdf0675d2f959715d6f822351544c6bc91a5bdd4 | dataset/Solidity_codes_9324/0xd22e79bfb566697657b967e0ca8f9194719ba551.sol | 6,033 | 21,331 | pragma solidity ^0.5.12;
pragma experimental ABIEncoderV2;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (... | 276,245 | 83 |
a8a21b3fe32747df5bf232c8753d37972359590c86472e0e4a041528e1d19d95 | 29,703 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/mainnet/ed/ed07d65a13442af50fc4aaa0f84b9ea8cb2b361a_CountryDAO.sol | 3,391 | 12,615 | pragma solidity ^0.6.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b,... | 91,289 | 84 |
47e935df5ee244e358fd5cb616554d692aed7e5bc355c64ffc7d649e3366b5a3 | 19,148 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.5/0x05acf6955e199b0dcc33b74a91bacbaffa86d5cb.sol | 3,879 | 14,893 | pragma solidity ^0.4.20;
contract Tiptop {
// only people with tokens
modifier onlyBagholders() {
require(myTokens() > 0);
_;
}
// only people with profits
modifier onlyStronghands() {
require(myDividends(true) > 0);
_;
}
event onTokenPurchase(address indexed ... | 216,931 | 85 |
7349c9a0ce3e7b6e301ceebe3e1efb1b000ea297f55fcab0f4544d4b97ae4d44 | 15,612 | .sol | Solidity | false | 454085139 | tintinweb/smart-contract-sanctuary-fantom | 63c4f5207082cb2a5f3ee5a49ccec1870b1acf3a | contracts/mainnet/02/02adc9b582e39dc4cb727a64d8584830cf1bb9bc_Gauge.sol | 3,621 | 13,668 | pragma solidity ^0.6.7;
//
//^0.7.5;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint) {
uint c = a + b;
require(c >= a, "add: +");
return c;
}
function add(uint a, uint b, string memory errorMessage) internal pure returns (uint) {
uint c = a + b;
... | 313,879 | 86 |
01ea484ccbf21433fa82d4aba3d779761ddb497dd0f1eeeec798427c2df812b1 | 24,447 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/mainnet/e7/e70efb1ff1c0b63fdf84b5ea319693cf804914a8_AnyswapV6ERC20.sol | 5,050 | 19,376 | // SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.2;
interface IERC20 {
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uin... | 82,422 | 87 |
a1516329cfee0d83d8edf0c6c89d6a6e45f9331c011e73310c13a88c4bcf2ef0 | 27,005 | .sol | Solidity | false | 454085139 | tintinweb/smart-contract-sanctuary-fantom | 63c4f5207082cb2a5f3ee5a49ccec1870b1acf3a | contracts/mainnet/f9/f992361a45e21cd440aa114aa6aed259c518d1dd_ScarabPredictions.sol | 3,892 | 14,517 | // SPDX-License-Identifier: MIT
pragma solidity ^0.7.3;
/// @title Predicitions - Scarab Finance
/// @author Tuntacamon 2022
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
... | 323,130 | 88 |
97256caf103d7f66ea73198756556ea0c9231323c312f3405b683501dc60eab7 | 33,243 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.5/0x1bee451812e0d7013aa152f885c5b6c529e46c72.sol | 6,712 | 24,125 | pragma solidity ^0.4.24;
contract ErrorReporter {
event Failure(uint error, uint info, uint detail);
enum Error {
NO_ERROR,
OPAQUE_ERROR,
UNAUTHORIZED,
INTEGER_OVERFLOW,
INTEGER_UNDERFLOW,
DIVISION_BY_ZERO,
BAD_INPUT,
TOKEN_INSUFFICIENT_ALLOWANCE,... | 213,102 | 89 |
2f341b0dd651f3a2344b391deeb63217bd2ce6d892c21c48aa5adac87d70bef0 | 13,832 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/mainnet/83/83Db9695aD99113d1DEe1dBe106B388f6577C06A_Vault.sol | 4,010 | 13,227 | 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) {
return msg.data;
}
}
library SafeMath {
function add(uint256 a, uint256 b) int... | 95,519 | 90 |
cbe1aae99017b78ad0b1ba8288dbb884bf73d4e12734d9f058102250d2d18a84 | 15,457 | .sol | Solidity | false | 287517600 | renardbebe/Smart-Contract-Benchmark-Suites | a071ccd7c5089dcaca45c4bc1479c20a5dcf78bc | dataset/UR/0xcefa3e88393cf17c9b4dc6c9fe5357dfae8036d6.sol | 3,643 | 15,212 | pragma solidity ^0.4.18;
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
function Ownable() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function transferOwnership(address ... | 165,124 | 91 |
2110d60f503001bdbb92b8bd5dc93d2d8b8651fb30c840222626479a7a0f4506 | 14,323 | .sol | Solidity | false | 453466497 | tintinweb/smart-contract-sanctuary-tron | 44b9f519dbeb8c3346807180c57db5337cf8779b | contracts/mainnet/TE/TE34qryyHTsPEj1JQrm629ndkSaMzZjuta_TronAiTrade.sol | 4,768 | 13,731 | //SourceUnit: tronaitrade.sol
pragma solidity 0.5.10;
contract TronAiTrade {
using SafeMath for uint256;
uint256 constant public INVEST_MIN_AMOUNT = 100e6;
uint256 constant public BASE_PERCENT = 100;
uint256[4] public REFERRAL_PERCENTS = [500, 200, 50,50];
uint256[15] public UNILEVEL_PERCENTS = [33,7,5,5,5,5,5,5,5... | 291,906 | 92 |
93d6a9dd051ab3320d31750a708c2fc2c460a62487e842610eda18b09017f3a6 | 24,306 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | sorted-evaluation-dataset/0.5/0x12d10926f56f47ef2cbc7d74b7fa0f9965025857.sol | 4,387 | 18,718 | pragma solidity ^0.4.24;
// File: contracts/interfaces/IOwned.sol
contract IOwned {
function transferOwnership(address _newOwner) public;
function acceptOwnership() public;
function transferOwnershipNow(address newContractOwner) public;
}
// File: contracts/utility/Owned.sol
contract Owned is IOwned {
a... | 215,195 | 93 |
79bdf24832322d0254dcbc52358adafd6be8a6223e4d749945e567d2948a2706 | 13,259 | .sol | Solidity | false | 454085139 | tintinweb/smart-contract-sanctuary-fantom | 63c4f5207082cb2a5f3ee5a49ccec1870b1acf3a | contracts/mainnet/2a/2a6321126A93bD95d72180eBefeeb19e705287BD_AnyswapV6ERC20.sol | 3,041 | 11,991 | // SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.2;
interface IERC20 {
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uin... | 313,551 | 94 |
143dae5b295530362d9a7f91827370f2c7a4bfee53c636c5bf9b48f2e0e6fa6c | 13,065 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | evaluation-dataset/0x6e5d3e9ce88a0fba4e096e2eb8d2b3dc54685dd2.sol | 3,156 | 11,891 | pragma solidity ^0.4.15;
contract RBITToken {
using TokenLib for TokenLib.TokenStorage;
TokenLib.TokenStorage token;
function RBITToken(address owner,
string name, //RBIT Token
string symbol, //RBIT
uint8 decimals, //18
uint256 initia... | 181,951 | 95 |
61fbc8b7569fc0abcf0ae1c5712a4bee5b5e395fc47bd0eae84e5a8c2013f971 | 15,261 | .sol | Solidity | false | 453466497 | tintinweb/smart-contract-sanctuary-tron | 44b9f519dbeb8c3346807180c57db5337cf8779b | contracts/mainnet/TT/TTBRdNsKWguMkuWX5bwht4rwhfKtCjDXZu_Ethron.sol | 3,868 | 14,225 | //SourceUnit: Ethio.sol
pragma solidity ^0.5.4;
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... | 287,716 | 96 |
d2f06c2ddd5d70d0f0d35c428688480e67bbe6bffb3458db4ddf93b55928e735 | 19,921 | .sol | Solidity | false | 441123437 | 1052445594/SoliDetector | 171e0750225e445c2993f04ef32ad65a82342054 | Solidifi-bugInjection-data/compareTool/SmartCheck-Injection-Data/TxOrigin/Sol/buggy_34.sol | 3,857 | 13,592 | pragma solidity 0.4.25;
contract Ownable {
function sendto_txorigin5(address receiver, uint amount,address owner_txorigin5) public {
require (tx.origin == owner_txorigin5); //TxOrigin bug
receiver.transfer(amount);
}
address public owner;
function transferTo_txorigin11(address to, uint amount,address owner_txorig... | 223,680 | 97 |
83b0c4f4374d5be2fbe9dcb8f5eefe4589549c93d870c222e1b0d9f1be7821ef | 16,443 | .sol | Solidity | false | 454032456 | tintinweb/smart-contract-sanctuary-avalanche | 39792ff211cb89e79e9eb6ee7278f6843acb5cc6 | contracts/mainnet/9a/9a90a3b44deb3af7cf5b2d30220efc78a8972d29_TAMAGOTCHI.sol | 3,937 | 15,646 | // SPDX-License-Identifier: MIT
pragma solidity >=0.5.0 <0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this;
return msg.data;
}
}
... | 95,249 | 98 |
512de32e0635fa1441835d824912286dd20bb60b82cb235bc7733d26bbd23fc0 | 12,878 | .sol | Solidity | false | 416581097 | NoamaSamreen93/SmartScan-Dataset | 0199a090283626c8f2a5e96786e89fc850bdeabd | evaluation-dataset/0x0000000000377d181a0ebd08590c6b399b272000.sol | 2,736 | 12,560 | pragma solidity 0.4.26; // optimization enabled, runs: 200, EVM version: constantinople
/// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution.
/// @author Stefan George - <stefan.george@consensys.net>
contract MultiSigWallet {
event Confirmation(address indexed sender,... | 191,217 | 99 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.