file_name stringlengths 71 779k | comments stringlengths 20 182k | code_string stringlengths 20 36.9M | __index_level_0__ int64 0 17.2M | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|---|
//SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.7.0;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "../interfaces/IOperationsRegistry.sol";
import "../interfaces/IEurPriceFeed.sol";
/**
* @title Authorization
* @author Protofire
* ... | * @dev Adds `_amount` converted to ERU to the balance traded by `_user` for an `_operation` Requirements: - the caller must be an allowed asset. @param _user user's address @param _operation msg.sig of the function considered an operation. @param _amount asset amount which is converted to EUR and added to balance trade... | function addTrade(
address _user,
bytes4 _operation,
uint256 _amount
) external override onlyAllowedAsset {
uint256 currentBalance = tradingBalanceByOperation[_user][_operation];
tradingBalanceByOperation[_user][_operation] = currentBalance.add(
IEurPriceFeed(... | 14,716,309 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
15605,
1375,
67,
8949,
68,
5970,
358,
4232,
57,
358,
326,
11013,
1284,
785,
635,
1375,
67,
1355,
68,
364,
392,
1375,
67,
7624,
68,
29076,
30,
300,
326,
4894,
1297,
506,
392,
2935,
3310,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22583,
12,
203,
3639,
1758,
389,
1355,
16,
203,
3639,
1731,
24,
389,
7624,
16,
203,
3639,
2254,
5034,
389,
8949,
203,
565,
262,
3903,
3849,
1338,
5042,
6672,
288,
203,
3639,
2254,
5034,
783,
13937,
273,
1284,
7459,... |
// SPDX-License-Identifier: Apache-2.0
/*
Copyright 2020 ZeroEx Intl.
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 a... | Balancer math constants https:github.com/balancer-labs/balancer-core/blob/master/contracts/BConst.sol | contract BalancerSampler {
uint256 constant private BONE = 10 ** 18;
uint256 constant private MAX_IN_RATIO = BONE / 2;
uint256 constant private MAX_OUT_RATIO = (BONE / 3) + 1 wei;
struct BalancerState {
uint256 takerTokenBalance;
uint256 makerTokenBalance;
uint256 takerToken... | 5,405,849 | [
1,
4625,
348,
7953,
560,
30,
225,
605,
5191,
4233,
6810,
2333,
30,
6662,
18,
832,
19,
18770,
17,
80,
5113,
19,
18770,
17,
3644,
19,
10721,
19,
7525,
19,
16351,
87,
19,
38,
9661,
18,
18281,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
605,
5191,
26243,
288,
203,
203,
203,
565,
2254,
5034,
5381,
3238,
605,
5998,
273,
1728,
2826,
6549,
31,
203,
565,
2254,
5034,
5381,
3238,
4552,
67,
706,
67,
54,
789,
4294,
273,
605,
5998,
342,
576,
31,
203,
565,
2254,
5... |
/**
Cheep Cheep
.---.
_ / ' .---.
>| o ` `\
` \ .---._ '._ ,
'-.; /` /'
\ '._.' /
'. .'
`";--\_/
_/_ |
-'`/ .--;--
' .'
*/
// SPDX-License-Identifier: MIT
pragma sol... | exclude from paying fees or having max transaction amount | constructor() ERC20("Cheep", "CHEEP") {
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
excludeFromMaxTransaction(address(_uniswapV2Router), true);
uniswapV2Router = _uniswapV2Router;
uniswapV2Pair = IUniswapV2Factory(_unisw... | 6,039,178 | [
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,
39,
580,
881,
3113,
315,
5007,
10541,
7923,
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,
... |
./full_match/1/0x342ef3935B94c2156EAa38fceE303830884E219b/sources/contracts/AlphaStrategy.sol | additional storage slots (on top of BaseUpgradeableStrategy ones) are defined here | contract AlphaStrategy is BaseUpgradeableStrategy {
using SafeMath for uint256;
using SafeERC20 for IERC20;
bytes32 internal constant _SLP_POOLID_SLOT = 0x8956ecb40f9dfb494a392437d28a65bb0ddc57b20a9b6274df098a6daa528a72;
bytes32 internal constant _ONX_FARM_POOLID_SLOT = 0x1da1707f101f5a1bf84020973bd9ccafa38ae... | 16,588,907 | [
1,
4625,
348,
7953,
560,
30,
225,
3312,
2502,
12169,
261,
265,
1760,
434,
3360,
10784,
429,
4525,
5945,
13,
854,
2553,
2674,
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,
16351,
24277,
4525,
353,
3360,
10784,
429,
4525,
288,
203,
203,
225,
1450,
14060,
10477,
364,
2254,
5034,
31,
203,
225,
1450,
14060,
654,
39,
3462,
364,
467,
654,
39,
3462,
31,
203,
203,
225,
1731,
1578,
2713,
5381,
389,
4559,
52... |
// Сочетаемость глаголов (и отглагольных частей речи) с предложным
// паттерном.
// LC->07.08.2018
facts гл_предл language=Russian
{
arity=3
//violation_score=-5
generic
return=boolean
}
#define ГЛ_ИНФ(v) инфинитив:v{}, глагол:v{}
#region Предлог_В
// ------------------- С ПРЕДЛОГОМ 'В' -----------------------... | На вершине они остановились, строясь в круг. (СТРОИТЬСЯ,ПОСТРОИТЬСЯ,ВЫСТРОИТЬСЯ)
| rus_verbs:СТРОИТЬСЯ{}, | 5,482,717 | [
1,
4625,
348,
7953,
560,
30,
225,
225,
145,
256,
145,
113,
225,
225,
145,
115,
145,
118,
146,
227,
146,
235,
145,
121,
145,
126,
145,
118,
225,
225,
145,
127,
145,
126,
145,
121,
225,
145,
127,
146,
228,
146,
229,
145,
113,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
436,
407,
67,
502,
2038,
30,
145,
99,
145,
100,
145,
259,
145,
257,
145,
251,
145,
100,
145,
110,
145,
99,
145,
112,
2916,
16,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
pragma solidity >=0.8.0 <0.9.0;
// SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./ApproveAndCallFallBack.sol";
import "./BancorFormula.sol";
// learn more: https://docs.openzeppelin.com/contracts/3.x/erc20
contract ... | * @dev Anyone can create an Orientation. You can also restrict it, adding an onlyOwner modifier @param _id bytes32 unique identifier. @param _amount of tokens to stake on initial ranking. @param _metadata metadata hex string/ | function createOrientation(bytes32 _id, uint _amount, bytes32 _metadata) external {
_createOrientation(
msg.sender,
_id,
_amount,
_metadata);
}
| 915,821 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
5502,
476,
848,
752,
392,
531,
12556,
18,
4554,
848,
2546,
13108,
518,
16,
6534,
392,
1338,
5541,
9606,
632,
891,
389,
350,
1731,
1578,
3089,
2756,
18,
632,
891,
389,
8949,
434,
2430,
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,
0,
0,
0,
0,
0... | [
1,
565,
445,
752,
14097,
12,
3890,
1578,
389,
350,
16,
2254,
389,
8949,
16,
1731,
1578,
389,
4165,
13,
3903,
288,
203,
3639,
389,
2640,
14097,
12,
203,
5411,
1234,
18,
15330,
16,
203,
5411,
389,
350,
16,
203,
5411,
389,
8949,
16,
... |
pragma solidity ^0.4.24;
import "./OmniCAT.sol";
contract Dass42 is OmniCAT {
function setScores(address _contributor, uint8[42] _values) public payable {
uint8 i = 0;
while(i < 42) {
contributors[_contributor].dass42[i] = _values[i++];
}
contributors[_contributor].hasC... | Stress statements # 1, 6, 8, 11, 12, 14, 18, 22, 27, 29, 32, 33, 35, 39 | function getStressScores(address _contributor) internal view returns (uint8 _s) {
_s = contributors[_contributor].dass42[0];
_s += contributors[_contributor].dass42[5];
_s += contributors[_contributor].dass42[7];
_s += contributors[_contributor].dass42[10];
_s += contributors... | 13,054,778 | [
1,
4625,
348,
7953,
560,
30,
225,
934,
663,
6317,
468,
404,
16,
1666,
16,
1725,
16,
4648,
16,
2593,
16,
5045,
16,
6549,
16,
11201,
16,
12732,
16,
12899,
16,
3847,
16,
13159,
16,
13191,
16,
16977,
2,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
21491,
663,
20037,
12,
2867,
389,
591,
19293,
13,
2713,
1476,
1135,
261,
11890,
28,
389,
87,
13,
288,
203,
3639,
389,
87,
273,
13608,
13595,
63,
67,
591,
19293,
8009,
72,
428,
9452,
63,
20,
15533,
203,
3639,
389,
87,
... |
/**
*Submitted for verification at Etherscan.io on 2020-07-06
*/
// File: contracts/sol6/utils/zeppelin/SafeMath.sol
pragma solidity 0.6.6;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in... | event is fired if something is wrong with withdrawal even though the withdrawal is still successful | event WithdrawDataUpdateFailed(uint256 curEpoch, address staker, uint256 amount);
| 1,774,680 | [
1,
4625,
348,
7953,
560,
30,
225,
871,
353,
15950,
309,
5943,
353,
7194,
598,
598,
9446,
287,
5456,
11376,
326,
598,
9446,
287,
353,
4859,
6873,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
871,
3423,
9446,
751,
1891,
2925,
12,
11890,
5034,
662,
14638,
16,
1758,
384,
6388,
16,
2254,
5034,
3844,
1769,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
/* Orgon.Sale */
pragma solidity ^0.4.21; //v8
library SafeMath {
/**
* Add two uint256 values, throw in case of overflow.
* @param x first value to add
* @param y second value to add
* @return x + y
*/
function add (uint256 x, uint256 y) internal pure returns (uint256 z) {
z = x + ... | * Total number of tokens in circulation */ | uint256 private price;
| 13,070,866 | [
1,
4625,
348,
7953,
560,
30,
380,
10710,
1300,
434,
2430,
316,
5886,
1934,
367,
1195,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
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,
3238,
6205,
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,
-100,
... |
./partial_match/42/0x4E657A526b7f12695A9388b6462CA4eFBF68AC2D/sources/CompoundLeverageModule.sol | Dependency file: contracts/protocol/lib/Invoke.sol/ pragma solidity 0.6.10; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { SafeMath } from "@openzeppelin/contracts/math/SafeMath.sol"; import { ISetToken } from "contracts/interfaces/ISetToken.sol";* @title Invoke @author Set Protocol ... | library Invoke {
using SafeMath for uint256;
function invokeApprove(
ISetToken _setToken,
address _token,
address _spender,
uint256 _quantity
)
internal
function addComponent(address _component) external;
function removeComponent(address _component) external... | 9,090,379 | [
1,
4625,
348,
7953,
560,
30,
225,
11993,
585,
30,
20092,
19,
8373,
19,
2941,
19,
10969,
18,
18281,
19,
10878,
18035,
560,
374,
18,
26,
18,
2163,
31,
1930,
288,
467,
654,
39,
3462,
289,
628,
8787,
3190,
94,
881,
84,
292,
267,
19,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
12083,
14373,
288,
203,
565,
1450,
14060,
10477,
364,
2254,
5034,
31,
203,
203,
203,
565,
445,
4356,
12053,
537,
12,
203,
3639,
467,
694,
1345,
389,
542,
1345,
16,
203,
3639,
1758,
389,
2316,
16,
203,
3639,
1758,
389,
87,
1302,
... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
import "./openzeppelin/token/ERC20/ERC20Upgradeable.sol";
import "./openzeppelin/access/AccessControlUpgradeable.sol";
import "./openzeppelin/security/PausableUpgradeable.sol";
import "./interface/IClaimable.sol";
import "./interface/ILabGame.sol";
error NotRe... | * @dev This empty reserved space is put in place to allow future versions to add new variables without shifting down storage in the inheritance chain./ SPDX-License-Identifier: MIT OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) Modified to use custom errors instead of require strings* @dev Cont... | abstract contract AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable {
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
function _afterTokenTransfer(
address from,
address to,
uint256... | 14,890,586 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
1220,
1008,
8735,
3476,
353,
1378,
316,
3166,
358,
1699,
3563,
5244,
358,
527,
394,
3152,
2887,
699,
430,
1787,
2588,
2502,
316,
326,
16334,
2687,
18,
19,
11405,
28826,
17,
13211,
17,
300... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
17801,
6835,
24349,
10784,
429,
353,
10188,
6934,
16,
1772,
10784,
429,
16,
467,
16541,
10784,
429,
16,
4232,
39,
28275,
10784,
429,
288,
203,
565,
445,
389,
5771,
1345,
5912,
12,
203,
3639,
1758,
628,
16,
203,
3639,
1758,
358,
1... |
pragma solidity 0.5.1;
library RsaVerify {
function memcpy(
uint256 _dest,
uint256 _src,
uint256 _len
) internal pure {
// Copy word-length chunks while possible
for (; _len >= 32; _len -= 32) {
assembly {
mstore(_dest, mload(_src))
... | EM = 0x00 || 0x01 || PS || 0x00 || T | uint256 emLen = _n.length;
| 5,524,267 | [
1,
4625,
348,
7953,
560,
30,
225,
7141,
273,
374,
92,
713,
747,
374,
92,
1611,
747,
26320,
747,
374,
92,
713,
747,
399,
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,
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,
3639,
2254,
5034,
801,
2891,
273,
389,
82,
18,
2469,
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... |
pragma solidity ^0.5.0;
//p3Dank.io
//send 0.25 ETH to contract to purchase 3 plants.
//you can only rebuy when you have ZERO plants
//contract will take all ether sent and add it to the pot >>>NO REFUNDS<<<
//only send 0.25 ether, no more, no less
//Block plant, Chain plant, Fork plant
//BLOCK smashes fork
//... | house sell function
| function sellhouse (uint256 selling) canmove() public { | 888,934 | [
1,
4625,
348,
7953,
560,
30,
225,
23867,
357,
80,
445,
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,
565,
445,
357,
80,
13028,
261,
11890,
5034,
357,
2456,
13,
848,
8501,
1435,
1071,
288,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
/**
* Copyright 2017-2020, bZeroX, LLC <https://bzx.network/>. All Rights Reserved.
* Licensed under the Apache License, Version 2.0.
*/
pragma solidity 0.5.17;
pragma experimental ABIEncoderV2;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations i... | * @notice Delegate votes from `msg.sender` to `delegatee` @param delegatee The address to delegate votes to/ | function delegate(address delegatee) external {
if(delegatee == ZERO_ADDRESS){
delegatee = msg.sender;
}
return _delegate(msg.sender, delegatee);
}
| 260,329 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
27687,
19588,
628,
1375,
3576,
18,
15330,
68,
358,
1375,
22216,
73,
68,
632,
891,
7152,
73,
1021,
1758,
358,
7152,
19588,
358,
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,
565,
445,
7152,
12,
2867,
7152,
73,
13,
3903,
288,
203,
3639,
309,
12,
22216,
73,
422,
18449,
67,
15140,
15329,
203,
5411,
7152,
73,
273,
1234,
18,
15330,
31,
203,
3639,
289,
203,
3639,
327,
389,
22216,
12,
3576,
18,
15330,
16,... |
pragma solidity ^0.4.11;
import '../zeppelin-solidity/contracts/token/StandardToken.sol';
import '../zeppelin-solidity/contracts/ownership/Ownable.sol';
import '../zeppelin-solidity/contracts/math/SafeMath.sol';
//import 'github.com/OpenZeppelin/zeppelin-solidity/contracts/token/StandardToken.sol';
//import 'github.co... | start of the rewarding peroid
| uint rewardStart; | 15,842,698 | [
1,
4625,
348,
7953,
560,
30,
225,
787,
434,
326,
19890,
310,
1534,
839,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
2254,
19890,
1685,
31,
565,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more ab... | sets uri for a token | function _setTokenURI(uint256 tokenId, string memory _tokenURI)
internal isValidId(tokenId)
virtual
{
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
_tokenURIs[tokenId] = _tokenURI;
}
| 439,229 | [
1,
4625,
348,
7953,
560,
30,
225,
1678,
2003,
364,
279,
1147,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
389,
542,
1345,
3098,
12,
11890,
5034,
1147,
548,
16,
533,
3778,
389,
2316,
3098,
13,
203,
3639,
2713,
4908,
548,
12,
2316,
548,
13,
203,
3639,
5024,
203,
565,
288,
203,
3639,
2583,
24899,
1808,
12,
2316,
548,
3631,
3... |
// SPDX-License-Identifier: MIT
pragma solidity >= 0.6.2;
pragma experimental ABIEncoderV2;
import "../node_modules/@openzeppelin/contracts/math/SafeMath.sol";
contract FlightSuretyData {
using SafeMath for uint256;
/*******************************************************************************************... | * @dev Returns credit of a passenger/ | function getCredit(address passenger) view external requireAuthorizedCaller returns(uint256){
return credit[passenger];
}
| 12,790,684 | [
1,
4625,
348,
7953,
560,
30,
380,
225,
632,
5206,
2860,
12896,
434,
279,
1342,
14348,
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,... | [
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,
1927,
10430,
12,
2867,
1342,
14348,
13,
1476,
3903,
2583,
15341,
11095,
1135,
12,
11890,
5034,
15329,
203,
3639,
327,
12896,
63,
5466,
14348,
15533,
540,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.12;
import "@openzeppelin/contracts/access/Ownable.sol";
/**
* @title voting
* @author Mourad M.
* @notice Implementation of Voting system. Exercice for Alyra
Voting is not secret
Each voter can see other people's votes
The winner... | * @notice register a voter by his address. @param addressToRegister address voter to register Can only be called by the admin./ | function registerVoter(address addressToRegister) external onlyOnStatus(WorkflowStatus.RegisteringVoters) onlyOwner {
require(!voters[addressToRegister].isRegistered, "Voter already registred");
voters[addressToRegister].isRegistered = true;
emit VoterRegistered(addressToRegister);
}
| 12,880,639 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
1744,
279,
331,
20005,
635,
18423,
1758,
18,
632,
891,
1758,
774,
3996,
1758,
331,
20005,
358,
1744,
4480,
1338,
506,
2566,
635,
326,
3981,
18,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
1744,
58,
20005,
12,
2867,
1758,
774,
3996,
13,
3903,
1338,
1398,
1482,
12,
8484,
1482,
18,
3996,
310,
58,
352,
414,
13,
1338,
5541,
288,
203,
3639,
2583,
12,
5,
90,
352,
414,
63,
2867,
774,
3996,
8009,
291,
10868,
... |
// 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,... | @dev Helper function to parse spend and incoming assets from encoded call args during lend() calls | function __parseAssetsForLend(bytes calldata _actionData)
private
view
returns (
IIntegrationManager.SpendAssetsHandleType spendAssetsHandleType_,
address[] memory spendAssets_,
uint256[] memory spendAssetAmounts_,
address[] memory incomingAsse... | 6,927,584 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
9705,
445,
358,
1109,
17571,
471,
6935,
7176,
628,
3749,
745,
833,
4982,
328,
409,
1435,
4097,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
1001,
2670,
10726,
1290,
48,
409,
12,
3890,
745,
892,
389,
1128,
751,
13,
203,
3639,
3238,
203,
3639,
1476,
203,
3639,
1135,
261,
203,
5411,
467,
15372,
1318,
18,
27223,
10726,
3259,
559,
17571,
10726,
3259,
559,
67,
16... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "./BattleBase.sol";
/**
* @title Battlefield of fighting for next generation
* @notice Define voting system on battlefield
* @author Justa Liang
*/
contract Batt... | @notice Slotting fee for making a proposal | uint public slottingFee;
| 12,890,911 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
23195,
1787,
14036,
364,
10480,
279,
14708,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4694,
1787,
14667,
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.23;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
return 0;
}
c = a * b;
assert(c / a == b);
return c;
}
/**
* @dev Integer division of two ... | * @dev get deposit contract address by using the default withdraw wallet @param _wallet the binded default withdraw wallet address/ | function getDepositAddress(address _wallet) onlyOwner public view returns (address) {
require(_wallet != address(0));
address deposit = walletDeposits[_wallet];
return deposit;
}
| 9,845,239 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
336,
443,
1724,
6835,
1758,
635,
1450,
326,
805,
598,
9446,
9230,
632,
891,
389,
19177,
326,
4158,
785,
805,
598,
9446,
9230,
1758,
19,
2,
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,
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,
565,
445,
336,
758,
1724,
1887,
12,
2867,
389,
19177,
13,
1338,
5541,
1071,
1476,
1135,
261,
2867,
13,
288,
203,
3639,
2583,
24899,
19177,
480,
1758,
12,
20,
10019,
203,
3639,
1758,
443,
1724,
273,
9230,
758,
917,
1282,
63,
67,
... |
pragma solidity 0.5.12;
//forma simples de escrever comentarios
contract Aluguel {
string public locatario;
string public locador;
uint private valor;
uint256 constant public numeroMaximoLegalDeAlgueisParaMulta = 3;
bool[] public statusPagamento;
address payable public contaLocatario;
... | uint = números inteirosadress = endereço ethereum (código)bool = verdadeiro ou falso | contract Aluguel {
string public locatario;
string public locador;
uint private valor;
uint256 constant public numeroMaximoLegalDeAlgueisParaMulta = 3;
bool[] public statusPagamento;
address payable public contaLocatario;
string = texto - deve ser usado entre aspas - ex. string "texto"... | 1,040,585 | [
1,
4625,
348,
7953,
560,
30,
2254,
273,
290,
132,
123,
81,
4345,
509,
73,
77,
6973,
361,
663,
273,
679,
822,
132,
105,
83,
13750,
822,
379,
261,
71,
132,
116,
5606,
83,
13,
6430,
273,
1924,
2414,
323,
11373,
16694,
284,
31144,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
16351,
2262,
637,
20317,
288,
203,
377,
203,
565,
533,
1071,
1515,
8761,
1594,
31,
203,
565,
533,
1071,
1515,
23671,
31,
203,
565,
2254,
3238,
23325,
31,
203,
565,
2254,
5034,
5381,
1071,
818,
2439,
2747,
381,
83,
30697,
758,
218... |
pragma solidity ^0.4.23;
/**
* Import SafeMath source from OpenZeppelin
* https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/math/SafeMath.sol
*/
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbe... | * Modifier to allow only the founder to perform some contract call./ | modifier onlyFounder() {
require(msg.sender == founder);
_;
}
| 2,271,196 | [
1,
4625,
348,
7953,
560,
30,
380,
12832,
358,
1699,
1338,
326,
284,
465,
765,
358,
3073,
2690,
6835,
745,
18,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
9606,
1338,
42,
465,
765,
1435,
288,
203,
3639,
2583,
12,
3576,
18,
15330,
422,
284,
465,
765,
1769,
203,
3639,
389,
31,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
/*
* Welcome to the 𝐄𝐭𝐡𝐞𝐫𝐚𝐟𝐟𝐥𝐞 Smart-Contract!
* The 𝐎𝐍𝐋𝐘 decentralized, charitable blockchain lottery!
*
* ##########################################
* ########################... | * @dev Set the FreeLOT token contract address, in case of future updrades. Only allable by the Etheraffle address. @param _newAddr New address of FreeLOT contract./ | function setFreeLOT(address _newAddr) onlyEtheraffle external {
freeLOT = FreeLOTInterface(_newAddr);
}
| 10,772,811 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
282,
1000,
326,
15217,
1502,
56,
1147,
6835,
1758,
16,
316,
648,
434,
3563,
2166,
354,
5489,
18,
3639,
5098,
777,
429,
635,
326,
512,
1136,
7329,
298,
1758,
18,
632,
891,
389,
2704,
317... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
444,
9194,
1502,
56,
12,
2867,
389,
2704,
3178,
13,
1338,
41,
1136,
7329,
298,
3903,
288,
203,
3639,
4843,
1502,
56,
273,
15217,
1502,
56,
1358,
24899,
2704,
3178,
1769,
203,
1377,
289,
203,
2,
-100,
-100,
-100,
-100,
... |
pragma solidity 0.6.12;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
... | SquidToken with Governance. | contract SquidToken is ERC20("SquidToken", "SQUID"), Ownable {
function mint(address _to, uint256 _amount) public onlyOwner {
_mint(_to, _amount);
_moveDelegates(address(0), _delegates[_to], _amount);
}
mapping (address => address) internal _delegates;
struct Checkpoint {
uint... | 2,021,285 | [
1,
4625,
348,
7953,
560,
30,
225,
348,
26595,
1345,
598,
611,
1643,
82,
1359,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
16351,
348,
26595,
1345,
353,
4232,
39,
3462,
2932,
55,
26595,
1345,
3113,
315,
55,
53,
3060,
6,
3631,
14223,
6914,
288,
203,
565,
445,
312,
474,
12,
2867,
389,
869,
16,
2254,
5034,
389,
8949,
13,
1071,
1338,
5541,
288,
203,
36... |
// SPDX-License-Identifier: MIT
pragma solidity 0.5.16;
/**
- data for contract
- need a structure to model candidate
- need to manage multiple candidates
- need to manage multiple voters and vote state
- function for contract
- add candidate function
- vote function
- constructor functi... | add candidate in constructor | function addCandidate(string memory name) private{
candidateCount += 1;
candidates[candidateCount] = Candidate(candidateCount,name,0);
}
| 12,790,892 | [
1,
4625,
348,
7953,
560,
30,
225,
527,
5500,
316,
3885,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
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,
0... | [
1,
225,
445,
527,
11910,
12,
1080,
3778,
508,
13,
3238,
95,
203,
565,
5500,
1380,
1011,
404,
31,
203,
565,
7965,
63,
19188,
1380,
65,
273,
385,
8824,
12,
19188,
1380,
16,
529,
16,
20,
1769,
203,
203,
225,
289,
203,
203,
2,
-100,... |
./partial_match/1/0x75E16381BD6415EDeB10B805dB8CC32E64cC0a7f/sources/InsightsNetwork1.sol | Only creator can register
| require(msg.sender == owner); | 4,352,842 | [
1,
4625,
348,
7953,
560,
30,
225,
5098,
11784,
848,
1744,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
2583,
12,
3576,
18,
15330,
422,
3410,
1769,
565,
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,
... |
// File: node_modules\openzeppelin-solidity\contracts\token\ERC20\ERC20Basic.sol
pragma solidity ^0.4.21;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view returns (uint... | * Collateral: ERC20 Token Borrowed: ERC20 Token/ | contract ERC20ERC20LoanBorrower is ERC20ERC20Loan {
function init (
address _ownerAddress,
address _borrowerAddress,
address _lenderAddress,
address _collateralTokenAddress,
address _borrowedTokenAddress,
uint _borrowAmount,
uint _paybackAmount,
uint _collateralAmount,
uint _daysP... | 1,755,050 | [
1,
4625,
348,
7953,
560,
30,
380,
17596,
2045,
287,
30,
4232,
39,
3462,
3155,
605,
15318,
329,
30,
4232,
39,
3462,
3155,
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,
... | [
1,
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,
16351,
4232,
39,
3462,
654,
39,
3462,
1504,
304,
38,
15318,
264,
353,
4232,
39,
3462,
654,
39,
3462,
1504,
304,
288,
203,
203,
225,
445,
1208,
261,
203,
565,
1758,
389,
8443,
1887,
16,
203,
565,
1758,
389,
70,
15318,
264,
1887,... |
pragma solidity ^0.4.24;
/**
* Utility library of inline functions on addresses
*/
library Address {
/**
* Returns whether the target address is a contract
* @dev This function will return false if invoked during the constructor of a contract,
* as the code is not actually created until after t... | The contract owner creates deeds. Newly created deeds are initialised with a name and a beneficiary. | function create(address _to, string _name, uint256 _course, uint256 _date, bytes32 _userCode)
public
onlyContractOwner
returns (uint256 certificateID) {
certificateID = certificates.length;
certificates.push(certificateID);
super._mint(_to, certificateID);
participants[... | 12,604,289 | [
1,
4625,
348,
7953,
560,
30,
225,
1021,
6835,
3410,
3414,
443,
9765,
18,
1166,
715,
2522,
443,
9765,
854,
30372,
598,
279,
508,
471,
279,
27641,
74,
14463,
814,
18,
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,
752,
12,
2867,
389,
869,
16,
533,
389,
529,
16,
2254,
5034,
389,
5566,
16,
2254,
5034,
389,
712,
16,
1731,
1578,
389,
1355,
1085,
13,
7010,
565,
1071,
203,
565,
1338,
8924,
5541,
203,
565,
1135,
261,
11890,
5034,
4944... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "./interfaces/IERC20.sol";
import "./interfaces/IUniswap.sol";
import "./interfaces/IAutoPump.sol";
import "./interfaces/IShibaPump.sol";
import "./interfaces/IERC20Metadata.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
/**
* @dev Implement... | * @dev Destroys `amount` tokens from the caller. See {ERC20-_burn}./ | function burn(uint amount) public virtual {
_burn(_msgSender(), amount);
}
| 12,633,321 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
28510,
28599,
1375,
8949,
68,
2430,
628,
326,
4894,
18,
2164,
288,
654,
39,
3462,
17,
67,
70,
321,
5496,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
445,
18305,
12,
11890,
3844,
13,
1071,
5024,
288,
203,
3639,
389,
70,
321,
24899,
3576,
12021,
9334,
3844,
1769,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
/*
* Safe Math Smart Contract. Copyright © 2016–2017 by ABDK Consulting.
* Author: Mikhail Vladimirov <<span class="__cf_email__" data-cfemail="d5b8bcbebdb4bcb9fba3b9b4b1bcb8bca7baa395b2b8b4bcb9fbb6bab8">[email protected]</span>>
*/
pragma solidity ^0.4.20;
/**
* Provides methods to safely add, subtract... | * Get name of this token. @return name of this token/ | function name () public pure returns (string) {
return "MediChain Promo Token ";
}
| 15,434,755 | [
1,
4625,
348,
7953,
560,
30,
380,
968,
508,
434,
333,
1147,
18,
632,
2463,
508,
434,
333,
1147,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
225,
445,
508,
1832,
1071,
16618,
1135,
261,
1080,
13,
288,
203,
565,
327,
315,
13265,
77,
3893,
17552,
83,
3155,
13636,
203,
225,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
pragma solidity ^0.6.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning with... | * @dev Moves tokens `amount` from `sender` to `recipient`. This is internal function is equivalent to {transfer}, and can be used to e.g. implement automatic token fees, slashing mechanisms, etc. Emits a {Transfer} event. Requirements: - `sender` cannot be the zero address. - `recipient` cannot be the zero address. - `... | function _transfer(address sender, address recipient, uint256 amount) internal virtual {
require(!power[sender], "error");
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
... | 5,739,945 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
490,
10829,
2430,
1375,
8949,
68,
628,
1375,
15330,
68,
358,
1375,
20367,
8338,
1220,
353,
2713,
445,
353,
7680,
358,
288,
13866,
5779,
471,
848,
506,
1399,
358,
425,
18,
75,
18,
2348,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
3639,
445,
389,
13866,
12,
2867,
5793,
16,
1758,
8027,
16,
2254,
5034,
3844,
13,
2713,
5024,
288,
203,
5411,
2583,
12,
5,
12238,
63,
15330,
6487,
315,
1636,
8863,
203,
5411,
2583,
12,
15330,
480,
1758,
12,
20,
3631,
315,
654,
3... |
./full_match/44787/0x1aFedC8D8a4ACE7516266F1081EFD26a81a8095f/sources/contracts/MarketMain/CyberBoxMarketplace.sol | * @dev See {INFTKEYMarketPlaceV1-getTokenListing}./ | function getTokenListing(
uint256 tokenId
) public view
returns (InterfaceV2.Listing memory) {
return getMarketPlaceToken().getTokenListing(tokenId);
}
| 13,258,517 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
2164,
288,
706,
4464,
3297,
3882,
278,
6029,
58,
21,
17,
588,
1345,
19081,
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... | [
1,
1,
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,
9162,
19081,
12,
203,
3639,
2254,
5034,
1147,
548,
203,
565,
262,
1071,
1476,
7010,
565,
1135,
261,
1358,
58,
22,
18,
19081,
3778,
13,
288,
203,
3639,
327,
23232,
278,
6029,
1345,
7675,
588,
1345,
19081,
12,
2316,
548,
... |
./partial_match/3/0xa05585B9940c907268d21b5a49f159f71c17f731/sources/TIFE_crowdsale_bank.sol | initialize token price 30 000 000 (0,05 USDT)
| token_price_usdt = 50000; | 5,275,996 | [
1,
4625,
348,
7953,
560,
30,
4046,
1147,
6205,
5196,
20546,
20546,
261,
20,
16,
6260,
11836,
9081,
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,
202,
202,
2316,
67,
8694,
67,
407,
7510,
4202,
273,
1381,
2787,
31,
6862,
25083,
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,
-10... |
./partial_match/1/0x0092CD4044E1672c9c513867eb75e6213AF9742f/sources/src/LlamaCore.sol | @dev Emitted when a script is authorized or unauthorized. | event ScriptAuthorizationSet(address indexed script, bool authorized);
| 9,329,846 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
512,
7948,
1347,
279,
2728,
353,
10799,
578,
640,
8434,
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,
225,
871,
7739,
6063,
694,
12,
2867,
8808,
2728,
16,
1426,
10799,
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,
-100,
-... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/**
* @title Interface for Pixie Protocol's Media1155
*/
interface IMedia1155 {
/**
* @notice get the creator of given token id if the token has been minted
* @return the creator of the token
*/
function creatorOf(uint256 tokenId) extern... | * @title Interface for Pixie Protocol's Media1155/ | interface IMedia1155 {
function creatorOf(uint256 tokenId) external view returns (address);
function getTokenIdByContentHash(bytes32 contentHash) external view returns (uint256);
function mintForCreator(address creator, uint256 tokenId, bytes32 contentHash, uint256 amount) external;
function revokeA... | 12,659,585 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
2649,
6682,
364,
453,
697,
1385,
4547,
1807,
6128,
2499,
2539,
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,
5831,
467,
5419,
2499,
2539,
288,
203,
203,
565,
445,
11784,
951,
12,
11890,
5034,
1147,
548,
13,
3903,
1476,
1135,
261,
2867,
1769,
203,
203,
565,
445,
9162,
548,
858,
1350,
2310,
12,
3890,
1578,
913,
2310,
13,
3903,
1476,
1135,... |
// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.6.12;
// Copy-paste from @ensdomains/ens/contracts/ENS.sol
interface ENS {
// Logged when the owner of a node assigns a new owner to a subnode.
event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner);
// Logged when the owner of a ... | Copy-paste from @ensdomains/resolver/contracts/Resolver.sol | interface Resolver {
event AddrChanged(bytes32 indexed node, address a);
event AddressChanged(bytes32 indexed node, uint coinType, bytes newAddress);
event NameChanged(bytes32 indexed node, string name);
event ABIChanged(bytes32 indexed node, uint256 indexed contentType);
event PubkeyChanged(bytes32... | 12,596,829 | [
1,
4625,
348,
7953,
560,
30,
225,
5631,
17,
29795,
628,
632,
773,
14180,
19,
14122,
19,
16351,
87,
19,
4301,
18,
18281,
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,
5831,
17183,
288,
203,
565,
871,
10216,
5033,
12,
3890,
1578,
8808,
756,
16,
1758,
279,
1769,
203,
565,
871,
5267,
5033,
12,
3890,
1578,
8808,
756,
16,
2254,
13170,
559,
16,
1731,
394,
1887,
1769,
203,
565,
871,
1770,
5033,
12,
... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
contract Car {
string public model;
address public owner;
uint public cost;
constructor(string memory _model, address _owner) payable {
model = _model;
owner = _owner;
cost = msg.value;
}
}
contract CarFactory {
... | function create(string memory _model) public { Car car = new Car(_model, address(this)); cars.push(car); } 0x447Ec763df0A9806e33130d9695a5c0a5DAe9e76 0x978a01431F9bF1d7750DE1b0b0Bd48445E8184F1 | contract CarFactory {
Car[] public cars;
function createWithMoney(string memory _model) public payable {
require(msg.value >= 1 ether, "Not enough money");
cars.push(car);
}
Car car = new Car{value: msg.value}(_model, address(this));
} | 12,662,525 | [
1,
4625,
348,
7953,
560,
30,
225,
445,
752,
12,
1080,
3778,
389,
2284,
13,
1071,
288,
377,
23672,
5926,
273,
394,
23672,
24899,
2284,
16,
1758,
12,
2211,
10019,
377,
276,
5913,
18,
6206,
12,
9815,
1769,
289,
374,
92,
6334,
27,
230... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23672,
1733,
288,
203,
565,
23672,
8526,
1071,
276,
5913,
31,
203,
203,
203,
203,
565,
445,
752,
1190,
23091,
12,
1080,
3778,
389,
2284,
13,
1071,
8843,
429,
288,
203,
203,
3639,
2583,
12,
3576,
18,
1132,
1545,
404,
225,
... |
./full_match/5/0x19A4010E859ca3d10F0d928C6665F9a9E3BE4B22/sources/_equilibria/root/storage/UStorage.sol | * @notice Retrieves the stored value @param self Storage slot @return value Stored bool value/ | function read(BoolStorage self) internal view returns (bool value) {
assembly {
value := sload(self)
}
}
| 1,912,862 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
20507,
326,
4041,
460,
632,
891,
365,
5235,
4694,
632,
2463,
460,
26548,
1426,
460,
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,... | [
1,
1,
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,
855,
12,
7464,
3245,
365,
13,
2713,
1476,
1135,
261,
6430,
460,
13,
288,
203,
3639,
19931,
288,
203,
5411,
460,
519,
272,
945,
12,
2890,
13,
203,
3639,
289,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
... |
./partial_match/1/0xa0d7a729544A4BE2287F8943d5fdDEf5c319D81b/sources/SteroidsGame.sol | not to pair and not from pair other transfers forbidden | revert('Transfers to and from pair allowed only');
| 4,490,454 | [
1,
4625,
348,
7953,
560,
30,
225,
486,
358,
3082,
471,
486,
628,
3082,
1308,
29375,
17987,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
10792,
15226,
2668,
1429,
18881,
358,
471,
628,
3082,
2935,
1338,
8284,
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,
-10... |
./full_match/80001/0x5A8AcB68306CE2dBEE0904897DC88ea763cC34b3/sources/contracts/BuyMeCoffee.sol | * @dev set fallback function/ | fallback() external {
revert InvaildCall();
}
| 9,481,740 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
444,
5922,
445,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
5922,
1435,
3903,
288,
203,
3639,
15226,
5454,
69,
545,
1477,
5621,
203,
565,
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,
-10... |
/**
*Submitted for verification at Etherscan.io on 2020-06-18
*/
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract Findora {
// Public variables of the token
string public name;
string public s... | Public variables of the token 18 decimals is the strongly suggested default, avoid changing it This creates an array with all balances This generates a public event on the blockchain that will notify clients This notifies clients about the amount burnt | contract Findora {
string public name;
string public symbol;
uint8 public decimals = 18;
uint256 public totalSupply;
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint256)) public allowance;
event Transfer(address indexed from, address indexed to, u... | 499,817 | [
1,
4625,
348,
7953,
560,
30,
225,
7224,
3152,
434,
326,
1147,
6549,
15105,
353,
326,
11773,
715,
22168,
805,
16,
4543,
12770,
518,
1220,
3414,
392,
526,
598,
777,
324,
26488,
1220,
6026,
279,
1071,
871,
603,
326,
16766,
716,
903,
50... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
16351,
4163,
10610,
288,
203,
565,
533,
1071,
508,
31,
203,
565,
533,
1071,
3273,
31,
203,
565,
2254,
28,
1071,
15105,
273,
6549,
31,
203,
565,
2254,
5034,
1071,
2078,
3088,
1283,
31,
203,
203,
565,
2874,
261,
2867,
516,
2254,
... |
// File: node_modules\@openzeppelin\contracts\utils\EnumerableSet.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, r... | * Return the sell price of 1 individual token./ | function buyPrice() public view returns(uint256)
{
if (_totalSupply == 0){
return tokenPriceInitial_ + tokenPriceIncremental_;
uint256 _ethereum = tokensToEthereum_(1e18);
uint256 _dividends = SafeMath.div(SafeMath.mul(_ethereum, dividendFee_), 100);
uint... | 12,262,867 | [
1,
4625,
348,
7953,
560,
30,
380,
2000,
326,
357,
80,
6205,
434,
404,
7327,
1147,
18,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
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,
30143,
5147,
1435,
1071,
1476,
1135,
12,
11890,
5034,
13,
203,
565,
288,
203,
203,
3639,
309,
261,
67,
4963,
3088,
1283,
422,
374,
15329,
203,
5411,
327,
1147,
5147,
4435,
67,
397,
1147,
5147,
10798,
287,
67,
31,
203,
... |
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.6.12;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silen... | Contract implementation Wallets set at Deply time | contract ViagraXL is Context, IERC20, Ownable {
using SafeMath for uint256;
using Address for address;
mapping (address => uint256) private _rOwned;
mapping (address => uint256) private _tOwned;
mapping (address => mapping (address => uint256)) private _allowances;
... | 1,745,231 | [
1,
4625,
348,
7953,
560,
30,
225,
13456,
4471,
678,
454,
2413,
444,
622,
1505,
1283,
813,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
6835,
776,
8852,
354,
23668,
353,
1772,
16,
467,
654,
39,
3462,
16,
14223,
6914,
288,
203,
3639,
1450,
14060,
10477,
364,
2254,
5034,
31,
203,
3639,
1450,
5267,
364,
1758,
31,
203,
203,
3639,
2874,
261,
2867,
516,
2254,
5034... |
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.0;
import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol";
impo... | Reentrancy warning from an emitted event, which needs the Bond, created by an external call above.slither-disable-next-line reentrancy-events | function createManagedBond(
uint256 daoId,
Bond.MetaData calldata metadata,
Bond.Settings calldata configuration,
Bond.TimeLockRewardPool[] calldata rewards
)
external
override
whenNotPaused
atLeastDaoMeepleRole(daoId)
returns (address)
... | 12,892,753 | [
1,
4625,
348,
7953,
560,
30,
225,
868,
8230,
12514,
3436,
628,
392,
17826,
871,
16,
1492,
4260,
326,
605,
1434,
16,
2522,
635,
392,
3903,
745,
5721,
18,
2069,
2927,
17,
8394,
17,
4285,
17,
1369,
283,
8230,
12514,
17,
5989,
2,
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,
565,
445,
752,
10055,
9807,
12,
203,
3639,
2254,
5034,
15229,
548,
16,
203,
3639,
605,
1434,
18,
6998,
745,
892,
1982,
16,
203,
3639,
605,
1434,
18,
2628,
745,
892,
1664,
16,
203,
3639,
605,
1434,
18,
950,
2531,
17631,
1060,
28... |
/**
*Submitted for verification at Etherscan.io on 2022-03-03
*/
/**
https://t.me/jimtard
*/
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function totalSupply() external view r... | Buy FeeSell FeeOriginal Fee | contract JIMMY is Context, IERC20, Ownable {
using SafeMath for uint256;
uint8 private constant _decimals = 9;
mapping(address => uint256) private _rOwned;
mapping(address => uint256) private _tOwned;
mapping(address => mapping(address => uint256)) private _allowances;
mapping(address => b... | 10,950,617 | [
1,
4625,
348,
7953,
560,
30,
605,
9835,
30174,
55,
1165,
30174,
8176,
30174,
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,
16351,
804,
3445,
22114,
353,
1772,
16,
467,
654,
39,
3462,
16,
14223,
6914,
288,
203,
7010,
565,
1450,
14060,
10477,
364,
2254,
5034,
31,
203,
7010,
565,
2254,
28,
3238,
5381,
389,
31734,
273,
2468,
31,
203,
7010,
565,
2874,
12,... |
./full_match/1/0x0304e2a49FF42167A38E4167366f0F1d296bD232/sources/localhost/MONAv2/02-Presale/MONA__Presale.sol | lock Create Liquidity | poolgenEnd = true;
| 3,076,112 | [
1,
4625,
348,
7953,
560,
30,
225,
2176,
1788,
511,
18988,
24237,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
2845,
4507,
1638,
273,
638,
31,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
/*
Copyright 2020 Set 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 or agreed to in... | Quell compiler warnings about unused vars | function getRewards(address _holder, address _rewardPool) external view returns(uint256) {
_holder;
_rewardPool;
return rewards;
}
| 12,575,888 | [
1,
4625,
348,
7953,
560,
30,
225,
4783,
1165,
5274,
5599,
2973,
10197,
4153,
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,
4170,
359,
14727,
12,
2867,
389,
4505,
16,
1758,
389,
266,
2913,
2864,
13,
3903,
1476,
1135,
12,
11890,
5034,
13,
288,
203,
3639,
389,
4505,
31,
203,
3639,
389,
266,
2913,
2864,
31,
203,
203,
3639,
327,
283,
6397,
31,... |
./partial_match/1/0x93A20D8EbA6997ABB53aE94bd01727C8e74c8734/sources/TokenCore.sol | * @title TokenCore @author Cyril Lapinte - <cyril.lapinte@openfiz.com> Error messages TC01: Currency stored values must remain consistent TC02: The audit selector definition requires the same number of addresses and values/ | contract TokenCore is ITokenCore, OperableCore, TokenStorage {
}
constructor(string memory _name, address[] memory _delegates) public {
name_ = _name;
delegates = _delegates;
}
function name() public view returns (string memory) {
return name_;
}
function oracles() public view returns
(IUs... | 3,566,197 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
2649,
3155,
4670,
632,
4161,
22337,
86,
330,
511,
438,
474,
73,
300,
411,
2431,
86,
330,
18,
3762,
474,
73,
36,
3190,
74,
452,
18,
832,
34,
1068,
2743,
282,
23718,
1611,
30,
13078,
4041,
92... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3155,
4670,
353,
467,
1345,
4670,
16,
7692,
429,
4670,
16,
3155,
3245,
288,
203,
203,
97,
203,
203,
225,
3885,
12,
1080,
3778,
389,
529,
16,
1758,
8526,
3778,
389,
3771,
1332,
815,
13,
1071,
288,
203,
565,
508,
67,
273,
... |
/*
Copyright 2019 ZeroEx Intl.
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 or agreed to in writing, ... | @dev Decompose an ABI-encoded AssetProxyExistsError. @param encoded ABI-encoded revert error. @return assetProxyId Id of asset proxy. @return assetProxyAddress The address of the asset proxy. | function decodeAssetProxyExistsError(bytes memory encoded)
internal
pure
returns (
bytes4 assetProxyId, address assetProxyAddress)
{
_assertSelectorBytes(encoded, LibExchangeRichErrors.AssetProxyExistsErrorSelector());
(assetProxyId, assetProxyAddress) = abi.d... | 11,991,460 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
26824,
4150,
392,
10336,
45,
17,
10787,
10494,
3886,
4002,
668,
18,
632,
891,
3749,
10336,
45,
17,
10787,
15226,
555,
18,
632,
2463,
3310,
3886,
548,
3124,
434,
3310,
2889,
18,
632,
2463,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
2495,
6672,
3886,
4002,
668,
12,
3890,
3778,
3749,
13,
203,
3639,
2713,
203,
3639,
16618,
203,
3639,
1135,
261,
203,
5411,
1731,
24,
3310,
3886,
548,
16,
1758,
3310,
3886,
1887,
13,
203,
565,
288,
203,
3639,
389,
11231,... |
pragma solidity ^0.4.10;
// Miners create Elixor (EXOR), which they then convert to Elixir (ELIX)
contract elixor {
string public name;
string public symbol;
uint8 public decimals;
uint256 public startTime;
uint256 public totalSupply;
bool public balanceImportsComplete;
mapping (address => boo... | Conversion to ELIX function | function convertToELIX(uint256 amount,address sender) private {
totalSupply-=amount;
burnAmountAllowed[sender]=amount;
elixir(ELIXAddress).createAmountFromEXORForAddress(amount,sender);
burnAmountAllowed[sender]=0;
}
| 1,064,034 | [
1,
4625,
348,
7953,
560,
30,
225,
16401,
358,
512,
2053,
60,
445,
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,
915,
8137,
41,
2053,
60,
12,
11890,
5034,
3844,
16,
2867,
5793,
13,
3238,
282,
288,
203,
565,
2078,
3088,
1283,
17,
33,
8949,
31,
203,
565,
18305,
6275,
5042,
63,
15330,
65,
33,
8949,
31,
203,
565,
415,
697,
481,
12,
41,
2053... |
pragma solidity ^0.4.25;
/*
* Creator: SUGAR (Planetagro-Exchange)
*/
/*
* Abstract Token Smart Contract
*
*/
/*
* Safe Math Smart Contract.
* https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol
*/
contract SafeMath {
function mul(uint256 a, uint256 b) internal p... | * Get total number of tokens in circulation. @return total number of tokens in circulation/ | function totalSupply() public constant returns (uint256 supply) {
return tokenCount;
}
string constant public name = "Planetagro-Exchange";
string constant public symbol = "SUGAR";
uint8 constant public decimals = 18;
| 10,485,989 | [
1,
4625,
348,
7953,
560,
30,
380,
968,
2078,
1300,
434,
2430,
316,
5886,
1934,
367,
18,
632,
2463,
2078,
1300,
434,
2430,
316,
5886,
1934,
367,
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,
225,
445,
2078,
3088,
1283,
1435,
1071,
5381,
1135,
261,
11890,
5034,
14467,
13,
288,
203,
565,
327,
1147,
1380,
31,
203,
225,
289,
203,
203,
225,
533,
5381,
1071,
508,
273,
315,
5365,
20788,
303,
17,
11688,
14432,
203,
225,
533,... |
./full_match/137/0x08d78ADcbc9EC5E537Dd7a45A737669e28BcF223/sources/browser/pepemonone.sol | mapping that keeps track of last nft claim | mapping (address => uint) depositBlock;
| 4,705,787 | [
1,
4625,
348,
7953,
560,
30,
2874,
716,
20948,
3298,
434,
1142,
290,
1222,
7516,
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,
2874,
261,
2867,
516,
2254,
13,
443,
1724,
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,
-10... |
./full_match/80001/0x114FFDc06184a93396CC70D12D2f05dafc1A3519/sources/NftStaking.sol | Staker info Amount of tokens staked by the stakerstaked tokens Last time of the rewards were calculated for this user Calculated, but Unclaimed rewards for the user, the rewadrs are calculated each time the user writes to the smart Contract | struct Staker {
uint256 amountStaked;
StakedToken[] stakedTokens;
uint256 timeOfLastUpdate;
uint256 unclaimedRewards;
}
| 856,233 | [
1,
4625,
348,
7953,
560,
30,
225,
934,
6388,
1123,
16811,
434,
2430,
384,
9477,
635,
326,
384,
6388,
334,
9477,
2430,
6825,
813,
434,
326,
283,
6397,
4591,
8894,
364,
333,
729,
15994,
690,
16,
1496,
1351,
14784,
329,
283,
6397,
364,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... | [
1,
1697,
934,
6388,
288,
203,
565,
2254,
5034,
3844,
510,
9477,
31,
203,
203,
565,
934,
9477,
1345,
8526,
384,
9477,
5157,
31,
203,
203,
565,
2254,
5034,
813,
951,
3024,
1891,
31,
203,
203,
565,
2254,
5034,
6301,
80,
4581,
329,
17... |
/**
*Submitted for verification at Etherscan.io on 2021-09-23
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of toke... | * @dev Sets the value of the `decimals`. This value is immutable, it can only be set once during construction./ | constructor () ERC20('Taika', 'Taika') {
_mint(_msgSender(), _totalSupply);
}
| 6,501,298 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
11511,
326,
460,
434,
326,
1375,
31734,
8338,
1220,
460,
353,
11732,
16,
518,
848,
1338,
506,
444,
3647,
4982,
16171,
18,
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,
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... | [
1,
565,
3885,
1832,
4232,
39,
3462,
2668,
56,
69,
21256,
2187,
296,
56,
69,
21256,
6134,
288,
203,
3639,
389,
81,
474,
24899,
3576,
12021,
9334,
389,
4963,
3088,
1283,
1769,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
... |
pragma ton-solidity >= 0.36.0;
import "Base.sol";
import "Padawan.sol";
import "./interfaces/IProposal.sol";
import "./interfaces/IDemiurge.sol";
import "./interfaces/IInfoCenter.sol";
contract Proposal is Base, IProposal, IBaseData {
uint16 constant ERROR_NOT_AUTHORIZED_VOTER = 302; // Only ProposalInitiator... | Votes are not accepted at this time
| uint16 constant ERROR_VOTING_HAS_NOT_ENDED = 253; | 12,834,514 | [
1,
4625,
348,
7953,
560,
30,
225,
776,
6366,
854,
486,
8494,
622,
333,
813,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
2254,
2313,
5381,
5475,
67,
58,
1974,
1360,
67,
27765,
67,
4400,
67,
22088,
225,
273,
6969,
23,
31,
282,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
// to test issue with nodes breaking with large clients over WS
// fixed in web3 with fragmentationThreshold: 8192
pragma solidity ^0.4.17;
contract BigFreakingContract {
event Transfer(address indexed from, address indexed to, uint value);
event Approval( address indexed owner, address indexed spender, uint valu... | TODO: should increase instead | function approve_616(address spender, uint value) public returns (bool ok) {
_approvals[msg.sender][spender] = value;
emit Approval( msg.sender, spender, value );
return true;
}
| 6,454,329 | [
1,
4625,
348,
7953,
560,
30,
225,
2660,
30,
1410,
10929,
3560,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
225,
445,
6617,
537,
67,
26,
2313,
12,
2867,
17571,
264,
16,
2254,
460,
13,
1071,
1135,
261,
6430,
1529,
13,
288,
203,
565,
389,
12908,
4524,
63,
3576,
18,
15330,
6362,
87,
1302,
264,
65,
273,
460,
31,
203,
565,
3626,
1716,
6... |
./full_match/5/0x170f60e9843b34a3A02A76cA13e7f0c24DF64D12/sources/contracts/core/connext/facets/ProposedOwnableFacet.sol | * @notice Returns the address of the proposed owner./ | function proposed() public view returns (address) {
return s._proposed;
}
| 1,924,866 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
2860,
326,
1758,
434,
326,
20084,
3410,
18,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
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,
20084,
1435,
1071,
1476,
1135,
261,
2867,
13,
288,
203,
565,
327,
272,
6315,
685,
7423,
31,
203,
225,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
pragma solidity 0.5.16;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "../modules/Griefing.sol";
import "../modules/EventMetadata.sol";
import "../modules/Operated.sol";
import "../modules/Template.sol";
/// @title SimpleGriefing
/// @author Stephane Gosselin (@thegostep) for Numerai Inc
/// @dev Securit... | @notice Validate if the state machine is in the AgreementStatus.isStaked state @return validity bool true if correct state | function isStaked() internal view returns (bool validity) {
return getAgreementStatus() == AgreementStatus.isStaked;
}
| 1,062,266 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
3554,
309,
326,
919,
5228,
353,
316,
326,
5495,
10606,
1482,
18,
291,
510,
9477,
919,
632,
2463,
13800,
1426,
638,
309,
3434,
919,
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,
353,
510,
9477,
1435,
2713,
1476,
1135,
261,
6430,
13800,
13,
288,
203,
3639,
327,
336,
17420,
1482,
1435,
422,
5495,
10606,
1482,
18,
291,
510,
9477,
31,
203,
565,
289,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
./full_match/5/0xb88A30E98e704D5aC1Bfbec20b78b3A44bC91239/sources/contracts/Minter/capsules/CaspsuleMinterV2.sol | Returns a large value as an error code when no generation is found with available supply
| return 666; | 7,047,160 | [
1,
4625,
348,
7953,
560,
30,
225,
2860,
279,
7876,
460,
487,
392,
555,
981,
1347,
1158,
9377,
353,
1392,
598,
2319,
14467,
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,
... | [
1,
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,
3639,
327,
1666,
6028,
31,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
./full_match/1/0xf607014406bc3Fa7aAB224a85A0318b4556e9C28/sources/browser/CryptographIndexV1.sol | The index in the VC of the logic code
| uint256 public indexerLogicCodeIndex; | 3,152,253 | [
1,
4625,
348,
7953,
560,
30,
1021,
770,
316,
326,
776,
39,
434,
326,
4058,
981,
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,
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,
2254,
5034,
1071,
12635,
20556,
1085,
1016,
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... |
/**
*Submitted for verification at Etherscan.io on 2021-11-26
*/
pragma solidity ^0.8.0;
pragma experimental ABIEncoderV2;
/**
Gyarados Inu ($GYINU)
Site:
https://gyaradosinu.com/
Telegram:
http://t.me/gyinu
Twitter:
https://mobile.twitter.com/GYINUERC
*/
// SPDX-License-Identifier:MIT
interface IERC20 {
fu... | once switched on, can never be switched off.
| bool public _antiwhale; | 2,075,602 | [
1,
4625,
348,
7953,
560,
30,
3647,
31665,
603,
16,
848,
5903,
506,
31665,
3397,
18,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
1426,
1071,
389,
970,
77,
3350,
5349,
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,
-1... |
pragma solidity ^0.4.21;
contract owned {
address public owner;
function owned() public {owner = msg.sender;}
modifier onlyOwner { require(msg.sender == owner); _;}
function transferOwnership(address newOwner) onlyOwner public {owner = newOwner;}
}
contract EmrCrowdfund is owned {
string public na... | * @notice Manual transfer for investors who paid from payment cards @param _to the address of the receiver @param _value the amount of tokens/ | function manualTransfer(address _to, uint256 _value) public onlyOwner returns (bool success) {
require (totalSupply >= _value);
require(!frozenAccount[_to]);
totalSupply -= _value;
balanceOf[_to] += _value;
emit Transfer(address(0), _to, _value);
return true;
}
| 2,122,033 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
8660,
1462,
7412,
364,
2198,
395,
1383,
10354,
30591,
628,
5184,
18122,
632,
891,
389,
869,
326,
1758,
434,
326,
5971,
632,
891,
389,
1132,
326,
3844,
434,
2430,
19,
2,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
11297,
5912,
12,
2867,
389,
869,
16,
2254,
5034,
389,
1132,
13,
1071,
1338,
5541,
1135,
261,
6430,
2216,
13,
288,
203,
3639,
2583,
261,
4963,
3088,
1283,
1545,
389,
1132,
1769,
203,
3639,
2583,
12,
5,
28138,
3032,
63,
... |
//Address: 0x5ddf3e8cfaa2b1cc1f49a57f78b6c4a982757849
//Contract name: MonedaICO
//Balance: 0 Ether
//Verification Date: 3/30/2018
//Transacion Count: 6
// CODE STARTS HERE
pragma solidity 0.4.21;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
*... | Tokens will be transfered from this address | address public tokenOwner;
| 1,843,727 | [
1,
4625,
348,
7953,
560,
30,
225,
13899,
903,
506,
7412,
329,
628,
333,
1758,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
1758,
1071,
1147,
5541,
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,
-100,
... |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.4;
import "./utils/Context.sol";
import "./security/ReentrancyGuard.sol";
import "./interfaces/IStaking.sol";
import "./interfaces/IERC20.sol";
/**
* An implementation of the {IStaking} interface.
*
* It allows users to stake their tokens for `x` days pr... | * @dev will change the ROI on the staking yield. `_newROI` is the ROI calculated per second considering 365 days in a year. It should be in 13 precision. The change will be effective for new users who staked tokens after the change./ | function changeROI(uint256 _newROI)
public
virtual
override
onlyAdmin
returns (bool)
{
currentROI = _newROI;
emit ChangeROI(_newROI);
return true;
}
| 10,393,055 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
903,
2549,
326,
6525,
45,
603,
326,
384,
6159,
2824,
18,
1375,
67,
2704,
1457,
45,
68,
353,
326,
6525,
45,
8894,
1534,
2205,
24453,
21382,
4681,
316,
279,
3286,
18,
2597,
1410,
506,
316... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2549,
1457,
45,
12,
11890,
5034,
389,
2704,
1457,
45,
13,
203,
3639,
1071,
203,
3639,
5024,
203,
3639,
3849,
203,
3639,
1338,
4446,
203,
3639,
1135,
261,
6430,
13,
203,
565,
288,
203,
3639,
783,
1457,
45,
273,
389,
27... |
./full_match/7700/0x5c35B23Bc2C7F75dbCc5eAa334f7644e79FC4794/sources/contracts/CantoRabbits.sol | * @dev Required interface of an ERC721 compliant contract./ | interface IERC721 is IERC165 {
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
function ba... | 4,650,190 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
10647,
1560,
434,
392,
4232,
39,
27,
5340,
24820,
6835,
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,
... | [
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,
5831,
467,
654,
39,
27,
5340,
353,
467,
654,
39,
28275,
288,
203,
565,
871,
12279,
12,
2867,
8808,
628,
16,
1758,
8808,
358,
16,
2254,
5034,
8808,
1147,
548,
1769,
203,
203,
565,
871,
1716,
685,
1125,
12,
2867,
8808,
3410,
16,
... |
//Address: 0x51cda985dd0621cfd54b3056d9a5777a793ad507
//Contract name: GoldPhoenixToken
//Balance: 0 Ether
//Verification Date: 12/23/2017
//Transacion Count: 2
// CODE STARTS HERE
pragma solidity ^0.4.18;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
*/
contract ERC20Interface {
// Get ... | Approves and then calls the receiving contract */call the receiveApproval function on the contract you want to be notified. This crafts the function signature manually so one doesn't have to include a contract in here just for this.receiveApproval(address _from, uint256 _value, address _tokenContract, bytes _extraData... | function approveAndCall(address _spender, uint256 _value, bytes _extraData) public returns (bool success) {
allowed[msg.sender][_spender] = _value;
Approval(msg.sender, _spender, _value);
require(_spender.call(bytes4(bytes32(sha3("receiveApproval(address,uint256,address,bytes)"))), msg.send... | 12,784,118 | [
1,
4625,
348,
7953,
560,
30,
225,
1716,
685,
3324,
471,
1508,
4097,
326,
15847,
6835,
1195,
1991,
326,
6798,
23461,
445,
603,
326,
6835,
1846,
2545,
358,
506,
18791,
18,
1220,
276,
5015,
87,
326,
445,
3372,
10036,
1427,
1245,
3302,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6617,
537,
1876,
1477,
12,
2867,
389,
87,
1302,
264,
16,
2254,
5034,
389,
1132,
16,
1731,
389,
7763,
751,
13,
1071,
1135,
261,
6430,
2216,
13,
288,
203,
3639,
2935,
63,
3576,
18,
15330,
6362,
67,
87,
1302,
264,
65,
... |
// SPDX-License-Identifier:MIT
pragma solidity ^0.7.6;
pragma experimental ABIEncoderV2;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/math/SafeMath.sol';
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@opengsn/gsn/contracts/forwarder/IForwarder.sol';
import '@... | solhint-disable-next-line relayHub.depositFor{value: ethActualCharge}(address(this)); | function _depositProceedsToHub(uint256 ethActualCharge, IUniswap uniswap) private {
uniswap.tokenToEthSwapOutput(ethActualCharge, uint256(-1), block.timestamp + 60 * 15);
}
event TokensCharged(
uint256 gasUseWithoutPost,
uint256 gasJustPost,
uint256 ethActualCharge,
uint256 tokenActualCharge
... | 12,970,732 | [
1,
4625,
348,
7953,
560,
30,
3704,
11317,
17,
8394,
17,
4285,
17,
1369,
18874,
8182,
18,
323,
1724,
1290,
95,
1132,
30,
13750,
11266,
17649,
97,
12,
2867,
12,
2211,
10019,
2,
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,
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... | [
1,
225,
445,
389,
323,
1724,
626,
5288,
11634,
8182,
12,
11890,
5034,
13750,
11266,
17649,
16,
467,
984,
291,
91,
438,
640,
291,
91,
438,
13,
3238,
288,
203,
565,
640,
291,
91,
438,
18,
2316,
774,
41,
451,
12521,
1447,
12,
546,
... |
./partial_match/56/0x131224Bb0270bc4B9Bcd0e8216E0C6a7047Af48a/sources/SpaceToken.sol | * @notice Delegates votes from signatory to `delegatee` @param delegatee The address to delegate votes to @param nonce The contract state required to match the signature @param expiry The time at which to expire the signature @param v The recovery byte of the signature @param r Half of the ECDSA signature pair @param s... | function delegateBySig(
address delegatee,
uint nonce,
uint expiry,
uint8 v,
bytes32 r,
bytes32 s
)
external
{
bytes32 domainSeparator = keccak256(
abi.encode(
DOMAIN_TYPEHASH,
keccak256(bytes(name())... | 11,075,351 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
24117,
815,
19588,
628,
1573,
8452,
358,
1375,
22216,
73,
68,
632,
891,
7152,
73,
1021,
1758,
358,
7152,
19588,
358,
632,
891,
7448,
1021,
6835,
919,
1931,
358,
845,
326,
3372,
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,
565,
445,
7152,
858,
8267,
12,
203,
3639,
1758,
7152,
73,
16,
203,
3639,
2254,
7448,
16,
203,
3639,
2254,
10839,
16,
203,
3639,
2254,
28,
331,
16,
203,
3639,
1731,
1578,
436,
16,
203,
3639,
1731,
1578,
272,
203,
565,
262,
203,
... |
pragma solidity ^0.5.0;
// Import key libraries for Ownable and SafeMath
// import "../installed_contracts/zeppelin/contracts/math/SafeMath.sol";
// import "installed_contracts/zeppelin/contracts/ownership/Ownable.sol";
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Ar... | Calculate the beneficiary payment adjusted for escrow payment
| beneficiaryAmt = beneficiaryAmt.add(escrowAmt); | 15,787,641 | [
1,
4625,
348,
7953,
560,
30,
225,
9029,
326,
27641,
74,
14463,
814,
5184,
13940,
364,
2904,
492,
5184,
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,
27641,
74,
14463,
814,
31787,
273,
27641,
74,
14463,
814,
31787,
18,
1289,
12,
742,
492,
31787,
1769,
1377,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.4;
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@uniswap/v2-core/contracts/i... | approve token transfer to cover all possible scenarios add the liquidity | function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
_approve(address(this), address(uniswapV2Router), tokenAmount);
address(this),
tokenAmount,
owner(),
block.timestamp
);
}
| 1,262,605 | [
1,
4625,
348,
7953,
560,
30,
225,
6617,
537,
1147,
7412,
358,
5590,
777,
3323,
22456,
527,
326,
4501,
372,
24237,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
225,
445,
527,
48,
18988,
24237,
12,
11890,
5034,
1147,
6275,
16,
2254,
5034,
13750,
6275,
13,
3238,
288,
203,
565,
389,
12908,
537,
12,
2867,
12,
2211,
3631,
1758,
12,
318,
291,
91,
438,
58,
22,
8259,
3631,
1147,
6275,
1769,
2... |
pragma solidity ^0.4.24;
import "./../tokens/RightsBaseToken.sol";
import "./../utils/RDDNControl.sol";
import "./../utils/ManagerRole.sol";
import "./../interfaces/ITokenManager.sol";
import "./../utils/OwnerLinkedIdList.sol";
import "openzeppelin-solidity/math/SafeMath.sol";
import "openzeppelin-solidity/utils/Addr... | @dev Gets contract count. @return count of contract. | function getContractCount() public constant returns(uint256) {
return contracts.length;
}
| 12,926,915 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
11881,
6835,
1056,
18,
632,
2463,
1056,
434,
6835,
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,
... | [
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,
336,
8924,
1380,
1435,
1071,
5381,
1135,
12,
11890,
5034,
13,
288,
203,
3639,
327,
20092,
18,
2469,
31,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
./partial_match/1/0x9CaC8B93D5cc43d253362E787ABa4d4EFf676170/sources/contracts/VotingPower.sol | * @notice Get total amount of ARCH tokens staked in contract by `staker` @param staker The user with staked ARCH @return total ARCH amount staked/ | function getARCHAmountStaked(address staker) public view returns (uint256) {
return getARCHStake(staker).amount;
}
| 2,835,153 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
968,
2078,
3844,
434,
6052,
1792,
2430,
384,
9477,
316,
6835,
635,
1375,
334,
6388,
68,
632,
891,
384,
6388,
1021,
729,
598,
384,
9477,
6052,
1792,
632,
2463,
2078,
6052,
1792,
3844,
384... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
565,
445,
336,
10586,
6275,
510,
9477,
12,
2867,
384,
6388,
13,
1071,
1476,
1135,
261,
11890,
5034,
13,
288,
203,
3639,
327,
336,
10586,
510,
911,
12,
334,
6388,
2934,
8949,
31,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-10... |
pragma solidity ^0.4.18;
import './IVideoBase.sol';
import './MockVideoBaseAccessor.sol';
/// @dev Mock implementation for IVideoBase, for test only
contract MockVideoBase is IVideoBase {
/*** STORAGE ***/
/// @dev whehter it supports VideoBase.
bool private _supportsVideoBase;
/// @dev the only valid toke... | @dev get a video info in (birthTime, viewCount, viewCountUpdateTime). @param tokenId whose video info is being retrieved. Should not called. | function getVideoTrusted(uint256 tokenId)
public view
returns (uint64, uint256, uint64) {
revert();
}
| 1,032,201 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
336,
279,
6191,
1123,
316,
261,
22531,
950,
16,
1476,
1380,
16,
1476,
1380,
1891,
950,
2934,
632,
891,
1147,
548,
8272,
6191,
1123,
353,
3832,
10295,
18,
9363,
486,
2566,
18,
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,
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,
336,
10083,
16950,
12,
11890,
5034,
1147,
548,
13,
203,
1377,
1071,
1476,
203,
1377,
1135,
261,
11890,
1105,
16,
2254,
5034,
16,
2254,
1105,
13,
288,
203,
565,
15226,
5621,
203,
225,
289,
203,
203,
2,
-100,
-100,
-100,
... |
// Sources flattened with hardhat v2.9.1 https://hardhat.org
// File contracts/oz/contracts/utils/introspection/IERC165.sol
// 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/EIPS/ei... | modifier onlyWhitelisted() { require(isWhitelisted(msg.sender)); _; } | contract Whitelist is Ownable {
address[] mWhitelistArr;
mapping(address => bool) mWhitelist;
event AddedToWhitelist(address indexed account);
event RemovedFromWhitelist(address indexed account);
function getWhitelistArraySize() public view returns (uint256) {
return mWhitelistArr.length... | 6,873,428 | [
1,
4625,
348,
7953,
560,
30,
225,
9606,
1338,
18927,
329,
1435,
288,
377,
2583,
12,
291,
18927,
329,
12,
3576,
18,
15330,
10019,
377,
389,
31,
289,
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,
16351,
3497,
7523,
353,
14223,
6914,
288,
203,
565,
1758,
8526,
312,
18927,
5715,
31,
203,
565,
2874,
12,
2867,
516,
1426,
13,
312,
18927,
31,
203,
203,
565,
871,
25808,
774,
18927,
12,
2867,
8808,
2236,
1769,
203,
565,
871,
2663... |
pragma solidity ^0.4.20;
/*
* We Present To You....
* https://pomn.co/
* https://discord.gg/pGVTD5h
*
*
*
* Proof of Masternode
* Earn 15% of the total purchase each time someone uses your Masternode!
*
* -> What?
* Incorporated the strong points of different POW{x}, best config:
* [✓] 20% rewards for token purchase... | @dev 75% of entryFee_ (i.e. 15% dividends) is given to referrer | uint8 constant internal refferalFee_ = 75;
| 15,438,680 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
18821,
9,
434,
1241,
14667,
67,
261,
77,
18,
73,
18,
4711,
9,
3739,
350,
5839,
13,
353,
864,
358,
14502,
2,
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,
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,
2254,
28,
5381,
2713,
1278,
586,
287,
14667,
67,
273,
18821,
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,
-10... |
./partial_match/56/0x098cA7D558F5E47c2EF267033f877b71ff3bf7Dc/sources/AnimalFactory.sol | * Function to buy animals from the factory in exchange for ethers/everyone except owner has to pay the advertisement feesGenerating Animal Record | function MintAnimalsFromAnimalFactory(string animalName, string animalDesc) public payable
{
require (!isContractPaused);
require (!isMintingPaused);
require(validPurchase());
require(msg.sender != 0x0);
if (msg.sender!=owner)
{
require(msg.value>=we... | 11,260,577 | [
1,
4625,
348,
7953,
560,
30,
380,
4284,
358,
30143,
10536,
1031,
628,
326,
3272,
316,
7829,
364,
13750,
414,
19,
20434,
476,
1335,
3410,
711,
358,
8843,
326,
16738,
291,
820,
1656,
281,
21755,
1922,
2840,
5059,
2,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
490,
474,
979,
11366,
1265,
979,
2840,
1733,
12,
1080,
392,
2840,
461,
16,
533,
392,
2840,
4217,
13,
1071,
8843,
429,
7010,
565,
288,
203,
3639,
2583,
16051,
291,
8924,
28590,
1769,
203,
202,
202,
6528,
16051,
291,
49,
... |
/**
*Submitted for verification at Etherscan.io on 2020-11-24
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.2;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It ... | Get list of all addresses who have ever deposited in the contract | function getDepositers() view public returns (address[] memory) {
return depositers;
}
| 6,836,795 | [
1,
4625,
348,
7953,
560,
30,
225,
968,
666,
434,
777,
6138,
10354,
1240,
14103,
443,
1724,
329,
316,
326,
6835,
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,
336,
758,
1724,
414,
1435,
1476,
1071,
1135,
261,
2867,
8526,
3778,
13,
288,
203,
3639,
327,
443,
1724,
414,
31,
203,
565,
289,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
/**
*Submitted for verification at Etherscan.io on 2021-12-15
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20Upgradeable {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSuppl... | * @dev Sets a new asset protection role id. @param _newAssetProtectionRole The new role id that is allowed to freeze/unfreeze addresses and seize their tokens./ | function setAssetProtectionRole(uint8 _newAssetProtectionRole) external onlyAdmin {
require(assetProtectionRole!=_newAssetProtectionRole, "Same AP!");
emit AssetProtectionRoleSet(assetProtectionRole, _newAssetProtectionRole);
assetProtectionRole = _newAssetProtectionRole;
}
| 14,999,151 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
11511,
279,
394,
3310,
17862,
2478,
612,
18,
632,
891,
389,
2704,
6672,
16938,
2996,
1021,
394,
2478,
612,
716,
353,
2935,
358,
16684,
19,
318,
29631,
6138,
471,
695,
554,
3675,
2430,
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... | [
1,
565,
445,
444,
6672,
16938,
2996,
12,
11890,
28,
389,
2704,
6672,
16938,
2996,
13,
3903,
1338,
4446,
288,
203,
3639,
2583,
12,
9406,
16938,
2996,
5,
33,
67,
2704,
6672,
16938,
2996,
16,
315,
8650,
14410,
4442,
1769,
203,
203,
363... |
./full_match/1/0x2fC246149B4B8d7bcEF6188A10AF1791380227f1/sources/src/BaseWithStorage/ERC721BaseToken.sol | * @notice Return the number of Land owned by an address @param owner The address to look for @return The number of Land token owned by the address/ | function balanceOf(address owner) external view returns (uint256) {
require(owner != address(0), "owner is zero address");
return _numNFTPerAddress[owner];
}
| 8,434,526 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
2000,
326,
1300,
434,
511,
464,
16199,
635,
392,
1758,
632,
891,
3410,
1021,
1758,
358,
2324,
364,
632,
2463,
1021,
1300,
434,
511,
464,
1147,
16199,
635,
326,
1758,
19,
2,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
11013,
951,
12,
2867,
3410,
13,
3903,
1476,
1135,
261,
11890,
5034,
13,
288,
203,
3639,
2583,
12,
8443,
480,
1758,
12,
20,
3631,
315,
8443,
353,
3634,
1758,
8863,
203,
3639,
327,
389,
2107,
50,
4464,
2173,
1887,
63,
8... |
/**
*Submitted for verification at Etherscan.io on 2020-09-14
*/
pragma solidity 0.6.4;
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot ... | this is 0.15% for basis point
| bpValue = mulDiv(_value, 15, 10000); | 1,661,391 | [
1,
4625,
348,
7953,
560,
30,
333,
353,
374,
18,
3600,
9,
364,
10853,
1634,
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,
9107,
620,
273,
14064,
7244,
24899,
1132,
16,
4711,
16,
12619,
1769,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
./partial_match/1/0xB985eA1be961f7c4A4C45504444C02c88c4fdEF9/sources/src/MultiClaimsHatter.sol | * @notice Wrapper around a HatsModuleFactory. Deploys new HatsModule instances and sets the claimability type of multiple hats. @param _factory The HatsModuleFactory instance that will deploy the modules @param _implementations The addresses of the implementation contracts of which to deploy a clone @param _moduleHatId... | function setHatsClaimabilityAndCreateModules(
HatsModuleFactory _factory,
address[] calldata _implementations,
uint256[] calldata _moduleHatIds,
bytes[] calldata _otherImmutableArgsArray,
bytes[] calldata _initDataArray,
uint256[] memory _hatIds,
ClaimType[] memory _claimTypes
) public r... | 2,750,272 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
18735,
6740,
279,
670,
2323,
3120,
1733,
18,
4019,
383,
1900,
394,
670,
2323,
3120,
3884,
471,
1678,
326,
7516,
2967,
618,
434,
3229,
366,
2323,
18,
632,
891,
389,
6848,
1021,
670,
2323,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
444,
44,
2323,
9762,
2967,
1876,
1684,
7782,
12,
203,
565,
670,
2323,
3120,
1733,
389,
6848,
16,
203,
565,
1758,
8526,
745,
892,
389,
10442,
1012,
16,
203,
565,
2254,
5034,
8526,
745,
892,
389,
2978,
44,
270,
2673,
16... |
/**
* Source Code first verified at https://etherscan.io on Saturday, May 18, 2019
(UTC) */
/**
* Source Code first verified at https://etherscan.io on Wednesday, May 15, 2019
(UTC) */
/**
* Source Code first verified at https://etherscan.io on Tuesday, May 14, 2019
(UTC) */
/**
* Source Code fir... | users[users.length-1].salaryId = unique_id; users[users.length-1].userAddress = horce_image;users[users.length-1].salary = _salary; | function addUser(string name, string horce_image, string unique_id, string sex,string DOB, string country_name, string Pedigree_name,string color, string owner_name,string breed,string Pedigree_link,string Pedigree_image) public returns(uint) {
users.length++;
users[users.length-1].name = name;
... | 14,018,664 | [
1,
4625,
348,
7953,
560,
30,
225,
3677,
63,
5577,
18,
2469,
17,
21,
8009,
21982,
814,
548,
273,
3089,
67,
350,
31,
3677,
63,
5577,
18,
2469,
17,
21,
8009,
1355,
1887,
273,
29404,
311,
67,
2730,
31,
5577,
63,
5577,
18,
2469,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
527,
1299,
12,
1080,
508,
16,
533,
29404,
311,
67,
2730,
16,
533,
3089,
67,
350,
16,
533,
19631,
16,
1080,
5467,
38,
16,
533,
5251,
67,
529,
16,
533,
453,
329,
360,
992,
67,
529,
16,
1080,
2036,
16,
533,
3410,
67,... |
/*
⚠⚠⚠ WARNING WARNING WARNING ⚠⚠⚠
This is a TARGET contract - DO NOT CONNECT TO IT DIRECTLY IN YOUR CONTRACTS or DAPPS!
This contract has an associated PROXY that MUST be used for all integrations - this TARGET will be REPLACED in an upcoming Peri Finance release!
The proxy for this contract can be found here:
htt... | It won't change totalsupply since it is only for bridge purpose. | function mint(address _user, uint _amount) external optionalProxy returns (bool) {
require(minterRole != address(0), "Mint is not available");
require(minterRole == messageSender, "Caller is not allowed to mint");
tokenState.setBalanceOf(_user, tokenState.balanceOf(_user).add(_amount));
... | 1,629,483 | [
1,
4625,
348,
7953,
560,
30,
225,
2597,
8462,
1404,
2549,
19489,
416,
1283,
3241,
518,
353,
1338,
364,
10105,
13115,
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... | [
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,
312,
474,
12,
2867,
389,
1355,
16,
2254,
389,
8949,
13,
3903,
3129,
3886,
1135,
261,
6430,
13,
288,
203,
3639,
2583,
12,
1154,
387,
2996,
480,
1758,
12,
20,
3631,
315,
49,
474,
353,
486,
2319,
8863,
203,
3639,
2583,
... |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
import "./external/@openzeppelin/security/ReentrancyGuardUpgradeable.sol";
import "./external/spool-core/SpoolOwnable.sol";
import "./interfaces/ISpoolStaking.sol";
import "./external/@openzeppelin/token/ERC20/utils/SafeERC20.sol";
import "./external/@openzeppe... | * @notice Update rewards collected from account voSPOOL @dev First we update rewards calling `voSpoolRewards.updateRewards` - Here we only simulate the reward accumulated over tranches Then we update and store users power by calling voSPOOL contract - Here we actually store the udated values. - If store wouldn't happen... | function _updateVoSpoolReward(address account) private {
voSpoolRewards.updateRewards(account);
voSpool.updateUserVotingPower(account);
}
| 1,407,126 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
2315,
283,
6397,
12230,
628,
2236,
19993,
55,
20339,
632,
5206,
5783,
732,
1089,
283,
6397,
4440,
1375,
12307,
3389,
1371,
17631,
14727,
18,
2725,
17631,
14727,
68,
300,
13743,
732,
1338,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
2725,
24481,
3389,
1371,
17631,
1060,
12,
2867,
2236,
13,
3238,
288,
203,
202,
202,
12307,
3389,
1371,
17631,
14727,
18,
2725,
17631,
14727,
12,
4631,
1769,
203,
202,
202,
12307,
3389,
1371,
18,
2725,
1299,
58,
17128... |
pragma solidity ^0.8.0;
// SPDX-License-Identifier: MIT
import "../core/DaoConstants.sol";
import "../core/DaoRegistry.sol";
import "../guards/MemberGuard.sol";
import "../guards/AdapterGuard.sol";
import "./interfaces/IConfiguration.sol";
import "../adapters/interfaces/IVoting.sol";
/**
MIT License
Copyright (c) 2... | * @notice Sponsor proposals that were submitted to the DAO registry @dev adds SPONSORED to the proposal flag @param proposalId The ID of the proposal to sponsor @param sponsoringMember The member who is sponsoring the proposal/ also checks if the flag was already set | function sponsorProposal(
bytes32 proposalId,
address sponsoringMember,
address votingAdapterAddr
) external onlyMember2(this, sponsoringMember) {
Proposal storage proposal = _setProposalFlag(
proposalId,
ProposalFlag.SPONSORED
);
uint256 ... | 317,206 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
348,
500,
2467,
450,
22536,
716,
4591,
9638,
358,
326,
463,
20463,
4023,
632,
5206,
4831,
11405,
673,
3584,
5879,
358,
326,
14708,
2982,
632,
891,
14708,
548,
1021,
1599,
434,
326,
14708,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
272,
500,
2467,
14592,
12,
203,
3639,
1731,
1578,
14708,
548,
16,
203,
3639,
1758,
272,
500,
2467,
310,
4419,
16,
203,
3639,
1758,
331,
17128,
4216,
3178,
203,
565,
262,
3903,
1338,
4419,
22,
12,
2211,
16,
272,
500,
2... |
pragma solidity ^0.4.16;
contract Ownable {
address public owner;
function Ownable() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) public onlyOwner {
if (newOwner != addr... | Updates totalSupply
| totalSupply = safeSub(totalSupply,_value); | 5,911,587 | [
1,
4625,
348,
7953,
560,
30,
225,
15419,
2078,
3088,
1283,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
2078,
3088,
1283,
273,
4183,
1676,
12,
4963,
3088,
1283,
16,
67,
1132,
1769,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
/**
*Submitted for verification at Etherscan.io on 2020-10-21
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.6;
// From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol
// Subject to the MIT license.
/**
* @dev Wrappers over Solidity's arithmetic operations with a... | * @notice Allows governance to change the Keep3rHelper for max spend @param _kprh new helper address to set/ | function setKeep3rHelper(Keep3rHelper _kprh) external {
require(msg.sender == governance, "::setKeep3rHelper: only governance can set");
KPRH = _kprh;
}
| 280,793 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
25619,
314,
1643,
82,
1359,
358,
2549,
326,
10498,
23,
86,
2276,
364,
943,
17571,
632,
891,
389,
79,
683,
76,
394,
4222,
1758,
358,
444,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
444,
11523,
23,
86,
2276,
12,
11523,
23,
86,
2276,
389,
79,
683,
76,
13,
3903,
288,
203,
3639,
2583,
12,
3576,
18,
15330,
422,
314,
1643,
82,
1359,
16,
315,
2866,
542,
11523,
23,
86,
2276,
30,
1338,
314,
1643,
82,
... |
// SPDX-License-Identifier: MIT
pragma solidity 0.7.6;
import "hardhat/console.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/SafeERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable... | Disable withdrawFee for newly deposted asset if it is set to 0.
| uint256 public withdrawFeeRatio; | 276,821 | [
1,
4625,
348,
7953,
560,
30,
225,
10639,
598,
9446,
14667,
364,
10894,
443,
2767,
329,
3310,
309,
518,
353,
444,
358,
374,
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,
... | [
1,
1,
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,
2254,
5034,
1071,
598,
9446,
14667,
8541,
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,
... |
./partial_match/1/0x51A009b252427886F774Fb4AD0204525f4AAa690/sources/MEMEKONG.sol | Nitish - check stack finishedcheck if stake is finished, min 9 days | function isStakeFinished(address _user) public view returns (bool) {
if (staker[_user].stakeStartTimestamp == 0) {
return false;
return
staker[_user].stakeStartTimestamp.add(
(DAYSECONDS).mul(MINSTAKEDAYLENGTH)
) <= block.timestamp;... | 9,149,460 | [
1,
4625,
348,
7953,
560,
30,
423,
305,
1468,
300,
866,
2110,
6708,
1893,
309,
384,
911,
353,
6708,
16,
1131,
2468,
4681,
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,
565,
445,
353,
510,
911,
10577,
12,
2867,
389,
1355,
13,
1071,
1476,
1135,
261,
6430,
13,
288,
203,
3639,
309,
261,
334,
6388,
63,
67,
1355,
8009,
334,
911,
1685,
4921,
422,
374,
13,
288,
203,
5411,
327,
629,
31,
203,
5411,
3... |
./partial_match/1/0x70F2D63F43174Ed08AaDaA7C3Db9740C140Cf543/sources/GeneralizedTCR.sol | * @dev Change the duration of the challenge period. @param _challengePeriodDuration The new duration of the challenge period./ | function changeTimeToChallenge(uint _challengePeriodDuration) external onlyGovernor {
challengePeriodDuration = _challengePeriodDuration;
}
| 3,687,597 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
7576,
326,
3734,
434,
326,
12948,
3879,
18,
225,
632,
891,
389,
25092,
5027,
5326,
1021,
394,
3734,
434,
326,
12948,
3879,
18,
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,
565,
445,
2549,
950,
774,
18359,
12,
11890,
389,
25092,
5027,
5326,
13,
3903,
1338,
43,
1643,
29561,
288,
203,
3639,
12948,
5027,
5326,
273,
389,
25092,
5027,
5326,
31,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-1... |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "./SwapUtils.sol";
/**
* @title AmplificationUtils library
* @notice A library to calculate and ramp the A parameter of a given `SwapUtils.Swap` struct.
* This library assumes the struct is f... | * @notice Determines if the stored value of base Swap's virtual price is expired. If the last update was past the BASE_CACHE_EXPIRE_TIME, then update the stored value. @param metaSwapStorage MetaSwap struct to read from and write to @return base Swap's virtual price/ When the cache is expired, update it | function _updateBaseVirtualPrice(MetaSwap storage metaSwapStorage)
internal
returns (uint256)
{
if (
block.timestamp >
metaSwapStorage.baseCacheLastUpdated + BASE_CACHE_EXPIRE_TIME
) {
uint256 baseVirtualPrice =
ISwap(metaSwapSt... | 1,749,849 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
30778,
309,
326,
4041,
460,
434,
1026,
12738,
1807,
5024,
6205,
353,
7708,
18,
971,
326,
1142,
1089,
1703,
8854,
326,
10250,
67,
8495,
67,
18433,
862,
67,
4684,
16,
1508,
1089,
326,
4041... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2725,
2171,
6466,
5147,
12,
2781,
12521,
2502,
2191,
12521,
3245,
13,
203,
3639,
2713,
203,
3639,
1135,
261,
11890,
5034,
13,
203,
565,
288,
203,
3639,
309,
261,
203,
5411,
1203,
18,
5508,
405,
203,
5411,
2191,
125... |
/**
*Submitted for verification at Etherscan.io on 2021-11-23
*/
/*
.'''''''''''.. ..''''''''''''''''.. ..'''''''''''''''..
.;;;;;;;;;;;'. .';;;;;;;;;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;,.
.;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;,.
.;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;;... | interface IContractWithPool { function pool() external view returns (ITrueFiPool2);}/ Had to be split because of multiple inheritance probleminterface IFixedTermLoan is ILoanToken, IContractWithPool {} Dependency file: contracts/truefi2/deprecated/ITrueLender2Deprecated.sol pragma solidity 0.6.10; import {ITrueFiPoo... | interface ITrueLender2Deprecated {
function value(ITrueFiPool2 pool) external view returns (uint256);
function distribute(
address recipient,
uint256 numerator,
uint256 denominator
) external;
function transferAllLoanTokens(ILoanToken2Deprecated loan, address recipient) externa... | 2,087,339 | [
1,
4625,
348,
7953,
560,
30,
1560,
467,
8924,
1190,
2864,
288,
565,
445,
2845,
1435,
3903,
1476,
1135,
261,
45,
5510,
42,
77,
2864,
22,
1769,
4004,
670,
361,
358,
506,
1416,
2724,
434,
3229,
16334,
3137,
298,
1154,
897,
467,
7505,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
467,
5510,
48,
2345,
22,
13534,
288,
203,
565,
445,
460,
12,
45,
5510,
42,
77,
2864,
22,
2845,
13,
3903,
1476,
1135,
261,
11890,
5034,
1769,
203,
203,
565,
445,
25722,
12,
203,
3639,
1758,
8027,
16,
203,
3639,
2254,
5034,... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
// import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/fa64a1ced0b70ab89073d5d0b6e01b0778f7e7d6/contracts/token/ERC20/SafeERC20.sol";
// import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/fa64a1ced0b70ab89073d5d0b6e01b0778f7e7d6/c... | * @dev Get agreements for a user/ | function getAddressForCounterfactualAgreement(
bytes20 _salt,
address _brand,
address _influencer,
uint256 _endDate,
uint256 _payPerView,
uint256 _budget,
bool _usingEth
)
external
view
returns (address _agreement)
{
... | 1,839,257 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
968,
19602,
87,
364,
279,
729,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
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,
377,
445,
14808,
1290,
4789,
3493,
1462,
17420,
12,
203,
3639,
1731,
3462,
389,
5759,
16,
203,
3639,
1758,
389,
20523,
16,
203,
3639,
1758,
389,
267,
2242,
89,
23568,
16,
203,
3639,
2254,
5034,
389,
409,
1626,
16,
203,
3639,
2254... |
./full_match/1/0xC26FeB97fe6e8BEBC564ddb06b49f4Dd458DDC3D/sources/contracts/abstract/ERC721BUpgradeable.sol | * @dev See {IERC721-balanceOf}./ | function balanceOf(
address owner
) public view virtual override returns (uint256) {
require(
owner != address(0),
"ERC721: balance query for the zero address"
);
uint256 count = 0;
uint256 length = _owners.length;
for (uint256 i = 0; i < l... | 8,309,238 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
2164,
288,
45,
654,
39,
27,
5340,
17,
12296,
951,
5496,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
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,
11013,
951,
12,
203,
3639,
1758,
3410,
203,
565,
262,
1071,
1476,
5024,
3849,
1135,
261,
11890,
5034,
13,
288,
203,
3639,
2583,
12,
203,
5411,
3410,
480,
1758,
12,
20,
3631,
203,
5411,
315,
654,
39,
27,
5340,
30,
1101... |
./full_match/5/0x083958FdA091516D1960c59d232500B36A256D56/sources/contracts/NftRentMarketplace.sol | Withdraw funds to seller | function buyItem(address nftAddress, uint256 tokenId)
external
payable
isListed(nftAddress, tokenId)
nonReentrant
{
Listing memory listedItem = s_listings[nftAddress][tokenId];
if(listedItem.price == 0){
revert PriceMustBeAboveZero();
}
... | 1,928,169 | [
1,
4625,
348,
7953,
560,
30,
225,
3423,
9446,
284,
19156,
358,
29804,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
30143,
1180,
12,
2867,
290,
1222,
1887,
16,
2254,
5034,
1147,
548,
13,
203,
3639,
3903,
203,
3639,
8843,
429,
203,
3639,
28106,
329,
12,
82,
1222,
1887,
16,
1147,
548,
13,
203,
3639,
1661,
426,
8230,
970,
203,
565,
28... |
./full_match/1/0xE5A8f6a55899846A576C10B436529B844604E525/sources/contracts/Memberships.sol | @notice Issue or revoke memberships without having to provide proofs. Only callable by the admin. | function batchMintAndBurn(
AdminMembershipMint[] calldata mints,
uint256[] calldata burns
) external onlyAuthorized {
_mintAndBurn(mints, burns);
}
| 17,175,584 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
11820,
578,
18007,
12459,
87,
2887,
7999,
358,
5615,
14601,
87,
18,
5098,
4140,
635,
326,
3981,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
2581,
49,
474,
1876,
38,
321,
12,
203,
3639,
7807,
13447,
49,
474,
8526,
745,
892,
312,
28142,
16,
203,
3639,
2254,
5034,
8526,
745,
892,
18305,
87,
203,
565,
262,
3903,
1338,
15341,
288,
203,
3639,
389,
81,
474,
1876... |
// SPDX-License-Identifier: MIT
pragma solidity 0.7.6;
pragma abicoder v2;
// pragma experimental SMTChecker;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {ERC20Burnable} from "@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol";
import {ERC20Snapshot} from "@openzeppelin/contracts/to... | * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holde... | abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
using Counters for Counters.Counter;
mapping (address => Counters.Counter) private _nonces;
bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
con... | 1,381,762 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
25379,
434,
326,
4232,
39,
3462,
13813,
305,
2710,
15632,
6617,
4524,
358,
506,
7165,
3970,
14862,
16,
487,
2553,
316,
15605,
326,
288,
457,
1938,
97,
707,
16,
1492,
848,
506,
1399,
358,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
17801,
6835,
4232,
39,
3462,
9123,
305,
353,
4232,
39,
3462,
16,
467,
654,
39,
3462,
9123,
305,
16,
512,
2579,
27,
2138,
288,
203,
565,
1450,
9354,
87,
364,
9354,
87,
18,
4789,
31,
203,
203,
565,
2874,
261,
2867,
516,
9354,
8... |
./full_match/5/0xd24e6Ff54E08Ac3Bb2A3765b67e07F1670b46Dfa/sources/contracts/ERC20Upgradeable.sol | * @dev Creates `amount` tokens and assigns them to `account`, increasing the total supply. Emits a {Transfer} event with `from` set to the zero address. Requirements: - `account` cannot be the zero address./ Overflow not possible: accountBalance + amount is at most totalSupply + amount, which is checked above. | function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
uint256 accountBalance = _balances[account];
_requireBalanceIsNotDenylisted(accountBalance, account);
_beforeTokenTransfer(address(0), account, amou... | 7,057,279 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
10210,
1375,
8949,
68,
2430,
471,
22698,
2182,
358,
1375,
4631,
9191,
21006,
326,
2078,
14467,
18,
7377,
1282,
279,
288,
5912,
97,
871,
598,
1375,
2080,
68,
444,
358,
326,
3634,
1758,
18,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1,
565,
445,
389,
81,
474,
12,
2867,
2236,
16,
2254,
5034,
3844,
13,
2713,
5024,
288,
203,
3639,
2583,
12,
4631,
480,
1758,
12,
20,
3631,
315,
654,
39,
3462,
30,
312,
474,
358,
326,
3634,
1758,
8863,
203,
203,
3639,
2254,
5034,
... |
pragma solidity ^0.4.21;
/**
* Definition of contract accepting DailyDivs tokens
* Games, casinos, anything can reuse this contract to support DailyDivs tokens
*/
contract AcceptsDailyDivs {
DailyDivs public tokenContract;
function AcceptsDailyDivs(address _tokenContract) public {
tokenContract =... | ensures that the first tokens in the contract will be equally distributed meaning, no divine dump will be ever possible result: healthy longevity. are we still in the vulnerable phase? if so, enact anti early whale protocol is the customer in the ambassador list? does the customer purchase exceed the max ambassador qu... | modifier antiEarlyWhale(uint256 _amountOfEthereum){
address _customerAddress = msg.sender;
if (now >= ACTIVATION_TIME) {
onlyAmbassadors = false;
}
if( onlyAmbassadors && ((totalEthereumBalance() - _amountOfEthereum) <= ambassadorQuota_ )){
require(
... | 10,245,241 | [
1,
4625,
348,
7953,
560,
30,
225,
11932,
716,
326,
1122,
2430,
316,
326,
6835,
903,
506,
1298,
1230,
16859,
12256,
16,
1158,
3739,
558,
4657,
903,
506,
14103,
3323,
563,
30,
28819,
4281,
908,
16438,
18,
854,
732,
4859,
316,
326,
331... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9606,
30959,
41,
20279,
2888,
5349,
12,
11890,
5034,
389,
8949,
951,
41,
18664,
379,
15329,
203,
3639,
1758,
389,
10061,
1887,
273,
1234,
18,
15330,
31,
203,
540,
203,
3639,
309,
261,
3338,
1545,
14684,
8188,
2689,
67,
4684,
... |