file_name stringlengths 71 779k | comments stringlengths 20 182k | code_string stringlengths 20 36.9M | __index_level_0__ int64 0 17.2M | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|---|
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
import "./RoyalNFT.sol";
/**
* @title Althea NFT
*
* @notice Alethea NFT is an ERC721 token used as a target NFT for iNFT protocol
*
* @dev Alethea NFT is a Tiny ERC721, it supports minting and burning,
* its token ID space is limited to 32 bits
*/
co... | write the slot in 32-bits sub-blocks | for { let j := 0 } lt(j, left) { j := add(j, 1) } {
| 6,018,588 | [
1,
4625,
348,
7953,
560,
30,
225,
1045,
326,
4694,
316,
3847,
17,
6789,
720,
17,
7996,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
9506,
202,
1884,
288,
2231,
525,
519,
374,
289,
13489,
12,
78,
16,
2002,
13,
288,
525,
519,
527,
12,
78,
16,
404,
13,
289,
288,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
// Сочетаемость глаголов (и отглагольных частей речи) с предложным
// паттерном.
// LC->07.08.2018
facts гл_предл language=Russian
{
arity=3
//violation_score=-5
generic
return=boolean
}
#define ГЛ_ИНФ(v) инфинитив:v{}, глагол:v{}
#region Предлог_В
// ------------------- С ПРЕДЛОГОМ 'В' -----------------------... | распознать в незнакомце
| rus_verbs:распознать{}, | 5,481,520 | [
1,
4625,
348,
7953,
560,
30,
225,
225,
146,
227,
145,
113,
146,
228,
145,
128,
145,
127,
145,
120,
145,
126,
145,
113,
146,
229,
146,
239,
225,
145,
115,
225,
145,
126,
145,
118,
145,
120,
145,
126,
145,
113,
145,
123,
145,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
436,
407,
67,
502,
2038,
30,
146,
227,
145,
113,
146,
228,
145,
128,
145,
127,
145,
120,
145,
126,
145,
113,
146,
229,
146,
239,
2916,
16,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
pragma solidity ^0.4.19;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
return 0;
}
c =... | * @title Standard Burnable Token @dev Adds burnFrom method to ERC20 implementations/ | contract StandardBurnableToken is BurnableToken {
function burnFrom(address _from, uint256 _value) public {
require(_value <= allowed[_from][msg.sender]);
allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
_burn(_from, _value);
}
}
| 10,238,609 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
2649,
8263,
605,
321,
429,
3155,
632,
5206,
15605,
18305,
1265,
707,
358,
4232,
39,
3462,
16164,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
16351,
8263,
38,
321,
429,
1345,
353,
605,
321,
429,
1345,
288,
203,
203,
225,
445,
18305,
1265,
12,
2867,
389,
2080,
16,
2254,
5034,
389,
1132,
13,
1071,
288,
203,
565,
2583,
24899,
1132,
1648,
2935,
63,
67,
2080,
6362,
3576,
... |
/**
*Submitted for verification at Etherscan.io on 2022-02-08
*/
// SPDX-License-Identifier: MIT
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, in... | SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT/import "@openzeppelin/contracts/token/ERC721/ERC721.sol";/import "@openzeppelin/contracts/access/Ownable.sol";/import "base64-sol/base64.sol";* @title Defines colors for OG NFTs. When minting, a color and an application (which part of the OG NFT to colorize) has to... | contract OGColor is ERC721, Ownable {
uint256 private _totalSupply = 0;
uint256 private constant MAX_SUPPLY = 2500;
mapping(uint256 => string) private _colors;
mapping(uint256 => string) private _applications;
mapping(address => string[]) private _backColorsForAddress;
mapping(addres... | 10,877,196 | [
1,
4625,
348,
7953,
560,
30,
225,
11405,
28826,
17,
13211,
17,
3004,
17,
42,
12190,
56,
1157,
17,
13272,
22526,
17,
9511,
30,
490,
1285,
19,
5666,
8787,
3190,
94,
881,
84,
292,
267,
19,
16351,
87,
19,
2316,
19,
654,
39,
27,
5340... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
16351,
531,
43,
2957,
353,
4232,
39,
27,
5340,
16,
14223,
6914,
288,
203,
377,
203,
565,
2254,
5034,
3238,
389,
4963,
3088,
1283,
273,
374,
31,
203,
203,
565,
2254,
5034,
3238,
5381,
4552,
67,
13272,
23893,
273,
6969,
713,
31,
... |
./full_match/1/0xBDf1431c153A2A48Ee05C1F24b9Dc476C93F75aE/sources/contracts/BErc20Delegator.sol | * @notice Sender redeems bTokens in exchange for the underlying asset @dev Accrues interest whether or not the operation succeeds, unless reverted @param redeemTokens The number of bTokens to redeem into underlying @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)/ | function redeem(uint256 redeemTokens) external returns (uint256) {
delegateAndReturn();
}
| 2,963,165 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
15044,
283,
323,
7424,
324,
5157,
316,
7829,
364,
326,
6808,
3310,
632,
5206,
15980,
86,
3610,
16513,
2856,
578,
486,
326,
1674,
21933,
16,
3308,
15226,
329,
632,
891,
283,
24903,
5157,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
565,
445,
283,
24903,
12,
11890,
5034,
283,
24903,
5157,
13,
3903,
1135,
261,
11890,
5034,
13,
288,
203,
3639,
7152,
1876,
990,
5621,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract HRY {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is the strong... | Public variables of the token 18 decimals is the strongly suggested default, avoid changing it This creates an array with all balances This generates a public event on the blockchain that will notify clients This notifies clients about the amount burnt | contract HRY {
string public name;
string public symbol;
uint8 public decimals = 18;
uint256 public totalSupply;
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint256)) public allowance;
event Transfer(address indexed from, address indexed to, uint2... | 7,887,035 | [
1,
4625,
348,
7953,
560,
30,
225,
7224,
3152,
434,
326,
1147,
6549,
15105,
353,
326,
11773,
715,
22168,
805,
16,
4543,
12770,
518,
1220,
3414,
392,
526,
598,
777,
324,
26488,
1220,
6026,
279,
1071,
871,
603,
326,
16766,
716,
903,
50... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
16351,
670,
9590,
288,
203,
565,
533,
1071,
508,
31,
203,
565,
533,
1071,
3273,
31,
203,
565,
2254,
28,
1071,
15105,
273,
6549,
31,
203,
565,
2254,
5034,
1071,
2078,
3088,
1283,
31,
203,
203,
565,
2874,
261,
2867,
516,
2254,
50... |
/**
*Submitted for verification at Etherscan.io on 2022-03-24
*/
/*
[email protected]@@@@#%*;,..............*@
[email protected]@@@@@@@@#*:[email protected]@
[email protected]@@@@@@@@@@@*,........;@@@
[email protected]@@@@@@@@@@@@%,......:#@@@
[email protected]@@@@@@@@@@@@@?.....,#@@@@
[email protected]@@@@@@@@@@@@@@... | * @notice Returns a boolean flag indicating if createColletion function is publicly accessible./ | function isCreateCollectionPublic() public view returns (bool) {
return _isCreateCollectionPublic > 0;
}
| 10,717,776 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
2860,
279,
1250,
2982,
11193,
309,
752,
914,
1810,
285,
445,
353,
1071,
715,
12718,
18,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
353,
1684,
2532,
4782,
1435,
1071,
1476,
1135,
261,
6430,
13,
288,
203,
3639,
327,
389,
291,
1684,
2532,
4782,
405,
374,
31,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
pragma solidity ^0.4.18;
contract Ownable {
// Contract's owner.
address owner;
modifier onlyOwner() {
require (msg.sender == owner);
_;
}
// Constructor.
function Ownable() public {
owner = msg.sender;
}
// Returns current contract's owner.
function getOwner() public constant returns(address) {
r... | Returns contract's balance. | function getBalance() onlyOwner public constant returns(uint) {
return address(this).balance;
}
| 57,359 | [
1,
4625,
348,
7953,
560,
30,
225,
2860,
6835,
1807,
11013,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
202,
915,
2882,
6112,
1435,
1338,
5541,
1071,
5381,
1135,
12,
11890,
13,
288,
203,
202,
565,
327,
1758,
12,
2211,
2934,
12296,
31,
203,
202,
97,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
./partial_match/1/0x000000000000C1CB11D5c062901F32D06248CE48/sources/LiquidGasToken.sol | dev: deadline passed
| require(deadline >= now); | 2,653,308 | [
1,
4625,
348,
7953,
560,
30,
225,
4461,
30,
14096,
2275,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
2583,
12,
22097,
1369,
1545,
2037,
1769,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
./full_match/3/0xD397ad5fBF56Fd1Ba2f4daC50c69fC49ea2358FD/sources/browser/Voting.sol | maps address of contract sender to a voter ID
| mapping(address=>Voter) private voters; | 8,240,486 | [
1,
4625,
348,
7953,
560,
30,
7565,
1758,
434,
6835,
5793,
358,
279,
331,
20005,
1599,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
2874,
12,
2867,
9207,
58,
20005,
13,
3238,
331,
352,
414,
31,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
/**
*Submitted for verification at Etherscan.io on 2020-08-31
*/
/**
*Submitted for verification at Etherscan.io on 2020-08-25
*/
pragma solidity >= 0.5.0 < 0.7.0;
/// @title IProxy - Helper interface to access masterCopy of the Proxy on-chain
/// @author Richard Meissner - <richard@gnosis.io>
interface IProxy {
... | solium-disable-next-line security/no-inline-assembly | function internalSetFallbackHandler(address handler) internal {
bytes32 slot = FALLBACK_HANDLER_STORAGE_SLOT;
assembly {
sstore(slot, handler)
}
}
| 330,465 | [
1,
4625,
348,
7953,
560,
30,
225,
3704,
5077,
17,
8394,
17,
4285,
17,
1369,
4373,
19,
2135,
17,
10047,
17,
28050,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
2713,
694,
12355,
1503,
12,
2867,
1838,
13,
2713,
288,
203,
3639,
1731,
1578,
4694,
273,
478,
4685,
8720,
67,
19937,
67,
19009,
67,
55,
1502,
56,
31,
203,
3639,
19931,
288,
203,
5411,
272,
2233,
12,
14194,
16,
1838,
1... |
pragma solidity ^0.5.11;
// Vision.Network 100G Token v2.0
//
// Upgraded in Aug 2019
//
// More info:
// https://vision.network
// https://voken.io
//
// Contact us:
// support@vision.network
// support@voken.io
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow checks.
*/
libra... | * @dev Returns true if the sign-up for whitelist is allowed./ | function whitelistingMode() public view returns (bool) {
return _whitelistingMode;
}
| 15,798,672 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
2860,
638,
309,
326,
1573,
17,
416,
364,
10734,
353,
2935,
18,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
10734,
19154,
1435,
1071,
1476,
1135,
261,
6430,
13,
288,
203,
3639,
327,
389,
20409,
19154,
31,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
./partial_match/43114/0x663Ef4455A07243D9029bA0fC48297AE181aeb38/sources/contracts/interfaces/ISushiSwap.sol | @notice Interface for SushiSwap. | interface ISushiSwap {
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
function token0() external pure returns (address);
function token1() external pure returns (address);
function burn(address to) external returns (uint amount0, uint amount... | 3,505,282 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
6682,
364,
348,
1218,
77,
12521,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
5831,
4437,
1218,
77,
12521,
288,
203,
565,
445,
31792,
264,
3324,
1435,
3903,
1476,
1135,
261,
11890,
17666,
20501,
20,
16,
2254,
17666,
20501,
21,
16,
2254,
1578,
1203,
4921,
3024,
1769,
203,
565,
445,
1147,
20,
1435,
3903,
16618... |
/**
*Submitted for verification at Etherscan.io on 2021-09-07
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
// Part: Chips
interface Chips {
function mintChip(uint256 amount) external payable;
function mintTokens(uint256 count) external payable;
function mintChip() external payable;
}
//... | Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` | contract Contract is IERC721Receiver, Ownable {
bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;
constructor() {
}
function mintWithNumberPerCall(Chips target, uint numberOfCalls, uint numberPerCall) payable public {
require(msg.value % numberOfCalls == 0, "Division error");
ui... | 15,227,630 | [
1,
4625,
348,
7953,
560,
30,
225,
19344,
358,
1375,
3890,
24,
12,
79,
24410,
581,
5034,
2932,
265,
654,
39,
27,
5340,
8872,
12,
2867,
16,
2867,
16,
11890,
5034,
16,
3890,
2225,
3719,
68,
1492,
848,
506,
2546,
12700,
487,
1375,
45,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
1,
16351,
13456,
353,
467,
654,
39,
27,
5340,
12952,
16,
14223,
6914,
288,
203,
565,
1731,
24,
3238,
5381,
389,
654,
39,
27,
5340,
67,
27086,
20764,
273,
374,
92,
23014,
70,
27,
69,
3103,
31,
203,
203,
203,
565,
3885,
1435,
288,
... |
pragma solidity ^0.4.19;
// DopeRaider Narcos Contract
// by gasmasters.io
// contact: team@doperaider.com
contract DistrictsCoreInterface {
// callable by other contracts to control economy
function isDopeRaiderDistrictsCore() public pure returns (bool);
function increaseDistrictWeed(uint256 _district, uint256... | respect it's called now | function getLevel(uint256 _narcoId) public view returns (uint16 rank){
defendedSuccessfully = 4; defendedSuccessfully
rank = (narcos[_narcoId].stats[0]/12)+
(narcos[_narcoId].stats[1]/4)+
(narcos[_narcoId].stats[2]/4)+
(narcos[_narcoId].stats[3]/6)... | 10,588,633 | [
1,
4625,
348,
7953,
560,
30,
225,
8762,
518,
18642,
5520,
31,
87,
2566,
2037,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
17236,
12,
11890,
5034,
389,
82,
297,
2894,
548,
13,
1071,
1476,
1135,
261,
11890,
2313,
6171,
15329,
203,
203,
1377,
1652,
3934,
18303,
273,
1059,
31,
1652,
3934,
18303,
203,
203,
3639,
6171,
273,
225,
261,
82,
11828,
... |
./full_match/5/0xF25bBDF9f7C5b75Be0eAb107dF497C863D651247/sources/contracts/seed/SeedFactory.sol | * @dev Set Seed contract which works as a base for clones. @param _masterCopy The address of the new Seed basis./ | function setMasterCopy(Seed _masterCopy) external onlyOwner {
require(
address(_masterCopy) != address(0),
"SeedFactory: new mastercopy cannot be zero address"
);
masterCopy = _masterCopy;
}
- the highest possible f... | 1,926,270 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
9079,
1000,
28065,
6835,
1492,
6330,
487,
279,
1026,
364,
927,
5322,
18,
632,
891,
389,
7525,
2951,
1021,
1758,
434,
326,
394,
28065,
10853,
18,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
444,
7786,
2951,
12,
12702,
389,
7525,
2951,
13,
3903,
1338,
5541,
288,
203,
3639,
2583,
12,
203,
5411,
1758,
24899,
7525,
2951,
13,
480,
1758,
12,
20,
3631,
203,
5411,
315,
12702,
1733,
30,
394,
4171,
3530,
2780,
506,
... |
pragma solidity 0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function... | Get the contract constant _decimals */ | function decimals() public view returns (uint256 _decimals) {
return decimals;
}
| 7,983,084 | [
1,
4625,
348,
7953,
560,
30,
225,
968,
326,
6835,
5381,
389,
31734,
1195,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
15105,
1435,
1071,
1476,
1135,
261,
11890,
5034,
389,
31734,
13,
288,
203,
3639,
327,
15105,
31,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
// File: contracts/GodMode.sol
/****************************************************
*
* Copyright 2018 BurzNest LLC. All rights reserved.
*
* The contents of this file are provided for review
* and educational purposes ONLY. You MAY NOT use,
* copy, distribute, or modify this software without
* explic... | @dev The auctions contracts can decrement the number of auctions that are available to be started | function auctionsDecrementAuctionsRemaining()
public
onlyAuctionsContract
{
auctionsRemaining -= 1;
}
| 5,490,440 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
1021,
279,
4062,
87,
20092,
848,
15267,
326,
1300,
225,
434,
279,
4062,
87,
716,
854,
2319,
358,
506,
5746,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
279,
4062,
87,
23326,
475,
37,
4062,
87,
11429,
1435,
203,
3639,
1071,
203,
3639,
1338,
37,
4062,
87,
8924,
203,
565,
288,
203,
3639,
279,
4062,
87,
11429,
3947,
404,
31,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
... |
pragma solidity 0.5.17;
import "openzeppelin-solidity/contracts/math/SafeMath.sol";
import "openzeppelin-solidity/contracts/utils/ReentrancyGuard.sol";
import "./TokenStaking.sol";
import "./cryptography/BLS.sol";
import "./utils/AddressArrayUtils.sol";
import "./utils/PercentUtils.sol";
import "./libraries/operator/G... | * @dev Creates a new relay entry and stores the associated data on the chain. @param _groupSignature Group BLS signature over the concatenation of the previous entry and seed./ Spend no more than groupSelectionGasEstimate + 40000 gas max This will prevent relayEntry failure in case the service contract is compromised | function relayEntry(bytes memory _groupSignature) public nonReentrant {
require(isEntryInProgress(), "Entry was submitted");
require(!hasEntryTimedOut(), "Entry timed out");
bytes memory groupPubKey = groups.getGroupPublicKey(signingRequest.groupIndex);
require(
BLS.ver... | 1,840,283 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
10210,
279,
394,
18874,
1241,
471,
9064,
326,
3627,
501,
603,
326,
2687,
18,
632,
891,
389,
1655,
5374,
3756,
605,
3045,
3372,
1879,
326,
26833,
434,
326,
2416,
1241,
471,
5009,
18,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
565,
445,
18874,
1622,
12,
3890,
3778,
389,
1655,
5374,
13,
1071,
1661,
426,
8230,
970,
288,
203,
3639,
2583,
12,
291,
1622,
13434,
9334,
315,
1622,
1703,
9638,
8863,
203,
3639,
2583,
12,
5,
5332,
1622,
30416,
9334,
315,
1622,
74... |
./full_match/80001/0x759f001b3fDe502537901a1e85E8e01333657864/sources/test.sol | * @notice Update formula to `_formula` @param _formula The address of the new BancorFormula [computation] contract/ | function updateFormula(IBancorFormula _formula) external onlyOwner {
_updateFormula(_formula);
}
| 9,475,122 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
2315,
8013,
358,
1375,
67,
18203,
68,
632,
891,
389,
18203,
1021,
1758,
434,
326,
394,
605,
304,
3850,
14972,
306,
13406,
367,
65,
6835,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
1089,
14972,
12,
13450,
304,
3850,
14972,
389,
18203,
13,
3903,
1338,
5541,
288,
203,
3639,
389,
2725,
14972,
24899,
18203,
1769,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
pragma solidity ^0.4.11;
import './ERC20Basic.sol';
import '../ownership/Ownable.sol';
import '../payment/PullPayment.sol';
/**
* @title TokenOption
* @dev TokenOption is a token holder contract that will allow
* anyone to buy tokens at a certain rate in wei
*/
contract TokenOption is Ownable, PullPayment {
... | * @notice Transfers tokens held by option contract to buyer./ | function buy() {
token.transfer(msg.sender, amount);
asyncSend(owner, msg.value);
}
| 15,793,966 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
2604,
18881,
2430,
15770,
635,
1456,
6835,
358,
27037,
18,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
225,
445,
30143,
1435,
288,
203,
565,
1147,
18,
13866,
12,
3576,
18,
15330,
16,
3844,
1769,
203,
565,
4326,
3826,
12,
8443,
16,
1234,
18,
1132,
1769,
203,
225,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
// SPDX-License-Identifier: MIT
pragma solidity 0.7.6;
contract KeeperBase {
/**
* @notice method that allows it to be simulated via eth_call by checking that
* the sender is the zero address.
*/
function preventExecution()
internal
view
{
require(tx.origin == address(0), "only for simulat... | * @notice recovers LINK funds improperly transfered to the registry @dev In principle this function’s execution cost could exceed block gaslimit. However, in our anticipated deployment, the number of upkeeps and keepers will be low enough to avoid this problem./ | function recoverFunds()
external
onlyOwner()
{
uint96 locked = 0;
uint256 max = s_upkeepCount;
for (uint256 i = 0; i < max; i++) {
locked = s_upkeep[i].balance.add(locked);
}
max = s_keeperList.length;
for (uint256 i = 0; i < max; i++) {
address addr = s_keeperList[i];
... | 5,993,615 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
1950,
23042,
22926,
284,
19156,
13069,
457,
715,
7412,
329,
358,
326,
4023,
632,
5206,
657,
846,
9523,
2444,
333,
445,
163,
227,
252,
87,
4588,
6991,
3377,
9943,
1203,
16189,
3595,
18,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
225,
445,
5910,
42,
19156,
1435,
203,
565,
3903,
203,
565,
1338,
5541,
1435,
203,
225,
288,
203,
565,
2254,
10525,
8586,
273,
374,
31,
203,
565,
2254,
5034,
943,
273,
272,
67,
416,
10102,
1380,
31,
203,
565,
364,
261,
11890,
50... |
./full_match/10/0x46E772210f01647FA573b915bE287Ff9b65AD4B0/sources/src/ERC721Drop.sol | @notice Hook to filter operators (no-op if no filters are registered) @dev Part of ERC721A token hooks @param from Transfer from user @param to Transfer to user @param startTokenId Token ID to start with @param quantity Quantity of token being transferred | function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual override {
if (
) {
if (
!operatorFilterRegistry.isOperatorAllowed(
address(this),
... | 3,780,797 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
13725,
358,
1034,
12213,
261,
2135,
17,
556,
309,
1158,
3415,
854,
4104,
13,
632,
5206,
6393,
434,
4232,
39,
27,
5340,
37,
1147,
9153,
632,
891,
628,
12279,
628,
729,
632,
891,
358,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
565,
445,
389,
5771,
1345,
1429,
18881,
12,
203,
3639,
1758,
628,
16,
203,
3639,
1758,
358,
16,
203,
3639,
2254,
5034,
787,
1345,
548,
16,
203,
3639,
2254,
5034,
10457,
203,
565,
262,
2713,
5024,
3849,
288,
203,
3639,
309,
261,
... |
./full_match/7701/0x00768e11E5bfdBe0aE4E96846987186B1B327467/sources/lib/CSR-Rewards-ERC20/src/contracts/CsrRewardsERC20.sol | * @title CSR Reward Accumulating Token Distributes all CSR earned to reward eligible holders Logic is borrowed and modified from Synthetix StakingRewards.sol/ | abstract contract CsrRewardsERC20 is ERC20, ReentrancyGuard {
uint public immutable csrID;
bool public immutable usingWithdrawCallFee;
uint16 public immutable withdrawCallFeeBasisPoints;
mapping(address => uint) public rewardsEarned;
uint private _totalRewardEligibleSupply;
mapping(address =>... | 13,213,792 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
2649,
26942,
534,
359,
1060,
15980,
5283,
1776,
3155,
3035,
1141,
777,
26942,
425,
1303,
329,
358,
19890,
21351,
366,
4665,
10287,
353,
29759,
329,
471,
4358,
628,
16091,
451,
278,
697,
934,
6159... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
17801,
6835,
385,
11254,
17631,
14727,
654,
39,
3462,
353,
4232,
39,
3462,
16,
868,
8230,
12514,
16709,
288,
203,
203,
565,
2254,
1071,
11732,
13271,
734,
31,
203,
565,
1426,
1071,
11732,
1450,
1190,
9446,
1477,
14667,
31,
203,
565... |
./full_match/5/0xdaFFeBC1CCD6Df6045960ebAA445A18ADB23b1E4/sources/RACAToken.sol | The address of Treasury wallet | address public treasuryWalletAddr;
| 1,934,832 | [
1,
4625,
348,
7953,
560,
30,
225,
1021,
1758,
434,
399,
266,
345,
22498,
9230,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
1758,
1071,
9787,
345,
22498,
16936,
3178,
31,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
// File: @openzeppelin/contracts/math/SafeMath.sol
/**
* @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... | * @dev See {IStrategy-harvest}./ | function harvest(uint256 _bankPoolId) external override {
address _vault = msg.sender;
require(poolPreferredIds.length > 0, "no pool");
for (uint256 i = 0; i < poolPreferredIds.length; ++i) {
uint256 _pid = poolPreferredIds[i];
if (poolMap[_pid].vault == _vault) {
... | 11,958,457 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
2164,
288,
45,
4525,
17,
30250,
26923,
5496,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
17895,
26923,
12,
11890,
5034,
389,
10546,
25136,
13,
3903,
3849,
288,
203,
3639,
1758,
389,
26983,
273,
1234,
18,
15330,
31,
203,
3639,
2583,
12,
6011,
16028,
2673,
18,
2469,
405,
374,
16,
315,
2135,
2845,
8863,
203,
3... |
./full_match/5/0x76134eE647D72c371E489e35404CC7B5C76B612c/sources/contracts/libraries/eigenda/lib/contracts/interfaces/IPaymentManager.sol | when committed, used for fraudproof period
| uint32 settleAt; | 7,036,582 | [
1,
4625,
348,
7953,
560,
30,
225,
1347,
16015,
16,
1399,
364,
284,
354,
1100,
24207,
3879,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
2254,
1578,
444,
5929,
861,
31,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
./full_match/1/0x0373D60dE42d5d258934b184D7C19CDF1E138615/sources/contracts/marketplace.sol | * @dev Executes the sale for a published NFT @param nftAddress - Address of the NFT registry @param assetId - ID of the published NFT @param price - Order price @param fingerprint - Verification info for the asset/ Calculate sale share | function _executeOrder(
address nftAddress,
uint256 assetId,
uint256 price,
bytes memory fingerprint
)
internal returns (Order memory)
{
_requireERC721(nftAddress);
address sender = _msgSender();
ERC721Verifiable nftRegistry = ERC721Verifiable(nftAddress);
if (nftRegistry.sup... | 3,203,636 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
3889,
993,
326,
272,
5349,
364,
279,
9487,
423,
4464,
632,
891,
290,
1222,
1887,
300,
5267,
434,
326,
423,
4464,
4023,
632,
891,
3310,
548,
300,
1599,
434,
326,
9487,
423,
4464,
632,
89... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
1,
225,
445,
389,
8837,
2448,
12,
203,
565,
1758,
290,
1222,
1887,
16,
203,
565,
2254,
5034,
3310,
548,
16,
203,
565,
2254,
5034,
6205,
16,
203,
565,
1731,
3778,
12115,
203,
225,
262,
203,
282,
2713,
1135,
261,
2448,
3778,
13,
203... |
// 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... | * @dev Returns whether `tokenId` exists. Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. Tokens start existing when they are minted (`_mint`), and stop existing when they are burned (`_burn`)./ | function exists(uint256 tokenId) public view returns (bool) {
return _exists(tokenId);
}
| 13,865,572 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
2860,
2856,
1375,
2316,
548,
68,
1704,
18,
13899,
848,
506,
7016,
635,
3675,
3410,
578,
20412,
9484,
3970,
288,
12908,
537,
97,
578,
288,
542,
23461,
1290,
1595,
5496,
13899,
787,
2062,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
202,
915,
1704,
12,
11890,
5034,
1147,
548,
13,
1071,
1476,
1135,
261,
6430,
13,
288,
203,
202,
202,
2463,
389,
1808,
12,
2316,
548,
1769,
203,
202,
97,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
//Address: 0x1f58af89d12d4a60647f99a9fc71dd0367b56df4
//Contract name: BurnupGameCore
//Balance: 441 wei
//Verification Date: 3/20/2018
//Transacion Count: 3762
// CODE STARTS HERE
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
... | @dev Assign the proceeds of the buyout. Send the current owner's winnings. There is no current owner. Assign dividends to owners of surrounding tiles. There is no second-level referrer. | function _assignBuyoutProceeds(
address currentOwner,
uint256[] memory claimedSurroundingTiles,
uint256 fee,
uint256 currentOwnerWinnings,
uint256 totalDividendPerBeneficiary,
uint256 referralBonus,
uint256 prizePoolFunds
)
internal
{
... | 6,406,019 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
12093,
326,
11247,
87,
434,
326,
30143,
659,
18,
2479,
326,
783,
3410,
1807,
5657,
82,
899,
18,
6149,
353,
1158,
783,
3410,
18,
12093,
3739,
350,
5839,
358,
25937,
434,
29071,
12568,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
389,
6145,
38,
9835,
659,
626,
5288,
87,
12,
203,
3639,
1758,
783,
5541,
16,
203,
3639,
2254,
5034,
8526,
3778,
7516,
329,
7719,
17376,
27669,
16,
203,
3639,
2254,
5034,
14036,
16,
203,
3639,
2254,
5034,
783,
5541,
1804... |
pragma solidity ^0.4.23;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 bala... | CHANGE THIS. Update the contract name.
| contract SaxoToken is StandardToken { | 14,418,822 | [
1,
4625,
348,
7953,
560,
30,
225,
26267,
20676,
18,
2315,
326,
6835,
508,
18,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
16351,
348,
651,
83,
1345,
353,
8263,
1345,
288,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
./full_match/1/0x5D4Aa78B08Bc7C530e21bf7447988b1Be7991322/sources/src/BaseAaveTokenV2.sol | @dev DEPRECATED from AaveToken v2 //// kept for backwards compatibility with old storage layout / @dev END OF DEPRECATED from AaveToken v2 // | constructor() EIP712('Aave token V3', '2') {}
| 8,423,944 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
2030,
14838,
628,
432,
836,
1345,
331,
22,
225,
368,
759,
16555,
364,
12727,
8926,
598,
1592,
2502,
3511,
342,
632,
5206,
7273,
15932,
2030,
14838,
628,
432,
836,
1345,
331,
22,
225,
368,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
225,
3885,
1435,
512,
2579,
27,
2138,
2668,
37,
836,
1147,
776,
23,
2187,
296,
22,
6134,
2618,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
./full_match/43114/0xbA926938022aEd393436635fEd939cAdf5Afe4D5/sources/FireBirdFormula.sol | * @dev computes the largest integer smaller than or equal to the binary logarithm of the input./ At most 8 iterations Exactly 8 iterations | function floorLog2(uint256 _n) internal pure returns (uint8) {
uint8 res = 0;
if (_n < 256) {
while (_n > 1) {
_n >>= 1;
res += 1;
}
for (uint8 s = 128; s > 0; s >>= 1) {
if (_n >= (ONE << s)) {
_n >>= s;
res |= s;
}
}
}
ret... | 4,565,582 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
15881,
326,
12756,
3571,
10648,
2353,
578,
3959,
358,
326,
3112,
613,
31249,
434,
326,
810,
18,
19,
2380,
4486,
1725,
11316,
30794,
715,
1725,
11316,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
225,
445,
6346,
1343,
22,
12,
11890,
5034,
389,
82,
13,
2713,
16618,
1135,
261,
11890,
28,
13,
288,
203,
565,
2254,
28,
400,
273,
374,
31,
203,
203,
565,
309,
261,
67,
82,
411,
8303,
13,
288,
203,
1377,
1323,
261,
67,
82,
4... |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <=0.7.3;
import { Lib_MerkleTrie } from "./Lib_MerkleTrie.sol";
import { Lib_BytesUtils } from "./Lib_BytesUtils.sol";
import { Lib_RLPReader } from "./Lib_RLPReader.sol";
contract Optimistic_Rollups {
bytes32 public stateRoot;
bytes32 public prev_... | Bonds msg.value for msg.sender to become and aggregator | function bond() external payable {
require(msg.value >= required_bond, "INSUFFICIENT_BOND");
aggregators[msg.sender] = msg.sender;
}
| 1,767,022 | [
1,
4625,
348,
7953,
560,
30,
605,
4096,
1234,
18,
1132,
364,
1234,
18,
15330,
358,
12561,
471,
20762,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
8427,
1435,
3903,
8843,
429,
288,
203,
3639,
2583,
12,
3576,
18,
1132,
1545,
1931,
67,
26425,
16,
315,
706,
6639,
42,
1653,
7266,
2222,
67,
38,
673,
40,
8863,
203,
3639,
4377,
3062,
63,
3576,
18,
15330,
65,
273,
1234,... |
/**
*Submitted for verification at Etherscan.io on 2021-09-03
*/
// SPDX-License-Identifier: NONE
pragma solidity 0.7.6;
// Part: Address
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
... | * @notice Function that swaps _tokenIn amount as much approved by the user to this contract for _tokenOut If approval > _tokenIn balance, all of the _tokenIn amount/balance is swapped @param agentId: unique id of the agent doing the transaction @param user: user address to withdraw liquidity for @param path: path for t... | function swap(
string calldata agentId,
address user,
address[] calldata path,
uint256 amount,
uint256 slippage
) external override nonReentrant agentVerified(agentId, user) returns (bool) {
IERC20 tokenIn = IERC20(path[0]);
uint256 approvedBalance = toke... | 6,745,035 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
4284,
716,
1352,
6679,
389,
2316,
382,
3844,
487,
9816,
20412,
635,
326,
729,
358,
333,
6835,
364,
389,
2316,
1182,
971,
23556,
405,
389,
2316,
382,
11013,
16,
777,
434,
326,
389,
2316,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
565,
445,
7720,
12,
203,
3639,
533,
745,
892,
4040,
548,
16,
203,
3639,
1758,
729,
16,
203,
3639,
1758,
8526,
745,
892,
589,
16,
203,
3639,
2254,
5034,
3844,
16,
203,
3639,
2254,
5034,
272,
3169,
2433,
203,
565,
262,
3903,
3849... |
pragma solidity 0.5.9;
import "./NodeRulesProxy.sol";
import "./Ingress.sol";
contract NodeIngress is Ingress {
// version of this contract: semver eg 1.2.14 represented like 001002014
uint private version = 1000000;
event NodePermissionsUpdated(
bool addsRestrictions
);
function getCon... | version of this contract: semver eg 1.2.14 represented like 001002014 | contract NodeIngress is Ingress {
uint private version = 1000000;
event NodePermissionsUpdated(
bool addsRestrictions
);
function getContractVersion() external view returns(uint) {
return version;
}
function emitRulesChangeEvent(bool addsRestrictions) external {
requir... | 12,699,859 | [
1,
4625,
348,
7953,
560,
30,
225,
1177,
434,
333,
6835,
30,
25082,
9130,
404,
18,
22,
18,
3461,
10584,
3007,
374,
1611,
713,
6734,
24,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
16351,
2029,
15708,
353,
21561,
288,
203,
565,
2254,
3238,
1177,
273,
15088,
31,
203,
203,
565,
871,
2029,
6521,
7381,
12,
203,
3639,
1426,
4831,
26175,
203,
565,
11272,
203,
203,
565,
445,
336,
8924,
1444,
1435,
3903,
1476,
1135,
... |
pragma solidity ^0.4.18;
/************************************************** */
/* WhenHub Token Smart Contract */
/* Author: Nik Kalyani nik@whenhub.com */
/* Copyright (c) 2018 CalendarTree, Inc. */
/* https://interface.whenhub.com */
/******************... | Basis points to percentage conversion
| referralFeeJiffys = billableJiffys.mul(referralFeeBasisPoints).div(BASIS_POINTS_TO_PERCENTAGE); | 1,334,514 | [
1,
4625,
348,
7953,
560,
30,
225,
605,
17247,
3143,
358,
11622,
4105,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
10792,
1278,
29084,
14667,
46,
3048,
1900,
273,
20714,
429,
46,
3048,
1900,
18,
16411,
12,
1734,
29084,
14667,
11494,
291,
5636,
2934,
2892,
12,
12536,
15664,
67,
8941,
55,
67,
4296,
67,
3194,
19666,
2833,
1769,
225,
2,
-100,
-100,... |
pragma solidity 0.5.16;
import "./ConvexStrategy2Token.sol";
contract ConvexStrategyHBTCMainnet is ConvexStrategy2Token {
address public hbtc_unused; // just a differentiator for the bytecode
constructor() public {}
function initializeStrategy(
address _storage,
address _vault
) public initializer ... | Governance or Controller can claim coins that are somehow transferred into the contract Note that they cannot come in take away coins that are used and defined in the strategy itself/ To make sure that governance cannot come in and take away the coins | function salvage(address recipient, address token, uint256 amount) external onlyControllerOrGovernance {
require(!unsalvagableTokens(token), "token is defined as not salvagable");
IERC20(token).safeTransfer(recipient, amount);
}
| 141,738 | [
1,
4625,
348,
7953,
560,
30,
565,
611,
1643,
82,
1359,
578,
6629,
848,
7516,
276,
9896,
716,
854,
28578,
906,
4193,
1368,
326,
6835,
282,
3609,
716,
2898,
2780,
12404,
316,
4862,
10804,
276,
9896,
716,
854,
1399,
471,
2553,
316,
326... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
225,
445,
12814,
90,
410,
12,
2867,
8027,
16,
1758,
1147,
16,
2254,
5034,
3844,
13,
3903,
1338,
2933,
1162,
43,
1643,
82,
1359,
288,
203,
565,
2583,
12,
5,
318,
21982,
90,
346,
429,
5157,
12,
2316,
3631,
315,
2316,
353,
2553,
... |
// SPDX-License-Identifier: MIT
// ██▓▓████████████████████
// ██████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░▒▒██████
// ██░░▒▒▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒████ ... | Returns contract name | function name() external view returns(string memory) {
return name_;
}
| 1,729,829 | [
1,
4625,
348,
7953,
560,
30,
225,
2860,
6835,
508,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
508,
1435,
3903,
1476,
1135,
12,
1080,
3778,
13,
288,
203,
3639,
327,
508,
67,
31,
203,
565,
289,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
./full_match/4/0x9d9eA2B405201b654e72c1BD894e9a7f3723a2A4/sources/contracts/MatthewBallMinting.sol | @param tokenId token id to get uri for | function tokenURI(uint256 tokenId)
public
view
override
tokenExists(tokenId)
returns (string memory)
{
return
string(
sharedMetadata.encodeMetadataJSON(
bytes(tokenInfo[tokenId].metadataContent)
)
... | 682,195 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
891,
1147,
548,
1147,
612,
358,
336,
2003,
364,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
1147,
3098,
12,
11890,
5034,
1147,
548,
13,
203,
3639,
1071,
203,
3639,
1476,
203,
3639,
3849,
203,
3639,
1147,
4002,
12,
2316,
548,
13,
203,
3639,
1135,
261,
1080,
3778,
13,
203,
565,
288,
203,
3639,
327,
203,
5411,
... |
./partial_match/8453/0xc0d3C0D3C0D3c0D3C0D3C0d3C0D3c0D3c0d30015/sources/contracts/legacy/LegacyERC20ETH.sol | * @custom:legacy @custom:proxied @custom:predeploy 0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000 @title LegacyERC20ETH @notice LegacyERC20ETH is a legacy contract that held ETH balances before the Bedrock upgrade. All ETH balances held within this contract were migrated to the state trie as part of the Bed... | contract LegacyERC20ETH is OptimismMintableERC20 {
constructor()
OptimismMintableERC20(Predeploys.L2_STANDARD_BRIDGE, address(0), "Ether", "ETH")
pragma solidity 0.8.15;
import { Predeploys } from "../libraries/Predeploys.sol";
import { OptimismMintableERC20 } from "../universal/OptimismMintableERC20.sol";... | 16,772,463 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
3662,
30,
17386,
632,
3662,
30,
20314,
2092,
632,
3662,
30,
1484,
12411,
374,
92,
11852,
758,
1871,
323,
986,
41,
1871,
22097,
1639,
69,
40,
1639,
1871,
758,
69,
40,
758,
1880,
2787,
632,
264... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
16351,
22781,
654,
39,
3462,
1584,
44,
353,
19615,
6228,
49,
474,
429,
654,
39,
3462,
288,
203,
565,
3885,
1435,
203,
3639,
19615,
6228,
49,
474,
429,
654,
39,
3462,
12,
1386,
15037,
383,
1900,
18,
48,
22,
67,
882,
18264,
67,
... |
pragma solidity ^0.4.24;
contract ERC20Interface {
function totalSupply() public view returns (uint256);
function balanceOf(address tokenOwner) public view returns (uint256 balance);
function allowance(address tokenOwner, address spender) public view returns (uint256 remaining);
function transfer(addre... | * @dev Allow current contract owner transfer ownership to other address/ | function AssignGGCOwner(address _ownerContract)
public
onlyOwner
notNull(_ownerContract)
{
uint256 remainTokens = balances[owner];
ownerContract = _ownerContract;
balances[owner] = 0;
balances[ownerContract] = balances[ownerContract].add(remainTokens);
whi... | 14,996,433 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
7852,
783,
6835,
3410,
7412,
23178,
358,
1308,
1758,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
12093,
43,
15396,
5541,
12,
2867,
389,
8443,
8924,
13,
7010,
565,
1071,
7010,
565,
1338,
5541,
7010,
565,
7713,
24899,
8443,
8924,
13,
7010,
565,
288,
203,
3639,
2254,
5034,
7232,
5157,
273,
324,
26488,
63,
8443,
15533,
... |
// SPDX-License-Identifier: MIT
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// █████ ███ █████ ████ █████████ █████ ... | consume the nonce if it is safe | nonces[nonce] = true;
| 1,249,385 | [
1,
4625,
348,
7953,
560,
30,
225,
7865,
326,
7448,
309,
518,
353,
4183,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
1661,
764,
63,
12824,
65,
273,
638,
31,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/// @title: MinteVipTicket
/// @authors: manifold.xyz & Collector
import "./ERC721Creator.sol";
contract MVIP is ERC721Creator {
uint256 public price = 40000000000000000; //0.04 ETH
bool public saleIsActive = true;
uint private rand;
const... | * @dev {See ICreatorCore-getFeeBps}./ | function getFeeBps(uint256 tokenId) external view virtual override returns (uint[] memory) {
require(_exists(tokenId), "Nonexistent token");
return _getRoyaltyBPS(tokenId);
}
| 6,252 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
288,
9704,
467,
10636,
4670,
17,
588,
14667,
38,
1121,
5496,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
2812,
1340,
38,
1121,
12,
11890,
5034,
1147,
548,
13,
3903,
1476,
5024,
3849,
1135,
261,
11890,
8526,
3778,
13,
288,
203,
3639,
2583,
24899,
1808,
12,
2316,
548,
3631,
315,
3989,
19041,
1147,
8863,
203,
3639,
327,
389,
... |
/**
*Submitted for verification at Etherscan.io on 2019-12-19
*/
// hevm: flattened sources of src/Redeemer.sol
pragma solidity =0.5.11 >0.4.13 >0.4.20 >=0.4.23 >=0.5.0 <0.6.0 >=0.5.5 <0.6.0 >=0.5.11 <0.6.0;
////// lib/dpass/lib/openzeppelin-contracts/src/GSN/Context.sol
/* pragma solidity ^0.5.0; */
/*
* @dev Pro... | if buyToken_ is a valid ERC721 token
| } else if (canBuyErc721[buyToken_]) { | 13,091,102 | [
1,
4625,
348,
7953,
560,
30,
225,
309,
30143,
1345,
67,
353,
279,
923,
4232,
39,
27,
5340,
1147,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
289,
469,
309,
261,
4169,
38,
9835,
41,
1310,
27,
5340,
63,
70,
9835,
1345,
67,
5717,
288,
18701,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../../../libraries/LibDiamond.sol";
import "../sentinel/ISentinelFacet.sol";
import "../../../guardian/IGuardian.sol";
// This facet allows any set sentinels to make calls to any contract through the gnosis safe
contract ArbitrateFacet {
event CallAbi... | This facet allows any set sentinels to make calls to any contract through the gnosis safeThis checks if the caller is a guardian or admin address | contract ArbitrateFacet {
event CallAbitrated (
address indexed _abitrator,
address _to,
bytes _calldata
);
pragma solidity ^0.8.0;
constructor() {}
modifier canCall() {
bool isGuardian = ISentinelFacet(address(this)).isGuardian(msg.sender);
bool isAdmin = ISent... | 12,806,699 | [
1,
4625,
348,
7953,
560,
30,
225,
1220,
11082,
5360,
1281,
444,
3271,
267,
10558,
358,
1221,
4097,
358,
1281,
6835,
3059,
326,
314,
18050,
291,
4183,
2503,
4271,
309,
326,
4894,
353,
279,
11026,
2779,
578,
3981,
1758,
2,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
16351,
1201,
3682,
5141,
11137,
288,
203,
565,
871,
3049,
37,
3682,
86,
690,
261,
203,
3639,
1758,
8808,
389,
30258,
86,
639,
16,
203,
3639,
1758,
389,
869,
16,
203,
3639,
1731,
389,
1991,
892,
203,
565,
11272,
203,
203,
203,
6... |
./full_match/4/0x1Ba1DB48A7eFC6BFbdB214f75d9b32c0b402D719/sources/contracts/JBFundingCycleStore.sol | Get the funding cycle of its base funding cycle, which carries the last approved configuration. | fundingCycle = _getStructFor(_projectId, fundingCycle.basedOn);
| 12,303,585 | [
1,
4625,
348,
7953,
560,
30,
225,
968,
326,
22058,
8589,
434,
2097,
1026,
22058,
8589,
16,
1492,
5926,
566,
281,
326,
1142,
20412,
1664,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
22058,
13279,
273,
389,
588,
3823,
1290,
24899,
4406,
548,
16,
22058,
13279,
18,
12261,
1398,
1769,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
./partial_match/1/0x9dF4B0c1cfd7bE514308E902162C665110edaAED/sources/CookieMonster.sol | set as marketing wallet
| marketingWallet = address(0x067Cc326a9399141aeeE46fD23E534Cb4dc13295); | 3,568,787 | [
1,
4625,
348,
7953,
560,
30,
225,
444,
487,
13667,
310,
9230,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
13667,
310,
16936,
273,
1758,
12,
20,
92,
7677,
27,
39,
71,
27284,
69,
11180,
2733,
3461,
21,
69,
1340,
41,
8749,
74,
40,
4366,
41,
25,
5026,
15237,
24,
7201,
22152,
8778,
1769,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,... |
//Address: 0x589891a198195061cb8ad1a75357a3b7dbadd7bc
//Contract name: COSToken
//Balance: 0 Ether
//Verification Date: 6/13/2018
//Transacion Count: 2
// CODE STARTS HERE
pragma solidity ^0.4.18;
// -----------------------------------------------------------------------
// COS Token by Contentos.
// As ERC20 standa... | * Destroy tokens from other account Remove `_value` tokens from the system irreversibly on behalf of `_from`. @param _from the address of the sender @param _value the amount of money to burn/ | function burnFrom(address _from, uint256 _value) stoppable public returns(bool) {
emit Burn(_from, _value);
return true;
}
| 12,773,810 | [
1,
4625,
348,
7953,
560,
30,
380,
15701,
2430,
628,
1308,
2236,
3581,
1375,
67,
1132,
68,
2430,
628,
326,
2619,
9482,
266,
2496,
24755,
603,
12433,
6186,
434,
1375,
67,
2080,
8338,
632,
891,
389,
2080,
326,
1758,
434,
326,
5793,
632... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
18305,
1265,
12,
2867,
389,
2080,
16,
2254,
5034,
389,
1132,
13,
2132,
19586,
1071,
1135,
12,
6430,
13,
288,
203,
3639,
3626,
605,
321,
24899,
2080,
16,
389,
1132,
1769,
203,
3639,
327,
638,
31,
203,
565,
289,
203,
2,... |
./full_match/43114/0x63E64232028ca07978b8D519E2AB5F157c49A260/sources/SUBZEROCHEF.sol | * @notice Determine the prior number of votes for an account as of a block number @dev Block number must be a finalized block or else this function will revert to prevent misinformation. @param account The address of the account to check @param blockNumber The block number to get the vote balance at @return The number ... | function getPriorVotes(address account, uint blockNumber)
external
view
returns (uint256)
{
require(blockNumber < block.number, "SUBZERO::getPriorVotes: not yet determined");
uint32 nCheckpoints = numCheckpoints[account];
if (nCheckpoints == 0) {
retu... | 4,547,433 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
10229,
326,
6432,
1300,
434,
19588,
364,
392,
2236,
487,
434,
279,
1203,
1300,
632,
5206,
3914,
1300,
1297,
506,
279,
727,
1235,
1203,
578,
469,
333,
445,
903,
15226,
358,
5309,
7524,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
565,
445,
1689,
2432,
29637,
12,
2867,
2236,
16,
2254,
1203,
1854,
13,
203,
3639,
3903,
203,
3639,
1476,
203,
3639,
1135,
261,
11890,
5034,
13,
203,
565,
288,
203,
3639,
2583,
12,
2629,
1854,
411,
1203,
18,
2696,
16,
315,
8362,
... |
pragma solidity ^0.4.24;
contract IERC20Token {
function name() public view returns (string) ;
function symbol() public view returns (string);
function decimals() public view returns (uint8);
function totalSupply() public view returns (uint256);
function balanceOf(address _owner) public view ret... | Initializes contract with initial supply tokens to the creator of the contract */ | constructor () public payable {
uint32 _totalSize = 3;
uint256 _singlePrice = 10;
owner = msg.sender;
setConfig = ContractParam(_totalSize,_singlePrice ,5,false);
curConfig = ContractParam(_totalSize,_singlePrice ,5,false);
baseRandom.addContractAddr();
s... | 6,684,250 | [
1,
4625,
348,
7953,
560,
30,
225,
10188,
3128,
6835,
598,
2172,
14467,
2430,
358,
326,
11784,
434,
326,
6835,
1195,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
3885,
1832,
225,
1071,
8843,
429,
225,
288,
203,
3639,
2254,
1578,
389,
4963,
1225,
273,
890,
31,
203,
3639,
2254,
5034,
225,
389,
7526,
5147,
273,
1728,
31,
203,
3639,
3410,
273,
1234,
18,
15330,
31,
203,
3639,
15517,
273,
... |
// SP-License-upgradeable-Identifier: UNLICENSED
pragma solidity ^0.6.11;
import "deps/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "interfaces/badger/IBadgerGeyser.sol";
import "interfaces/badger/IAccessControl.sol";
import "interfaces/uniswap/IStakingRewards.sol";
import "interfaces/uni... | dao_treasury_pct = 40% | require(IDigg(digg).transfer(daoDiggTimelock, DAO_TREASURY_SUPPLY), "transfer DAO_TREASURY_SUPPLY");
| 13,064,740 | [
1,
4625,
348,
7953,
560,
30,
225,
15229,
67,
27427,
345,
22498,
67,
23989,
273,
8063,
9,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
2583,
12,
734,
360,
75,
12,
5606,
75,
2934,
13866,
12,
2414,
83,
4907,
75,
10178,
292,
975,
16,
463,
20463,
67,
56,
862,
3033,
1099,
61,
67,
13272,
23893,
3631,
315,
13866,
463,
20463,
67,
56,
862,
3033,
1099,
61,
67,
1... |
./full_match/83/0xF0Db6d3bbf2d728dF91B01018CDeE635cFCb1B9a/sources/Users/cuimiandashi/Documents/GitHub/meterio/cryptoblades/contracts/SpecialWeaponsManager.sol | supply 0 = unlimited | function startNewEvent(string calldata name, uint8 element, uint256 period, uint256 supply, string calldata art, string calldata details, string calldata website, string calldata note) external restricted {
uint eventId = ++eventCount;
eventInfo[eventId] = EventInfo(
name,
el... | 9,557,997 | [
1,
4625,
348,
7953,
560,
30,
225,
14467,
374,
273,
640,
21325,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
787,
1908,
1133,
12,
1080,
745,
892,
508,
16,
2254,
28,
930,
16,
2254,
5034,
3879,
16,
2254,
5034,
14467,
16,
533,
745,
892,
3688,
16,
533,
745,
892,
3189,
16,
533,
745,
892,
12504,
16,
533,
745,
892,
4721,
13,
3903... |
./partial_match/1/0x08EBeE6CFdbA57884acF6c3cF8a8717c0De65bB3/sources/PharmaTyrant.sol | 2% from total supply maxWallet
| maxWallet = 7_000_000 * 1e18; | 15,754,437 | [
1,
4625,
348,
7953,
560,
30,
225,
576,
9,
628,
2078,
14467,
943,
16936,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
943,
16936,
273,
2371,
67,
3784,
67,
3784,
380,
404,
73,
2643,
31,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
// SPDX-License-Identifier: Apache-2.0
// bitound https://github.com/bitound-finance/bitound-protocol/blob/master/contracts/Governance/GovernorBravoDelegate.sol
pragma solidity ^0.8.0;
import "./GovernorBravoInterfaces.sol";
contract GovernorBravoDelegate is
GovernorBravoDelegateStorageV2,
GovernorBravoEvents... | * @notice Gets the state of a proposal @param proposalId The id of the proposal @return Proposal state/ | function state(uint256 proposalId) public view returns (ProposalState) {
require(proposalCount >= proposalId, "GovernorBravo: invalid id");
Proposal storage proposal = proposals[proposalId];
if (proposal.canceled) {
return ProposalState.Canceled;
return ProposalState.... | 12,795,671 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
11881,
326,
919,
434,
279,
14708,
632,
891,
14708,
548,
1021,
612,
434,
326,
14708,
632,
2463,
19945,
919,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
919,
12,
11890,
5034,
14708,
548,
13,
1071,
1476,
1135,
261,
14592,
1119,
13,
288,
203,
3639,
2583,
12,
685,
8016,
1380,
1545,
14708,
548,
16,
315,
43,
1643,
29561,
38,
354,
12307,
30,
2057,
612,
8863,
203,
3639,
19945,... |
/**
*Submitted for verification at Etherscan.io on 2022-01-22
*/
// hevm: flattened sources of src/FlapperMassBid.sol
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity =0.8.11 >=0.5.12;
////// lib/dss-interfaces/src/ERC/GemAbstract.sol
/* pragma solidity >=0.5.12; */
// A base ERC-20 abstract class
// h... | Transfer any remaining MKR back out | mkr.transfer(owner, mkr.balanceOf(address(this)));
| 2,203,358 | [
1,
4625,
348,
7953,
560,
30,
225,
12279,
1281,
4463,
490,
47,
54,
1473,
596,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
5028,
86,
18,
13866,
12,
8443,
16,
5028,
86,
18,
12296,
951,
12,
2867,
12,
2211,
3719,
1769,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
pragma solidity ^0.4.13;
interface ERC20Interface {
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... | */first, verify the prooftransfer OPS from the sender to this contractsave the commitments | function mint(uint amount) public {
bool result = mv.verifyTx(
proofs[msg.sender].a,
proofs[msg.sender].a_p,
proofs[msg.sender].b,
proofs[msg.sender].b_p,
proofs[msg.sender].c,
proofs[msg.sender].c_p,
proofs[msg.sender].h,
proofs[msg.sender].k,
msg.sender);
ops.transferFrom(msg.sender, address(this), amount);
}... | 12,692,388 | [
1,
4625,
348,
7953,
560,
30,
1195,
3645,
16,
3929,
326,
14601,
13866,
531,
5857,
628,
326,
5793,
358,
333,
6835,
5688,
326,
3294,
1346,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
915,
312,
474,
12,
11890,
3844,
13,
1071,
288,
203,
203,
203,
203,
203,
6430,
563,
273,
7701,
18,
8705,
4188,
12,
203,
24207,
87,
63,
3576,
18,
15330,
8009,
69,
16,
203,
24207,
87,
63,
3576,
18,
15330,
8009,
69,
67,
84,
16,
... |
// SPDX-License-Identifier: MIT LICENSE
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./interfaces/IWnDGame.sol";
import "./interfaces/ITrainingGrounds.sol";
imp... | Dragons are free to stake
| gpToken.burn(_msgSender(), stakingCost * (tokenIds.length - numDragons)); | 10,453,626 | [
1,
4625,
348,
7953,
560,
30,
225,
28425,
7008,
854,
4843,
358,
384,
911,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1377,
4178,
1345,
18,
70,
321,
24899,
3576,
12021,
9334,
384,
6159,
8018,
380,
261,
2316,
2673,
18,
2469,
300,
818,
11728,
7008,
10019,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
./full_match/4/0x1670a5Cdd71e7b38BBAc6a7Aded7B35eDb824ab9/sources/contracts/MaskedMeerkatGang.sol | using Strings for uint256; time where general sale occurs mint time should be the same as general time reserve presale amount for whitelist address available supply is the amount available for general sale which should 6667 dev address, will be used to withdraw first 111 meerkats which will be distributed during give a... | {
using SafeMath for uint256;
string baseTokenURI;
string public notRevealedURI;
string public baseExtension = ".json";
uint256 private currentTokenId = 0;
uint256 maxSupply = 7777;
uint256 internal fee;
bool public revealed = false;
uint256 public totalMint = 0;
uint256 public... | 731,861 | [
1,
4625,
348,
7953,
560,
30,
1450,
8139,
364,
2254,
5034,
31,
813,
1625,
7470,
272,
5349,
9938,
312,
474,
813,
1410,
506,
326,
1967,
487,
7470,
813,
20501,
4075,
5349,
3844,
364,
10734,
1758,
2319,
14467,
353,
326,
3844,
2319,
364,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
95,
203,
203,
565,
1450,
14060,
10477,
364,
2254,
5034,
31,
203,
203,
565,
533,
1026,
1345,
3098,
31,
203,
565,
533,
1071,
486,
426,
537,
18931,
3098,
31,
203,
565,
533,
1071,
1026,
3625,
273,
3552,
1977,
14432,
203,
565,
2254,
... |
./partial_match/97/0xAe71889a01B6BcF667e0b1B95c19C9eEc13c3bFF/sources/ArgonPublicSale.sol | Adding how many BNB equivalent ARGON the investor has deposited | investorsDepositedARGON[msg.sender] = investorsDepositedARGON[msg.sender] + argonamount; | 11,407,022 | [
1,
4625,
348,
7953,
560,
30,
21240,
3661,
4906,
605,
20626,
7680,
13984,
673,
326,
2198,
395,
280,
711,
443,
1724,
329,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
2198,
395,
1383,
758,
1724,
329,
10973,
673,
63,
3576,
18,
15330,
65,
273,
2198,
395,
1383,
758,
1724,
329,
10973,
673,
63,
3576,
18,
15330,
65,
397,
1501,
265,
8949,
31,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
// Сочетаемость глаголов (и отглагольных частей речи) с предложным
// паттерном.
// LC->07.08.2018
facts гл_предл language=Russian
{
arity=3
//violation_score=-5
generic
return=boolean
}
#define ГЛ_ИНФ(v) инфинитив:v{}, глагол:v{}
#region Предлог_В
// ------------------- С ПРЕДЛОГОМ 'В' -----------------------... | выискиваться в программе
| rus_verbs:выискиваться{}, | 5,482,278 | [
1,
4625,
348,
7953,
560,
30,
225,
225,
145,
115,
146,
238,
145,
121,
146,
228,
145,
123,
145,
121,
145,
115,
145,
113,
146,
229,
146,
239,
146,
228,
146,
242,
225,
145,
115,
225,
145,
128,
146,
227,
145,
127,
145,
116,
146,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
436,
407,
67,
502,
2038,
30,
145,
115,
146,
238,
145,
121,
146,
228,
145,
123,
145,
121,
145,
115,
145,
113,
146,
229,
146,
239,
146,
228,
146,
242,
2916,
16,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
contr... | * @dev Updates the total cap./ | function updateCap(uint256 newCap) public onlyRole(DEFAULT_ADMIN_ROLE) {
_cap = newCap;
}
| 13,056,146 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
15419,
326,
2078,
3523,
18,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
1089,
4664,
12,
11890,
5034,
394,
4664,
13,
1071,
1338,
2996,
12,
5280,
67,
15468,
67,
16256,
13,
288,
203,
3639,
389,
5909,
273,
394,
4664,
31,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
./full_match/1/0xd315a9C38eC871068FEC378E4Ce78AF528C76293/sources/@balancer-labs/v2-solidity-utils/contracts/openzeppelin/EnumerableMap.sol | * @dev Same as {at}, except this doesn't revert if `index` it outside of the map (i.e. if it is equal or larger than {length}). O(1). This function performs one less storage read than {at}, but should only be used when `index` is known to be within bounds./ | function unchecked_at(IERC20ToUint256Map storage map, uint256 index) internal view returns (IERC20, uint256) {
IERC20ToUint256MapEntry storage entry = map._entries[index];
return (entry._key, entry._value);
}
| 8,330,356 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
17795,
487,
288,
270,
5779,
1335,
333,
3302,
1404,
15226,
309,
1375,
1615,
68,
518,
8220,
434,
326,
852,
261,
77,
18,
73,
18,
309,
518,
353,
3959,
578,
10974,
2353,
288,
2469,
97,
2934,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
565,
445,
22893,
67,
270,
12,
45,
654,
39,
3462,
774,
5487,
5034,
863,
2502,
852,
16,
2254,
5034,
770,
13,
2713,
1476,
1135,
261,
45,
654,
39,
3462,
16,
2254,
5034,
13,
288,
203,
3639,
467,
654,
39,
3462,
774,
5487,
5034,
863... |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
import "./OrderMixin.sol";
import "./OrderRFQMixin.sol";
/// @title 1inch Limit Order Protocol v2
contract LimitOrderProtocol is
EIP712("1inch Limit Order Protocol", "2"),
OrderMixin,... | * @title SafeERC20 @dev Wrappers around ERC20 operations that throw on failure (when the token contract returns false). Tokens that return no value (and instead revert or throw on failure) are also supported, non-reverting calls are assumed to be successful. To use this library you can add a `using SafeERC20 for IERC20... | library SafeERC20 {
using Address for address;
function safeTransfer(
IERC20 token,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(
IERC20 token,
... | 1,390,237 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
2649,
14060,
654,
39,
3462,
632,
5206,
4266,
10422,
6740,
4232,
39,
3462,
5295,
716,
604,
603,
5166,
261,
13723,
326,
1147,
6835,
1135,
629,
2934,
13899,
716,
327,
1158,
460,
261,
464,
3560,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
12083,
14060,
654,
39,
3462,
288,
203,
565,
1450,
5267,
364,
1758,
31,
203,
203,
565,
445,
4183,
5912,
12,
203,
3639,
467,
654,
39,
3462,
1147,
16,
203,
3639,
1758,
358,
16,
203,
3639,
2254,
5034,
460,
203,
203,
565,
262,
2713,... |
./full_match/4/0xa9fda5ff149C7A5B54aB549abda6B15e73E156f3/sources/contracts/3_Ballot.sol | Amount of decimals for display purposes
| uint8 public decimals = 16; | 12,408,897 | [
1,
4625,
348,
7953,
560,
30,
225,
16811,
434,
15105,
364,
2562,
13694,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
225,
2254,
28,
282,
1071,
15105,
273,
2872,
31,
27573,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
./partial_match/1/0x5438Dff89eD8cecF2F8629C739f320ABbc7C4b4f/sources/TwitterAuthenticator.sol | Prevent somebody else than the owner to unlink the account | function unlinkTwitterAccount(address walletToUnlink) public {
require(
walletToUnlink == msg.sender || msg.sender == owner(),
"UNAUTHORIZED_UNLINK"
);
walletLinked[walletToUnlink] = false;
emit TwitterAccountUnlinked(walletToUnlink);
}
| 15,726,386 | [
1,
4625,
348,
7953,
560,
30,
225,
19412,
2690,
3432,
469,
2353,
326,
3410,
358,
8255,
326,
2236,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
8255,
23539,
6132,
3032,
12,
2867,
9230,
774,
984,
1232,
13,
1071,
288,
203,
3639,
2583,
12,
203,
5411,
9230,
774,
984,
1232,
422,
1234,
18,
15330,
747,
1234,
18,
15330,
422,
3410,
9334,
203,
5411,
315,
2124,
28383,
67,... |
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.9; // TODO: CHECK VERSION
import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "./Aitn.sol";
contract CryptoMachine is ERC721Upgradeable, OwnableUpgradea... | 86400 = 24 * 3600;
| lifeTime[tokenId] = _lifeTime * 86400; | 6,347,468 | [
1,
4625,
348,
7953,
560,
30,
225,
21451,
273,
4248,
380,
12396,
31,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
202,
202,
10256,
73,
950,
63,
2316,
548,
65,
273,
389,
10256,
73,
950,
380,
21451,
31,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
pragma solidity ^0.5.0;
import "./BaseRegistrar.sol";
import "./StringUtils.sol";
import "./PriceOracle.sol";
import "@ensdomains/buffer/contracts/Buffer.sol";
import "@ensdomains/dnssec-oracle/contracts/BytesUtils.sol";
import "openzeppelin-solidity/contracts/access/Roles.sol";
/**
* @dev ShortNameClaims is a cont... | * @dev Ratifies the current set of claims. Ratification freezes the claims and their resolutions, and permits them to be acted on./ Can't ratify until all claims have a resolution. | function ratifyClaims() external onlyRatifier inPhase(Phase.REVIEW) {
require(pendingClaims == 0);
phase = Phase.FINAL;
}
| 966,361 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
534,
270,
5032,
326,
783,
444,
434,
11955,
18,
1377,
534,
270,
1480,
4843,
94,
281,
326,
11955,
471,
3675,
1565,
6170,
16,
471,
4641,
1282,
1377,
2182,
358,
506,
1328,
329,
603,
18,
19,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
15183,
1164,
15925,
1435,
3903,
1338,
29635,
1251,
316,
11406,
12,
11406,
18,
862,
12145,
13,
288,
203,
3639,
2583,
12,
9561,
15925,
422,
374,
1769,
203,
3639,
6855,
273,
19459,
18,
7263,
1013,
31,
203,
565,
289,
203,
2... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./tools/ERC721.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interf... | We check there is enough supply left Add the address to the list if it's not in there yet | function preMintFor(address addr, uint256 amount)
public
payable
whenNotPaused
{
require(amount > 0 && amount <= 50, "Wrong amount");
require(supplyLeftToPremint > 0, "No supply left");
amount = amount > supplyLeftToPremint ? supplyLeftToPremint : amount;
... | 11,690,859 | [
1,
4625,
348,
7953,
560,
30,
225,
1660,
866,
1915,
353,
7304,
14467,
2002,
1436,
326,
1758,
358,
326,
666,
309,
518,
1807,
486,
316,
1915,
4671,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
675,
49,
474,
1290,
12,
2867,
3091,
16,
2254,
5034,
3844,
13,
203,
3639,
1071,
203,
3639,
8843,
429,
203,
3639,
1347,
1248,
28590,
203,
565,
288,
203,
3639,
2583,
12,
8949,
405,
374,
597,
3844,
1648,
6437,
16,
315,
13... |
pragma solidity ^0.8.0;
// SPDX-License-Identifier: MIT
import "../core/DaoConstants.sol";
import "../core/DaoRegistry.sol";
import "../guards/MemberGuard.sol";
import "../guards/AdapterGuard.sol";
import "./interfaces/IConfiguration.sol";
import "../adapters/interfaces/IVoting.sol";
/**
MIT License
Copyright (c) 2... | * @notice Checks if an adapter has a given ACL flag @return Whether or not the given adapter has the given flag set @param adapterAddress The address to look up @param flag The ACL flag to check against the given address/ | function hasAdapterAccess(address adapterAddress, AclFlag flag)
public
view
returns (bool)
{
return getFlag(inverseAdapters[adapterAddress].acl, uint8(flag));
}
| 317,201 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
13074,
309,
392,
4516,
711,
279,
864,
10098,
2982,
632,
2463,
17403,
578,
486,
326,
864,
4516,
711,
326,
864,
2982,
444,
632,
891,
4516,
1887,
1021,
1758,
358,
2324,
731,
632,
891,
2982,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
711,
4216,
1862,
12,
2867,
4516,
1887,
16,
23887,
4678,
2982,
13,
203,
3639,
1071,
203,
3639,
1476,
203,
3639,
1135,
261,
6430,
13,
203,
565,
288,
203,
3639,
327,
336,
4678,
12,
22552,
26620,
63,
10204,
1887,
8009,
1015... |
./partial_match/42/0x0e4E1135EB9dE57B48cd5119ca6900cBF2e23BaB/sources/SIGHBoosters.sol | Add the library methods
| * using EnumerableMap for EnumerableMap.UintToNFTMap; | 3,363,031 | [
1,
4625,
348,
7953,
560,
30,
225,
1436,
326,
5313,
2590,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
380,
377,
1450,
6057,
25121,
863,
364,
6057,
25121,
863,
18,
5487,
774,
50,
4464,
863,
31,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one... | calculates the CREATE2 address for a pair without making any external calls | function pairForAMM1(address tokenA, address tokenB)
internal
view
returns (address pair)
{
(address token0, address token1) = sortTokens(tokenA, tokenB);
pair = address(
uint160(
uint256(
keccak256(
... | 6,262,876 | [
1,
4625,
348,
7953,
560,
30,
225,
17264,
326,
13278,
22,
1758,
364,
279,
3082,
2887,
10480,
1281,
3903,
4097,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
3082,
1290,
2192,
49,
21,
12,
2867,
1147,
37,
16,
1758,
1147,
38,
13,
203,
3639,
2713,
203,
3639,
1476,
203,
3639,
1135,
261,
2867,
3082,
13,
203,
565,
288,
203,
3639,
261,
2867,
1147,
20,
16,
1758,
1147,
21,
13,
27... |
// SPDX-License-Identifier: MIT
// NovaSwap™, by Nova Network Inc.
// https://www.novanetwork.io/
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to fu... | Then, we will call swapExactTokensForTokens. For the deadline we will pass in block.timestamp. The deadline is the latest time the trade is valid for. | NovaSwapRouter(properRouter).swapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn, _amountOutMin, path, _to, block.timestamp);
| 5,428,989 | [
1,
4625,
348,
7953,
560,
30,
565,
9697,
16,
732,
903,
745,
7720,
14332,
5157,
1290,
5157,
18,
282,
2457,
326,
14096,
732,
903,
1342,
316,
1203,
18,
5508,
18,
282,
1021,
14096,
353,
326,
4891,
813,
326,
18542,
353,
923,
364,
18,
2,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
423,
16739,
12521,
8259,
12,
22754,
8259,
2934,
22270,
14332,
5157,
1290,
5157,
6289,
310,
14667,
1398,
5912,
5157,
12,
8949,
382,
16,
389,
8949,
1182,
2930,
16,
589,
16,
389,
869,
16,
1203,
18,
5508,
1769,
203,
2,
-100,
-1... |
//Address: 0xdc5d6be5517c347f53ca2bec05537490f820c65d
//Contract name: CrowdSale
//Balance: 0 Ether
//Verification Date: 3/12/2018
//Transacion Count: 8
// CODE STARTS HERE
pragma solidity ^0.4.19;
/**
* @title SafeMath
* @dev Math operations that are safe for uint256 against overflow and negative values
* @dev ... | LEON ERC20 smart contract crowdsale aims to sell at least 10 000 000 LEONS running total of LEONS sold running total of ether raised 1 Ether buys 13 000 LEONS address to receive ether address to store bounty allocation vesting contract to store team allocation minimum of 1 ether to participate in crowdsale maximum of ... | contract CrowdSale is Moderated {
using SafeMath for uint256;
LEON public tokenContract;
uint256 public constant crowdsaleTarget = 10000000 * 10**18;
uint256 public tokensSold;
uint256 public weiRaised;
uint256 public constant etherToLEONRate = 13000;
address public constant ether... | 12,954,642 | [
1,
4625,
348,
7953,
560,
30,
225,
5380,
673,
4232,
39,
3462,
13706,
6835,
276,
492,
2377,
5349,
279,
12097,
358,
357,
80,
622,
4520,
1728,
20546,
20546,
5380,
673,
55,
3549,
2078,
434,
5380,
673,
55,
272,
1673,
3549,
2078,
434,
225,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
16351,
385,
492,
72,
30746,
353,
3431,
19007,
288,
203,
565,
1450,
14060,
10477,
364,
2254,
5034,
31,
203,
377,
203,
565,
5380,
673,
1071,
1147,
8924,
31,
203,
377,
203,
565,
2254,
5034,
1071,
5381,
276,
492,
2377,
5349,
2326,
27... |
./full_match/83/0x8d338FD1766B49b323eD6F81b75930b95238EC7A/sources/MeterPandas.sol | ERC20 MTRG contract address
| address public MTRG = 0x228ebBeE999c6a7ad74A6130E81b12f9Fe237Ba3; | 9,559,802 | [
1,
4625,
348,
7953,
560,
30,
225,
4232,
39,
3462,
490,
4349,
43,
6835,
1758,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
1758,
1071,
490,
4349,
43,
273,
374,
92,
3787,
28,
24008,
1919,
41,
11984,
71,
26,
69,
27,
361,
5608,
37,
26,
24417,
41,
11861,
70,
2138,
74,
29,
2954,
4366,
27,
38,
69,
23,
31,
282,
2,
-100,
-100,
-100,
-100,
-100,
-1... |
./full_match/1/0xe08a04ed37fD4f9448E17A15a8221E01c3A61455/sources/addc.sol | SPDX-License-Identifier: MIT https:t.me/addcportal https:antidogedogeclub.com/ | 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); function getPair( address tokenA, address tokenB ) external view returns (address pair); functi... | 16,603,838 | [
1,
4625,
348,
7953,
560,
30,
225,
11405,
28826,
17,
13211,
17,
3004,
30,
490,
1285,
2333,
30,
88,
18,
3501,
19,
1289,
71,
24386,
2333,
30,
970,
350,
717,
329,
717,
557,
80,
373,
18,
832,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
5831,
467,
984,
291,
91,
438,
58,
22,
1733,
288,
871,
8599,
6119,
12,
1758,
8808,
1147,
20,
16,
1758,
8808,
1147,
21,
16,
1758,
3082,
16,
2254,
11272,
445,
14036,
774,
1435,
3903,
1476,
1135,
261,
2867,
1769,
445,
14036,
774,
8... |
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20... | Reflection utilities ---> */ | function tokenFromReflection(uint256 rAmount) public view returns(uint256) {
require(rAmount <= _rTotal, "Amount must be less than total reflections");
uint256 currentRate = _getRate();
return rAmount.div(currentRate);
}
| 902,341 | [
1,
4625,
348,
7953,
560,
30,
225,
5685,
22538,
9948,
34,
1195,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
1147,
1265,
9801,
12,
11890,
5034,
436,
6275,
13,
1071,
1476,
1135,
12,
11890,
5034,
13,
288,
203,
3639,
2583,
12,
86,
6275,
1648,
389,
86,
5269,
16,
315,
6275,
1297,
506,
5242,
2353,
2078,
5463,
87,
8863,
203,
3639,
... |
//SPDX-License-Identifier: Unlicensed
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import '@openzeppelin/contracts/utils/Counters.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/access/Acce... | * @dev External function which creates an auction with a reserve price, custom start time, custom duration, custom minimum bid increment, custom commission rate, and custom creator royalty rate. @param _nftAddress address of ERC-721 contract (latest FirstDibsToken address) @param _tokenId uint256 @param _reservePrice r... | function adminCreateAuction(
address _nftAddress,
uint256 _tokenId,
uint256 _reservePrice,
bool _pausedArg,
uint64 _startTimeArg,
uint32 _auctionDurationArg,
uint8 _minimumBidIncrementArg,
uint8 _commissionRateArg,
uint8 _creatorRoyaltyRateArg
... | 5,375,825 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
11352,
445,
1492,
3414,
392,
279,
4062,
598,
279,
20501,
6205,
16,
1679,
787,
813,
16,
1679,
3734,
16,
1679,
5224,
9949,
5504,
16,
1679,
1543,
19710,
4993,
16,
471,
1679,
11784,
721,
93,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
565,
445,
3981,
1684,
37,
4062,
12,
203,
3639,
1758,
389,
82,
1222,
1887,
16,
203,
3639,
2254,
5034,
389,
2316,
548,
16,
203,
3639,
2254,
5034,
389,
455,
6527,
5147,
16,
203,
3639,
1426,
389,
8774,
3668,
4117,
16,
203,
3639,
22... |
./full_match/1/0x89eE2edA0a7201014Ed800db7b526DBD17AFc176/sources/contracts/Boost.sol | * @notice calculate the user's mining boost based on their lock status @dev Based on the user's userUpdatedAt time, finishAt time, and the current time, there are several scenarios that could occur, including no acceleration, full acceleration, and partial acceleration./ | function getUserBoost(address user, uint256 userUpdatedAt, uint256 finishAt) external view returns (uint256) {
LockStatus memory userStatus = userLockStatus[user];
uint256 boostEndTime = userStatus.unlockTime;
if (userUpdatedAt >= boostEndTime || userUpdatedAt >= finishAt || userStatus.lock... | 4,899,369 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
4604,
326,
729,
1807,
1131,
310,
14994,
2511,
603,
3675,
2176,
1267,
632,
5206,
25935,
603,
326,
729,
1807,
729,
20624,
813,
16,
4076,
861,
813,
16,
471,
326,
783,
813,
16,
1915,
854,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... | [
1,
565,
445,
4735,
26653,
12,
2867,
729,
16,
2254,
5034,
729,
20624,
16,
2254,
5034,
4076,
861,
13,
3903,
1476,
1135,
261,
11890,
5034,
13,
288,
203,
3639,
3488,
1482,
3778,
729,
1482,
273,
729,
2531,
1482,
63,
1355,
15533,
203,
363... |
pragma solidity ^0.4.0;
contract Chat{
// data structure of a single tweet
struct Tweet {
uint timestamp;
string tweetString;
}
mapping (address => string) _addressToAccountName;
mapping (uint => address) _accountIdToAccountAddress;
mapping (string => address) _accountNameToAddress;
mapp... | data structure of a single tweet | contract Chat{
struct Tweet {
uint timestamp;
string tweetString;
}
mapping (address => string) _addressToAccountName;
mapping (uint => address) _accountIdToAccountAddress;
mapping (string => address) _accountNameToAddress;
mapping (uint => Tweet) _tweets;
mapping (uint => string) _Tweet... | 5,391,792 | [
1,
4625,
348,
7953,
560,
30,
225,
501,
3695,
434,
279,
2202,
18320,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
16351,
16903,
95,
203,
377,
203,
202,
1697,
399,
18028,
288,
203,
202,
202,
11890,
2858,
31,
203,
202,
202,
1080,
18320,
780,
31,
203,
202,
97,
203,
203,
565,
2874,
261,
2867,
516,
533,
13,
389,
2867,
774,
14498,
31,
203,
565,
... |
./partial_match/1/0xba100000625a3754423978a60c9317c58a424e3D/sources/contracts/BaseCoordinator.sol | currentStage > 0 ensures that coordinator is not marked as complete when getStagesLength == 0. This prevents `isComplete` returning true on deployment of the coordinator. | function isComplete() public view returns (bool) {
uint256 currentStage = getCurrentStage();
return currentStage > 0 && currentStage >= getStagesLength();
}
| 2,868,460 | [
1,
4625,
348,
7953,
560,
30,
225,
783,
8755,
405,
374,
11932,
716,
24794,
353,
486,
9350,
487,
3912,
1347,
21491,
1023,
1782,
422,
374,
18,
1220,
17793,
1375,
291,
6322,
68,
5785,
638,
603,
6314,
434,
326,
24794,
18,
2,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
353,
6322,
1435,
1071,
1476,
1135,
261,
6430,
13,
288,
203,
3639,
2254,
5034,
783,
8755,
273,
5175,
8755,
5621,
203,
3639,
327,
783,
8755,
405,
374,
597,
783,
8755,
1545,
21491,
1023,
1782,
5621,
203,
565,
289,
203,
203... |
./partial_match/1/0x67391801E7564994bdAa80544Ff916A7bCBFCB60/sources/MacroverseUniversalRegistry.sol | * Determine if the given planet exists, and if so returns some information generated about it for re-use./ The planet can't exist if the parent system doesn't. Get the system seed for the parent star/black hole/whatever TODO: unify with above to save on derives? Get class and spectral type There are some planets. Are t... | function planetExistsVerbose(int16 sectorX, int16 sectorY, int16 sectorZ, uint16 system, uint16 planet) internal view returns (bool exists,
bytes32 systemSeed, uint16 totalPlanets) {
if (!systemExists(sectorX, sectorY, sectorZ, system)) {
exists = false;
systemSeed = starGen... | 9,236,907 | [
1,
4625,
348,
7953,
560,
30,
380,
10229,
309,
326,
864,
4995,
278,
1704,
16,
471,
309,
1427,
1135,
2690,
1779,
4374,
2973,
518,
364,
283,
17,
1202,
18,
19,
1021,
4995,
278,
848,
1404,
1005,
309,
326,
982,
2619,
3302,
1404,
18,
968... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
565,
445,
4995,
278,
4002,
14489,
12,
474,
2313,
16323,
60,
16,
509,
2313,
16323,
61,
16,
509,
2313,
16323,
62,
16,
2254,
2313,
2619,
16,
2254,
2313,
4995,
278,
13,
2713,
1476,
1135,
261,
6430,
1704,
16,
203,
3639,
1731,
1578,
... |
pragma solidity 0.6.6;
... | inject NONSTANDARD NAMING
| function MOD954(uint32 a, uint32 b) internal pure returns (uint32) { | 13,067,071 | [
1,
4625,
348,
7953,
560,
30,
4590,
18708,
882,
18264,
423,
2192,
1360,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
225,
445,
8663,
29,
6564,
12,
11890,
1578,
279,
16,
2254,
1578,
324,
13,
2713,
16618,
1135,
261,
11890,
1578,
13,
288,
202,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
/**
*Submitted for verification at Etherscan.io on 2020-05-28
*/
pragma solidity 0.5.16;
pragma experimental ABIEncoderV2;
interface MassetStructs {
/** @dev Stores high level basket info */
struct Basket {
/** @dev Array of Bassets currently active */
Basset[] bassets;
/** @dev M... | 3.1. Update the input balance | basketManager.increaseVaultBalance(inputDetails.index, inputDetails.integrator, quantitySwappedIn);
| 5,468,558 | [
1,
4625,
348,
7953,
560,
30,
225,
890,
18,
21,
18,
2315,
326,
810,
11013,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
12886,
1318,
18,
267,
11908,
12003,
13937,
12,
2630,
3790,
18,
1615,
16,
810,
3790,
18,
27423,
639,
16,
10457,
12521,
1845,
382,
1769,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
./full_match/80001/0x517b04a17D4b5cc8145f0328aAb295703414B589/sources/StakingContract.sol | require(msg.value >= PREMIUM_PRICE, "Insufficient BNB sent"); Set the NFT referral ID Emit the NFTMinted event Update the referral count for the referrer if a referral ID was provided | function mintPremium(uint256 _referralId) public payable returns (uint256) {
address _to = msg.sender;
require(_referralId >= PREMIUM_MIN_ID && _referralId <= DIAMOND_MAX_ID);
uint256 newTokenId = _typeTokenIds[PREMIUM].current() + PREMIUM_MIN_ID;
require(
newTokenId <= P... | 9,437,682 | [
1,
4625,
348,
7953,
560,
30,
225,
2583,
12,
3576,
18,
1132,
1545,
7071,
7492,
2799,
67,
7698,
1441,
16,
315,
5048,
11339,
605,
20626,
3271,
8863,
1000,
326,
423,
4464,
1278,
29084,
1599,
16008,
326,
423,
4464,
49,
474,
329,
871,
231... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
312,
474,
23890,
5077,
12,
11890,
5034,
389,
1734,
29084,
548,
13,
1071,
8843,
429,
1135,
261,
11890,
5034,
13,
288,
203,
3639,
1758,
389,
869,
273,
1234,
18,
15330,
31,
203,
3639,
2583,
24899,
1734,
29084,
548,
1545,
7... |
./partial_match/1/0xf7A249bA8951979040bBc7f70fd5184c8FEe2b8d/sources/contracts/PoolMetadata.sol | * @notice privileged method to ban pool from submitting metadata. This does NOT affect the ability to manage the core Pool contract. @param pool address of pool to ban/ | function ban(address pool) external {
requireController();
banned[pool] = true;
emit Banned(pool, true);
}
| 4,491,799 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
11334,
2423,
707,
358,
25732,
2845,
628,
4879,
1787,
1982,
18,
1220,
1552,
4269,
13418,
326,
7123,
358,
10680,
326,
2922,
8828,
6835,
18,
632,
891,
2845,
1758,
434,
2845,
358,
25732,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
25732,
12,
2867,
2845,
13,
3903,
288,
203,
3639,
2583,
2933,
5621,
203,
3639,
324,
10041,
63,
6011,
65,
273,
638,
31,
203,
3639,
3626,
605,
10041,
12,
6011,
16,
638,
1769,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,... |
./full_match/1/0xBCF9F4c6FC589c89d4aAdE063010D0f5B3733680/sources/contracts/discovery/GNS.sol | * @title GNS @dev The Graph Name System contract provides a decentralized naming system for subgraphs used in the scope of the Graph Network. It translates subgraph names into subgraph versions. Each version is associated with a Subgraph Deployment. The contract has no knowledge of human-readable names. All human reada... | contract GNS is GNSV1Storage, GraphUpgradeable, IGNS {
using SafeMath for uint256;
uint256 private constant MAX_UINT256 = 2**256 - 1;
uint32 private constant MAX_PPM = 1000000;
uint32 private constant defaultReserveRatio = 1000000;
event SetDefaultName(
address indexed graphAccount,
... | 4,905,715 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
2649,
611,
3156,
632,
5206,
1021,
5601,
1770,
2332,
6835,
8121,
279,
2109,
12839,
1235,
14634,
2619,
364,
21469,
87,
1399,
316,
326,
2146,
434,
326,
5601,
5128,
18,
2597,
2162,
815,
21469,
1257,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
16351,
611,
3156,
353,
611,
3156,
58,
21,
3245,
16,
5601,
10784,
429,
16,
13102,
3156,
288,
203,
565,
1450,
14060,
10477,
364,
2254,
5034,
31,
203,
203,
565,
2254,
5034,
3238,
5381,
4552,
67,
57,
3217,
5034,
273,
576,
636,
5034,
... |
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8;
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/IRequestFeesCalculator.sol";
contract RequestFeesCalculator is IRequestFeesCalculator, Ownable {
uint168 public constant MAX_FEE_PERCENTAGE = 10000;
uint32 public minTimeWindow = 1 ... | Can convert to uint16 as result will mathematically never be larger, due to _timeDelay range verifications | function calculateTimeDelayFee(uint256 _timeDelay) external view override returns (uint16 feePercentage) {
require(_timeDelay >= minTimeWindow, "Time delay too small");
require(_timeDelay <= maxTimeWindow, "Time delay too big");
feePercentage = uint16(maxTimeDelayFeePercent - (_timeDelay - minTimeWi... | 14,824,631 | [
1,
4625,
348,
7953,
560,
30,
225,
4480,
1765,
358,
2254,
2313,
487,
563,
903,
4233,
351,
2126,
1230,
5903,
506,
10974,
16,
6541,
358,
389,
957,
6763,
1048,
1924,
6640,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
4604,
950,
6763,
14667,
12,
11890,
5034,
389,
957,
6763,
13,
3903,
1476,
3849,
1135,
261,
11890,
2313,
14036,
16397,
13,
288,
203,
377,
202,
6528,
24899,
957,
6763,
1545,
1131,
950,
3829,
16,
315,
950,
4624,
4885,
5264,
... |
pragma solidity ^0.4.10;
contract SpeculateCoin {
string public name;
string public symbol;
uint8 public decimals;
address public owner;
uint256 public transactions;
mapping (address => uint256) balances;
mapping (address => mapping (address => uint256)) allowed;
event T... | number of transactions for the moment of creating new contract
| transactions = 124; | 12,858,295 | [
1,
4625,
348,
7953,
560,
30,
1300,
434,
8938,
364,
326,
10382,
434,
4979,
394,
6835,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
8938,
273,
2593,
24,
31,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
pragma solidity 0.5.4;
library SafeMath {
uint256 constant internal MAX_UINT = 2 ** 256 - 1; // max uint256
/**
* @dev Multiplies two numbers, reverts on overflow.
*/
function mul(uint256 _a, uint256 _b) internal pure returns(uint256) {
if (_a == 0) {
return 0;
... | The address has joined a lock-plan.
| require(totalLockAmount[addr] > 0); | 7,220,005 | [
1,
4625,
348,
7953,
560,
30,
225,
1021,
1758,
711,
12114,
279,
2176,
17,
7088,
18,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
2583,
12,
4963,
2531,
6275,
63,
4793,
65,
405,
374,
1769,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC20/ERC20.sol";
import "./ERC20/ERC20Burnable.sol";
import "./access/AccessControl.sol";
import "./utils/Context.sol";
contract BoughtTheTopTokenRoot is Context, AccessControl, ERC20Burnable {
/// @notice Role identifer for minter
bytes32 pu... | @notice Role identifer for minter* @dev Grants `DEFAULT_ADMIN_ROLE` and `MINTER_ROLE` to the account that deploys the contract. See {ERC20-constructor}./ | constructor() ERC20("BoughtThe.top", "BTT") {
_setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
_setupRole(MINTER_ROLE, _msgSender());
}
| 938,316 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
6204,
3390,
21549,
364,
1131,
387,
14,
632,
5206,
611,
86,
4388,
1375,
5280,
67,
15468,
67,
16256,
68,
471,
1375,
6236,
2560,
67,
16256,
68,
358,
326,
2236,
716,
5993,
383,
1900,
326,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
3885,
1435,
4232,
39,
3462,
2932,
13809,
9540,
1986,
18,
3669,
3113,
315,
38,
1470,
7923,
288,
203,
3639,
389,
8401,
2996,
12,
5280,
67,
15468,
67,
16256,
16,
389,
3576,
12021,
10663,
203,
3639,
389,
8401,
2996,
12,
6236,
25... |
// SPDX-License-Identifier: MIT
// File: contracts/libraries/base64.sol
pragma solidity ^0.8.0;
/// @title Base64
/// @author Brecht Devos - <brecht@loopring.org>
/// @notice Provides a function for encoding some bytes in base64
library Base64 {
string internal constant TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefg... | @inheritdoc IHistoryERC721 | function eventData(uint eventId) external view override returns(
uint totalMintFee,
string memory _name,
string memory contentHash,
string memory contentDomain,
uint firstMintTime
){
EventMeta memory meta = eventMeta[eventId];
totalMintFee = meta.totalMint... | 10,124,488 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
10093,
467,
5623,
654,
39,
27,
5340,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
17494,
12,
11890,
26004,
13,
3903,
1476,
3849,
1135,
12,
203,
3639,
2254,
2078,
49,
474,
14667,
16,
203,
3639,
533,
3778,
389,
529,
16,
203,
3639,
533,
3778,
913,
2310,
16,
203,
3639,
533,
3778,
913,
3748,
16,
203,
36... |
./full_match/3/0x705A5Aaa40E2D7C2489C86e5d3FA2214F4e7d430/sources/contracts/Staking2.sol | 1. ETH/USD price (PRECISION) | function getEthPrice() public view returns(uint) {
(uint112 reserves0, uint112 reserves1, ) = ETH_USDC_PAIR.getReserves();
uint reserveUSDC;
uint reserveETH;
if(WETH == ETH_USDC_PAIR.token0()){
reserveETH = reserves0;
reserveUSDC = reserves1;
rese... | 8,220,430 | [
1,
4625,
348,
7953,
560,
30,
225,
404,
18,
512,
2455,
19,
3378,
40,
6205,
261,
3670,
26913,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
4774,
451,
5147,
1435,
1071,
1476,
1135,
12,
11890,
13,
288,
203,
3639,
261,
11890,
17666,
400,
264,
3324,
20,
16,
2254,
17666,
400,
264,
3324,
21,
16,
262,
273,
512,
2455,
67,
3378,
5528,
67,
4066,
7937,
18,
588,
607... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.5.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(addr... | Withdraw all funds, normally used when migrating strategies | function withdrawAll() external returns (uint balance) {
require(msg.sender == controller, "!controller");
_withdrawAll();
balance = IERC20(want).balanceOf(address(this));
address _vault = Controller(controller).vaults(address(want));
IERC20(want).safeTransfer(_vault... | 6,958,829 | [
1,
4625,
348,
7953,
560,
30,
225,
3423,
9446,
777,
284,
19156,
16,
15849,
1399,
1347,
4196,
1776,
20417,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
598,
9446,
1595,
1435,
3903,
1135,
261,
11890,
11013,
13,
288,
203,
3639,
2583,
12,
3576,
18,
15330,
422,
2596,
16,
17528,
5723,
8863,
203,
3639,
389,
1918,
9446,
1595,
5621,
203,
3639,
11013,
273,
467,
654,
39,
3462,
1... |
./partial_match/4/0x1116F7dd38224D89EC8f6b7Ea0503D67534058C5/sources/pxv3.sol | redistribute takedown value to current balance
| current_xdai_balance += Blocks[block_id].xdai_value; | 8,529,628 | [
1,
4625,
348,
7953,
560,
30,
5813,
887,
268,
9477,
995,
460,
358,
783,
11013,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
783,
67,
92,
2414,
77,
67,
12296,
1011,
22713,
63,
2629,
67,
350,
8009,
92,
2414,
77,
67,
1132,
31,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
/**
*Submitted for verification at Etherscan.io on 2022-01-26
*/
// SPDX-License-Identifier: Unlicensed
//It's the McDonald's happy meal that made by $McTiger.
//Web:https://www.mctigereth.com/
//TG:https://t.me/McTigerETH
//Tw:https://twitter... | at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.when buywhen sell if any account belongs to _isExcludedFromFee account then remove the fee only take fees on buys/sells, do not take on wallet transfers on sell on buy | function _transfer(
address from,
address to,
uint256 amount
) internal override {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
require(!_blacklist[to] && !_blacklist[from],... | 2,045,632 | [
1,
4625,
348,
7953,
560,
30,
225,
622,
8037,
309,
326,
7412,
4624,
353,
3696,
16,
3387,
326,
1203,
11267,
364,
5405,
343,
345,
414,
353,
444,
1493,
4982,
8037,
18,
13723,
30143,
13723,
357,
80,
309,
1281,
2236,
11081,
358,
389,
291,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
565,
445,
389,
13866,
12,
203,
3639,
1758,
628,
16,
203,
3639,
1758,
358,
16,
203,
3639,
2254,
5034,
3844,
203,
565,
262,
2713,
3849,
288,
203,
3639,
2583,
12,
2080,
480,
1758,
12,
20,
3631,
315,
654,
39,
3462,
30,
7412,
628,
... |
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.6.12;
interface IERC20ApproveTransfer { // interface for erc20 approve/transfer
function approve(address spender, uint256 amount) external returns (bool);
function transfer(address recipient, uint256 amount) external returns (bool);
}
library Safe... | cancel zap proposal in parent moloch
| moloch.cancelProposal(proposalId); | 7,321,400 | [
1,
4625,
348,
7953,
560,
30,
225,
3755,
11419,
14708,
316,
982,
12629,
9842,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
12629,
9842,
18,
10996,
14592,
12,
685,
8016,
548,
1769,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
pragma solidity ^0.4.19;
contract ERC20 {
// We want to be able to recover & donate any tokens sent to the contract.
function balanceOf(address _who) public view returns (uint256);
function transfer(address _to, uint256 _value) public returns (bool);
}
contract theCyberInterface {
// The utility contract ca... | Revoke a membership and immediately assign the membership to a new member. Revoke the membership (provided it has been inactive for long enough). Assign a new member to the membership (provided the new member is valid). | function revokeAndSetNewMember(uint8 _memberId, bytes32 _memberName, address _memberAddress) public membersOnly {
theCyber.revokeMembership(_memberId);
theCyber.newMember(_memberId, _memberName, _memberAddress);
}
| 5,455,432 | [
1,
4625,
348,
7953,
560,
30,
225,
23863,
279,
12459,
471,
7636,
2683,
326,
12459,
358,
279,
394,
3140,
18,
23863,
326,
12459,
261,
29206,
518,
711,
2118,
16838,
364,
1525,
7304,
2934,
12093,
279,
394,
3140,
358,
326,
12459,
261,
29206... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
225,
445,
18007,
13152,
1908,
4419,
12,
11890,
28,
389,
5990,
548,
16,
1731,
1578,
389,
5990,
461,
16,
1758,
389,
5990,
1887,
13,
1071,
4833,
3386,
288,
203,
565,
326,
17992,
744,
18,
9083,
3056,
13447,
24899,
5990,
548,
1769,
20... |
// SPDX-License-Identifier: MIT
pragma solidity >0.6.1 <0.9.0;
//To run tests on your system get some ether on your metamask wallet in ropsten test network from the faucet and then run: truffle test --network ropsten
import "./lib/UsingOraclize.sol";
//To interact with contract using remix uncomment the line below an... | this will be unique for every entrysince solidity do not support decimals. I propose this workaround:-decimal numbers like 2345.67 will be stored as 234567 and as we knowthere will be 2 values after decimal so we will sore it without decimal and afterdoing the calculations give the output by converting to decimal form ... | struct ethprice {
uint256 id;
uint256 price;
}
event LogPriceUpdated(string _price);
event LogNewProvableQuery(string _description);
| 879,314 | [
1,
4625,
348,
7953,
560,
30,
333,
903,
506,
3089,
364,
3614,
1241,
9256,
18035,
560,
741,
486,
2865,
15105,
18,
467,
450,
4150,
333,
18975,
30,
17,
12586,
5600,
3007,
576,
25574,
18,
9599,
903,
506,
4041,
487,
576,
5026,
17339,
471,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
565,
1958,
13750,
8694,
288,
203,
3639,
2254,
5034,
612,
31,
203,
3639,
2254,
5034,
6205,
31,
203,
565,
289,
203,
203,
565,
871,
1827,
5147,
7381,
12,
1080,
389,
8694,
1769,
203,
565,
871,
1827,
1908,
626,
16845,
1138,
12,
1080,
... |
pragma solidity 0.6.4;
library SafeMath {
... | inject NONSTANDARD NAMING
| function UNWHITELISTONEMISSION147(address _address) public ONLYADMINISTRATOR560 returns (bool success) { | 5,439,911 | [
1,
4625,
348,
7953,
560,
30,
4590,
18708,
882,
18264,
423,
2192,
1360,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
5019,
16861,
7085,
673,
3375,
45,
4475,
29488,
12,
2867,
389,
2867,
13,
1071,
20747,
15468,
18643,
3575,
4313,
20,
1135,
261,
6430,
2216,
13,
288,
202,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |