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 |
|---|---|---|---|---|---|---|
./full_match/80001/0x98003303E3b8AC22B2b3fA5b368c16d4018c522f/sources/rascal/RascalToken_flattened.sol | Create a function to mint tokens | function mint(address _to, uint256 _amount) public {
onlyNodeCaller();
_mint(_to, _amount);
}
| 9,499,396 | [
1,
4625,
348,
7953,
560,
30,
225,
1788,
279,
445,
358,
312,
474,
2430,
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,
565,
445,
312,
474,
12,
2867,
389,
869,
16,
2254,
5034,
389,
8949,
13,
1071,
288,
203,
3639,
1338,
907,
11095,
5621,
203,
3639,
389,
81,
474,
24899,
869,
16,
389,
8949,
1769,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
... |
./full_match/1/0xA078b117B61a357465f12C1eB8c96b2CddbACb88/sources/BundleExecutor.sol | this is safe because we have already ensured that the balance after is greater than the balance before give (_profitMul1000/1000)% of profit to miner | uint256 _ethAmountToCoinbase = (_wethBalanceAfter - _wethBalanceBefore) * _profitMul1000 / 1000;
| 2,949,551 | [
1,
4625,
348,
7953,
560,
30,
225,
333,
353,
4183,
2724,
732,
1240,
1818,
3387,
72,
716,
326,
11013,
1839,
353,
6802,
2353,
326,
11013,
1865,
8492,
261,
67,
685,
7216,
27860,
18088,
19,
18088,
13,
9,
434,
450,
7216,
358,
1131,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
2254,
5034,
389,
546,
6275,
774,
27055,
1969,
273,
261,
67,
91,
546,
13937,
4436,
300,
389,
91,
546,
13937,
4649,
13,
380,
389,
685,
7216,
27860,
18088,
342,
4336,
31,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
pragma solidity ^0.5.0;
import "./Splitter.sol";
import '../node_modules/openzeppelin-solidity/contracts/ownership/Ownable.sol';
contract SplitterFactory is Ownable {
event LogCreateSplitter(address _actor, uint _percentage, address _splitterAddress);
modifier onlyOwner() {
require(isOwner(), "not authoriz... | TODO: return el address y el nombreTODO: guardar el nombre | function getSplitters()public view returns (address[] memory, bytes32[] memory) {
return (splittersAddresses,splitterNames);
}
| 12,639,054 | [
1,
4625,
348,
7953,
560,
30,
2660,
30,
327,
415,
1758,
677,
415,
12457,
6073,
6241,
30,
11026,
297,
415,
12457,
6073,
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,
225,
445,
1322,
1127,
5432,
1435,
482,
1476,
1135,
261,
2867,
8526,
3778,
16,
1731,
1578,
8526,
3778,
13,
288,
203,
282,
327,
261,
4939,
5432,
7148,
16,
4939,
387,
1557,
1769,
203,
97,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
... |
./full_match/3/0x201A99D602741E67a8716AA29f07d49019Cb6e8e/sources/browser/sushiswap/MasterChef_May.sol | Return reward multiplier over the given _from to _to block. | function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
uint256 l = ( _to.sub(_from) ).div(bonusEndBlock);
uint256 nowJinagli = (mayPerBlock.div(2**(l))).mul(_to.sub( _from).mod(bonusEndBlock));
uint256 sumJiang = nowJinagli;
for(uint256 i = 0; i < l; i++) ... | 14,211,786 | [
1,
4625,
348,
7953,
560,
30,
225,
2000,
19890,
15027,
1879,
326,
864,
389,
2080,
358,
389,
869,
1203,
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,
... | [
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,
31863,
5742,
12,
11890,
5034,
389,
2080,
16,
2254,
5034,
389,
869,
13,
1071,
1476,
1135,
261,
11890,
5034,
13,
288,
203,
3639,
2254,
5034,
328,
273,
261,
389,
869,
18,
1717,
24899,
2080,
13,
262,
18,
2892,
12,
18688,
... |
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.7.6;
pragma abicoder v2;
import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol";
import "@openzepp... | * @dev Get token balances in CLR contract @dev returned balances are in wei representation/ | function getBufferTokenBalance(TokenDetails memory tokenDetails)
public
view
returns (uint256 amount0, uint256 amount1)
{
IERC20 token0 = IERC20(tokenDetails.token0);
IERC20 token1 = IERC20(tokenDetails.token1);
return (
getBufferToken0Balance(
... | 1,688,505 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
968,
1147,
324,
26488,
316,
14934,
54,
6835,
632,
5206,
2106,
324,
26488,
854,
316,
732,
77,
4335,
19,
2,
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,
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... | [
1,
565,
445,
22238,
1345,
13937,
12,
1345,
3790,
3778,
1147,
3790,
13,
203,
3639,
1071,
203,
3639,
1476,
203,
3639,
1135,
261,
11890,
5034,
3844,
20,
16,
2254,
5034,
3844,
21,
13,
203,
565,
288,
203,
3639,
467,
654,
39,
3462,
1147,
... |
./full_match/4/0x0240dEBeEe7F019bfe89f752f6aeffF95a11352f/sources/_aave/core-v3/contracts/protocol/libraries/helpers/Errors.sol | 'Invalid expiration'
| string public constant INVALID_EXPIRATION = '78'; | 813,582 | [
1,
4625,
348,
7953,
560,
30,
225,
296,
1941,
7686,
11,
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,
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,
225,
533,
1071,
5381,
10071,
67,
18433,
24284,
273,
296,
8285,
13506,
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: MIT
pragma solidity 0.7.4;
// ERC1155Supply: Extension of ERC1155 that adds tracking of total supply per id
import "ERC1155MintBurnPackedBalance.sol";
import "ERC1155Metadata.sol";
import "SafeMath.sol";
import "Ownable.sol";
contract Frogs_ERC1155PBL is ERC1155MintBurnPackedBalance, ERC11... | * @notice Update a value in _binValues @param _binValues Uint256 containing values of size IDS_BITS_SIZE (the token balances) @param _index Index of the value in the provided bin @param _amount Amount to update the id balance @param _operation Which operation to conduct : Operations.Add: Add _amount to val... | function _viewUpdateBinValue(uint256 _binValues, uint256 _index, uint256 _amount, Operations _operation)
internal pure returns (uint256 newBinValues)
{
uint256 shift = IDS_BITS_SIZE * _index;
uint256 mask = (uint256(1) << IDS_BITS_SIZE) - 1;
if (_operation == Operations.Add) {
newBinValues = ... | 1,135,219 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
2315,
279,
460,
316,
389,
4757,
1972,
632,
891,
389,
4757,
1972,
225,
7320,
5034,
4191,
924,
434,
963,
1599,
55,
67,
25171,
67,
4574,
261,
5787,
1147,
324,
26488,
13,
632,
891,
389,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
1945,
1891,
9913,
620,
12,
11890,
5034,
389,
4757,
1972,
16,
2254,
5034,
389,
1615,
16,
2254,
5034,
389,
8949,
16,
25938,
389,
7624,
13,
203,
565,
2713,
16618,
1135,
261,
11890,
5034,
394,
9913,
1972,
13,
203,
225,... |
pragma solidity ^0.4.24;
/* SNAILTHRONE
// SnailFarm + Pyramid + Fomo
// Buy and sell snails, pyramid tokens, directly from the contract
// Snail holders receive proportional dividends from buys and hatches
// Token price correlates with snail max supply
// Snails produce eggs, at a rate of 8% per day
//... | Reset timer and start new roundCalculate and give rewardmsg.sender becomes pharaoh | function AscendGod() public {
require(gameStarted == true, "game hasn't started yet");
require(now >= godTimer, "pharaoh hasn't ascended yet");
godTimer = now + GOD_TIMER_START;
pharaohReq = PHARAOH_REQ_START;
godRound = godRound.add(1);
uint256 _godReward... | 6,364,115 | [
1,
4625,
348,
7953,
560,
30,
7151,
5441,
471,
787,
394,
3643,
8695,
471,
8492,
19890,
3576,
18,
15330,
12724,
24867,
6033,
76,
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,
... | [
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,
0,
0... | [
1,
565,
445,
22475,
409,
43,
369,
1435,
1071,
288,
203,
202,
202,
6528,
12,
13957,
9217,
422,
638,
16,
315,
13957,
13342,
1404,
5746,
4671,
8863,
203,
3639,
2583,
12,
3338,
1545,
314,
369,
6777,
16,
315,
844,
297,
6033,
76,
13342,
... |
./full_match/1313161554/0xEF72330b252490648D01B242eCfFbb10b3C01B61/sources/contracts/JetStaking/JetStakingV2.sol | QUERY_BEFORE_SCHEDULE_START
| require(start >= schedule.time[0], "E33"); | 13,233,140 | [
1,
4625,
348,
7953,
560,
30,
225,
17089,
67,
19152,
67,
55,
27395,
67,
7570,
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,
2583,
12,
1937,
1545,
4788,
18,
957,
63,
20,
6487,
315,
41,
3707,
8863,
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,
... |
./full_match/1/0xc78E03d29C14379c4d0844997d3bbFFE52C0544E/sources/browser/Token.sol | * @dev Sets the values for {name} and {symbol}, initializes {decimals} with a default value of 18 and a {totalSupply} of the token. All four of these values are immutable: they can only be set once during construction./_name = "Reflect Finance v2";_symbol = "RFIv2"; | constructor () public {
_name = "Reflect Finance v2";
_symbol = "RFIv2";
_decimals = 18;
_totalSupply = 150000000000000000000000;
_balances[creator()] = _totalSupply;
emit Transfer(address(0), creator(), _totalSupply);
}
| 2,938,222 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
11511,
326,
924,
364,
288,
529,
97,
471,
288,
7175,
5779,
11643,
288,
31734,
97,
598,
279,
805,
460,
434,
6549,
471,
279,
288,
4963,
3088,
1283,
97,
434,
326,
1147,
18,
4826,
12792,
434... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3885,
1832,
1071,
288,
203,
3639,
389,
529,
273,
315,
24452,
9458,
1359,
331,
22,
14432,
203,
3639,
389,
7175,
273,
315,
54,
1653,
90,
22,
14432,
203,
3639,
389,
31734,
273,
6549,
31,
203,
3639,
389,
4963,
3088,
1283,
273,
... |
pragma solidity ^0.4.21;
/// @title ERC-165 Standard Interface Detection
/// @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md
interface ERC165 {
function supportsInterface(bytes4 interfaceID) external view returns (bool);
}
/**
* @title Ownable
* @dev The Ownable contract has an owner addr... | @dev This emits when an operator is enabled or disabled for an owner. The operator can manage all NFTs of the owner. | event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved);
| 7,691,901 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
1220,
24169,
1347,
392,
3726,
353,
3696,
578,
5673,
364,
392,
3410,
18,
225,
1021,
3726,
848,
10680,
777,
423,
4464,
87,
434,
326,
3410,
18,
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,
225,
871,
1716,
685,
1125,
1290,
1595,
12,
2867,
8808,
389,
8443,
16,
1758,
8808,
389,
9497,
16,
1426,
389,
25990,
1769,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
pragma solidity ^0.4.26;
/// import base contracts, interfaces, libraries from latest gitHUB
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) public con... | * @title - LIQNET Liqidity Exchange Network tokens @dev mint will be executed from Crowdsale contract/ | contract LiqnetCoin is MintableToken, BurnableToken {
string public constant name = "Liqnet Coin";
string public constant symbol = "LEN";
uint32 public constant decimals = 18;
constructor() public {
maxMintSupply = 3500000 * (1 ether);
}
} | 1,352,055 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
2649,
300,
8961,
53,
14843,
511,
18638,
24237,
18903,
5128,
2430,
632,
5206,
312,
474,
903,
506,
7120,
628,
385,
492,
2377,
5349,
6835,
19,
2,
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,
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... | [
1,
16351,
511,
18638,
2758,
27055,
353,
490,
474,
429,
1345,
16,
605,
321,
429,
1345,
288,
203,
377,
203,
565,
533,
1071,
5381,
508,
273,
315,
48,
18638,
2758,
28932,
14432,
203,
377,
203,
565,
533,
1071,
5381,
3273,
273,
315,
13017... |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Network Token Payment' token contract
//
// Deployed to : 0x1bD79815aDb76424F8E3c798B6DD85227c904a42
// Symbol : NTP
// Name : Network Token Payment
// Total supply: 100000000
// Decimals ... | * @title SafeMath @dev Math operations with safety checks that throw on error/ | library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
return 0;
}
c = a * b;
assert(c / a == b);
return c;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) ... | 2,075,359 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
2649,
14060,
10477,
632,
5206,
2361,
5295,
598,
24179,
4271,
716,
604,
603,
555,
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... | [
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,
0,
0... | [
1,
12083,
14060,
10477,
288,
203,
203,
203,
203,
203,
203,
565,
445,
14064,
12,
11890,
5034,
279,
16,
2254,
5034,
324,
13,
2713,
16618,
1135,
261,
11890,
5034,
276,
13,
288,
203,
3639,
309,
261,
69,
422,
374,
13,
288,
203,
5411,
3... |
./full_match/5/0x978F012a682FC485D18D8Ac7B5345bADdE1Fe071/sources/contracts/CrowdFunding.sol | <-- calculate comission
| uint256 commission = (campaign.amountCollected * 5) / 100; | 7,051,148 | [
1,
4625,
348,
7953,
560,
30,
225,
411,
413,
4604,
532,
19710,
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,
2254,
5034,
1543,
19710,
273,
261,
14608,
18,
8949,
10808,
329,
380,
1381,
13,
342,
2130,
31,
225,
2,
-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.7.4;
pragma experimental ABIEncoderV2;
import "../libraries/LibAppStorage.sol";
import "../../shared/interfaces/IERC20.sol";
import "../libraries/LibStrings.sol";
import "../libraries/LibSVG.sol";
import "../../shared/libraries/LibDiamond.sol";
import "../../shared/lib... | @notice Enable or disable approval for a third party ("operator") to manage all of `msg.sender`'s assets @dev Emits the ApprovalForAll event. The contract MUST allow multiple operators per owner. @param _operator Address to add to the set of authorized operators @param _approved True if the operator is approved, fal... | function setApprovalForAll(address _operator, bool _approved) external {
s.operators[msg.sender][_operator] = _approved;
emit ApprovalForAll(msg.sender, _operator, _approved);
}
| 7,305,980 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
9677,
578,
4056,
23556,
364,
279,
12126,
18285,
7566,
9497,
7923,
358,
10680,
225,
777,
434,
1375,
3576,
18,
15330,
11294,
87,
7176,
632,
5206,
7377,
1282,
326,
1716,
685,
1125,
1290,
1595... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
23461,
1290,
1595,
12,
2867,
389,
9497,
16,
1426,
389,
25990,
13,
3903,
288,
203,
3639,
272,
18,
30659,
63,
3576,
18,
15330,
6362,
67,
9497,
65,
273,
389,
25990,
31,
203,
3639,
3626,
1716,
685,
1125,
1290,
1595,
... |
./partial_match/1/0x6DEFa2550D15786aFcfeF03dD6F1159c0e2b6C92/sources/BaseToken.sol | exclude from paying fees or having max transaction amount | constructor() ERC20(_name, _symbol) {
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
excludeFromMaxTransaction(address(_uniswapV2Router), true);
uniswapV2Router = _uniswapV2Router;
uniswapV2Pair = IUniswapV2Factory(_uniswap... | 3,699,189 | [
1,
4625,
348,
7953,
560,
30,
225,
4433,
628,
8843,
310,
1656,
281,
578,
7999,
943,
2492,
3844,
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,
3885,
1435,
4232,
39,
3462,
24899,
529,
16,
389,
7175,
13,
288,
203,
7010,
3639,
467,
984,
291,
91,
438,
58,
22,
8259,
3103,
389,
318,
291,
91,
438,
58,
22,
8259,
273,
467,
984,
291,
91,
438,
58,
22,
8259,
3103,
12,
20... |
// Сочетаемость глаголов (и отглагольных частей речи) с предложным
// паттерном.
// LC->07.08.2018
facts гл_предл language=Russian
{
arity=3
//violation_score=-5
generic
return=boolean
}
#define ГЛ_ИНФ(v) инфинитив:v{}, глагол:v{}
#region Предлог_В
// ------------------- С ПРЕДЛОГОМ 'В' -----------------------... | высморкнуться в платок
| rus_verbs:высморкнуться{}, | 5,483,725 | [
1,
4625,
348,
7953,
560,
30,
225,
225,
145,
115,
146,
238,
146,
228,
145,
125,
145,
127,
146,
227,
145,
123,
145,
126,
146,
230,
146,
229,
146,
239,
146,
228,
146,
242,
225,
145,
115,
225,
145,
128,
145,
124,
145,
113,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
436,
407,
67,
502,
2038,
30,
145,
115,
146,
238,
146,
228,
145,
125,
145,
127,
146,
227,
145,
123,
145,
126,
146,
230,
146,
229,
146,
239,
146,
228,
146,
242,
2916,
16,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
pragma solidity ^0.5.7;
// Abstract contract for the full ERC 20 Token standard
// https://github.com/ethereum/EIPs/issues/20
interface ERC20Token {
/**
* @notice send `_value` token to `_to` from `msg.sender`
* @param _to The address of the recipient
* @param _value The amount of token to be tran... | Code position in storage is keccak256("PROXIABLE") = "0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7" | contract Proxiable {
event Upgraded(address indexed implementation);
function updateCodeAddress(address newAddress) internal {
require(
bytes32(0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7) == Proxiable(newAddress).proxiableUUID(),
"Not compatible"
... | 1,797,896 | [
1,
4625,
348,
7953,
560,
30,
225,
3356,
1754,
316,
2502,
353,
417,
24410,
581,
5034,
2932,
3373,
60,
12676,
7923,
273,
315,
20,
6511,
25,
74,
2313,
74,
20,
74,
952,
21607,
507,
8875,
69,
8148,
24,
8285,
5718,
72,
10689,
3361,
74,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1186,
92,
2214,
288,
203,
565,
871,
1948,
19305,
12,
2867,
8808,
4471,
1769,
203,
203,
565,
445,
1089,
1085,
1887,
12,
2867,
394,
1887,
13,
2713,
288,
203,
3639,
2583,
12,
203,
5411,
1731,
1578,
12,
20,
6511,
25,
74,
231... |
./partial_match/40/0xE51F6F19Ebfb47d3284A6B15Cc04B1b39C6c4dB2/sources/contracts/Milkomeda/AdaReflectionsLfgo.sol | //eADA Contract ///Token InfoThe time Liquidity gets locked at start and prolonged once it gets releasedvariables that track balanceLimit and sellLimit,can be updated based on circulating supply and Sell- and BalanceLimitDividersLimits max tax, only gets applied for tax changes, doesn't affect inital TaxTracks the curr... | contract EarnADA is IBEP20, Ownable {
using EnumerableSet for EnumerableSet.AddressSet;
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
mapping(address => uint256) customTransferTaxes;
mapping(address => bool) private _excluded;
... | 8,827,702 | [
1,
4625,
348,
7953,
560,
30,
368,
73,
1880,
37,
13456,
18378,
1345,
3807,
1986,
813,
511,
18988,
24237,
5571,
8586,
622,
787,
471,
450,
5748,
329,
3647,
518,
5571,
15976,
7528,
716,
3298,
11013,
3039,
471,
357,
80,
3039,
16,
4169,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
512,
1303,
1880,
37,
353,
467,
5948,
52,
3462,
16,
14223,
6914,
288,
203,
565,
1450,
6057,
25121,
694,
364,
6057,
25121,
694,
18,
1887,
694,
31,
203,
203,
565,
2874,
12,
2867,
516,
2254,
5034,
13,
3238,
389,
70,
26488,
3... |
// Specifies that the source code is for a version
// of Solidity greater than 0.5.0
pragma solidity >=0.5.0 <0.7.0;
// A contract is a collection of functions and data (its state)
// that resides at a specific address on the Ethereum blockchain.
contract Coin {
// The keyword "public" makes variables accessible ... | How many decimals to show.
| uint256 public decimals = 18; | 990,512 | [
1,
4625,
348,
7953,
560,
30,
9017,
4906,
15105,
358,
2405,
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,
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,
565,
2254,
5034,
1071,
15105,
273,
6549,
31,
1171,
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/5/0x7D9ee2593f81B453dAF58934DaEEAC47D19Ec240/sources/project_/contracts/MockVaults/Vault.sol | * @dev The entrypoint of funds into the system. People deposit with this function into the vault. The vault is then in charge of sending funds into the strategy./ | function deposit(uint256 _amount) public {
uint256 _pool = balance();
uint256 _before = token.balanceOf(address(this));
token.safeTransferFrom(msg.sender, address(this), _amount);
uint256 _after = token.balanceOf(address(this));
uint256 shares = 0;
if (totalSupply() =... | 1,905,369 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
1021,
26076,
434,
284,
19156,
1368,
326,
2619,
18,
19622,
11763,
443,
1724,
598,
333,
445,
1368,
326,
9229,
18,
1021,
9229,
353,
1508,
316,
13765,
434,
5431,
284,
19156,
1368,
326,
6252,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
565,
445,
443,
1724,
12,
11890,
5034,
389,
8949,
13,
1071,
288,
203,
3639,
2254,
5034,
389,
6011,
273,
11013,
5621,
203,
3639,
2254,
5034,
389,
5771,
273,
1147,
18,
12296,
951,
12,
2867,
12,
2211,
10019,
203,
3639,
1147,
18,
4626... |
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) exte... | gowth hacking(4%) + protocol(6%)
| uint256 public protocolFee = 10; | 5,732,367 | [
1,
4625,
348,
7953,
560,
30,
314,
543,
451,
11769,
310,
12,
24,
9,
13,
397,
1771,
12,
26,
9,
13,
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,
... | [
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,
2254,
5034,
1071,
1771,
14667,
273,
1728,
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,
... |
pragma solidity 0.6.12;
import "@openzeppelin/contracts/GSN/Context.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "./interfaces/IERC20Burnable.sol";
import {YearnVaultAdapterWithIndirectio... | @dev Converts the staked alTokens to the base tokens in amount of the sum of pendingdivs and tokensInBucket once the alToken has been converted, it is burned, and the base token becomes realisedTokens which can be recieved using claim() reverts if there are no pendingdivs or tokensInBucket check bucket overflow remove... | function transmute()
public
noContractAllowed()
ensureUserActionDelay()
runPhasedDistribution()
updateAccount(msg.sender) {
address sender = msg.sender;
uint256 pendingz = tokensInBucket[sender];
uint256 diff;
require(pendingz > 0, "need to... | 2,510,719 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
20377,
326,
384,
9477,
524,
5157,
358,
326,
1026,
2430,
316,
3844,
434,
326,
2142,
434,
4634,
2892,
87,
471,
2430,
382,
4103,
3647,
326,
524,
1345,
711,
2118,
5970,
16,
518,
353,
18305,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
906,
81,
624,
1435,
7010,
3639,
1071,
7010,
3639,
1158,
8924,
5042,
1435,
203,
3639,
3387,
1299,
1803,
6763,
1435,
203,
3639,
1086,
3731,
8905,
9003,
1435,
7010,
3639,
1089,
3032,
12,
3576,
18,
15330,
13,
288,
203,
3639,
... |
import "./StandardToken.sol";
pragma solidity ^0.4.8;
contract DNNToken is StandardToken {
function () {
//if ether is sent to this address, send it back.
throw;
}
/* Public variables of the token */
string public name = "DNN";
uint8 public decimals = 3;
string public symbol ... | if ether is sent to this address, send it back. | function () {
throw;
}
uint8 public decimals = 3;
string public symbol = "DNN";
uint256 public initialAmount = 10000000 * 10**3;
| 14,121,925 | [
1,
4625,
348,
7953,
560,
30,
309,
225,
2437,
353,
3271,
358,
333,
1758,
16,
1366,
518,
1473,
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... | [
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,
1832,
288,
203,
3639,
604,
31,
203,
565,
289,
203,
203,
565,
2254,
28,
1071,
15105,
273,
890,
31,
203,
565,
533,
1071,
3273,
273,
315,
8609,
50,
14432,
203,
565,
2254,
5034,
1071,
2172,
6275,
273,
2130,
11706,
380,
17... |
./full_match/1/0x2Da82DE4b505f2226f5Db319D2c2449495D5E45e/sources/LokTar Ogar.sol | * @dev Implementation of the {IERC20} interface. This implementation is agnostic to the way tokens are created. This means that a supply mechanism has to be added in a derived contract using {_mint}. For a generic mechanism see {ERC20PresetMinterPauser}. TIP: For a detailed writeup see our guide to implement supply mec... | contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
address public marketingWallet;
address p... | 16,550,899 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
25379,
434,
326,
288,
45,
654,
39,
3462,
97,
1560,
18,
1220,
4471,
353,
279,
1600,
669,
335,
358,
326,
4031,
2430,
854,
2522,
18,
1220,
4696,
716,
279,
14467,
12860,
711,
358,
506,
3096... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4232,
39,
3462,
353,
1772,
16,
467,
654,
39,
3462,
16,
467,
654,
39,
3462,
2277,
288,
203,
565,
2874,
12,
2867,
516,
2254,
5034,
13,
3238,
389,
70,
26488,
31,
203,
7010,
565,
2874,
12,
2867,
516,
2874,
12,
2867,
516,
2... |
./full_match/5/0x57C66f08dB6E1fD9d9d32f204EF557Ef8c62b7C2/sources/project_/contracts/base/modules/URIstorage.sol | * @dev Base contract providing a flexible and human-friendly way to store multiple types of URI as a mapping/ | abstract contract uriStorage {
mapping (bytes32 => string) private uri;
mapping (bytes32 => bool) private uri_frozen;
function setUri(string memory _uriKeyword, string memory _uri) internal {
uri[bytes32(abi.encodePacked(_uriKeyword))] = _uri;
}
function getUri(string memory _uriKeyword)... | 1,932,580 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
3360,
6835,
17721,
279,
16600,
1523,
471,
8672,
17,
29111,
4031,
358,
1707,
3229,
1953,
225,
434,
3699,
487,
279,
2874,
19,
2,
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,
17801,
6835,
2003,
3245,
288,
203,
203,
565,
2874,
261,
3890,
1578,
516,
533,
13,
3238,
2003,
31,
203,
565,
2874,
261,
3890,
1578,
516,
1426,
13,
3238,
2003,
67,
28138,
31,
203,
203,
203,
565,
445,
30473,
12,
1080,
3778,
389,
1... |
./partial_match/3/0xE33B1CcfF32C133b036Ac5e70b1cdba18a453a27/sources/Configurator.sol | limit the number of tokens that user can buy according to the hardcap of the current milestone (10SET) | if (milestone.tokensSold.add(tokensWithBonus) > milestone.hardcapInTokens) {
tokensWithBonus = milestone.hardcapInTokens.sub(milestone.tokensSold);
if (milestone.bonus > 0) {
tokensWithoutBonus = tokensWithBonus.mul(percentRate).div(percentRate + milestone.bonus);
... | 5,230,840 | [
1,
4625,
348,
7953,
560,
30,
225,
1800,
326,
1300,
434,
2430,
716,
729,
848,
30143,
4888,
358,
326,
7877,
5909,
434,
326,
783,
28664,
261,
2163,
4043,
13,
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,
3639,
309,
261,
81,
18270,
18,
7860,
55,
1673,
18,
1289,
12,
7860,
1190,
38,
22889,
13,
405,
28664,
18,
20379,
5909,
382,
5157,
13,
288,
203,
5411,
2430,
1190,
38,
22889,
273,
28664,
18,
20379,
5909,
382,
5157,
18,
1717,
12,
81... |
//SPDX-License-Identifier: MIT
pragma solidity 0.8.4;
pragma abicoder v1;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
contract Treasury {
using SafeERC20 for IERC20;
/// @notice Reference to token to drip (immutable)
IERC20 pu... | Tokens per block that to drip to target (immutable)
| uint256 dripRate; | 7,299,825 | [
1,
4625,
348,
7953,
560,
30,
13899,
1534,
1203,
716,
358,
302,
21335,
358,
1018,
261,
381,
5146,
13,
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,
... | [
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,
2254,
5034,
302,
21335,
4727,
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,... |
pragma solidity ^0.6.4;
pragma experimental ABIEncoderV2;
import "../curation/ICuration.sol";
import "../epochs/IEpochManager.sol";
import "../governance/Governed.sol";
import "../token/IGraphToken.sol";
import "../upgrades/GraphProxy.sol";
import "../upgrades/GraphUpgradeable.sol";
import "./IStaking.sol";
import ".... | * @dev Check if the caller is authorized (indexer, operator or delegator)/ | function _onlyAuthOrDelegator(address _indexer) private view returns (bool) {
return _onlyAuth(_indexer) || delegationPools[_indexer].delegators[msg.sender].shares > 0;
}
| 5,377,284 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
2073,
309,
326,
4894,
353,
10799,
261,
24541,
16,
3726,
578,
11158,
639,
13176,
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,
... | [
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,
0,
0... | [
1,
565,
445,
389,
3700,
1730,
1162,
15608,
639,
12,
2867,
389,
24541,
13,
3238,
1476,
1135,
261,
6430,
13,
288,
203,
3639,
327,
389,
3700,
1730,
24899,
24541,
13,
747,
23595,
16639,
63,
67,
24541,
8009,
3771,
1332,
3062,
63,
3576,
1... |
./partial_match/3/0x4dC3a9cd8E6E62239F2AF8CD27C955c56a842940/sources/Presale.sol | @dev ERC20 token address and decimals@dev amount of tokens per ether 100 indicates 1 token per eth@dev decimal for tokenRatePerEth,2 means if you want 100 tokens per eth then set the rate as 100 + number of rateDecimals i.e => 10000@dev max and min token buy limit per account | contract Presale is Owned {
using SafeMath for uint256;
bool public isPresaleOpen;
address public tokenAddress;
uint256 public tokenDecimals = 18;
uint256 public tokenRatePerEth = 4_00;
uint256 public rateDecimals = 4;
uint256 public minEthLimit = 100 finney;
uint256 publi... | 5,233,803 | [
1,
4625,
348,
7953,
560,
30,
632,
5206,
4232,
39,
3462,
1147,
1758,
471,
15105,
36,
5206,
3844,
434,
2430,
1534,
225,
2437,
2130,
8527,
404,
1147,
1534,
13750,
36,
5206,
6970,
364,
1147,
4727,
2173,
41,
451,
16,
22,
4696,
309,
1846,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18346,
5349,
353,
14223,
11748,
288,
203,
565,
1450,
14060,
10477,
364,
2254,
5034,
31,
203,
565,
1426,
1071,
353,
12236,
5349,
3678,
31,
203,
377,
203,
565,
1758,
1071,
1147,
1887,
31,
203,
565,
2254,
5034,
1071,
1147,
3180... |
./partial_match/1/0x736D006ceD8f968B980B0126Ab6c760be2746f99/sources/SmolMart2.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. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use ... | contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor () internal {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
fu... | 4,007,965 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
13456,
1605,
1492,
8121,
279,
5337,
2006,
3325,
12860,
16,
1625,
1915,
353,
392,
2236,
261,
304,
3410,
13,
716,
848,
506,
17578,
12060,
2006,
358,
2923,
4186,
18,
1220,
1605,
353,
1399,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14223,
6914,
353,
1772,
288,
203,
565,
1758,
3238,
389,
8443,
31,
203,
203,
565,
871,
14223,
9646,
5310,
1429,
4193,
12,
2867,
8808,
2416,
5541,
16,
1758,
8808,
394,
5541,
1769,
203,
203,
565,
3885,
1832,
2713,
288,
203,
3... |
./full_match/5/0xB434F8aCc335c3ac6C3aaEE82067E1d08796e9fD/sources/project_/contracts/Soulbound.sol | * @notice Retrieves the list of Soulbound token owners for a given Creator Contract Address. @dev This function is restricted to the creator admin./ | function getSoulboundOwners(address creatorContractAddress) public view creatorAdminRequired(creatorContractAddress) returns (address[] memory) {
return _soulboundOwners[creatorContractAddress];
}
| 1,895,597 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
20507,
326,
666,
434,
348,
1003,
3653,
1147,
25937,
364,
279,
864,
29525,
13456,
5267,
18,
632,
5206,
1220,
445,
353,
15693,
358,
326,
11784,
3981,
18,
19,
2,
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,
0,
0,
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,
1322,
1003,
3653,
5460,
414,
12,
2867,
11784,
8924,
1887,
13,
1071,
1476,
11784,
4446,
3705,
12,
20394,
8924,
1887,
13,
1135,
261,
2867,
8526,
3778,
13,
288,
203,
3639,
327,
389,
87,
1003,
3653,
5460,
414,
63,
20394,
89... |
/**
*Submitted for verification at Etherscan.io on 2022-05-04
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
///////////////////////////////////////////////////////////////////////////
// __/|
// __//// /| This smart contract is part of Mover infrastructure
// |// //_/// https://viamove... | V2 Update: rewards claiming | address public rewardSplitAddress;
| 10,786,800 | [
1,
4625,
348,
7953,
560,
30,
225,
776,
22,
2315,
30,
283,
6397,
7516,
310,
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,
565,
1758,
1071,
19890,
5521,
1887,
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,
-100,
-100,... |
pragma solidity >=0.4.24;
import "../interfaces/IPolicyRegistryCheck.sol";
import "../interfaces/ISecurityToken.sol";
import "../modules/DataType.sol";
contract GeneralPolicy is DataType {
uint8 public version = 1;
string public name = "SecurityTokenPolicy";
address public securityToken;
address publ... | An address can only transfer tokens once their corresponding uint256 > block.number (unless allowAllTransfers == true or allowAllWhitelistTransfers == true) (investor, tranche, Restriction) | mapping (address => mapping (bytes32 => Restriction)) public whitelist;
| 12,949,931 | [
1,
4625,
348,
7953,
560,
30,
225,
1922,
1758,
848,
1338,
7412,
2430,
3647,
3675,
4656,
2254,
5034,
405,
1203,
18,
2696,
261,
28502,
1699,
1595,
1429,
18881,
422,
638,
578,
1699,
1595,
18927,
1429,
18881,
422,
638,
13,
261,
5768,
395,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
565,
2874,
261,
2867,
516,
2874,
261,
3890,
1578,
516,
1124,
6192,
3719,
1071,
10734,
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,
-... |
./full_match/5/0x8A96944F15Eb73f83E6B1D0Cad10f8c66f66FdAC/sources/contracts/RonaldoCollection.sol | Public minting function. Only available after presale ended. | function mint() public payable onlyWhenNotPaused {
require(
presaleStarted && block.timestamp > presaleEnded,
"Presale has not ended yet. Please wait."
);
require(tokenIds < _maxTokenIds, "Excendeed max tokenIds supply.");
require(msg.value >= _price, "You nee... | 1,932,226 | [
1,
4625,
348,
7953,
560,
30,
225,
7224,
312,
474,
310,
445,
18,
5098,
2319,
1839,
4075,
5349,
16926,
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... | [
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,
312,
474,
1435,
1071,
8843,
429,
1338,
9434,
1248,
28590,
288,
203,
3639,
2583,
12,
203,
5411,
4075,
5349,
9217,
597,
1203,
18,
5508,
405,
4075,
5349,
28362,
16,
203,
5411,
315,
12236,
5349,
711,
486,
16926,
4671,
18,
7... |
./partial_match/1/0xa42C2a124e9f22a1Bd43A52bE147b74C620985C1/sources/Official_UnordinalDegens.sol | * @dev Interface of the ERC165 standard, as defined in the Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}./ | interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
pragma solidity ^0.8.0;
_ _ _ _ _ _____
}
| 4,384,057 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
6682,
434,
326,
4232,
39,
28275,
4529,
16,
487,
2553,
316,
326,
10886,
414,
848,
14196,
2865,
434,
6835,
7349,
16,
1492,
848,
1508,
506,
23264,
635,
10654,
10797,
654,
39,
28275,
8847,
97... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5831,
467,
654,
39,
28275,
288,
203,
565,
445,
6146,
1358,
12,
3890,
24,
1560,
548,
13,
3903,
1476,
1135,
261,
6430,
1769,
203,
683,
9454,
18035,
560,
3602,
20,
18,
28,
18,
20,
31,
203,
225,
389,
565,
389,
5397,
389,
389,
239... |
pragma solidity ^0.4.24;
// File: node_modules/openzeppelin-solidity/contracts/ownership/Ownable.sol
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {... | * A constant role name for indicating minters & burners./ | constructor() public {
addRole(msg.sender, ROLE_MINTER);
addRole(msg.sender, ROLE_BURNER);
}
| 12,584,504 | [
1,
4625,
348,
7953,
560,
30,
380,
432,
5381,
2478,
508,
364,
11193,
1131,
5432,
473,
18305,
414,
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... | [
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,
3885,
1435,
1071,
288,
203,
565,
527,
2996,
12,
3576,
18,
15330,
16,
22005,
67,
6236,
2560,
1769,
203,
565,
527,
2996,
12,
3576,
18,
15330,
16,
22005,
67,
38,
8521,
654,
1769,
203,
225,
289,
203,
203,
203,
203,
2,
-100,
... |
./full_match/80001/0xb6E5db9AE82AcB2110ac2571A1a12Efa50cbb1de/sources/LotteryWofo.sol | Withdraw Ether Withdraw Tokens | function WithdrawCommission(address tokenAddress) public isOperator {
address payable operator = payable(msg.sender);
uint256 commission2Transfer = operatorTotalCommission;
operatorTotalCommission = 0;
if (tokenAddress == address(0)) {
require(success, "Failed to withdr... | 5,602,819 | [
1,
4625,
348,
7953,
560,
30,
225,
3423,
9446,
512,
1136,
3423,
9446,
13899,
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,
3423,
9446,
799,
3951,
12,
2867,
1147,
1887,
13,
1071,
353,
5592,
288,
203,
3639,
1758,
8843,
429,
3726,
273,
8843,
429,
12,
3576,
18,
15330,
1769,
203,
203,
3639,
2254,
5034,
1543,
19710,
22,
5912,
273,
3726,
5269,
799... |
/**
*Submitted for verification at Etherscan.io on 2021-12-21
*/
/**
*Submitted for verification at Etherscan.io on 2021-12-15
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;... | exclude from paying fees or having max transaction amount | constructor() ERC20("French Toast Friday ", "FTF") {
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
excludeFromMaxTransaction(address(_uniswapV2Router), true);
uniswapV2Router = _uniswapV2Router;
uniswa... | 6,775,787 | [
1,
4625,
348,
7953,
560,
30,
225,
4433,
628,
8843,
310,
1656,
281,
578,
7999,
943,
2492,
3844,
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,
3885,
1435,
4232,
39,
3462,
2932,
42,
26728,
2974,
689,
478,
1691,
528,
3104,
315,
4464,
42,
7923,
288,
203,
540,
203,
3639,
467,
984,
291,
91,
438,
58,
22,
8259,
3103,
389,
318,
291,
91,
438,
58,
22,
8259,
273,
467,
984... |
pragma solidity ^0.5.13;
import "./SKUFactory.sol";
/**
* @title StockRoom
* @notice Main contract for reference data side of the In-game Pro Shop System
*/
contract StockRoom is SKUFactory {
/**
* @notice Set the address of the FiatContract contract
*/
function setFiatContractAddress(address _... | @notice confirm whether an item can be minted based on limit and current item count | function canMintItem(uint256 _skuId, uint256 _itemCount) external view returns (bool) {
return (!skus[_skuId].limited || (_itemCount < skus[_skuId].limit));
}
| 13,086,392 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
6932,
2856,
392,
761,
848,
506,
312,
474,
329,
2511,
603,
1800,
471,
783,
761,
1056,
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,
... | [
1,
1,
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,
565,
445,
848,
49,
474,
1180,
12,
11890,
5034,
389,
20763,
548,
16,
2254,
5034,
389,
1726,
1380,
13,
3903,
1476,
1135,
261,
6430,
13,
288,
203,
3639,
327,
16051,
7771,
407,
63,
67,
20763,
548,
8009,
21325,
747,
261,
67,
1726,
1... |
pragma solidity ^0.4.24;
import "./BaseContract.sol";
contract Account {
/**
* @dev 컨트랜트가 추가되거나, 컨트랙트의 상태가 변경되었을 때 이벤트 발행
* @param updateType 업데이트의 종류
* 1 - addContract
* 2 - changeContractState
* @param contractIndex 업데이트된 컨트랙트의 인덱스 ... | * @dev 새로운 계약을 추가하고, contractIndices를 업데이트한다. UpdateContract 이벤트를 발행한다. @param contractAddress 추가할 계약의 주소/ 컨트랙트가 추가 됐음을 알림. 외부참조 | function addContract(BaseContract contractAddress)
public
onlyOwner {
require(contractIndices[contractAddress] == 0, "account has already had that base contract");
contracts.push(contractAddress);
contractIndices[contractAddress] = contracts.length;
emit UpdateCont... | 6,436,037 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
225,
173,
230,
235,
172,
99,
255,
173,
253,
117,
225,
171,
116,
231,
173,
248,
126,
173,
256,
231,
225,
173,
119,
247,
171,
113,
227,
174,
248,
251,
171,
116,
259,
16,
6835,
8776,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
527,
8924,
12,
2171,
8924,
6835,
1887,
13,
7010,
3639,
1071,
203,
3639,
1338,
5541,
288,
203,
3639,
2583,
12,
16351,
8776,
63,
16351,
1887,
65,
422,
374,
16,
315,
4631,
711,
1818,
9323,
716,
1026,
6835,
8863,
203,
203,
... |
pragma solidity ^0.5.0;
// Copyright 2019 OpenST Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | * @title Anchor contract which implements StateRootInterface. @notice Anchor stores another chain's state roots. It stores the address of the co-anchor, which will be the anchor on the other chain. State roots are exchanged bidirectionally between the anchor and the co-anchor by the organization... | contract Anchor is StateRootInterface, Organized, CircularBufferUint {
using SafeMath for uint256;
event StateRootAvailable(uint256 _blockHeight, bytes32 _stateRoot);
mapping (uint256 => bytes32) private stateRoots;
uint256 private remoteChainId;
address public coAnchor;
constructor... | 12,796,709 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
2649,
27285,
6835,
1492,
4792,
3287,
2375,
1358,
18,
632,
20392,
27285,
9064,
4042,
2687,
1807,
919,
12876,
18,
2597,
9064,
326,
1758,
434,
540,
326,
1825,
17,
16215,
16,
1492,
903,
506,
326,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27285,
353,
3287,
2375,
1358,
16,
8533,
304,
1235,
16,
13246,
9559,
1892,
5487,
288,
203,
203,
203,
565,
1450,
14060,
10477,
364,
2254,
5034,
31,
203,
203,
203,
203,
565,
871,
3287,
2375,
5268,
12,
11890,
5034,
389,
2629,
... |
/**
*Submitted for verification at Etherscan.io on 2021-06-23
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
... | * Constrctor function Initializes contract with initial supply tokens to the creator of the contract/ | constructor() public {
name = "Heal";
symbol = "HEAL";
decimals = 18;
_totalSupply = 10000000000000000000000000000000;
balances[msg.sender] = _totalSupply;
emit Transfer(address(0), msg.sender, _totalSupply);
}
| 6,645,296 | [
1,
4625,
348,
7953,
560,
30,
380,
735,
701,
30206,
445,
10188,
3128,
6835,
598,
2172,
14467,
2430,
358,
326,
11784,
434,
326,
6835,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1435,
1071,
288,
203,
3639,
508,
273,
315,
5256,
287,
14432,
203,
3639,
3273,
273,
315,
3900,
1013,
14432,
203,
3639,
15105,
273,
6549,
31,
203,
3639,
389,
4963,
3088,
1283,
273,
2130,
12648,
12648,
12648,
11706,
31,
203... |
/*
* Copyright 2019-2020, Offchain Labs, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | Wallet has no coins from given NFT contract Wallet does not own specific NFT | function removeNFTToken(address _user, address _erc721, uint256 _tokenId) private returns (bool) {
UserNFTWallet storage wallet = nftWallets[_user];
uint256 walletIndex = wallet.nftWalletIndex[_erc721];
if (walletIndex == 0) {
return false;
}
NFTWallet storage nft... | 5,455,071 | [
1,
4625,
348,
7953,
560,
30,
225,
20126,
711,
1158,
276,
9896,
628,
864,
423,
4464,
6835,
20126,
1552,
486,
4953,
2923,
423,
4464,
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,... | [
1,
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,
0... | [
1,
565,
445,
1206,
50,
4464,
1345,
12,
2867,
389,
1355,
16,
1758,
389,
12610,
27,
5340,
16,
2254,
5034,
389,
2316,
548,
13,
3238,
1135,
261,
6430,
13,
288,
203,
3639,
2177,
50,
4464,
16936,
2502,
9230,
273,
290,
1222,
26558,
2413,
... |
./partial_match/1/0xe3BE0054Da2F8da5002E8bdD8AA4c7fDf851E86D/sources/ERC721CreatorMaxMint.sol | * @dev See {ICreatorCore-setApproveTransferExtension}./ | function setApproveTransferExtension(bool enabled) external override {
requireExtension();
_setApproveTransferExtension(msg.sender, enabled);
}
| 2,680,667 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
2164,
288,
45,
10636,
4670,
17,
542,
12053,
537,
5912,
3625,
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... | [
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,
444,
12053,
537,
5912,
3625,
12,
6430,
3696,
13,
3903,
3849,
288,
203,
3639,
2583,
3625,
5621,
203,
3639,
389,
542,
12053,
537,
5912,
3625,
12,
3576,
18,
15330,
16,
3696,
1769,
203,
565,
289,
203,
203,
2,
-100,
-100,
... |
pragma solidity ^0.6.0;
import "./interfaces/MarketControllerInterface.sol";
import "./interfaces/HTokenInterface.sol";
import "./interfaces/EIP20Interface.sol";
import "./interfaces/EIP20NonStandardInterface.sol";
import "./interfaces/InterestRateStrategyInterface.sol";
import "./interfaces/DistributorInterface.sol";... | * @notice Approve `spender` to transfer up to `amount` from `src` @dev This will overwrite the approval amount for `spender` @param spender The address of the account which may transfer tokens @param amount The number of tokens that are approved (-1 means infinite) @return Whether or not the approval succeeded/ | function approve(address spender, uint256 amount) external override returns (bool) {
address src = msg.sender;
transferAllowances[src][spender] = amount;
emit Approval(src, spender, amount);
return true;
}
| 6,356,741 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
1716,
685,
537,
1375,
87,
1302,
264,
68,
358,
7412,
731,
358,
1375,
8949,
68,
628,
1375,
4816,
68,
632,
5206,
1220,
903,
6156,
326,
23556,
3844,
364,
1375,
87,
1302,
264,
68,
632,
891,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6617,
537,
12,
2867,
17571,
264,
16,
2254,
5034,
3844,
13,
3903,
3849,
1135,
261,
6430,
13,
288,
203,
202,
202,
2867,
1705,
273,
1234,
18,
15330,
31,
203,
202,
202,
13866,
7009,
6872,
63,
4816,
6362,
87,
1302,
264,
65... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import { FismoTypes } from "./domain/FismoTypes.sol";
/**
* @title FismoLib
*
* @notice Fismo configuration storage
*
* @author Cliff Hall <cliff@futurescale.com> (https://twitter.com/seaofarrows)
*/
library FismoLib {
bytes32 internal constant FISMO_... | * @notice Get a machine by id Reverts if machine does not exist @param _machineId - the id of the machine @return machine - the machine configuration/ Get the machine Make sure machine exists | function getMachine(bytes4 _machineId)
internal
view
returns (FismoTypes.Machine storage machine)
{
machine = fismoSlot().machine[_machineId];
require(machine.id == _machineId, "No such machine");
}
| 14,099,025 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
968,
279,
5228,
635,
612,
868,
31537,
309,
5228,
1552,
486,
1005,
632,
891,
389,
9149,
548,
300,
326,
612,
434,
326,
5228,
632,
2463,
5228,
300,
326,
5228,
1664,
19,
968,
326,
5228,
43... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
565,
445,
2108,
3093,
12,
3890,
24,
389,
9149,
548,
13,
203,
565,
2713,
203,
565,
1476,
203,
565,
1135,
261,
42,
6228,
83,
2016,
18,
6981,
2502,
5228,
13,
203,
565,
288,
203,
3639,
5228,
273,
284,
6228,
83,
8764,
7675,
9149,
... |
./partial_match/42/0x02b7d9E2b621abD0B5ebE5FCF5de6ab66E706836/sources/UFragmentsPolicy.sol | * @dev Increase the amount of tokens that an owner has allowed to a spender. This method should be used instead of approve() to avoid the double approval vulnerability described above. @param spender The address which will spend the funds. @param addedValue The amount of tokens to increase the allowance by./ | function increaseAllowance(address spender, uint256 addedValue)
public
whenTokenNotPaused
returns (bool)
{
_allowedFragments[msg.sender][spender] = _allowedFragments[msg
.sender][spender]
.add(addedValue);
emit Approval(
msg.sender,
... | 3,315,664 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
657,
11908,
326,
3844,
434,
2430,
716,
392,
3410,
711,
2935,
358,
279,
17571,
264,
18,
1220,
707,
1410,
506,
1399,
3560,
434,
6617,
537,
1435,
358,
4543,
326,
1645,
23556,
331,
26064,
118... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10929,
7009,
1359,
12,
2867,
17571,
264,
16,
2254,
5034,
3096,
620,
13,
203,
3639,
1071,
203,
3639,
1347,
1345,
1248,
28590,
203,
3639,
1135,
261,
6430,
13,
203,
565,
288,
203,
3639,
389,
8151,
27588,
63,
3576,
18,
1533... |
pragma solidity ^0.6.0;
/**
* @title Primitive's Exchange Contract
* @notice A Decentralized Exchange to manage the buying and selling
of Prime Option tokens.
* @author Primitive
*/
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and i... | MAPS TOKENIDS WITH BUY ORDER DETAILS */ | mapping(uint256 => BuyOrders) public _buyOrders;
| 13,010,069 | [
1,
4625,
348,
7953,
560,
30,
225,
12815,
55,
14275,
19516,
13601,
10937,
61,
10205,
463,
26785,
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,
... | [
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,
2874,
12,
11890,
5034,
516,
605,
9835,
16528,
13,
1071,
389,
70,
9835,
16528,
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... |
./full_match/1/0x94659fEa475Ea5C159e9eA37ff392f85EcfB0417/sources/stakingPool1week.sol | 10% Total Reward After 1 Week Stake
| users[msg.sender].rewardUnWithdrawed = (_amount*10)/100; | 2,919,552 | [
1,
4625,
348,
7953,
560,
30,
225,
1728,
9,
10710,
534,
359,
1060,
7360,
404,
10527,
934,
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,
... | [
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,
3639,
3677,
63,
3576,
18,
15330,
8009,
266,
2913,
984,
1190,
9446,
329,
273,
261,
67,
8949,
14,
2163,
13176,
6625,
31,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
./full_match/1/0x831b33eC64055f93cd01a5a2e1b6e2c8b17b976C/sources/localhost/DMiner/IFilDMiner.sol | back pay usdt * feeRate / 100 to fundAddr
| uint256 private constant FEERATE = 5; | 16,557,390 | [
1,
4625,
348,
7953,
560,
30,
1473,
8843,
584,
7510,
380,
14036,
4727,
342,
2130,
358,
284,
1074,
3178,
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,
... | [
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,
2254,
5034,
3238,
5381,
16439,
654,
1777,
273,
1381,
31,
7734,
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.5.2;
/*
ETICA: a type1 civilization neutral protocol for medical research
KEVIN WAD OSSENI
*/
/*
MIT License
Copyright © 26/08/2019, KEVIN WAD OSSENI
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), t... | New Mining Difficulty = Previous Mining Difficulty * (Time To Mine Last 2016 blocks / 1 209 600 seconds) | miningTarget = miningTarget.mul(ethTimeSinceLastDifficultyPeriod).div(targetTimePerDiffPeriod);
| 13,003,845 | [
1,
4625,
348,
7953,
560,
30,
225,
1166,
5444,
310,
13008,
21934,
273,
19369,
5444,
310,
13008,
21934,
380,
261,
950,
2974,
490,
558,
6825,
12659,
4398,
342,
404,
4200,
29,
14707,
3974,
13,
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,
0,
0,
0,
0,
0,
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,
1171,
1131,
310,
2326,
273,
1131,
310,
2326,
18,
16411,
12,
546,
950,
9673,
3024,
5938,
21934,
5027,
2934,
2892,
12,
3299,
950,
2173,
5938,
5027,
1769,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
contract TheGame {
// Based on the open source castle script
// Definte the guy player
address public first_player;
// Last time someone contributed to the game
uint public regeneration;
// Define jackpot
uint public jackpot;
// Fees
uint public collectedFee;
// Lis... | ETH sent to the jackpot | jackpot += amount;
| 15,856,786 | [
1,
4625,
348,
7953,
560,
30,
225,
512,
2455,
3271,
358,
326,
525,
484,
13130,
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,
5411,
525,
484,
13130,
1011,
3844,
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,
-100,
-100,
... |
// Sources flattened with hardhat v2.9.2 https://hardhat.org
// File @openzeppelin/contracts/utils/introspection/IERC165.sol@v4.5.0
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/... | ---------------------------DAO CALL---------------------------------------- generic config for user Application | function setConfig(
uint16 _version,
uint16 _chainId,
uint256 _configType,
bytes calldata _config
) external override onlyOwner {
endpoint.setConfig(_version, _chainId, _configType, _config);
}
| 162,732 | [
1,
4625,
348,
7953,
560,
30,
12146,
15392,
18485,
22753,
2443,
788,
5210,
642,
364,
729,
4257,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
15517,
12,
203,
3639,
2254,
2313,
389,
1589,
16,
203,
3639,
2254,
2313,
389,
5639,
548,
16,
203,
3639,
2254,
5034,
389,
1425,
559,
16,
203,
3639,
1731,
745,
892,
389,
1425,
203,
565,
262,
3903,
3849,
1338,
5541,
288,
... |
./full_match/1/0xD889E4B5301c860A27831e2eDE451A70e54BcED5/sources/contracts/EyeconsRebasePoolV1.sol | @inheritdoc IEyeconsRebasePoolV1 | function updateUpgradingPrice(uint256 upgradingPrice_) external onlyRole(DEFAULT_ADMIN_ROLE) {
emit UpgradingPriceUpdated(upgradingPrice, upgradingPrice_);
upgradingPrice = upgradingPrice_;
}
| 5,006,748 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
10093,
10897,
93,
557,
7008,
426,
1969,
2864,
58,
21,
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,
1089,
1211,
15210,
5147,
12,
11890,
5034,
731,
15210,
5147,
67,
13,
3903,
1338,
2996,
12,
5280,
67,
15468,
67,
16256,
13,
288,
203,
3639,
3626,
1948,
15210,
5147,
7381,
12,
416,
15210,
5147,
16,
731,
15210,
5147,
67,
17... |
//created by Quanli Technology (Hong Kong) Limited; www.quan-li.com
pragma solidity ^0.4.24;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract TokenERC20 {
address public owner; // current owner of the contract
uint256 p... | This notifies clients about the amount burnt | event Burn(address indexed from, uint256 value);
| 10,703,617 | [
1,
4625,
348,
7953,
560,
30,
225,
1220,
19527,
7712,
2973,
326,
3844,
18305,
88,
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,
565,
871,
605,
321,
12,
2867,
8808,
628,
16,
2254,
5034,
460,
1769,
7010,
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... |
pragma solidity ^0.5.7;
library SafeMath {
int256 constant private in... | inject NONSTANDARD NAMING
| function RENOUNCEPAUSER647() public { | 12,598,072 | [
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,
534,
1157,
51,
2124,
1441,
4066,
4714,
30792,
1435,
1071,
288,
202,
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,
... |
pragma solidity >=0.4.21 <0.6.0;
import "../external_contracts/SafeMath.sol";
import "../external_contracts/Ownable.sol";
import "./PipControllerInterface.sol";
import "./PipConfig.sol";
import "./Pip.sol";
contract PipController is PipControllerInterface, PipConfig, Ownable {
using SafeMath for uint256;
/... | * @dev Total amount of deployed PIPs/ | function getPipCount() public view returns (uint pipCount) {
pipCount = pipList.length;
}
| 12,970,323 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
10710,
3844,
434,
19357,
453,
18246,
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,
... | [
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,
445,
1689,
625,
1380,
1435,
1071,
1476,
1135,
261,
11890,
8341,
1380,
13,
288,
203,
3639,
8341,
1380,
273,
8341,
682,
18,
2469,
31,
203,
565,
289,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./RobiToken.sol";
/// @dev RobiToken interface containing only needed methods
inter... | @notice This function is used to update the proposal states and should be called now and then. @dev This function is protected against reentrancy because of external transfer call inside loop iterate all proposals FIXME optimise proposal state update logic before production if proposal is active and time to vote has p... | function updateProposalStates() payable public nonReentrant {
for (uint i = 0; i < proposalsCounter; i++) {
Proposal storage proposal = _proposals[proposalsCounter];
if (proposal.status == ProposalStatus.ACTIVE && block.number >= proposal.voteEnd) {
processProposal(pr... | 879,517 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
1220,
445,
353,
1399,
358,
1089,
326,
14708,
5493,
471,
1410,
506,
2566,
2037,
471,
1508,
18,
632,
5206,
1220,
445,
353,
4750,
5314,
283,
8230,
12514,
2724,
434,
3903,
7412,
745,
4832,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
565,
445,
1089,
14592,
7629,
1435,
8843,
429,
1071,
1661,
426,
8230,
970,
288,
203,
3639,
364,
261,
11890,
277,
273,
374,
31,
277,
411,
450,
22536,
4789,
31,
277,
27245,
288,
203,
5411,
19945,
2502,
14708,
273,
389,
685,
22536,
6... |
./partial_match/3/0x8De754aa3c17c5566730DcB5AD64986D3aF38021/sources/YZYVault.sol | * @dev API to get staker's other token's reward/ | function getQuarterlyReward(address account_)
public
view
returns (uint256, uint256)
{
require(!_isContract(account_), "Could not be a contract");
uint256 quarterlyReward = 0;
uint256 blockTime = block.timestamp;
uint256 lastQuarterlyWithdrawTime =
... | 5,081,080 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
1491,
358,
336,
384,
6388,
1807,
1308,
1147,
1807,
19890,
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,
565,
445,
336,
928,
14153,
715,
17631,
1060,
12,
2867,
2236,
67,
13,
203,
3639,
1071,
203,
3639,
1476,
203,
3639,
1135,
261,
11890,
5034,
16,
2254,
5034,
13,
203,
565,
288,
203,
3639,
2583,
12,
5,
67,
291,
8924,
12,
4631,
67,
... |
pragma solidity ^0.6.6;
library SafeMath {
function ADD502(uint256 a, uint256 b) internal pure returns (uint256) { //inject NONSTANDARD NAMING
uint256... | inject NONSTANDARD NAMING
| function _TRANSFER221(address sender, address recipient, uint256 amount) internal virtual { | 12,772,776 | [
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,
389,
16596,
6553,
3787,
21,
12,
2867,
5793,
16,
1758,
8027,
16,
2254,
5034,
3844,
13,
2713,
5024,
288,
202,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
./partial_match/1/0x7fA46e7cF6ec3eAbc7e91dAf22992411d36Cb7F7/sources/Resolver.sol | * @dev Same as {_get}, with a custom error message when `key` is not in the map./if (keyIndex == 0) { return "";} else { return map._entries[keyIndex - 1]._value;} | function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (string memory) {
uint256 keyIndex = map._indexes[key];
}
| 4,060,164 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
17795,
487,
288,
67,
588,
5779,
598,
279,
1679,
555,
883,
1347,
1375,
856,
68,
353,
486,
316,
326,
852,
18,
19,
430,
261,
856,
1016,
422,
374,
13,
288,
565,
327,
1408,
31,
97,
469,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
588,
12,
863,
2502,
852,
16,
1731,
1578,
498,
16,
533,
3778,
9324,
13,
3238,
1476,
1135,
261,
1080,
3778,
13,
288,
203,
3639,
2254,
5034,
498,
1016,
273,
852,
6315,
11265,
63,
856,
15533,
203,
565,
289,
203,
2,
... |
./full_match/1/0x020E452b463568f55BAc6Dc5aFC8F0B62Ea5f0f3/sources/src/interfaces/IAaveCLRobotOperator.sol | * @title IAaveCLRobotOperator @author BGD Labs @notice Defines the interface for the robot operator contract to perform admin actions on the automation keepers./ | interface IAaveCLRobotOperator {
event KeeperRegistered(uint256 indexed id, address indexed upkeep, uint96 indexed amount);
event KeeperCancelled(uint256 indexed id, address indexed upkeep);
event LinkWithdrawn(uint256 indexed id, address indexed upkeep, address indexed to);
event KeeperRefilled(uint256 inde... | 3,162,098 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
2649,
467,
37,
836,
5017,
20605,
5592,
632,
4161,
605,
27338,
511,
5113,
632,
20392,
18003,
281,
326,
1560,
364,
326,
14386,
3726,
6835,
358,
3073,
3981,
4209,
603,
326,
17539,
3455,
414,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
5831,
467,
37,
836,
5017,
20605,
5592,
288,
203,
225,
871,
1475,
9868,
10868,
12,
11890,
5034,
8808,
612,
16,
1758,
8808,
731,
10102,
16,
2254,
10525,
8808,
3844,
1769,
203,
203,
225,
871,
1475,
9868,
21890,
12,
11890,
5034,
8808,
... |
./partial_match/42/0xFFC46daFE045E1239E64cbc0e324F3d2feb5dF15/sources/Ris3Governance.sol | Can withdraw only on first day
| require(now > cycleStartTime && now < cycleStartTime + stakingDuration, "Can withdraw only on first day"); | 3,417,231 | [
1,
4625,
348,
7953,
560,
30,
4480,
598,
9446,
1338,
603,
1122,
2548,
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,
3639,
2583,
12,
3338,
405,
8589,
13649,
597,
2037,
411,
8589,
13649,
397,
384,
6159,
5326,
16,
315,
2568,
598,
9446,
1338,
603,
1122,
2548,
8863,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
./partial_match/1/0x3F5dd1BE50E2Db5F4E3BF6d849CEE36EBb742d43/sources/PresaleTokens.sol | @title Allow users to invest ETH (or USDT) in token presale BLUBLU @author AlexAltrex @notice | contract PresaleTokens is Ownable {
mapping(address => uint) payments;
address payable addressToTransfer = payable(0xBa8842Dbe4d5E42CEC5ac65c247dF0010162c1Cc);
pragma solidity ^0.8.9;
receive() external payable {
payments[msg.sender] = payments[msg.sender] + msg.value;
require(success, "P... | 4,222,279 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
2649,
7852,
3677,
358,
2198,
395,
512,
2455,
261,
280,
11836,
9081,
13,
316,
1147,
4075,
5349,
19238,
3457,
11778,
632,
4161,
432,
4149,
10655,
266,
92,
632,
20392,
2,
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,
0,
0,
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,
18346,
5349,
5157,
353,
14223,
6914,
288,
203,
203,
565,
2874,
12,
2867,
516,
2254,
13,
25754,
31,
203,
565,
1758,
8843,
429,
1758,
774,
5912,
273,
8843,
429,
12,
20,
20029,
69,
28,
5193,
22,
40,
2196,
24,
72,
25,
41,
... |
// SPDX-License-Identifier: MIT
import './abstract/ReaperBaseStrategy.sol';
import './interfaces/IUniswapRouter.sol';
import './interfaces/CErc20I.sol';
import './interfaces/IComptroller.sol';
import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol";
pragma solidity 0.8.11;
/**
* @dev... | * @dev For a given withdraw amount, deleverages to a borrow level that will maintain the target LTV/ If there is no deficit we dont need to adjust position if the position change is tiny do nothingA limit set so we don't run out of gas | function _deleverage(uint256 _withdrawAmount) internal {
uint256 newBorrow = _getDesiredBorrow(_withdrawAmount);
if (newBorrow > minWantToLeverage) {
uint256 i = 0;
while (newBorrow > minWantToLeverage + 100) {
newBorrow = newBorrow - _leverDownStep(newBorrow... | 12,544,019 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
2457,
279,
864,
598,
9446,
3844,
16,
1464,
6084,
1023,
358,
279,
29759,
1801,
716,
903,
17505,
326,
1018,
11807,
58,
19,
971,
1915,
353,
1158,
1652,
335,
305,
732,
14046,
1608,
358,
5765,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3771,
73,
5682,
12,
11890,
5034,
389,
1918,
9446,
6275,
13,
2713,
288,
203,
3639,
2254,
5034,
394,
38,
15318,
273,
389,
588,
25683,
38,
15318,
24899,
1918,
9446,
6275,
1769,
203,
203,
3639,
309,
261,
2704,
38,
1531... |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;
import "@opengsn/contracts/src/BasePaymaster.sol";
import "./EthNOS.sol";
/**
* @title GSN Paymaster for Ethereum Notary Service
* @author Martin Pozor
* @dev see https://docs.opengsn.org/javascript-client/tutorial.html
*/
contract EthNOSPaymaster is BasePa... | * Withdraws ether from relay hub deposit. Only allowed to be called by EthNOS contract. @param amount Required amount to withdraw. @param dest Address to withdraw to./ | function withdrawRelayHubDeposit(
uint amount,
address payable dest)
external {
require(_msgSender() == address(ethNOS), "Only EthNOS contract is allowed to withdraw");
relayHub.withdraw(amount, dest);
}
| 12,808,355 | [
1,
4625,
348,
7953,
560,
30,
380,
3423,
9446,
87,
225,
2437,
628,
18874,
11891,
443,
1724,
18,
5098,
2935,
358,
506,
2566,
635,
512,
451,
3417,
55,
6835,
18,
632,
891,
3844,
10647,
3844,
358,
598,
9446,
18,
632,
891,
1570,
5267,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
565,
445,
598,
9446,
27186,
8182,
758,
1724,
12,
203,
3639,
2254,
3844,
16,
203,
3639,
1758,
8843,
429,
1570,
13,
203,
3639,
3903,
288,
203,
3639,
2583,
24899,
3576,
12021,
1435,
422,
1758,
12,
546,
3417,
55,
3631,
315,
3386,
512... |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
pragma abicoder v2;
// OpenZeppelin v4
import { Staking } from "./Staking.sol";
import { Delegator } from "./Delegator.sol";
/**
* @title Voting
* @author Railgun Contributors
* @notice Governance contract for railgun, handles voting.
*/
contract Voti... | Check proposal has been called to vote Check quorum has been reached Check vote passed Check we're in execution window Check proposal hasn't been executed before Mark proposal as executed Loop over actions and execute Execute action If an action fails to execute, catch and bubble up reason with revert solhint-disable-... | function executeProposal(uint256 _id) external {
ProposalStruct storage proposal = proposals[_id];
require(proposal.voteCallTime > 0, "Voting: Vote hasn't been called for this proposal");
require(proposal.yayVotes + proposal.nayVotes >= QUORUM, "Voting: Quorum hasn't been reached");
require(propo... | 1,612,787 | [
1,
4625,
348,
7953,
560,
30,
225,
2073,
14708,
711,
2118,
2566,
358,
12501,
2073,
31854,
711,
2118,
8675,
2073,
12501,
2275,
2073,
732,
4565,
316,
4588,
2742,
2073,
14708,
13342,
1404,
2118,
7120,
1865,
6622,
14708,
487,
7120,
9720,
187... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1836,
14592,
12,
11890,
5034,
389,
350,
13,
3903,
288,
203,
565,
19945,
3823,
2502,
14708,
273,
450,
22536,
63,
67,
350,
15533,
203,
21281,
565,
2583,
12,
685,
8016,
18,
25911,
1477,
950,
405,
374,
16,
315,
58,
17128,
... |
./partial_match/1/0x00000000000006c7676171937C444f6BDe3D6282/sources/contracts/helpers/PointerLibraries.sol | @dev Reads the int160 at `mPtr` in memory. | function readInt160(
MemoryPointer mPtr
) internal pure returns (int160 value) {
assembly {
value := mload(mPtr)
}
}
| 4,300,710 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
29185,
326,
509,
16874,
622,
1375,
81,
5263,
68,
316,
3778,
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,
... | [
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,
13731,
16874,
12,
203,
3639,
9251,
4926,
312,
5263,
203,
565,
262,
2713,
16618,
1135,
261,
474,
16874,
460,
13,
288,
203,
3639,
19931,
288,
203,
5411,
460,
519,
312,
945,
12,
81,
5263,
13,
203,
3639,
289,
203,
565,
28... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.8;
pragma experimental ABIEncoderV2;
import "./Ownable.sol";
import "./IInvite.sol";
import "./SafeERC20.sol";
import "./ERC20.sol";
import "./PriceLibrary.sol";
contract DomPool is Ownable, ERC20 {
using SafeMath for uint256;
using SafeERC20 for IERC20;
... | dom tokens created per block. | uint256 public domsPerBlock;
| 1,008,212 | [
1,
4625,
348,
7953,
560,
30,
225,
4092,
2430,
2522,
1534,
1203,
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,... | [
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,
565,
2254,
5034,
1071,
4092,
87,
2173,
1768,
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,
... |
./full_match/80001/0x2324B7820bea0D0DbEFF3EDE9E8F4cE7017A400F/sources/contracts/Marketplace.sol | @notice NftAddress -> Token ID -> Minter | mapping(address => mapping(uint256 => address)) public minters;
| 847,589 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
423,
1222,
1887,
317,
3155,
1599,
317,
490,
2761,
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,
225,
2874,
12,
2867,
516,
2874,
12,
11890,
5034,
516,
1758,
3719,
1071,
1131,
5432,
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,
-10... |
/**
*Submitted for verification at Etherscan.io on 2021-12-21
*/
// File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol
// OpenZeppelin Contracts v4.4.0 (utils/structs/EnumerableSet.sol)
pragma solidity ^0.8.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[se... | Calculate reward for specific companions | function calculateReward(address account, uint256 tokenId)
public
view
returns (uint256)
{
require(
Math.min(block.number, expiration) >
_lastClaimBlocks[account][tokenId],
"staking rewards have ended"
);
return
... | 15,287,200 | [
1,
4625,
348,
7953,
560,
30,
225,
9029,
19890,
364,
2923,
1161,
304,
1115,
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,
4604,
17631,
1060,
12,
2867,
2236,
16,
2254,
5034,
1147,
548,
13,
203,
3639,
1071,
203,
3639,
1476,
203,
3639,
1135,
261,
11890,
5034,
13,
203,
565,
288,
203,
3639,
2583,
12,
203,
5411,
2361,
18,
1154,
12,
2629,
18,
2... |
./full_match/11155111/0x7228dcd460E7aA341aD3959cC5f6385c6b77a7ff/sources/contracts/f1rtunaMarketplace.sol | also update the mapping for this msg.sender | userSubscribedTo[msg.sender].push(artist);
| 3,786,974 | [
1,
4625,
348,
7953,
560,
30,
225,
2546,
1089,
326,
2874,
364,
333,
1234,
18,
15330,
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,
... | [
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,
729,
1676,
15802,
774,
63,
3576,
18,
15330,
8009,
6206,
12,
25737,
1769,
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,
... |
// COPYRIGHT cVault.finance TEAM
// NO COPY
// COPY = BAD
// This code is provided with no assurances or guarantees of any kind. Use at your own responsibility.
//
// _ _ _ _ _ _
// | | (_) (_) | (_) |
// | | _ __ _ _ _ _ __| |_| |_ _ _
// | | | |/ _` ... | Copied from https:github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/libraries/IUniswapV2Library.sol returns sorted token addresses, used to handle return values from pairs sorted in this order | library COREIUniswapV2Library {
using SafeMath for uint256;
pragma solidity 0.6.12;
function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) {
require(tokenA != tokenB, 'IUniswapV2Library: IDENTICAL_ADDRESSES');
(token0, token1) = tokenA... | 2,024,204 | [
1,
4625,
348,
7953,
560,
30,
225,
28506,
2092,
628,
2333,
30,
6662,
18,
832,
19,
984,
291,
91,
438,
19,
318,
291,
91,
438,
17,
90,
22,
17,
457,
16045,
627,
19,
10721,
19,
7525,
19,
16351,
87,
19,
31417,
19,
45,
984,
291,
91,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7910,
862,
45,
984,
291,
91,
438,
58,
22,
9313,
288,
203,
377,
203,
565,
1450,
14060,
10477,
364,
2254,
5034,
31,
203,
203,
683,
9454,
18035,
560,
374,
18,
26,
18,
2138,
31,
203,
203,
203,
203,
565,
445,
1524,
5157,
12... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
contract MoonBhirds is ERC721, Pausable, Ownable {
using Strings for uint256;
constru... | PRICE________________________________________________________________________ | uint256 private _price;
| 511,237 | [
1,
4625,
348,
7953,
560,
30,
10365,
1441,
21157,
21157,
21157,
21157,
12214,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
2254,
5034,
3238,
389,
8694,
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,
-100,
-100,
... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
//import Open Zepplins ERC-20 contract
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
//create a ERC20 faucet contract
contract Faucet is Ownable {
uint256 public amountAllowed = 100 * 10 ** 18... | withdraw token transfer the token from address of this contract to address of the user (executing the withdrawToken() function) | function withdrawToken(address _tokenContract, uint256 _amount) public onlyOwner {
IERC20 token = IERC20(_tokenContract);
token.transfer(_msgSender(), _amount);
emit WithdrawToken(_msgSender(), _tokenContract, _amount);
}
| 12,597,533 | [
1,
4625,
348,
7953,
560,
30,
225,
598,
9446,
1147,
7412,
326,
1147,
628,
1758,
434,
333,
6835,
358,
1758,
434,
326,
729,
261,
4177,
8490,
326,
598,
9446,
1345,
1435,
445,
13,
2,
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,
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... | [
1,
565,
445,
598,
9446,
1345,
12,
2867,
389,
2316,
8924,
16,
2254,
5034,
389,
8949,
13,
1071,
1338,
5541,
288,
203,
3639,
467,
654,
39,
3462,
1147,
273,
467,
654,
39,
3462,
24899,
2316,
8924,
1769,
203,
540,
203,
3639,
1147,
18,
1... |
/**
*Submitted for verification at Etherscan.io on 2022-04-01
*/
/**
*Submitted for verification at Etherscan.io on 2022-03-28
*/
// telegram: https://t.me/minimarshallinuportal
// website: https://minimarshallinu.com
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.0;
abstract contract Context {
... | 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],... | 15,180,464 | [
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,
... |
./full_match/42/0x654b329307CE7Bc8a5F0979B2734850ab6f1ea0D/sources/Users/riccardoperego/Desktop/Home/Coding/defi/BSCArbExecutor/contracts/ArbExecutor.sol | UNISWAP: TOKEN -> ETH | function Uniswap_TokenToEth(address token, uint256 amountIn, uint256 amountOutMin) public payable returns (uint256 amountOut) {
require(
IERC20_Interface(token).approve(address(Uniswap_Router), (amountIn + 100000)),
"Smart contract approval failed"
);
address[] memory... | 16,246,093 | [
1,
4625,
348,
7953,
560,
30,
5019,
5127,
59,
2203,
30,
14275,
317,
512,
2455,
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,
1351,
291,
91,
438,
67,
1345,
774,
41,
451,
12,
2867,
1147,
16,
2254,
5034,
3844,
382,
16,
2254,
5034,
3844,
1182,
2930,
13,
1071,
8843,
429,
1135,
261,
11890,
5034,
3844,
1182,
13,
288,
203,
3639,
2583,
12,
203,
5411... |
pragma solidity ^0.6.0;
/// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution.
/// @author Stefan George - <[email protected]>
contract MultisigWithTimelock {
/*
* Events
*/
event Confirmation(address indexed sender, uint256 indexed transactionId);
... | @title Multisignature wallet - Allows multiple parties to agree on transactions before execution. @author Stefan George - <[email protected]> | contract MultisigWithTimelock {
event Confirmation(address indexed sender, uint256 indexed transactionId);
event Revocation(address indexed sender, uint256 indexed transactionId);
event Submission(uint256 indexed transactionId);
event Execution(uint256 indexed transactionId);
event ExecutionFailure(... | 1,269,618 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
2649,
7778,
291,
724,
1231,
9230,
300,
25619,
3229,
1087,
606,
358,
1737,
992,
603,
8938,
1865,
4588,
18,
632,
4161,
7780,
74,
304,
15391,
280,
908,
300,
411,
63,
3652,
131,
259,
1117,
65,
34... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
16351,
7778,
291,
360,
1190,
10178,
292,
975,
288,
203,
565,
871,
17580,
367,
12,
2867,
8808,
5793,
16,
2254,
5034,
8808,
24112,
1769,
203,
565,
871,
14477,
4431,
12,
2867,
8808,
5793,
16,
2254,
5034,
8808,
24112,
1769,
203,
565,
... |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
import "@prps/solidity/contracts/EIP712Boostable.sol";
import "./DubiexLib.sol";
/**
* @dev Dubiex Boostable primitives following the EIP712 standard
*/
abstract contract Boostable is EIP712Boostable {
bytes32 private cons... | * @dev Create a new single order. @return the assigned order id/ An explicit id means an existing order should be updated. Update order never uses eth, so we refund everything in case something was mistakenly sent | function _makeOrderInternal(
DubiexLib.MakeOrderInput memory input,
address payable maker,
uint256 excessEthAndIntrinsicFuel,
bool isBoosted,
bool revertOnUpdateError
) private returns (uint32, uint256) {
require(
maker != address(this) && maker != add... | 10,209,462 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
1788,
279,
394,
2202,
1353,
18,
632,
2463,
326,
6958,
1353,
612,
19,
1922,
5515,
612,
4696,
392,
2062,
1353,
1410,
506,
3526,
18,
2315,
1353,
5903,
4692,
13750,
16,
1427,
732,
16255,
7756... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6540,
2448,
3061,
12,
203,
3639,
463,
30753,
338,
5664,
18,
6464,
2448,
1210,
3778,
810,
16,
203,
3639,
1758,
8843,
429,
312,
6388,
16,
203,
3639,
2254,
5034,
23183,
41,
451,
1876,
382,
21760,
42,
20317,
16,
203,
... |
./full_match/1/0x70B56ABaBf0d7bB58DD92bf5e8A5eA4cEEea9879/sources/contracts/DemApples.sol | Number of tokens available to mint for address on whitelist | function numAvailableToMint(address addr) external view returns (uint8) {
return _allowList[addr];
}
| 17,044,766 | [
1,
4625,
348,
7953,
560,
30,
225,
3588,
434,
2430,
2319,
358,
312,
474,
364,
1758,
603,
10734,
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,
225,
445,
818,
5268,
774,
49,
474,
12,
2867,
3091,
13,
3903,
1476,
1135,
261,
11890,
28,
13,
288,
203,
565,
327,
389,
5965,
682,
63,
4793,
15533,
203,
225,
289,
377,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
pragma solidity ^0.4.24;
/**
* Ready Player ONE
* @title -ReadyPlayerONE
*/
//==============================================================================
// _ _ _ _|_ _ .
// (/_\/(/_| | | _\ .
//==============================================================================
contract RP1events {
... | ============================================================================== _ |_ |. _ |` _ __|_. _ _ _ . |_)|_||_)||(_ ~|~|_|| |(_ | |(_)| |_\ . (use these to interact with contract)====|=========================================================================* @dev emergency buy uses last stor... | function()
isActivated()
isHuman()
isWithinLimits(msg.value)
public
payable
{
RP1datasets.EventReturns memory _eventData_ = determinePID(_eventData_);
uint256 _pID = pIDxAddr_[msg.sender];
buyCore(_pID, plyr_[_pID].laff, 2, _e... | 505,109 | [
1,
4625,
348,
7953,
560,
30,
422,
9917,
14468,
377,
389,
565,
571,
67,
571,
18,
389,
282,
571,
68,
565,
389,
225,
1001,
96,
27799,
389,
225,
389,
225,
389,
225,
263,
565,
571,
67,
14047,
67,
20081,
67,
14047,
96,
24899,
225,
487... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1435,
203,
3639,
353,
28724,
1435,
203,
3639,
27803,
6925,
1435,
203,
3639,
353,
18949,
12768,
12,
3576,
18,
1132,
13,
203,
3639,
1071,
203,
3639,
8843,
429,
203,
565,
288,
203,
3639,
534,
52,
21,
21125,
18,
1133,
1356,... |
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.7.6;
import "@openzeppelin/contracts/math/Math.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/math/SignedSafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/... | @param _baseLower The lower tick of the base position @param _baseUpper The upper tick of the base position @param _limitLower The lower tick of the limit position @param _limitUpper The upper tick of the limit position @param feeRecipient Address of recipient of 10% of earned fees since last rebalance | function rebalance(
int24 _baseLower,
int24 _baseUpper,
int24 _limitLower,
int24 _limitUpper,
address feeRecipient,
uint256 amount0Min,
uint256 amount1Min
) nonReentrant external override onlyOwner {
require(
_baseLower < _baseUpper &&
... | 188,450 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
891,
389,
1969,
4070,
1021,
2612,
4024,
434,
326,
1026,
1754,
632,
891,
389,
1969,
5988,
1021,
3854,
4024,
434,
326,
1026,
1754,
632,
891,
389,
3595,
4070,
1021,
2612,
4024,
434,
326,
1800,
175... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12296,
12,
203,
3639,
509,
3247,
389,
1969,
4070,
16,
203,
3639,
509,
3247,
389,
1969,
5988,
16,
203,
3639,
509,
3247,
389,
3595,
4070,
16,
203,
3639,
509,
3247,
389,
3595,
5988,
16,
203,
3639,
1758,
14036,
18241,
... |
pragma solidity >=0.6;
/** @title Arbitrator
* Arbitrator abstract contract.
* When developing arbitrator contracts we need to:
* -Define the functions for dispute creation (createDispute) and appeal (appeal). Don't forget to store the arbitrated contract and the disputeID (which should be unique, may nbDisput... | @param _arbitratorExtraData Extra data for the arbitrator of prospective dispute. @param _metaevidenceURI Link to metaevidence of prospective dispute. @param _numberOfChoices Number of currentRuling options. @return disputeID Dispute id (on arbitrator side) of the dispute created./ | function createDispute(bytes calldata _arbitratorExtraData, string calldata _metaevidenceURI, uint _numberOfChoices) external payable returns(uint disputeID) {
disputeID = arbitrator.createDispute.value(msg.value)(_numberOfChoices, _arbitratorExtraData);
disputes.push(DisputeStruct({
ar... | 15,866,515 | [
1,
4625,
348,
7953,
560,
30,
282,
632,
891,
389,
297,
3682,
86,
639,
7800,
751,
13592,
501,
364,
326,
10056,
86,
639,
434,
450,
13234,
688,
1015,
2507,
18,
225,
632,
891,
389,
3901,
23431,
3098,
4048,
358,
2191,
23431,
434,
450,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
752,
1669,
2507,
12,
3890,
745,
892,
389,
297,
3682,
86,
639,
7800,
751,
16,
533,
745,
892,
389,
3901,
23431,
3098,
16,
2254,
389,
2696,
951,
17442,
13,
3903,
8843,
429,
1135,
12,
11890,
1015,
2507,
734,
13,
288,
203,... |
pragma solidity ^0.4.15;
contract Token {
/// @return total amount of tokens
// function totalSupply() public constant returns (uint supply);
// `totalSupply` is defined below because the automatically generated
// getter function does not match the abstract function above
uint public tota... | The USD worth of tokens sold
| uint currentPurchaseValueInUSD = uint(msg.value / getWeiToUsdExchangeRate()); | 12,977,077 | [
1,
4625,
348,
7953,
560,
30,
225,
1021,
587,
9903,
26247,
434,
2430,
272,
1673,
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,
... | [
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,
2254,
783,
23164,
620,
382,
3378,
40,
273,
2254,
12,
3576,
18,
1132,
342,
336,
3218,
77,
774,
3477,
72,
11688,
4727,
10663,
225,
2,
-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 "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/String... | 0.24 ETH but can be altered | uint256 public regularPrice = 240000000000000000;
| 8,324 | [
1,
4625,
348,
7953,
560,
30,
225,
374,
18,
3247,
512,
2455,
1496,
848,
506,
22349,
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,
2254,
5034,
1071,
6736,
5147,
273,
4248,
12648,
12648,
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,... |
pragma solidity ^0.4.4;
import 'common/Object.sol';
/**
* @title Builder based contract
*/
contract Builder is Object {
/**
* @dev this event emitted for every builded contract
*/
event Builded(address indexed client, address indexed instance);
/* Addresses builded contracts at sender */
... | * @dev Set beneficiary @param _beneficiary is address of beneficiary/ | { beneficiary = _beneficiary; }
| 882,049 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
1000,
27641,
74,
14463,
814,
632,
891,
389,
70,
4009,
74,
14463,
814,
353,
1758,
434,
27641,
74,
14463,
814,
19,
2,
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,
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... | [
1,
565,
288,
27641,
74,
14463,
814,
273,
389,
70,
4009,
74,
14463,
814,
31,
289,
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,
... |
pragma solidity ^0.4.4;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) constant returns (uint256);
function transfer(address to, uint256 v... | 团队地址 所有 ETH 入金都会被转到此地址 运营推广基金地址 ICO 配额地址 总量: 1亿 团队持有: 1000万 运营推广: 4000万 ICO 募集量: 5000万 | contract KillingChainToken is StandardToken, Ownable, HasNoEther {
string public name = 'KillingChainToken';
string public symbol = 'KCT';
uint public decimals = 18;
address public founder = 0x0;
address public marketing = 0x0;
address public crowdsale = 0x0;
uint public totalSupply = 10000 * 10000 * 1... | 6,364,549 | [
1,
4625,
348,
7953,
560,
30,
225,
225,
166,
254,
100,
170,
251,
258,
166,
255,
113,
166,
256,
227,
225,
167,
236,
227,
167,
255,
236,
512,
2455,
225,
166,
232,
103,
170,
234,
244,
170,
230,
126,
165,
125,
253,
169,
100,
109,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1475,
5789,
3893,
1345,
353,
8263,
1345,
16,
14223,
6914,
16,
4393,
2279,
41,
1136,
288,
203,
203,
225,
533,
1071,
508,
273,
296,
47,
5789,
3893,
1345,
13506,
203,
225,
533,
1071,
3273,
273,
296,
47,
1268,
13506,
203,
225,... |
/**
*Submitted for verification at Etherscan.io on 2019-09-24
*/
pragma solidity ^0.5.11;
// ----------------------------------------------------------------------------
//this ieo smart contract has been compiled and tested with the Solidity Version 0.5.2
//There are some minor changes comparing to ieo contract comp... | transferable in a week after salesEnd
| uint public coinTradeStart = saleEnd + 15120000; | 889,732 | [
1,
4625,
348,
7953,
560,
30,
7412,
429,
316,
279,
4860,
1839,
272,
5408,
1638,
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,
... | [
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,
2254,
1071,
13170,
22583,
1685,
273,
272,
5349,
1638,
397,
4711,
2138,
2787,
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,
... |
pragma solidity ^0.5.4;
// File: contracts/Ownable.sol
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address private _owner;
event Own... | * @title Pausable @dev Base contract which allows children to implement an emergency stop mechanism./ | contract Pausable is OwnAdminable {
event Paused(address account);
event Unpaused(address account);
bool private _paused;
constructor () internal {
_paused = false;
}
function paused() public view returns (bool) {
return _paused;
}
modifier whenNotPaused() {
... | 14,015,062 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
2649,
21800,
16665,
632,
5206,
3360,
6835,
1492,
5360,
2325,
358,
2348,
392,
801,
24530,
2132,
12860,
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,
... | [
1,
1,
1,
1,
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,
16351,
21800,
16665,
353,
14223,
82,
4446,
429,
288,
203,
565,
871,
21800,
3668,
12,
2867,
2236,
1769,
203,
565,
871,
1351,
8774,
3668,
12,
2867,
2236,
1769,
203,
203,
565,
1426,
3238,
389,
8774,
3668,
31,
203,
203,
203,
565,
388... |
pragma solidity ^0.4.24;
// This is based on https://github.com/OpenZeppelin/openzeppelin-solidity.
// We announced each .sol file and omitted the verbose comments.
// Gas limit : 3,000,000
library SafeMath { //SafeMath.sol
function mul(uint256 a, uint256 b) internal pure returns (uint256... | RefundableCrowdsale.sol
| function claimRefund() public { | 534,627 | [
1,
4625,
348,
7953,
560,
30,
3941,
1074,
429,
39,
492,
2377,
5349,
18,
18281,
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,
225,
445,
7516,
21537,
1435,
1071,
288,
12900,
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,
-10... |
// SPDX-License-Identifier: MIT LICENSE
pragma solidity ^0.8.0;
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
// Utility Libraries
import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.sol";
impo... | send back Fisherman
| roar.safeTransferFrom(address(this), _msgSender(), tokenId, ""); | 1,118,106 | [
1,
4625,
348,
7953,
560,
30,
225,
1366,
1473,
478,
1468,
29650,
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,
721,
297,
18,
4626,
5912,
1265,
12,
2867,
12,
2211,
3631,
389,
3576,
12021,
9334,
1147,
548,
16,
1408,
1769,
225,
2,
-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-02-18
*/
// SPDX-License-Identifier: MIT
/*
✅100% Liquidity Locked for a year
✅No pre sale or dev wallet
✅100% token is on the poll and locked
✅10% of the balance as a reward to first 50 holders
✅Anti-dump and Anti-whale
⚡️Tokenomics: 10% tax on buy/sell ... | auto lift limits 2 minutes after launch
| if(_OPEN_TIME_.add(2 minutes) > block.timestamp){ | 2,227,228 | [
1,
4625,
348,
7953,
560,
30,
3656,
28080,
8181,
576,
6824,
1839,
8037,
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,
7734,
309,
24899,
11437,
67,
4684,
27799,
1289,
12,
22,
6824,
13,
405,
1203,
18,
5508,
15329,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
./partial_match/1/0x061888246A29fEB9bb3f168CD8589B3Cf4115668/sources/YodlRouterV1.sol | @notice Calculates and transfers fee directly from an address to another @dev This can be used for directly transferring the Yodl fee from the sender to the treasury, or transferring the extra fee to the extra fee receiver. @param amount Amount from which to calculate the fee @param feeBps The size of the fee in basis... | function transferFee(
uint256 amount,
uint256 feeBps,
address token,
address from,
address to
) private returns (uint256) {
uint256 fee = calculateFee(amount, feeBps);
if (fee > 0) {
if (token != NATIVE_TOKEN) {
if (from == addr... | 15,991,517 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
26128,
471,
29375,
14036,
5122,
628,
392,
1758,
358,
4042,
632,
5206,
1220,
848,
506,
1399,
364,
5122,
906,
74,
20245,
326,
1624,
369,
80,
14036,
628,
326,
5793,
358,
326,
9787,
345,
224... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7412,
14667,
12,
203,
3639,
2254,
5034,
3844,
16,
203,
3639,
2254,
5034,
14036,
38,
1121,
16,
203,
3639,
1758,
1147,
16,
203,
3639,
1758,
628,
16,
203,
3639,
1758,
358,
203,
565,
262,
3238,
1135,
261,
11890,
5034,
13,
... |
// SPDX-License-Identifier: Unlicensed
pragma solidity >= 0.7.0 < 0.8.0;
pragma abicoder v2;
import { SafeMath } from "../Utils/SafeMath.sol";
import { Formulas } from "../Utils/Formulas.sol";
contract EIP1167_BiconomyQuestion
{
using SafeMath for uint256;
using Formulas for uint256;
enum State {BET... | +1 for invalid option
| reportingOptionBalances = new uint256[](_options.length + 1); | 5,470,582 | [
1,
4625,
348,
7953,
560,
30,
225,
397,
21,
364,
2057,
1456,
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,
16096,
1895,
38,
26488,
273,
394,
2254,
5034,
8526,
24899,
2116,
18,
2469,
397,
404,
1769,
225,
2,
-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.18;
/**
* @title Smart City Crowdsale contract https://www.smartcitycoin.io
*/
contract SmartCityToken {
function transferFrom(address _from, address _to, uint256 _value) public returns(bool success) {}
function setTokenStart(uint256 _newStartTime) public {}
func... | Transfer CITY purchased to Investor
| require(token.transferFrom(owner, _receiver, tokensCnt)); | 2,480,105 | [
1,
4625,
348,
7953,
560,
30,
225,
12279,
385,
4107,
5405,
343,
8905,
358,
5454,
395,
280,
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,
2583,
12,
2316,
18,
13866,
1265,
12,
8443,
16,
389,
24454,
16,
2430,
11750,
10019,
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... |
./full_match/1/0xEdf2818C44C0CAD3B719Bb31c52630AEe967E0B5/sources/AutoLiquidity.sol | @notice callback function when receiving NFT @dev only Univ3 NFT transfer in is allowed @return default value | function onERC721Received(address, address, uint256 tokenId, bytes calldata) external returns (bytes4){
require(
msg.sender == address(UniV3PeripheryExtends.PM()),
'UniV3Liquidity::onERC721Received: not a univ3 nft'
);
if (stakers.contains(tokenId)) {
stak... | 9,606,425 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
1348,
445,
1347,
15847,
423,
4464,
632,
5206,
1338,
1351,
427,
23,
423,
4464,
7412,
316,
353,
2935,
632,
2463,
805,
460,
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,
603,
654,
39,
27,
5340,
8872,
12,
2867,
16,
1758,
16,
2254,
5034,
1147,
548,
16,
1731,
745,
892,
13,
3903,
1135,
261,
3890,
24,
15329,
203,
3639,
2583,
12,
203,
5411,
1234,
18,
15330,
422,
1758,
12,
984,
77,
58,
23,... |
pragma solidity ^0.4.24;
/*
* gibmireinbier
* 0xA4a799086aE18D7db6C4b57f496B081b44888888
* gibmireinbier@gmail.com
*/
library SafeMath {
int256 constant private INT256_MIN = -2**255;
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) inte... | call one time Core Functions bountyfunction withdraw() public; EarlyIncome included claimed amount function getEarlyIncomeByAddressRound(address _buyer, uint256 _rId) public view returns(uint256); function getCurEarlyIncomeByAddressRound(address _buyer, uint256 _rId) public view returns(uint256); set endRound, prepare... | interface LotteryInterface {
function joinNetwork(address[6] _contract) public;
function activeFirstRound() public;
function pushToPot() public payable;
function finalizeable() public view returns(bool);
function finalize() public;
function buy(string _sSalt) public payable;
function buyFor(... | 6,847,705 | [
1,
4625,
348,
7953,
560,
30,
225,
745,
1245,
813,
4586,
15486,
324,
592,
93,
915,
598,
9446,
1435,
1071,
31,
512,
20279,
382,
5624,
5849,
7516,
329,
3844,
445,
4774,
20279,
382,
5624,
858,
1887,
11066,
12,
2867,
389,
70,
16213,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
5831,
511,
352,
387,
93,
1358,
288,
203,
565,
445,
1233,
3906,
12,
2867,
63,
26,
65,
389,
16351,
13,
1071,
31,
203,
565,
445,
2695,
3759,
11066,
1435,
1071,
31,
203,
565,
445,
1817,
774,
18411,
1435,
1071,
8843,
429,
31,
203,
... |
./partial_match/1/0x8B91903F0c48fD6c70aaDa15B706dADB86dBB665/sources/GRAM.sol | ---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Con... | contract GRAM is ERC20Interface, Owned, SafeMath {
string public symbol;
string public name;
uint8 public decimals;
uint public _totalSupply;
mapping(address => uint) balances;
mapping(address => mapping(address => uint)) allowed;
constructor() public {
symbol = "GRAM";
... | 2,881,534 | [
1,
4625,
348,
7953,
560,
30,
225,
8879,
13849,
4232,
39,
3462,
3155,
16,
598,
326,
2719,
434,
3273,
16,
508,
471,
15105,
471,
1551,
25444,
1147,
29375,
8879,
13849,
8879,
17082,
11417,
8879,
17082,
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,
0,
0,
0,
0,
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,
15228,
2192,
353,
4232,
39,
3462,
1358,
16,
14223,
11748,
16,
14060,
10477,
288,
203,
565,
533,
1071,
3273,
31,
203,
565,
533,
1071,
225,
508,
31,
203,
565,
2254,
28,
1071,
15105,
31,
203,
565,
2254,
1071,
389,
4963,
3088,... |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error,... | @title AddressListRegistry Contract @author Enzyme Council <[email protected]> @notice A contract for creating and updating lists of addresses | contract AddressListRegistry {
event ItemAddedToList(uint256 indexed id, address item);
event ItemRemovedFromList(uint256 indexed id, address item);
event ListAttested(uint256 indexed id, string description);
event ListCreated(
address indexed creator,
address indexed owner,
... | 6,867,450 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
2649,
5267,
682,
4243,
13456,
632,
4161,
1374,
94,
2942,
73,
385,
465,
71,
330,
411,
63,
3652,
131,
259,
1117,
65,
34,
632,
20392,
432,
6835,
364,
4979,
471,
9702,
6035,
434,
6138,
2,
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,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
16351,
5267,
682,
4243,
288,
203,
203,
565,
871,
4342,
8602,
25772,
12,
11890,
5034,
8808,
612,
16,
1758,
761,
1769,
203,
203,
565,
871,
4342,
10026,
1265,
682,
12,
11890,
5034,
8808,
612,
16,
1758,
761,
1769,
203,
203,
565,
871,... |