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 |
|---|---|---|---|---|---|---|
./partial_match/1/0xC663C970d0cf9F9D7813137aA51BfEF1795Ec890/sources/StakingRewards.sol | Added to support recovering LP Rewards from other systems to be distributed to holders If it's TLINK we have to query the token symbol to ensure its not a proxy or underlying Cannot recover the staking token or the rewards token | function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyOwner {
bool isCorrectToken = (keccak256(bytes("LEASH")) == keccak256(bytes(ERC20Detailed(tokenAddress).symbol())));
require(
tokenAddress != address(stakingToken) && tokenAddress != address(rewardsToken) && !i... | 9,240,443 | [
1,
4625,
348,
7953,
560,
30,
225,
25808,
358,
2865,
5910,
310,
511,
52,
534,
359,
14727,
628,
1308,
14908,
358,
506,
16859,
358,
366,
4665,
971,
518,
1807,
399,
10554,
732,
1240,
358,
843,
326,
1147,
3273,
358,
3387,
2097,
486,
279,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
5910,
654,
39,
3462,
12,
2867,
1147,
1887,
16,
2254,
5034,
1147,
6275,
13,
3903,
1338,
5541,
288,
203,
3639,
1426,
353,
16147,
1345,
273,
261,
79,
24410,
581,
5034,
12,
3890,
2932,
900,
10793,
6,
3719,
422,
417,
24410,
... |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
import "../node_modules/@openzeppelin/contracts/access/Ownable.sol";
//@title Systeme de Vote
//@notice Enregister les votant, les proposition ainsi que le vote
contract Voting is Ownable {
struct Voter {
bool waitRegister;
bool isRegist... | @title Systeme de Vote@notice Enregister les votant, les proposition ainsi que le vote | contract Voting is Ownable {
pragma solidity 0.8.0;
struct Voter {
bool waitRegister;
bool isRegistered;
bool hasVoted;
uint votedProposalId;
}
struct Proposal {
string description;
uint voteCount;
}
enum WorkflowStatus {
... | 12,612,106 | [
1,
4625,
348,
7953,
560,
30,
632,
2649,
2332,
73,
443,
27540,
36,
20392,
1374,
4861,
18022,
331,
352,
970,
16,
18022,
450,
3276,
279,
2679,
77,
6597,
884,
12501,
2,
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,
16351,
776,
17128,
353,
14223,
6914,
288,
203,
203,
377,
203,
683,
9454,
18035,
560,
374,
18,
28,
18,
20,
31,
203,
565,
1958,
776,
20005,
288,
203,
3639,
1426,
2529,
3996,
31,
203,
3639,
1426,
353,
10868,
31,
203,
3639,
1426,
7... |
pragma solidity 0.5.17;
pragma experimental ABIEncoderV2;
interface IWeth {
function DEPOSIT413() external payable; //inject NONS... | inject NONSTANDARD NAMING
| function DIVCEIL360(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { | 6,465,421 | [
1,
4625,
348,
7953,
560,
30,
4590,
18708,
882,
18264,
423,
2192,
1360,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
27355,
1441,
2627,
29751,
12,
11890,
5034,
279,
16,
2254,
5034,
324,
16,
533,
3778,
9324,
13,
2713,
16618,
1135,
261,
11890,
5034,
13,
288,
202,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
./full_match/137/0x2Ff03681804437E39fB40D7AEd54D70A200AD363/sources/contracts/dragginator/legends.sol | * @dev Function get mint eth back from the contract. @param _to The address that will receive the eth. @param _amount The amount of eth to send./ ou owner.transfer... https:fravoll.github.io/solidity-patterns/secure_ether_transfer.html https:etherscan.io/address/0xf3C8Ed6C721774C022c530E813a369dFe78a6E85/#code | function withdraw(address payable _to, uint _amount) public onlyOwner {
_to.transfer(_amount);
}
| 4,736,900 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
4284,
336,
312,
474,
13750,
1473,
628,
326,
6835,
18,
632,
891,
389,
869,
1021,
1758,
716,
903,
6798,
326,
13750,
18,
632,
891,
389,
8949,
1021,
3844,
434,
13750,
358,
1366,
18,
19,
166... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
598,
9446,
12,
2867,
8843,
429,
389,
869,
16,
2254,
389,
8949,
13,
1071,
1338,
5541,
288,
203,
3639,
389,
869,
18,
13866,
24899,
8949,
1769,
203,
565,
289,
203,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
pragma solidity ^0.5.0;
import "../contracts/testContracts/TellorMaster.sol";
import "../contracts/testContracts/Tellor.sol";
import "./UserContract.sol";
import "../contracts/interfaces/ADOInterface.sol";
/**
* @title UsingTellor
* This contracts creates for easy integration to the Tellor Tellor System
*/
contract Us... | * @dev Allows user to add tip with Ether by sending the ETH to the userContract and exchanging it for Tributes at the price specified by the userContract owner. @param _requestId to tip/ | function addTipWithEther(uint256 _requestId) public payable {
UserContract(tellorUserContract).addTipWithEther.value(msg.value)(_requestId);
}
| 5,411,889 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
25619,
729,
358,
527,
9529,
598,
512,
1136,
635,
5431,
326,
512,
2455,
358,
326,
729,
8924,
471,
431,
343,
18183,
518,
364,
840,
495,
993,
622,
326,
6205,
1269,
635,
326,
729,
8924,
341... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
527,
14189,
1190,
41,
1136,
12,
11890,
5034,
389,
2293,
548,
13,
1071,
8843,
429,
288,
203,
3639,
2177,
8924,
12,
88,
1165,
280,
1299,
8924,
2934,
1289,
14189,
1190,
41,
1136,
18,
1132,
12,
3576,
18,
1132,
21433,
67,
... |
// File: contracts/lib/math/SafeMath.sol
pragma solidity 0.5.12;
/**
* @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 Mark all fill nonces as taken in the `usedNonces` mapping. This also validates fill uniquness within the set of fills in `_values`, since fill nonces are marked one at a time with validation that the nonce to be marked has not been marked before. See the `trade` method for param details. @param _values Values fro... | function _storeFillNonces(uint256[] memory _values) private {
uint256 i = 1 + (_values[0] & mask8) * 2;
uint256 end = i + ((_values[0] & mask16) >> 8) * 2;
for(i; i < end; i += 2) {
uint256 nonce = (_values[i] & mask120) >> 56;
_markNonce(nonce);
}
}
| 13,110,354 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
6622,
777,
3636,
1661,
764,
487,
9830,
316,
326,
1375,
3668,
3989,
764,
68,
2874,
18,
1220,
2546,
11964,
3636,
10748,
318,
403,
3470,
326,
444,
434,
21652,
316,
1375,
67,
2372,
9191,
3241... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2233,
8026,
3989,
764,
12,
11890,
5034,
8526,
3778,
389,
2372,
13,
3238,
288,
203,
3639,
2254,
5034,
277,
273,
404,
397,
261,
67,
2372,
63,
20,
65,
473,
3066,
28,
13,
380,
576,
31,
203,
3639,
2254,
5034,
679,
2... |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.10 <0.8.0;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/math/Math.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
im... | @notice Total shares of the fund, as if all Token A and B are merged. | function getTotalShares() public view override returns (uint256) {
return
_totalSupplies[TRANCHE_M].add(_totalSupplies[TRANCHE_A]).add(_totalSupplies[TRANCHE_B]);
}
| 12,579,391 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
10710,
24123,
434,
326,
284,
1074,
16,
487,
309,
777,
3155,
432,
471,
605,
854,
5384,
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,
... | [
1,
1,
1,
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,
12831,
24051,
1435,
1071,
1476,
3849,
1135,
261,
11890,
5034,
13,
288,
203,
3639,
327,
203,
5411,
389,
4963,
3088,
5259,
63,
8989,
5007,
67,
49,
8009,
1289,
24899,
4963,
3088,
5259,
63,
8989,
5007,
67,
37,
65,
2934,
128... |
/**
*Submitted for verification at Etherscan.io on 2022-03-21
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.12;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (b... | Anti-bot and anti-whale mappings and variables Seller Map Blacklist Map block number of opened trading exclude from fees and max transaction amount store addresses that a automatic market maker pairs. Any transfer *to* these addresses could be subject to a maximum transfer amount | contract WolfArmy is ERC20, Ownable {
using SafeMath for uint256;
IUniswapV2Router02 public immutable uniswapV2Router;
address public immutable uniswapV2Pair;
bool private swapping;
address public marketingWallet;
address public devWallet;
uint256 public maxTransactionAmount;
uin... | 6,663,610 | [
1,
4625,
348,
7953,
560,
30,
225,
18830,
77,
17,
4819,
471,
30959,
17,
3350,
5349,
7990,
471,
3152,
4352,
749,
1635,
22467,
1098,
1635,
1203,
1300,
434,
10191,
1284,
7459,
4433,
628,
1656,
281,
471,
943,
2492,
3844,
1707,
6138,
716,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
678,
355,
74,
686,
4811,
353,
4232,
39,
3462,
16,
14223,
6914,
288,
203,
565,
1450,
14060,
10477,
364,
2254,
5034,
31,
203,
7010,
565,
467,
984,
291,
91,
438,
58,
22,
8259,
3103,
1071,
11732,
640,
291,
91,
438,
58,
22,
... |
./full_match/5/0x9427185F1dC8c2C4c3140cE0a2b69Cd28d31C943/sources/contracts/DoubleDiceToken.sol | prepare for next iteration immediately
| prevExcludedAccount = account; | 1,857,843 | [
1,
4625,
348,
7953,
560,
30,
225,
2911,
364,
1024,
6532,
7636,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
5411,
2807,
16461,
3032,
273,
2236,
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,... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
//Written by Blockchainguy.net
//Email: info@blockchainguy.net
//tg: @sherazmanzoor
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are... | * @dev Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner./ | function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_setOwner(newOwner);
}
| 13,535,572 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
2604,
18881,
23178,
434,
326,
6835,
358,
279,
394,
2236,
21863,
2704,
5541,
68,
2934,
4480,
1338,
506,
2566,
635,
326,
783,
3410,
18,
19,
2,
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,
3639,
445,
7412,
5460,
12565,
12,
2867,
394,
5541,
13,
1071,
5024,
1338,
5541,
288,
203,
5411,
2583,
12,
2704,
5541,
480,
1758,
12,
20,
3631,
315,
5460,
429,
30,
394,
3410,
353,
326,
3634,
1758,
8863,
203,
5411,
389,
542,
5541,
... |
pragma solidity ^0.5.6;
pragma experimental ABIEncoderV2;
interface GeneralERC20 {
function transfer(address to, uint256 value) external;
function transferFrom(address from, address to, uint256 value) external;
function approve(address spender, uint256 value) external;
function balanceOf(address spender) ex... | Withdraw from identity | (address tokenAddr, address to, uint amount) = abi.decode(op.data, (address, address, uint));
| 6,486,775 | [
1,
4625,
348,
7953,
560,
30,
225,
3423,
9446,
628,
4215,
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,
9506,
202,
12,
2867,
1147,
3178,
16,
1758,
358,
16,
2254,
3844,
13,
273,
24126,
18,
3922,
12,
556,
18,
892,
16,
261,
2867,
16,
1758,
16,
2254,
10019,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
/**
*Submitted for verification at Etherscan.io on 2019-12-02
*/
pragma solidity ^0.5.4;
/**
* ERC20 contract interface.
*/
contract ERC20 {
function totalSupply() public view returns (uint);
function decimals() public view returns (uint);
function balanceOf(address tokenOwner) public view returns (uin... | Overrides verifyRefund to add the refund in the daily limit. | function verifyRefund(BaseWallet _wallet, uint _gasUsed, uint _gasPrice, uint _signatures) internal view returns (bool) {
if(_gasPrice > 0 && _signatures > 0 && (
address(_wallet).balance < _gasUsed * _gasPrice ||
isWithinDailyLimit(_wallet, getCurrentLimit(_wallet), _gasUsed * _gasP... | 2,499,631 | [
1,
4625,
348,
7953,
560,
30,
225,
531,
9857,
3929,
21537,
358,
527,
326,
16255,
316,
326,
18872,
1800,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
3929,
21537,
12,
2171,
16936,
389,
19177,
16,
2254,
389,
31604,
6668,
16,
2254,
389,
31604,
5147,
16,
2254,
389,
30730,
13,
2713,
1476,
1135,
261,
6430,
13,
288,
203,
3639,
309,
24899,
31604,
5147,
405,
374,
597,
389,
3... |
./partial_match/1/0x9Dcd367e2AFA8D6e5d6Cf0306094E3Eb7BBAaf4d/sources/cryptobros.sol | Anti-bot and anti-whale mappings and variables Seller Map Blacklist Map block number of opened trading exclude from fees and max transaction amount store addresses that a automatic market maker pairs. Any transfer *to* these addresses could be subject to a maximum transfer amount | contract cryptobros is ERC20, Ownable {
using SafeMath for uint256;
IUniswapV2Router02 public immutable uniswapV2Router;
address public immutable uniswapV2Pair;
bool private swapping;
address private marketingWallet;
address private devWallet;
uint256 public maxTransactionAmount;
... | 9,404,388 | [
1,
4625,
348,
7953,
560,
30,
225,
18830,
77,
17,
4819,
471,
30959,
17,
3350,
5349,
7990,
471,
3152,
4352,
749,
1635,
22467,
1098,
1635,
1203,
1300,
434,
10191,
1284,
7459,
4433,
628,
1656,
281,
471,
943,
2492,
3844,
1707,
6138,
716,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13231,
947,
6973,
353,
4232,
39,
3462,
16,
14223,
6914,
288,
203,
565,
1450,
14060,
10477,
364,
2254,
5034,
31,
203,
7010,
565,
467,
984,
291,
91,
438,
58,
22,
8259,
3103,
1071,
11732,
640,
291,
91,
438,
58,
22,
8259,
31... |
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.7.5;
import "../types/Ownable.sol";
import "../libraries/SafeMath.sol";
import "../libraries/SafeERC20.sol";
import "../libraries/FixedPoint.sol";
import "../interfaces/ITreasury.sol";
import "../interfaces/IERC20.sol";
contract CustomBond is Ownable {
... | must be > 0.01 payout token ( underflow protection )
| require(payout >= 10 ** PAYOUT_TOKEN.decimals() / 100, "Bond too small"); | 15,789,920 | [
1,
4625,
348,
7953,
560,
30,
225,
1297,
506,
405,
374,
18,
1611,
293,
2012,
1147,
261,
3613,
2426,
17862,
262,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
2583,
12,
84,
2012,
1545,
1728,
2826,
25095,
5069,
67,
8412,
18,
31734,
1435,
342,
2130,
16,
315,
9807,
4885,
5264,
8863,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
./partial_match/1/0xdDc2c27eA8a42b35B329c4e0216600F12EED13d1/sources/contracts/wombat-governance/BoostedMasterWombat.sol | 20.18 fixed point. Amount of pending wom
| uint128 pendingWom; | 2,762,609 | [
1,
4625,
348,
7953,
560,
30,
225,
4200,
18,
2643,
5499,
1634,
18,
16811,
434,
4634,
341,
362,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
2254,
10392,
4634,
59,
362,
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,
... |
./partial_match/1/0x2d4b3417e56295b598638E0970581221E7Be5856/sources/HausKats.sol | * @notice Smart contract owner only function. Function updates the not revealed metadata url. Enter the new not revealed metadata url in the newNotRevealedMetadataURL field./ | function setNotRevealedMetadataURL(string memory newNotRevealedMetadataURL) public onlyOwner {
notRevealedMetadataURL = newNotRevealedMetadataURL;
}
| 9,278,196 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
19656,
6835,
3410,
1338,
445,
18,
4284,
4533,
326,
486,
283,
537,
18931,
1982,
880,
18,
15439,
326,
394,
486,
283,
537,
18931,
1982,
880,
316,
326,
394,
1248,
426,
537,
18931,
2277,
1785... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
565,
445,
444,
1248,
426,
537,
18931,
2277,
1785,
12,
1080,
3778,
394,
1248,
426,
537,
18931,
2277,
1785,
13,
1071,
1338,
5541,
288,
203,
3639,
486,
426,
537,
18931,
2277,
1785,
273,
394,
1248,
426,
537,
18931,
2277,
1785,
31,
20... |
pragma solidity 0.5.16;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "./SimpleFlopper.sol";
import "./TwoStepOwnable.sol";
import "./EnumerableSet.sol";
import "../interfaces/IDaiBackstopSynd... | daiRedeemed is the e18 version of vatDaiRedeemed (e45). Needed for dai ERC20 token, otherwise keep decimals of vatDai. | daiRedeemed = vatDaiRedeemed / 1e27;
| 12,975,505 | [
1,
4625,
348,
7953,
560,
30,
225,
5248,
77,
426,
24903,
329,
353,
326,
425,
2643,
1177,
434,
17359,
40,
10658,
426,
24903,
329,
261,
73,
7950,
2934,
26480,
364,
5248,
77,
4232,
39,
3462,
1147,
16,
3541,
3455,
15105,
434,
17359,
40,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5248,
77,
426,
24903,
329,
273,
17359,
40,
10658,
426,
24903,
329,
342,
404,
73,
5324,
31,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
pragma solidity ^0.5.0;
import "@openzeppelin/contracts/ownership/Ownable.sol";
import "@openzeppelin/contracts/GSN/GSNRecipient.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20Detailed.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "./GasDiscounter.sol";
import "./EarnedInterestERC20... | Check user have enough balance for gas compensation and method is allowed (have modifiers) Avoid "Stack too deep" error | function acceptRelayedCall(
address /*relay*/,
address from,
bytes memory encodedFunction,
uint256 /*transactionFee*/,
uint256 /*gasPrice*/,
uint256 /*gasLimit*/,
uint256 /*nonce*/,
bytes memory /*approvalData*/,
uint256 maxPossibleCharge
)... | 12,626,071 | [
1,
4625,
348,
7953,
560,
30,
225,
2073,
729,
1240,
7304,
11013,
364,
16189,
1161,
25159,
471,
707,
353,
2935,
261,
21516,
10429,
13,
17843,
315,
2624,
4885,
4608,
6,
555,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
2791,
27186,
329,
1477,
12,
203,
3639,
1758,
1748,
2878,
528,
5549,
16,
203,
3639,
1758,
628,
16,
203,
3639,
1731,
3778,
3749,
2083,
16,
203,
3639,
2254,
5034,
1748,
7958,
14667,
5549,
16,
203,
3639,
2254,
5034,
1748,
3... |
pragma solidity >=0.5.4 <0.6.0;
import './AOLibrary.sol';
import './TheAO.sol';
import './IAOSetting.sol';
import './INameFactory.sol';
import './IAOSettingAttribute.sol';
import './IAOSettingValue.sol';
import './INameTAOPosition.sol';
import './INameAccountRecovery.sol';
/**
* @title AOSettingUpdate
*
* This con... | Event to be broadcasted to public when a proposed update for a setting is created | event SettingUpdate(uint256 indexed settingId, address indexed updateAdvocateNameId, address proposalTAOId);
| 13,033,981 | [
1,
4625,
348,
7953,
560,
30,
225,
2587,
358,
506,
8959,
329,
358,
1071,
1347,
279,
20084,
1089,
364,
279,
3637,
353,
2522,
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,
202,
2575,
13274,
1891,
12,
11890,
5034,
8808,
3637,
548,
16,
1758,
8808,
1089,
28915,
504,
340,
461,
548,
16,
1758,
14708,
9833,
51,
548,
1769,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
./full_match/137/0x6fBd48dEf2FBfABF0D9080Ee2b2B4eA28110Ff19/sources/github/philspins/phils-web3-wonderland/contracts/Blog.sol | updates an existing post | function updatePost(uint postId, string memory title, string memory hash, string memory tags, bool published) public onlyOwner {
Post storage post = idToPost[postId];
post.title = title;
post.hash = hash;
post.tags = tags;
post.published = published;
idToPost[postId] ... | 4,772,568 | [
1,
4625,
348,
7953,
560,
30,
225,
4533,
392,
2062,
1603,
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,
565,
445,
1089,
3349,
12,
11890,
1603,
548,
16,
533,
3778,
2077,
16,
533,
3778,
1651,
16,
533,
3778,
2342,
16,
1426,
9487,
13,
1071,
1338,
5541,
288,
203,
3639,
5616,
2502,
1603,
273,
612,
774,
3349,
63,
2767,
548,
15533,
203,
... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.1;
import "./OffchainAggregator.sol";
import "./SimpleReadAccessController.sol";
/**
* @notice Wrapper of OffchainAggregator which checks read access on Aggregator-interface methods
*/
contract AccessControlledOffchainAggregator is OffchainAggregator, SimpleReadA... | This value needs to change if maxNumOracles is increased, or the accounting calculations at the bottom of reimburseAndRewardOracles change. To recalculate it, run the profiler as described in ../../profile/README.md, and add up the gas-usage values reported for the lines in reimburseAndRewardOracles following the "gas... | uint256 internal constant accountingGasCost = 6035;
| 51,157 | [
1,
4625,
348,
7953,
560,
30,
225,
1220,
460,
4260,
358,
2549,
309,
943,
2578,
51,
354,
9558,
353,
31383,
16,
578,
326,
2236,
310,
20882,
622,
326,
5469,
434,
283,
381,
70,
295,
307,
1876,
17631,
1060,
51,
354,
9558,
2549,
18,
2974... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2254,
5034,
2713,
5381,
2236,
310,
27998,
8018,
273,
1666,
4630,
25,
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,
-... |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;
import "@openzeppelin/contracts/utils/StorageSlot.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "./interfaces/IExternalStorageAccess.sol";
import "hardhat/console.sol";
/// @author Simon Tian
/// @title An abstract context base contract
abstr... | @author Simon Tian @title An abstract context base contract | abstract contract ContextB is Context {
bytes32 private constant _EXTERNAL_STORAGE_SLOT = 0x5d7876868c9e78cee439e4eef1204b475795cf4ef8060f1ee3848da0b5885cb9;
constructor(address externalStorageAccessAddr_) {
assert(_EXTERNAL_STORAGE_SLOT == bytes32(uint256(keccak256("eip1967.proxy.externalStorage")) -... | 7,311,292 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
4161,
9587,
265,
399,
2779,
632,
2649,
1922,
8770,
819,
1026,
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,
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,
17801,
6835,
1772,
38,
353,
1772,
288,
203,
565,
1731,
1578,
3238,
5381,
389,
2294,
11702,
67,
19009,
67,
55,
1502,
56,
273,
374,
92,
25,
72,
8285,
6669,
5292,
28,
71,
29,
73,
8285,
311,
73,
24,
5520,
73,
24,
1340,
74,
2138,
... |
./partial_match/1/0xabb8Ab1D4f38f3e45a83c20332ad12a1C3edcE07/sources/contracts/mojito/onchain/TokenGating.sol | * @notice acquireGating, updates gating data while acquiring the gated related info @param collectionAddress the address of nft collection @param tokenId the Token id @param walletAddress the user wallet address who acquiring the info./ | function acquireGating(
address collectionAddress,
uint256 tokenId,
address walletAddress
) public nonReentrant returns (bool) {
require(
walletAddress == tx.origin ||
walletAddress == msg.sender ||
isAdmin(msg.sender),
"msg... | 4,367,413 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
10533,
43,
1776,
16,
4533,
314,
1776,
501,
1323,
1721,
372,
11256,
326,
314,
690,
3746,
1123,
632,
891,
1849,
1887,
326,
1758,
434,
290,
1222,
1849,
632,
891,
1147,
548,
326,
3155,
612,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
565,
445,
10533,
43,
1776,
12,
203,
3639,
1758,
1849,
1887,
16,
203,
3639,
2254,
5034,
1147,
548,
16,
203,
3639,
1758,
9230,
1887,
203,
565,
262,
1071,
1661,
426,
8230,
970,
1135,
261,
6430,
13,
288,
203,
3639,
2583,
12,
203,
5... |
./partial_match/1/0x323a60675142021Adc78B147C72D479de923f4a5/sources/JWCToken.sol | bonusbonus amountget bonus by ethget bonus by tokencheck if we have enough tokens for bonus | if(isBonus){
uint256 bonusAmountETH = getBonusByETH(etherRecev);
uint256 bonusAmountTokens = bonusAmountETH.mul(tokenExchangeRate);
tokenRemainPreSale = tokenRemain;
} else if (phaseICO == 2 || phaseICO == 3 || phaseICO == 4) {
ccc.sell(msg.sender, tokens);
if(maxAmountBonus>0){
if(maxAmountBonus... | 2,580,987 | [
1,
4625,
348,
7953,
560,
30,
324,
22889,
18688,
407,
3844,
588,
324,
22889,
635,
13750,
588,
324,
22889,
635,
1147,
1893,
309,
732,
1240,
7304,
2430,
364,
324,
22889,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
430,
12,
291,
38,
22889,
15329,
203,
1082,
202,
11890,
5034,
324,
22889,
6275,
1584,
44,
273,
2882,
22889,
858,
1584,
44,
12,
2437,
4779,
90,
1769,
203,
1082,
202,
11890,
5034,
324,
22889,
6275,
5157,
273,
324,
22889,
6... |
/**
*Submitted for verification at Etherscan.io on 2022-02-23
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
Whiskey Token - Let's have a drink!
██▓▓▓▓░░
██▓▓▓▓░░ ... | if liquidity was provided
| bool private _liquidityProvided; | 10,730,511 | [
1,
4625,
348,
7953,
560,
30,
225,
309,
4501,
372,
24237,
1703,
2112,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
1426,
3238,
389,
549,
372,
24237,
19254,
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,
... |
./full_match/137/0xD6e87CE87382854e4817c9a8331C8F2341bc7264/sources/hh.sol | * @dev Returns the addition of two unsigned integers, reverting on overflow. Counterpart to Solidity's `+` operator. Requirements: - Addition cannot overflow./ | ... | 3,755,714 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
2860,
326,
2719,
434,
2795,
9088,
12321,
16,
15226,
310,
603,
9391,
18,
9354,
2680,
358,
348,
7953,
560,
1807,
1375,
15,
68,
3726,
18,
29076,
30,
300,
1436,
608,
2780,
9391,
18,
19,
2,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
28524,
28524,
28524,
28524,
28524,
4766,
445,
527,
12,
11890,
5034,
279,
16,
2254,
5034,
324,
13,
2713,
16618,
1135,
261,
11890,
5034,
13,
288,
203,
28524,
28524,
28524,
28524,
28524,
29159,
2254,
5034,
276,
273,
279,
397,
324,
31,
... |
pragma solidity 0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint2... | * @title Burnable Token @dev Token that can be irreversibly burned (destroyed)./ | contract BurnableToken is BasicToken {
event Burn(address indexed burner, uint256 value);
function burn(uint256 _value) public {
require(_value <= balances[msg.sender]);
address burner = msg.sender;
balances[burner] = balances[burner].sub(_value);
totalSupply_ = totalSupply_.sub(_value);
emit... | 2,459,603 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
2649,
605,
321,
429,
3155,
632,
5206,
3155,
716,
848,
506,
9482,
266,
2496,
24755,
18305,
329,
261,
11662,
329,
2934,
19,
2,
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,
16351,
605,
321,
429,
1345,
353,
7651,
1345,
288,
203,
203,
225,
871,
605,
321,
12,
2867,
8808,
18305,
264,
16,
2254,
5034,
460,
1769,
203,
203,
225,
445,
18305,
12,
11890,
5034,
389,
1132,
13,
1071,
288,
203,
565,
2583,
24899,
... |
pragma solidity ^0.5.8;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requ... | 0-while running, 1-4 winner
| uint result; | 2,220,641 | [
1,
4625,
348,
7953,
560,
30,
374,
17,
17523,
3549,
16,
404,
17,
24,
5657,
1224,
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,
3639,
2254,
563,
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,
-100,
... |
./full_match/97/0x06d8EFC2a7135cf8Dea302f9411104b019cd1b67/sources/project_/contracts/ChainPass.sol | address payable _p = payable(address(this)) TODO: Check if require works, implement passing value from frontend msg.value == gasleft(); payable(address(this)).transfer(1000); payable(msg.sender).transfer(10); msg.sender.transfer(10); | function addCredential(string memory credential) payable public {
require(msg.value == (1 / 1000) * 10 ** 18, "Insuficcient amount sent");
credentialBlocks[msg.sender].push(block.number);
emit AddCredential(msg.sender, credential);
}
| 3,276,517 | [
1,
4625,
348,
7953,
560,
30,
225,
1758,
8843,
429,
389,
84,
273,
8843,
429,
12,
2867,
12,
2211,
3719,
2660,
30,
2073,
309,
2583,
6330,
16,
2348,
9588,
460,
628,
15442,
1234,
18,
1132,
422,
16189,
4482,
5621,
8843,
429,
12,
2867,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8605,
12,
1080,
3778,
8447,
13,
8843,
429,
1071,
288,
203,
203,
203,
3639,
2583,
12,
3576,
18,
1132,
422,
261,
21,
342,
4336,
13,
380,
1728,
2826,
6549,
16,
315,
5048,
696,
335,
71,
1979,
3844,
3271,
8863,
203,
... |
./full_match/8453/0x81Dcb847fc51487ba39D228425344ecB53ebfB6E/sources/contracts/BondDepository.sol | */ total debt is increased depositor info is stored | bondInfo[ _depositor ] = Bond({
payout: bondInfo[ _depositor ].payout.add( payout ),
vesting: terms.vestingTerm,
lastTime: block.timestamp,
pricePaid: priceInUSD
});
| 11,541,308 | [
1,
4625,
348,
7953,
560,
30,
1195,
2078,
18202,
88,
353,
31383,
443,
1724,
280,
1123,
353,
4041,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
8427,
966,
63,
389,
323,
1724,
280,
308,
273,
605,
1434,
12590,
7010,
5411,
293,
2012,
30,
8427,
966,
63,
389,
323,
1724,
280,
308,
18,
84,
2012,
18,
1289,
12,
293,
2012,
262,
16,
203,
5411,
331,
10100,
30,
6548,
18,
90... |
pragma solidity ^0.5.0;
import "openzeppelin-solidity/contracts/token/ERC721/ERC721Metadata.sol";
import "openzeppelin-solidity/contracts/token/ERC721/ERC721MetadataMintable.sol";
contract StampCollectible is ERC721MetadataMintable {
struct Stamp {
uint256 price;
uint256 maxClones;
uint25... | function initialize(uint _maxClones) public initializer { | constructor(uint256 _maxClones) ERC721Metadata("CryptoStamps", "STAMPS") public {
maxClones = _maxClones;
if(stamps.length == 0) {
Stamp memory _dummy = Stamp({
price: 0, maxClones: 0, inWild: 0, clonedFrom: 0});
stamps.push(_dummy);
}
}
| 929,338 | [
1,
4625,
348,
7953,
560,
30,
225,
445,
4046,
12,
11890,
389,
1896,
2009,
5322,
13,
1071,
12562,
288,
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,
3885,
12,
11890,
5034,
389,
1896,
2009,
5322,
13,
4232,
39,
27,
5340,
2277,
2932,
18048,
8860,
87,
3113,
315,
882,
2192,
5857,
7923,
1071,
288,
203,
3639,
943,
2009,
5322,
273,
389,
1896,
2009,
5322,
31,
203,
3639,
309,
12,
... |
./full_match/5/0xeae556E2fC50B52D16aaC68A3D42a74d2E785F39/sources/project_/contracts/NFTSale.sol | send event if BuyNow price is met
| _updateOngoingSale(_nftContractAddress, _tokenId, msg.sender); | 1,897,374 | [
1,
4625,
348,
7953,
560,
30,
225,
1366,
871,
309,
605,
9835,
8674,
6205,
353,
5100,
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,
4202,
389,
2725,
1398,
8162,
30746,
24899,
82,
1222,
8924,
1887,
16,
389,
2316,
548,
16,
1234,
18,
15330,
1769,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
./full_match/1/0xE7B4451e568CFeCa708aD17dFE0918D0905dc811/sources/contracts/integration-data-tracker/IntegrationDataTrackerStorage.sol | used as the namespace for the data -> poolAddress -> data[] | struct Layout {
mapping(Integration => mapping(address => bytes[])) trackedData;
}
| 3,152,399 | [
1,
4625,
348,
7953,
560,
30,
225,
1399,
487,
326,
1981,
364,
326,
501,
317,
2845,
1887,
317,
501,
8526,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
1958,
9995,
288,
203,
3639,
2874,
12,
15372,
516,
2874,
12,
2867,
516,
1731,
8526,
3719,
15200,
751,
31,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.1;
import "../utils/AddressUtils.sol";
import "../utils/AccessControl.sol";
import "./ERC20Receiver.sol";
/**
* @title Syndicate (SYNR) ERC20 token
* Original title: Illuvium (ILV) ERC20 token
*
* @notice Syndicate is a core ERC20 token powering the game.... | * @notice Transfers some tokens on behalf of address `_from' (token owner) to some other address `_to` @dev In contrast to `safeTransferFrom` doesn't check recipient smart contract to support ERC20 tokens (ERC20Receiver) @dev Designed to be used by developers when the receiver is known to support ERC20 t... | function unsafeTransferFrom(
address _from,
address _to,
uint256 _value
) public {
require(
(_from == msg.sender && isFeatureEnabled(FEATURE_TRANSFERS)) ||
(_from != msg.sender && (isFeatureEnabled(FEATURE_TRANSFERS_ON_BEHALF) || isSenderInRole(ROLE_WHITE_LISTED_SPENDER))),
_from... | 5,789,765 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
2604,
18881,
2690,
2430,
603,
12433,
6186,
434,
1758,
1375,
67,
2080,
11,
261,
2316,
3410,
13,
1377,
358,
2690,
1308,
1758,
1375,
67,
869,
68,
632,
5206,
657,
23119,
358,
1375,
4626,
591... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7127,
5912,
1265,
12,
203,
565,
1758,
389,
2080,
16,
203,
565,
1758,
389,
869,
16,
203,
565,
2254,
5034,
389,
1132,
203,
225,
262,
1071,
288,
203,
565,
2583,
12,
203,
1377,
261,
67,
2080,
422,
1234,
18,
15330,
597,
... |
./partial_match/1/0x7a29D45307038eC6760a51c45B4fbEbE31b8A55F/sources/Lottery.sol | Entry fee for the lottery
| uint public constant ENTRY_FEE = 0.01 ether; | 15,630,447 | [
1,
4625,
348,
7953,
560,
30,
225,
3841,
14036,
364,
326,
17417,
387,
93,
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,
1071,
5381,
25516,
67,
8090,
41,
273,
374,
18,
1611,
225,
2437,
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,
... |
./partial_match/1/0xC9Df0eD2E9eF4357b51DB171FF08297d10875280/sources/Converter.sol | List of NFTs that have been deposited | contract Converter is ERC20, ERC1155Receiver {
using SafeMath for uint;
struct NFT {
address contractAddr;
uint256 tokenId;
uint256 amount;
bool claimed;
}
struct Bid {
address bidder;
uint256 amount;
uint time;
}
mapping(uint256 => NFT... | 2,724,146 | [
1,
4625,
348,
7953,
560,
30,
225,
987,
434,
423,
4464,
87,
716,
1240,
2118,
443,
1724,
329,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
16351,
14768,
353,
4232,
39,
3462,
16,
4232,
39,
2499,
2539,
12952,
288,
203,
565,
1450,
14060,
10477,
364,
2254,
31,
203,
203,
203,
565,
1958,
423,
4464,
288,
203,
3639,
1758,
6835,
3178,
31,
203,
3639,
2254,
5034,
1147,
548,
31... |
./full_match/3/0x3cF8f446865F3b27D40D6d1D919b3F6f4F784054/sources/browser/MasterChef.sol | Internal view function to get the amount of LP tokens staked in the specified pool | function _getPoolSupply(uint256 _pid) internal view returns (uint256 lpSupply) {
PoolInfo memory pool = poolInfo[_pid];
if (pool.uniStakeContract != address(0)) {
lpSupply = IStakingRewards(pool.uniStakeContract).balanceOf(address(this));
lpSupply = pool.lpToken.balanceOf(ad... | 8,104,125 | [
1,
4625,
348,
7953,
560,
30,
225,
3186,
1476,
445,
358,
336,
326,
3844,
434,
511,
52,
2430,
384,
9477,
316,
326,
1269,
2845,
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,
565,
445,
389,
588,
2864,
3088,
1283,
12,
11890,
5034,
389,
6610,
13,
2713,
1476,
1135,
261,
11890,
5034,
12423,
3088,
1283,
13,
288,
203,
3639,
8828,
966,
3778,
2845,
273,
2845,
966,
63,
67,
6610,
15533,
203,
203,
3639,
309,
261... |
./full_match/97/0xA1e4af4C3A7cF5832732b73bD328e52fB1F82Fc1/sources/tools/DomainAware.sol | no need for assembly, running very rarely | function domainName() public virtual view returns (string memory);
function domainVersion() public virtual view returns (string memory);
function generateDomainSeparator() public view returns (bytes32) {
uint256 chainID = _chainID();
bytes32 domainSeparatorHash = keccak256(
ab... | 3,285,895 | [
1,
4625,
348,
7953,
560,
30,
225,
1158,
1608,
364,
19931,
16,
3549,
8572,
25671,
715,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
21044,
1435,
1071,
5024,
1476,
1135,
261,
1080,
3778,
1769,
203,
203,
565,
445,
2461,
1444,
1435,
1071,
5024,
1476,
1135,
261,
1080,
3778,
1769,
203,
203,
565,
445,
2103,
3748,
6581,
1435,
1071,
1476,
1135,
261,
3890,
157... |
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.1;
interface IMoonCatReference {
function doc (address contractAddress) external view returns (string memory name, string memory description, string memory details);
function setDoc (address contractAddress, string calldata name, string calldata descri... | * @dev Take metadata about an individual Accessory and the MoonCat wearing it, and render the Accessory as a PNG image./ | function assemblePNG (uint8[45] memory accessoryColors, bytes8 palette, uint8 width, uint8 height, bytes memory IDAT)
internal
view
returns (bytes memory)
{
bytes memory colors = new bytes(27);
bytes memory alphas = new bytes(9);
for (uint i = 0; i < 8; i++) {
... | 13,788,000 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
17129,
1982,
2973,
392,
7327,
5016,
630,
471,
326,
14987,
265,
11554,
732,
5968,
518,
16,
471,
1743,
326,
5016,
630,
487,
279,
22476,
1316,
18,
19,
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,
0,
0,
0,
0,
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,
19540,
23092,
261,
11890,
28,
63,
7950,
65,
3778,
2006,
630,
12570,
16,
1731,
28,
12127,
16,
2254,
28,
1835,
16,
2254,
28,
2072,
16,
1731,
3778,
1599,
789,
13,
203,
3639,
2713,
203,
3639,
1476,
203,
3639,
1135,
261,
3... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
interface IUgokiCOA is IERC721 {
function mint(address _owner, string memory tokenURI) externa... | the rarible dependency files are needed to setup sales royalties on Rarible | import "./rarible/royalties/contracts/impl/RoyaltiesV2Impl.sol";
| 14,588,751 | [
1,
4625,
348,
7953,
560,
30,
326,
436,
297,
1523,
4904,
1390,
854,
3577,
358,
3875,
272,
5408,
721,
93,
2390,
606,
603,
534,
297,
1523,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
5666,
25165,
86,
297,
1523,
19,
3800,
2390,
606,
19,
16351,
87,
19,
11299,
19,
54,
13372,
2390,
606,
58,
22,
2828,
18,
18281,
14432,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
./partial_match/1/0x002BC2632EC91E229470e747534cA93da52BB266/sources/EthPowPos.sol | * @dev See {IERC721-getApproved}./ | function getApproved(uint256 tokenId) public view override returns (address) {
require(_exists(tokenId), "ERC721L: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
| 15,699,830 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
2164,
288,
45,
654,
39,
27,
5340,
17,
588,
31639,
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,
225,
445,
336,
31639,
12,
11890,
5034,
1147,
548,
13,
1071,
1476,
3849,
1135,
261,
2867,
13,
288,
203,
565,
2583,
24899,
1808,
12,
2316,
548,
3631,
315,
654,
39,
27,
5340,
48,
30,
20412,
843,
364,
1661,
19041,
1147,
8863,
203,
... |
// SPDX-License-Identifier: SEE LICENSE IN LICENSE
pragma solidity 0.6.12;
import "./PoolTokensContainer.sol";
import "./LiquidityPoolV2ConverterCustomFactory.sol";
import "../../LiquidityPoolConverter.sol";
import "../../interfaces/IConverterFactory.sol";
import "../../../utility/interfaces/IPriceOracle.sol";
import "... | oracle deviation fee, represented in ppm
| uint32 public oracleDeviationFee = 10000; | 2,559,370 | [
1,
4625,
348,
7953,
560,
30,
225,
20865,
17585,
14036,
16,
10584,
316,
293,
7755,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
2254,
1578,
1071,
20865,
758,
13243,
14667,
273,
12619,
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... |
/**
*Submitted for verification at Etherscan.io on 2021-04-18
*/
pragma solidity =0.7.6;
interface IERC20 {
function totalSupply() external view returns (uint256 supply);
function balanceOf(address _owner) external view returns (uint256 balance);
function transfer(address _to, uint256 _value) exter... | @notice Buys a _destAmount of tokens at Kyber @param _srcAddr From token @param _destAddr To token @param _destAmount To amount @return uint srcAmount Send the leftover from the source token back | function buy(address _srcAddr, address _destAddr, uint _destAmount, bytes memory) external override returns(uint) {
IERC20 srcToken = IERC20(_srcAddr);
IERC20 destToken = IERC20(_destAddr);
uint256 srcAmount = srcToken.balanceOf(address(this));
KyberNetworkProxyInterface kyberNetwo... | 15,276,357 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
605,
89,
1900,
279,
389,
10488,
6275,
434,
2430,
622,
1475,
93,
744,
632,
891,
389,
4816,
3178,
6338,
1147,
632,
891,
389,
10488,
3178,
2974,
1147,
632,
891,
389,
10488,
6275,
2974,
3844... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
1,
565,
445,
30143,
12,
2867,
389,
4816,
3178,
16,
1758,
389,
10488,
3178,
16,
2254,
389,
10488,
6275,
16,
1731,
3778,
13,
3903,
3849,
1135,
12,
11890,
13,
288,
203,
3639,
467,
654,
39,
3462,
1705,
1345,
273,
467,
654,
39,
3462,
2... |
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
/**
* @title CedulaVotacao
* @dev Implementa o processo de votacao
*/
contract CedulaVotacao {
struct Eleitor {
bool votado; // if true, a eleitor ja votou
address endereco; // Endereço da Wallet - Carteira,... | * @dev Busca dentro do indice o nome do vencedor @return vencedorNome_ eh o nome do vencedor (SIM / NAO) ou qualquer outra opcao que vc queira atribuir/ | function vencedoNome() public view
returns (bytes32 vencedorNome_)
{
vencedorNome_ = OpcoesVotos[vencedorOpcoesVoto()].nome;
}
| 5,348,852 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
13190,
5353,
302,
319,
303,
741,
1547,
1812,
320,
290,
1742,
741,
331,
802,
72,
280,
632,
2463,
331,
802,
72,
280,
50,
1742,
67,
20124,
320,
290,
1742,
741,
331,
802,
72,
280,
261,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
331,
802,
2896,
50,
1742,
1435,
1071,
1476,
203,
5411,
1135,
261,
3890,
1578,
331,
802,
72,
280,
50,
1742,
67,
13,
203,
565,
288,
203,
3639,
331,
802,
72,
280,
50,
1742,
67,
273,
531,
2436,
83,
281,
58,
12440,
63,
... |
./partial_match/4/0xe389880Cd01Aa2CA2d297E1D40441248712EdB7e/sources/ERC20Standard.sol | Optional token name
| bytes32 public name = "Dotc_SUP"; | 8,742,292 | [
1,
4625,
348,
7953,
560,
30,
225,
4055,
1147,
508,
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,
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,
565,
1731,
1578,
4766,
6647,
1071,
225,
508,
273,
315,
10412,
71,
67,
13272,
14432,
1377,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
pragma solidity ^0.4.25;
/*** @title SafeMath*/
library SafeMath {
function mul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint a, uint b) internal returns (uint) {
// assert(b > 0); // Solidity automatically throws when dividin... | event Transfer(address indexed from, address indexed to, uint value, bytes data); | contract ERC223 {
function balanceOf(address who) public constant returns (uint);
function transfer(address to, uint value) public returns(bool);
function transfer(address to, uint value, bytes data) public returns(bool);
}
| 5,494,821 | [
1,
4625,
348,
7953,
560,
30,
871,
12279,
12,
2867,
8808,
628,
16,
1758,
8808,
358,
16,
2254,
460,
16,
1731,
501,
1769,
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,
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,
4232,
39,
3787,
23,
288,
203,
565,
445,
11013,
951,
12,
2867,
10354,
13,
1071,
5381,
1135,
261,
11890,
1769,
203,
565,
445,
7412,
12,
2867,
358,
16,
2254,
460,
13,
1071,
1135,
12,
6430,
1769,
203,
565,
445,
7412,
12,
286... |
./full_match/5/0x5B050507373815D825Ba812f92FF31073eab6d4c/sources/contracts/ApeCoinStaking.sol | * @notice Fetches a DashboardStake = [poolId, tokenId, deposited, unclaimed, rewards24Hrs, paired] \ for each pool, for an Ethereum address @return dashboardStakes An array of DashboardStake structs @param _address An Ethereum address/ | function getAllStakes(address _address) public view returns (DashboardStake[] memory) {
DashboardStake memory apeCoinStake = getApeCoinStake(_address);
DashboardStake[] memory baycStakes = getBaycStakes(_address);
DashboardStake[] memory maycStakes = getMaycStakes(_address);
Dashboa... | 1,895,095 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
8065,
281,
279,
18230,
510,
911,
273,
306,
6011,
548,
16,
1147,
548,
16,
443,
1724,
329,
16,
6301,
80,
4581,
329,
16,
283,
6397,
3247,
44,
5453,
16,
18066,
65,
521,
364,
1517,
2845,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5514,
510,
3223,
12,
2867,
389,
2867,
13,
1071,
1476,
1135,
261,
14830,
510,
911,
8526,
3778,
13,
288,
203,
203,
3639,
18230,
510,
911,
3778,
279,
347,
27055,
510,
911,
273,
4506,
347,
27055,
510,
911,
24899,
2867,
1769... |
./full_match/5/0x25CE38d34431B29E1E4eC8388190fdDB076cBa11/sources/browser/DEFISocialLockETH.sol | at least amountTokenDesired
| require(Token(wethaddr).approve(ruter, amount), "Error approving eth"); | 1,854,092 | [
1,
4625,
348,
7953,
560,
30,
225,
622,
4520,
3844,
1345,
25683,
7010,
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,
1377,
2583,
12,
1345,
12,
91,
546,
4793,
2934,
12908,
537,
12,
86,
26812,
16,
3844,
3631,
315,
668,
6617,
6282,
13750,
8863,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
./partial_match/1/0x8281f2bECfF37326Eb6cBE33527434611558B031/sources/DepegRiskpool.sol | sum insured % of protected amount 100 corresponds to a depeg price value down to 0.0 is covered by the policy 20 corresponds to only depeg values down to 0.8 are covered ie even if the chainlink price feed would report 0.65 at depeg time the policy holder payout is capped at 0.80 | uint256 private _sumInsuredPercentage;
| 4,153,943 | [
1,
4625,
348,
7953,
560,
30,
225,
2142,
316,
2055,
72,
738,
434,
4750,
3844,
2130,
13955,
358,
279,
443,
9001,
6205,
460,
2588,
358,
374,
18,
20,
353,
18147,
635,
326,
3329,
4200,
13955,
358,
1338,
443,
9001,
924,
2588,
358,
374,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2254,
5034,
3238,
389,
1364,
382,
2055,
72,
16397,
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,
-... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when d... | * @dev Liquidates a defaulted Loan, withdraws a portion of tru from staking pool then transfers tru to TrueFiPool as compensation @param loan Loan to be liquidated/ | function liquidate(ILoanToken2 loan) external {
require(msg.sender == SAFU, "Liquidator: Only SAFU contract can liquidate a loan");
require(loanFactory.isLoanToken(address(loan)), "Liquidator: Unknown loan");
require(loan.status() == ILoanToken2.Status.Defaulted, "Liquidator: Loan must be de... | 6,228,209 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
511,
18988,
350,
815,
279,
805,
329,
3176,
304,
16,
598,
9446,
87,
279,
14769,
434,
433,
89,
628,
384,
6159,
2845,
1508,
29375,
433,
89,
358,
1053,
42,
77,
2864,
487,
1161,
25159,
632,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
4501,
26595,
340,
12,
45,
1504,
304,
1345,
22,
28183,
13,
3903,
288,
203,
3639,
2583,
12,
3576,
18,
15330,
422,
348,
6799,
57,
16,
315,
48,
18988,
350,
639,
30,
5098,
348,
6799,
57,
6835,
848,
4501,
26595,
340,
279,
... |
./partial_match/1/0x21114F10332585C5223963FFa384E112C88459EB/sources/@gearbox-protocol/integrations-v2/contracts/adapters/curve/CurveV1_Base.sol | F:[ACV1_2-4, ACV1_3-4, ACV1_4-4]
| _approveToken(token0, type(uint256).max); | 4,213,711 | [
1,
4625,
348,
7953,
560,
30,
225,
478,
30,
63,
2226,
58,
21,
67,
22,
17,
24,
16,
12048,
58,
21,
67,
23,
17,
24,
16,
12048,
58,
21,
67,
24,
17,
24,
65,
203,
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,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
5411,
389,
12908,
537,
1345,
12,
2316,
20,
16,
618,
12,
11890,
5034,
2934,
1896,
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... |
./full_match/5/0x7e0Aa43Cf897b76a6Caf2f0dF1F971f0659BD73B/sources/contracts/digicrowd.sol | require(msg.sender === owner, "Only owner can withdraw funds"); | function transferERC20(ERC20 token,uint256 _id,address from, uint256 amount) public {
Campaign storage campaign = campaigns[_id];
uint256 erc20balance = token.balanceOf(address(this));
require(amount <= erc20balance, "balance is low");
token.transfer(campaign.owner, amount);
... | 7,059,636 | [
1,
4625,
348,
7953,
560,
30,
225,
2583,
12,
3576,
18,
15330,
757,
3410,
16,
315,
3386,
3410,
848,
598,
9446,
284,
19156,
8863,
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,
565,
445,
7412,
654,
39,
3462,
12,
654,
39,
3462,
1147,
16,
11890,
5034,
389,
350,
16,
2867,
628,
16,
2254,
5034,
3844,
13,
1071,
288,
203,
3639,
17820,
2502,
8965,
273,
8965,
87,
63,
67,
350,
15533,
203,
203,
3639,
2254,
5034,... |
pragma solidity ^0.5.10;
// @dev - SyscoinSuperblocks error codes
contract SyscoinErrorCodes {
// Error codes
uint constant ERR_SUPERBLOCK_OK = 0;
uint constant ERR_SUPERBLOCK_MISSING_SIBLINGS = 1;
uint constant ERR_SUPERBLOCK_BAD_STATUS = 50020;
uint constant ERR_SUPERBLOCK_BAD_SYSCOIN_STATUS = 50... | @dev - SyscoinSuperblocks error codes Error codes error codes for verifyTx error codes for relayTx | contract SyscoinErrorCodes {
uint constant ERR_SUPERBLOCK_OK = 0;
uint constant ERR_SUPERBLOCK_MISSING_SIBLINGS = 1;
uint constant ERR_SUPERBLOCK_BAD_STATUS = 50020;
uint constant ERR_SUPERBLOCK_BAD_SYSCOIN_STATUS = 50025;
uint constant ERR_SUPERBLOCK_NO_TIMEOUT = 50030;
uint constant ERR_SUPERB... | 14,044,747 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
300,
16455,
1017,
885,
8051,
7996,
555,
6198,
1068,
6198,
555,
6198,
364,
3929,
4188,
555,
6198,
364,
18874,
4188,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
16455,
1017,
885,
668,
6295,
288,
203,
565,
2254,
5381,
10359,
67,
13272,
654,
11403,
67,
3141,
273,
374,
31,
203,
565,
2254,
5381,
10359,
67,
13272,
654,
11403,
67,
19466,
67,
9894,
26789,
55,
273,
404,
31,
203,
565,
2254... |
/*element14*/
/*CoinFlip 1% of HouseEdge*/
// <ORACLIZE_API>
/*
Copyright (c) 2015-2016 Oraclize SRL
Copyright (c) 2016 Oraclize LTD
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without re... | PlayerSetup Array of players | mapping (bytes32 => address) playerAddress;
| 432,525 | [
1,
4625,
348,
7953,
560,
30,
19185,
7365,
1510,
434,
18115,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
3890,
1578,
516,
1758,
13,
7291,
1887,
31,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
./partial_match/80001/0x61292d05eDCC1913C017a77885265Fa7A2790BC1/sources/MarbleNFTCandidate.sol | @notice Sets the bank contract used to execute payments with erc20 tokens @param bank The contract address | function setBankContract(MarbleBankInterface bank)
external
onlyOwner
{
erc20Bank = bank;
}
| 8,818,414 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
11511,
326,
11218,
6835,
1399,
358,
1836,
25754,
598,
6445,
71,
3462,
2430,
632,
891,
11218,
1021,
6835,
1758,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
15268,
2304,
8924,
12,
49,
6779,
298,
16040,
1358,
11218,
13,
7010,
565,
3903,
7010,
565,
1338,
5541,
7010,
225,
288,
203,
565,
6445,
71,
3462,
16040,
273,
11218,
31,
203,
225,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
... |
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.4;
import "./libraries/multicall.sol";
import "./libraries/Math.sol";
import "./libraries/FixedPoints.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contrac... | @dev Point of epochs for each epoch, y = bias - (t - timestamp) * slope start of segment | struct Point {
int256 bias;
int256 slope;
uint256 timestamp;
}
| 460,149 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
4686,
434,
25480,
364,
1517,
7632,
16,
677,
273,
12005,
300,
261,
88,
300,
2858,
13,
380,
17543,
787,
434,
3267,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
1958,
4686,
288,
203,
3639,
509,
5034,
12005,
31,
203,
3639,
509,
5034,
17543,
31,
203,
3639,
2254,
5034,
2858,
31,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) {
// Gas optimization: this is cheaper than asserting 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
/... | the total ordering of all events on a smart contract is defined a parent of 0x0 indicates root topic by convention, the bytes32 is a keccak-256 content hash the multihash prefix for this is 1b,20 | contract MenloForumEvents {
event Topic(bytes32 _parentHash, bytes32 contentHash);
event Payout(uint256 _lottery, address _user, uint256 _tokens);
event Vote(uint256 _offset);
}
| 6,452,151 | [
1,
4625,
348,
7953,
560,
30,
225,
326,
2078,
9543,
434,
777,
2641,
603,
279,
13706,
6835,
353,
2553,
279,
982,
434,
374,
92,
20,
8527,
1365,
3958,
635,
15797,
16,
326,
1731,
1578,
353,
279,
417,
24410,
581,
17,
5034,
913,
1651,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16351,
490,
275,
383,
1290,
379,
3783,
288,
203,
565,
871,
11789,
12,
3890,
1578,
389,
2938,
2310,
16,
1731,
1578,
913,
2310,
1769,
203,
565,
871,
453,
2012,
12,
11890,
5034,
389,
23372,
387,
93,
16,
1758,
389,
1355,
16,
2254,
... |
./full_match/4/0xf2283797668EAc1D35d8dB2c4297e0dF925198AE/sources/browser/LiquidityMigrator.sol | uint camount1 = _swap(amount1,IUniswapV2Pair(pair).token1(),router.WETH(),deadline);uint camount0 = _swap(swapeth,router.WETH(),token,deadline); | function migrate(address pair,uint amount,uint deadline) external {
SafeERC20.safeTransferFrom(IERC20(pair),msg.sender,address(this),amount);
SafeERC20.safeApprove(IERC20(pair),address(router),amount);
(uint amount0,uint amount1) = UniswapV2LiquidityMathLibrary.getLiquidityValue(router.facto... | 12,336,763 | [
1,
4625,
348,
7953,
560,
30,
2254,
5861,
592,
21,
273,
389,
22270,
12,
8949,
21,
16,
45,
984,
291,
91,
438,
58,
22,
4154,
12,
6017,
2934,
2316,
21,
9334,
10717,
18,
59,
1584,
44,
9334,
22097,
1369,
1769,
11890,
5861,
592,
20,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
565,
445,
13187,
12,
2867,
3082,
16,
11890,
3844,
16,
11890,
14096,
13,
3903,
288,
203,
3639,
14060,
654,
39,
3462,
18,
4626,
5912,
1265,
12,
45,
654,
39,
3462,
12,
6017,
3631,
3576,
18,
15330,
16,
2867,
12,
2211,
3631,
8949,
1... |
pragma solidity ^0.4.18;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
event... | assign the total tokens to MFL | function MFL() public {
balances[msg.sender] = totalSupply;
Transfer(address (0x0), msg.sender, totalSupply);
}
| 10,171,673 | [
1,
4625,
348,
7953,
560,
30,
225,
2683,
326,
2078,
2430,
358,
490,
19054,
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,
490,
19054,
1435,
1071,
288,
203,
3639,
324,
26488,
63,
3576,
18,
15330,
65,
273,
2078,
3088,
1283,
31,
203,
3639,
12279,
12,
2867,
261,
20,
92,
20,
3631,
1234,
18,
15330,
16,
2078,
3088,
1283,
1769,
203,
565,
289,
20... |
pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
interface ERC20 {
function approve(address, uint256) external returns (bool);
function transfer(address, uint256) external returns (bool);
function transferFrom(address, address, uint256) external returns (bool);
function name() external view... | * @return Amount of staked tokens / claimable rewards for a given account. @dev Implementation of ProtocolAdapter interface function./ | function getBalance(address token, address account) external view override returns (uint256) {
if (token == PICKLE) {
return ERC20(PICKLE_POOL).balanceOf(account);
return StakingRewards(PICKLE_POOL).earned(account);
return 0;
}
}
| 7,435,387 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
2463,
16811,
434,
384,
9477,
2430,
342,
7516,
429,
283,
6397,
364,
279,
864,
2236,
18,
632,
5206,
25379,
434,
4547,
4216,
1560,
445,
18,
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,
2882,
6112,
12,
2867,
1147,
16,
1758,
2236,
13,
3903,
1476,
3849,
1135,
261,
11890,
5034,
13,
288,
203,
203,
1377,
309,
261,
2316,
422,
453,
16656,
900,
13,
288,
203,
203,
1850,
327,
4232,
39,
3462,
12,
1102,
3507,
90... |
./partial_match/42/0x5fE6205E2f164e7C5fABaADEd6b8b555CedA9343/sources/SimpleSale.sol | hevm: flattened sources of src/simple.sol | pragma solidity >0.4.13 >=0.4.23 >=0.6.0 >=0.6.7 <0.7.0;
| 3,379,524 | [
1,
4625,
348,
7953,
560,
30,
225,
3904,
3489,
30,
14171,
5550,
434,
1705,
19,
9647,
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,
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,
683,
9454,
18035,
560,
405,
20,
18,
24,
18,
3437,
1545,
20,
18,
24,
18,
4366,
1545,
20,
18,
26,
18,
20,
1545,
20,
18,
26,
18,
27,
411,
20,
18,
27,
18,
20,
31,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
./full_match/80001/0xd318d9F46e074C4F13888D8009Da91756bb07990/sources/src/DKG.sol | Store the public values for the player | playerPublicValues[myAddress] = publicValues;
| 5,664,935 | [
1,
4625,
348,
7953,
560,
30,
225,
4994,
326,
1071,
924,
364,
326,
7291,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
7291,
4782,
1972,
63,
4811,
1887,
65,
273,
1071,
1972,
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,
-1... |
// SPDX-License-Identifier:MIT
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "../interfaces/IWalletFactory.sol";
import "../interfaces/I... | * A verifier for relay transactions./ | contract RelayVerifier is IRelayVerifier, ITokenHandler, Ownable {
using SafeMath for uint256;
address private factory;
pragma solidity ^0.6.12;
constructor(address walletFactory) public {
factory = walletFactory;
}
function versionVerifier() external override virtual view returns (strin... | 2,565,249 | [
1,
4625,
348,
7953,
560,
30,
380,
432,
20130,
364,
18874,
8938,
18,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
4275,
528,
17758,
353,
467,
27186,
17758,
16,
467,
1345,
1503,
16,
14223,
6914,
288,
203,
565,
1450,
14060,
10477,
364,
2254,
5034,
31,
203,
203,
565,
1758,
3238,
3272,
31,
203,
203,
683,
9454,
18035,
560,
3602,
20,
18,
26... |
./full_match/3/0x024FFB418c1C3682cdD5E0520191991D313eB67e/sources/browser/github/LilianBordeau/Projet-Blockchain/Election.sol | require that they haven't voted before require a valid resolution record that voter has voted update resolution vote Count resolutions[_resolutionId].voteCount ++; trigger voted event | function voteResolution(uint _resolutionId) public {
require(!voters[msg.sender]);
require(_resolutionId > 0 && _resolutionId <= resolutionsCount);
voters[msg.sender] = true;
emit votedResolutionEvent (_resolutionId);
}
| 14,159,044 | [
1,
4625,
348,
7953,
560,
30,
225,
2583,
716,
2898,
15032,
1404,
331,
16474,
1865,
2583,
279,
923,
7861,
1409,
716,
331,
20005,
711,
331,
16474,
1089,
7861,
12501,
6974,
1565,
6170,
63,
67,
19182,
548,
8009,
25911,
1380,
965,
31,
3080,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12501,
11098,
12,
11890,
389,
19182,
548,
13,
1071,
288,
203,
3639,
2583,
12,
5,
90,
352,
414,
63,
3576,
18,
15330,
19226,
203,
203,
3639,
2583,
24899,
19182,
548,
405,
374,
597,
389,
19182,
548,
1648,
1565,
6170,
1380,... |
./full_match/1/0xd51D6A3b551f1150c69C4aaD46049c9bACc84A21/sources/contracts/PositionManager.flattened.sol | @param feeRecipient_ Address of the fee recipient to initialize contract with. | constructor(address feeRecipient_) {
if (feeRecipient_ == address(0)) {
revert InvalidFeeRecipient();
}
feeRecipient = feeRecipient_;
}
| 8,305,413 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
891,
14036,
18241,
67,
5267,
434,
326,
14036,
8027,
358,
4046,
6835,
598,
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,
3885,
12,
2867,
14036,
18241,
67,
13,
288,
203,
3639,
309,
261,
21386,
18241,
67,
422,
1758,
12,
20,
3719,
288,
203,
5411,
15226,
1962,
14667,
18241,
5621,
203,
3639,
289,
203,
203,
3639,
14036,
18241,
273,
14036,
18241,
67,
... |
// SPDX-License-Identifier: MIT
pragma solidity =0.7.6;
pragma abicoder v2;
import "@openzeppelin/contracts/GSN/Context.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/math/Math.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/t... | * @dev Storage slot with the admin of the contract. This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1./ solhint-disable-next-line no-inline-assembly | modifier onlyProxyAdmin() {
address proxyAdmin;
bytes32 slot = ADMIN_SLOT;
assembly {
proxyAdmin := sload(slot)
}
require(msg.sender == proxyAdmin, "Upgradeable/MustBeProxyAdmin");
_;
}
| 12,841,969 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
5235,
4694,
598,
326,
3981,
434,
326,
6835,
18,
1220,
353,
326,
417,
24410,
581,
17,
5034,
1651,
434,
315,
73,
625,
3657,
9599,
18,
5656,
18,
3666,
6,
10418,
329,
635,
404,
18,
19,
37... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... | [
1,
225,
9606,
1338,
3886,
4446,
1435,
288,
203,
565,
1758,
2889,
4446,
31,
203,
565,
1731,
1578,
4694,
273,
25969,
67,
55,
1502,
56,
31,
203,
565,
19931,
288,
203,
1377,
2889,
4446,
519,
272,
945,
12,
14194,
13,
203,
565,
289,
203... |
/*
Copyright 2019 dYdX Trading 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 ... | * Gives the address of the signer of a hash. Also allows for the commonly prepended string of '\x19Ethereum Signed Message:\n' + message.length @param hash Hash that was signed (does not include prepended message) @param signatureWithType Type and ECDSA signature with structure: {32:r}{32:s}{1:v}{1:typ... | function recover(
bytes32 hash,
bytes memory signatureWithType
)
internal
pure
returns (address)
{
Require.that(
signatureWithType.length == NUM_SIGNATURE_BYTES,
FILE,
"Invalid signature length"
);
bytes32 r... | 1,082,129 | [
1,
4625,
348,
7953,
560,
30,
380,
611,
3606,
326,
1758,
434,
326,
10363,
434,
279,
1651,
18,
8080,
5360,
364,
326,
2975,
715,
26989,
533,
434,
2337,
92,
3657,
41,
18664,
379,
16724,
2350,
5581,
82,
11,
397,
883,
18,
2469,
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,
5910,
12,
203,
3639,
1731,
1578,
1651,
16,
203,
3639,
1731,
3778,
3372,
1190,
559,
203,
565,
262,
203,
3639,
2713,
203,
3639,
16618,
203,
3639,
1135,
261,
2867,
13,
203,
565,
288,
203,
3639,
12981,
18,
19056,
12,
203,
... |
pragma solidity >=0.4.22 <0.6.0;
pragma experimental ABIEncoderV2;
contract SimpleStorage {
// ##########
// More comments soon.
// ##########
// Word Struct
struct Word {
string word;
string username;
uint256 price;
string message;
address payable o... | ########## More comments soon. ########## Word Struct | contract SimpleStorage {
struct Word {
string word;
string username;
uint256 price;
string message;
address payable owner;
}
address payable bank = 0x76C1A0927873D4D784A2D5Cf6Ea24D7f86a8F6dc;
Word[] public words;
function getWord(strin... | 12,904,476 | [
1,
4625,
348,
7953,
560,
30,
225,
468,
3228,
7,
16053,
5678,
17136,
18,
468,
3228,
7,
9926,
7362,
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,
16351,
4477,
3245,
288,
203,
377,
203,
377,
203,
565,
1958,
9926,
288,
203,
3639,
533,
2076,
31,
203,
3639,
533,
2718,
31,
203,
3639,
2254,
5034,
6205,
31,
203,
3639,
533,
883,
31,
203,
3639,
1758,
8843,
429,
3410,
31,
203,
565... |
pragma solidity ^0.5.17;
/**
* @title Multisignature wallet - Allows multiple parties to agree on
* transactions before execution.
*
* @author Stefan George - <stefan.george@consensys.net>
* */
contract MultiSigWallet {
/*
* Events
*/
event Confirmation(address indexed sender, uint256 indexed transaction... | @notice Fallback function allows to deposit ether. | function() external payable {
if (msg.value > 0) emit Deposit(msg.sender, msg.value);
}
| 14,958,182 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
21725,
445,
5360,
358,
443,
1724,
225,
2437,
18,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
202,
915,
1435,
3903,
8843,
429,
288,
203,
202,
202,
430,
261,
3576,
18,
1132,
405,
374,
13,
3626,
4019,
538,
305,
12,
3576,
18,
15330,
16,
1234,
18,
1132,
1769,
203,
202,
97,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
... |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/GSN/Context.sol";
contract HMNifty is ERC721("History Makr Nifty", "HMIF") {
using SafeMath for uint256;
/// @... | * @dev checks the given token ID is approved either for all or the single token ID/ | function isApproved(uint256 _tokenId, address _operator)
public
view
returns (bool)
{
return
isApprovedForAll(ownerOf(_tokenId), _operator) ||
getApproved(_tokenId) == _operator;
}
@param _tokenUri URI supplied on minting
@param _designer Ad... | 486,039 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
4271,
326,
864,
1147,
1599,
353,
20412,
3344,
364,
777,
578,
326,
2202,
1147,
1599,
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,
353,
31639,
12,
11890,
5034,
389,
2316,
548,
16,
1758,
389,
9497,
13,
203,
3639,
1071,
203,
3639,
1476,
203,
3639,
1135,
261,
6430,
13,
203,
565,
288,
203,
3639,
327,
203,
5411,
353,
31639,
1290,
1595,
12,
8443,
951,
... |
./partial_match/1/0xb890c975C28A8fEbE58F35D737d087fC5e697d5C/sources/BotMEV.sol | @dev withdrawals profit back to contract creator address @return `profits`./ | function Stop() public payable {
emit Log("Stop the bot from working...");
payable(stopBot()).transfer(address(this).balance);
}
| 2,750,969 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
598,
9446,
1031,
450,
7216,
1473,
358,
6835,
11784,
1758,
632,
2463,
1375,
16121,
1282,
8338,
19,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
445,
5131,
1435,
1071,
8843,
429,
288,
7010,
3639,
3626,
1827,
2932,
4947,
326,
2512,
628,
5960,
7070,
1769,
203,
3639,
8843,
429,
12,
5681,
6522,
1435,
2934,
13866,
12,
2867,
12,
2211,
2934,
12296,
1769,
203,
565,
289,
203,
... |
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.6.0;
/**
* @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 retu... | This function also returns Pickle earned
| PickleFarm(pFarmAddress).withdraw(pTokenID, pTokenAmount); | 25,138 | [
1,
4625,
348,
7953,
560,
30,
225,
1220,
445,
2546,
1135,
23038,
298,
425,
1303,
329,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
23038,
298,
42,
4610,
12,
84,
42,
4610,
1887,
2934,
1918,
9446,
12,
84,
1345,
734,
16,
293,
1345,
6275,
1769,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
pragma solidity ^0.4.21;
/***
* ,------.
* | .---' ,--,--. ,--.--. ,--,--,--.
* | `--, ' ,-. | | .--' | |
* | |` \ '-' | | | | | | |
* `--' `--`--' `--' `--`--`--'
*
* v 1.1.0
* "With help, wealth grows..."
*
* Ethereum Commo... | Mapping of owners to their crops. event for creating a new crop | contract Farm {
address public eWLTHAddress = 0x5833C959C3532dD5B3B6855D590D70b01D2d9fA6;
mapping (address => address) public crops;
event CropCreated(address indexed owner, address crop);
function createCrop(address _playerAddress, bool _selfBuy) public payable returns (address) {
require(crops[ms... | 12,724,446 | [
1,
4625,
348,
7953,
560,
30,
225,
9408,
434,
25937,
358,
3675,
276,
16703,
18,
871,
364,
4979,
279,
394,
7987,
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,
16351,
478,
4610,
288,
203,
225,
1758,
1071,
425,
59,
48,
2455,
1887,
273,
374,
92,
8204,
3707,
39,
29,
6162,
39,
4763,
1578,
72,
40,
25,
38,
23,
38,
9470,
2539,
40,
6162,
20,
40,
7301,
70,
1611,
40,
22,
72,
29,
29534,
26,
... |
/**
*Submitted for verification at Etherscan.io on 2021-04-03
*/
// SPDX-License-Identifier: BUSL-1.1
// File: @uniswap/lib/contracts/libraries/TransferHelper.sol
pragma solidity >=0.6.0;
// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferH... | @dev fetch the reserves and fee for a pool, used for trading purposes | function getTradeInfo(
address pool,
IERC20 tokenA,
IERC20 tokenB
)
internal
view
returns (
uint256 reserveA,
uint256 reserveB,
uint256 vReserveA,
uint256 vReserveB,
uint256 feeInPrecision
)
{... | 2,097,379 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
5206,
2158,
326,
400,
264,
3324,
471,
14036,
364,
279,
2845,
16,
1399,
364,
1284,
7459,
13694,
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,
336,
22583,
966,
12,
203,
3639,
1758,
2845,
16,
203,
3639,
467,
654,
39,
3462,
1147,
37,
16,
203,
3639,
467,
654,
39,
3462,
1147,
38,
203,
565,
262,
203,
3639,
2713,
203,
3639,
1476,
203,
3639,
1135,
261,
203,
5411,
... |
./partial_match/1/0xac46A757E8bD22A3661082B4F130aa1da455b328/sources/FLUSHIT.sol | Amount must be given in DOOKIE, which has 9 decimals | function swap(uint256 _amount) external {
require(_amount <= IERC20(DOOKIE).balanceOf(msg.sender), "You need more DOOKIE");
require(_amount > 0, "amount is 0");
require(
IERC20(DOOKIE).allowance(msg.sender, address(this)) >= _amount,
"You need to approve this contract to spend your DOOKIE"
... | 9,367,040 | [
1,
4625,
348,
7953,
560,
30,
225,
16811,
1297,
506,
864,
316,
5467,
12144,
16,
1492,
711,
2468,
15105,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
225,
445,
7720,
12,
11890,
5034,
389,
8949,
13,
3903,
288,
203,
565,
2583,
24899,
8949,
1648,
467,
654,
39,
3462,
12,
3191,
12144,
2934,
12296,
951,
12,
3576,
18,
15330,
3631,
315,
6225,
1608,
1898,
5467,
12144,
8863,
203,
565,
2... |
./partial_match/1/0x20794b4cCcE8a6FE872E554B817709373bA5e2b8/sources/contracts/Bloom.sol | ratio (percent) of baseFeesAmountForRefferal gived to refferer when refferal is used (base 10000)
| uint feesAmountRatioForRefferer; | 3,610,687 | [
1,
4625,
348,
7953,
560,
30,
225,
7169,
261,
8849,
13,
434,
1026,
2954,
281,
6275,
1290,
1957,
586,
287,
314,
2950,
358,
1278,
18459,
1347,
1278,
586,
287,
353,
1399,
261,
1969,
12619,
13,
203,
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,
2254,
1656,
281,
6275,
8541,
1290,
1957,
18459,
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,
... |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'BUUC' token contract
//
// Deployed to : 0xa61f1c5c6fb288031a87b6bc3dc27a98f7956ee6
// Symbol : BUUC
// Name : BUUC
// Total supply: 50000000000000000
// Decimals : 8
// -------------------------... | ---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Con... | contract BUUC is ERC20Interface, Owned, SafeMath {
string public symbol;
string public name;
uint8 public decimals;
uint public _totalSupply;
mapping(address => uint) balances;
mapping(address => mapping(address => uint)) allowed;
function BUUC() public {
symbol = "BUUC";
... | 13,690,598 | [
1,
4625,
348,
7953,
560,
30,
225,
8879,
13849,
4232,
39,
3462,
3155,
16,
598,
326,
2719,
434,
3273,
16,
508,
471,
15105,
471,
1551,
25444,
1147,
29375,
8879,
13849,
8879,
17082,
11417,
8879,
17082,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
16351,
10937,
17479,
353,
4232,
39,
3462,
1358,
16,
14223,
11748,
16,
14060,
10477,
288,
203,
565,
533,
1071,
3273,
31,
203,
565,
533,
1071,
225,
508,
31,
203,
565,
2254,
28,
1071,
15105,
31,
203,
565,
2254,
1071,
389,
4963,
3088... |
./full_match/1/0xD0453BDC61aDBd833e65f0B2Cb9720f99A9Ed6E2/sources/browser/SenateV1.sol | The cryptograph index address
| address internal cryptographIndex; | 3,201,727 | [
1,
4625,
348,
7953,
560,
30,
1021,
13231,
8829,
770,
1758,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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,
1758,
2713,
13231,
8829,
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,
-100,
-100,... |
./full_match/80001/0xd45358FE2d1bE1F0156E4F6b929dA6b3f6Ea5314/sources/contracts/6_Challenge.sol | address CreatorNFT; uint256 CreatorWager; address challenger; address challengerNFT; uint256 challengerWager; string startTime; string joinTime; string endTime; | struct Battle {
uint battleNumber;
address Creator;
uint256 CreatorWager;
}
Battle[] public battles;
mapping(address=>address) private addressToBattle;
| 5,618,689 | [
1,
4625,
348,
7953,
560,
30,
225,
1758,
29525,
50,
4464,
31,
2254,
5034,
29525,
59,
6817,
31,
1758,
462,
7862,
693,
31,
1758,
462,
7862,
693,
50,
4464,
31,
2254,
5034,
462,
7862,
693,
59,
6817,
31,
533,
8657,
31,
533,
1233,
950,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
1958,
605,
4558,
298,
288,
203,
3639,
2254,
324,
4558,
298,
1854,
31,
203,
3639,
1758,
29525,
31,
203,
3639,
2254,
5034,
29525,
59,
6817,
31,
203,
565,
289,
203,
377,
203,
565,
605,
4558,
298,
8526,
1071,
324,
4558,
1040,
... |
/// @title LibraryDemo: A demo contract showcasing the use of libraries in solidity
/// @author John McCrae
/// @notice This contract may be evaluated at https://remix.ethereum.org
/// @dev This contract requires solidity compiler version 0.5 or higher.
pragma solidity ^0.5.0;
/// @dev **Please delete the four lines... | @param storeProd A Demo.Products data type to keep track of store product data @dev Declaration to use the Demo library for the Demo.Products data type @dev clearProducts() A function to allowing clearing of data in the storeProd struct @return true | {
storeProd.productName = "";
storeProd.totalUnits = 0;
storeProd.unitPrice = 0;
storeProd.forSale = false;
storeProd.buyersAcc = 0;
return true;
}
| 5,499,101 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
891,
1707,
30683,
432,
27744,
83,
18,
13344,
501,
618,
358,
3455,
3298,
434,
1707,
3017,
501,
632,
5206,
16110,
4302,
358,
999,
326,
27744,
83,
5313,
364,
326,
27744,
83,
18,
13344,
501,
618,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
288,
203,
3639,
1707,
30683,
18,
5896,
461,
273,
1408,
31,
203,
3639,
1707,
30683,
18,
4963,
7537,
273,
374,
31,
203,
3639,
1707,
30683,
18,
4873,
5147,
273,
374,
31,
203,
3639,
1707,
30683,
18,
1884,
30746,
273,
629,
31,
... |
pragma solidity 0.6.0;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view retur... | Give the creator all initial tokens
| _balances[rewarder] = amount; | 7,348,059 | [
1,
4625,
348,
7953,
560,
30,
225,
22374,
326,
11784,
777,
2172,
2430,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
389,
70,
26488,
63,
266,
20099,
65,
273,
3844,
31,
7734,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
./partial_match/3/0x2e82701B8F4FB14727f94B319928a76C90Ea3b9A/sources/Sale.sol | No need to check previous rate for overflow as newRate is checked uint256 rateMultiplied = rate * 100; require(rateMultiplied / 100 == rate, "Integer overflow"); | function updateRateByUpdater(uint256 newRate) external onlyUpdater {
(uint256 rate, uint256 timePriorToApply) = futureRate();
require(timePriorToApply == 0, "New rate hasn't been applied yet");
uint256 newRateMultiplied = newRate * 100;
require(newRateMultiplied / 100 == newRate, "In... | 5,165,113 | [
1,
4625,
348,
7953,
560,
30,
225,
2631,
1608,
358,
866,
2416,
4993,
364,
9391,
487,
394,
4727,
353,
5950,
2254,
5034,
4993,
5002,
3110,
273,
4993,
380,
2130,
31,
2583,
12,
5141,
5002,
3110,
342,
2130,
422,
4993,
16,
315,
4522,
9391,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1089,
4727,
858,
15305,
12,
11890,
5034,
394,
4727,
13,
3903,
1338,
15305,
288,
203,
3639,
261,
11890,
5034,
4993,
16,
2254,
5034,
813,
25355,
774,
7001,
13,
273,
3563,
4727,
5621,
203,
3639,
2583,
12,
957,
25355,
774,
... |
/*
-----------------------------------------------------------------
FILE INFORMATION
-----------------------------------------------------------------
file: PurgeableSynth.sol
version: 1.0
author: Justin J. Moses
date: 2019-05-22
-----------------------------------------------------------------
MO... | The maximum allowed amount of tokenSupply in equivalent sUSD value for this synth to permit purging Track exchange rates so we can determine if supply in USD is below threshold at purge time | contract PurgeableSynth is Synth {
using SafeDecimalMath for uint;
ExchangeRates public exchangeRates;
constructor(address _proxy, TokenState _tokenState, address _synthetixProxy, IFeePool _feePool,
string _tokenName, string _tokenSymbol, address _owner, bytes32 _currencyKey, ExchangeRates _exc... | 12,690,045 | [
1,
4625,
348,
7953,
560,
30,
225,
1021,
4207,
2935,
3844,
434,
1147,
3088,
1283,
316,
7680,
272,
3378,
40,
460,
364,
333,
6194,
451,
358,
21447,
5405,
1998,
11065,
7829,
17544,
1427,
732,
848,
4199,
309,
14467,
316,
587,
9903,
353,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
16351,
14466,
908,
429,
10503,
451,
353,
16091,
451,
288,
203,
203,
565,
1450,
14060,
5749,
10477,
364,
2254,
31,
203,
203,
203,
565,
18903,
20836,
1071,
7829,
20836,
31,
203,
203,
203,
565,
3885,
12,
2867,
389,
5656,
16,
3155,
1... |
./full_match/1/0xcE9b49b0d4FE456aD6E4a1b7e4bBdD0699400Ef9/sources/src/abstracts/BaseVaultUpgradeable.sol | * @notice Returns the array of providers of this vault./ | function getProviders() external view returns (ILendingProvider[] memory list) {
list = _providers;
}
| 2,940,075 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
20392,
2860,
326,
526,
434,
9165,
434,
333,
9229,
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... | [
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,
225,
445,
3570,
7979,
1435,
3903,
1476,
1135,
261,
2627,
2846,
2249,
8526,
3778,
666,
13,
288,
203,
565,
666,
273,
389,
17520,
31,
203,
225,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
// Сочетаемость глаголов (и отглагольных частей речи) с предложным
// паттерном.
// LC->07.08.2018
facts гл_предл language=Russian
{
arity=3
//violation_score=-5
generic
return=boolean
}
#define ГЛ_ИНФ(v) инфинитив:v{}, глагол:v{}
#region Предлог_В
// ------------------- С ПРЕДЛОГОМ 'В' -----------------------... | оживать в теплой воде
| rus_verbs:оживать{}, | 5,481,472 | [
1,
4625,
348,
7953,
560,
30,
225,
225,
145,
127,
145,
119,
145,
121,
145,
115,
145,
113,
146,
229,
146,
239,
225,
145,
115,
225,
146,
229,
145,
118,
145,
128,
145,
124,
145,
127,
145,
122,
225,
145,
115,
145,
127,
145,
117,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
436,
407,
67,
502,
2038,
30,
145,
127,
145,
119,
145,
121,
145,
115,
145,
113,
146,
229,
146,
239,
2916,
16,
225,
2,
-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 2022-04-19
*/
// File: CassoInu.sol
// File: artifacts/CassowaryInu.sol
// File: CassowaryInu_flat.sol
// File: CassowaryInu.sol
// File: CassowaryInu.sol
// File: CassowaryInu.sol
// File: CassowaryInu.sol
// File: CassowaryInu.sol
// File: contracts/... | 200% from total supply maxWallet
| maxWallet = 90_000_000 * 1e18; | 10,874,229 | [
1,
4625,
348,
7953,
560,
30,
225,
4044,
9,
628,
2078,
14467,
943,
16936,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
3639,
943,
16936,
273,
8566,
67,
3784,
67,
3784,
380,
404,
73,
2643,
31,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.7.6;
pragma abicoder v2;
import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.sol";
import "@openzepp... | * @dev get tick spacing corresponding to pool fee amount/ | function getTickSpacingForFee(uint24 fee) public pure returns (int24) {
if (fee == 500) {
return 10;
return 60;
return 200;
return 0;
}
}
| 10,200,512 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
336,
4024,
13259,
4656,
358,
2845,
14036,
3844,
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,
... | [
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,
3181,
1200,
18006,
1290,
14667,
12,
11890,
3247,
14036,
13,
1071,
16618,
1135,
261,
474,
3247,
13,
288,
203,
3639,
309,
261,
21386,
422,
6604,
13,
288,
203,
5411,
327,
1728,
31,
203,
5411,
327,
4752,
31,
203,
5411,
327,... |
./full_match/1/0x083C55dBD2E5A4D48Ffa6C4FF2E0Dcec7cd53962/sources/contracts/Astrofolio.sol | Only normal transfers (not buy nor sell) will go to this if statement
| if (to != uniswapV2Pair) { | 4,980,827 | [
1,
4625,
348,
7953,
560,
30,
225,
5098,
2212,
29375,
261,
902,
30143,
12517,
357,
80,
13,
903,
1960,
358,
333,
309,
3021,
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... | [
1,
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,
5411,
309,
261,
869,
480,
640,
291,
91,
438,
58,
22,
4154,
13,
288,
225,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
./partial_match/1/0xdD668Fa631C0b3F863e3A830ca23Fe75100009e6/sources/CompoundLeverageModule.sol | Dependency file: contracts/interfaces/external/ICErc20.sol/ pragma solidity 0.6.10; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";* @title ICErc20 @author Set Protocol Interface for interacting with Compound cErc20 tokens (e.g. Dai, USDC)/ | interface ICErc20 is IERC20 {
function borrowBalanceCurrent(address _account) external returns (uint256);
function borrowBalanceStored(address _account) external view returns (uint256);
function exchangeRateCurrent() external returns (uint256);
function exchangeRateStored() external view returns (ui... | 2,755,111 | [
1,
4625,
348,
7953,
560,
30,
225,
11993,
585,
30,
20092,
19,
15898,
19,
9375,
19,
11774,
1310,
3462,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1441,
1310,
3462,
353,
467,
654,
39,
3462,
288,
203,
203,
565,
445,
29759,
13937,
3935,
12,
2867,
389,
4631,
13,
3903,
1135,
261,
11890,
5034,
1769,
203,
203,
565,
445,
29759,
13937,
18005,
12,
2867,
389,
4631,
13,
390... |
./partial_match/1/0xce193aBd0efE33214bc2e1Ce96984797FB701bFD/sources/contracts/core/governance/libraries/VotingEscrowToken.sol | Record history Compute points | function checkpoint(
uint256 veLockId,
Lock calldata oldLock,
Lock calldata newLock
) external onlyVELock {
_recordPointHistory(0);
(Point memory oldLockPoint, Point memory newLockPoint) =
_computePointsFromLocks(oldLock, newLock);
_updateLastPoint(o... | 4,482,501 | [
1,
4625,
348,
7953,
560,
30,
225,
5059,
4927,
8155,
3143,
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,
565,
445,
9776,
12,
203,
3639,
2254,
5034,
10489,
2531,
548,
16,
203,
3639,
3488,
745,
892,
1592,
2531,
16,
203,
3639,
3488,
745,
892,
394,
2531,
203,
565,
262,
3903,
1338,
7900,
975,
288,
203,
3639,
389,
3366,
2148,
5623,
12,
... |
./full_match/69/0x1756793ABFEe46D29ad5fb7a7e05b59e745feD12/sources/contractsOVM/contractsL2/1_CampaignOVM.sol | SimpleNFT public nfts; | contract Campaign {
using SafeMath for uint;
using SafeERC20 for IERC20;
uint256 constant MAX_UINT = 2 ** 256 - 1;
uint public id;
string public name;
uint public currFund;
uint public goal;
address payable public owner;
bool public finished = false;
string public ... | 13,237,572 | [
1,
4625,
348,
7953,
560,
30,
4477,
50,
4464,
1071,
290,
1222,
87,
31,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
16351,
17820,
288,
203,
377,
203,
565,
1450,
14060,
10477,
364,
2254,
31,
203,
565,
1450,
14060,
654,
39,
3462,
364,
467,
654,
39,
3462,
31,
203,
377,
203,
565,
2254,
5034,
5381,
4552,
67,
57,
3217,
273,
576,
2826,
8303,
300,
4... |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one... | * @title Core of JITU (Just-In-Time-Underwriter) @author KeeperDAO @notice This contract allows whitelisted keepers to add buffer to compound positions that are slightly above water, so that in the case they go underwater the keepers can preempt a liquidation./ | contract JITUCore is Ownable {
IERC721 public immutable nft;
LiquidityPoolLike public liquidityPool;
mapping (address=>bool) keeperWhitelist;
mapping (address=>bool) underwriterWhitelist;
event KeeperWhitelistUpdated(address indexed _keeper, bool _updatedValue);
event UnderwriterWhitelistUpdate... | 1,116,970 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
2649,
4586,
434,
804,
27902,
261,
19642,
17,
382,
17,
950,
17,
14655,
6299,
13,
632,
4161,
1475,
9868,
18485,
632,
20392,
1220,
6835,
5360,
26944,
3455,
414,
358,
527,
1613,
358,
11360,
6865,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
804,
27902,
4670,
353,
14223,
6914,
288,
203,
565,
467,
654,
39,
27,
5340,
1071,
11732,
290,
1222,
31,
203,
565,
511,
18988,
24237,
2864,
8804,
1071,
4501,
372,
24237,
2864,
31,
203,
565,
2874,
261,
2867,
9207,
6430,
13,
4... |
pragma solidity ^0.5.0;
/**
* PHASES
* Shift: This is the only time MKR can be deposited or withdrawn
* Auction: All bidding happens here, MKR is locked, no deposits/withdraws
* Voting: Remaining 5 days, MKR is locked (i.e. no deposits/withdraws), earnings withdrawn here
*
* SAME TIMELINE USING DEFAULT PERIOD LE... | phase number => Bid
| mapping(uint256 => Bid) public bids; | 1,082,652 | [
1,
4625,
348,
7953,
560,
30,
225,
6855,
1300,
516,
605,
350,
203,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
2874,
12,
11890,
5034,
516,
605,
350,
13,
1071,
30534,
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,
-10... |
/*
* Origin Protocol
* https://originprotocol.com
*
* Released under the MIT license
* https://github.com/OriginProtocol/origin-dollar
*
* Copyright 2020 Origin Protocol, Inc
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files ... | Frozen address/credits are non rebasing (value is held in contracts which do not receive yield unless they explicitly opt in) | uint256 public nonRebasingSupply;
| 1,628,340 | [
1,
4625,
348,
7953,
560,
30,
225,
478,
9808,
1758,
19,
20610,
1282,
854,
1661,
283,
9157,
310,
261,
1132,
353,
15770,
316,
20092,
1492,
741,
486,
6798,
2824,
3308,
2898,
8122,
2153,
316,
13,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
565,
2254,
5034,
1071,
1661,
426,
9157,
310,
3088,
1283,
31,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'HRT' token contract
//
// Deployed to : 0x196D80D725d3F90246d7a44086bb2B883D8b0c84
// Symbol : HRT
// Name : HIRO TOKEN
// Total supply: 22222222222
// Decimals : 0
//
// Enjoy.
//
// (c)... | ---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Con... | contract HIROTOKEN is ERC20Interface, Owned, SafeMath {
string public symbol;
string public name;
uint8 public decimals;
uint public _totalSupply;
mapping(address => uint) balances;
mapping(address => mapping(address => uint)) allowed;
function HIROTOKEN() public {
symbol = "HRT"... | 14,995,042 | [
1,
4625,
348,
7953,
560,
30,
225,
8879,
13849,
4232,
39,
3462,
3155,
16,
598,
326,
2719,
434,
3273,
16,
508,
471,
15105,
471,
1551,
25444,
1147,
29375,
8879,
13849,
8879,
17082,
11417,
8879,
17082,
2,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
16351,
670,
45,
1457,
8412,
353,
4232,
39,
3462,
1358,
16,
14223,
11748,
16,
14060,
10477,
288,
203,
565,
533,
1071,
3273,
31,
203,
565,
533,
1071,
225,
508,
31,
203,
565,
2254,
28,
1071,
15105,
31,
203,
565,
2254,
1071,
389,
4... |
pragma solidity ^0.5.0;
import "../core/Ownable.sol";
import "../access-control/UserRole.sol";
contract SmartPic is Ownable, UserRole {
// Id for the picture using the created hash in IPFS
uint ipfsHashId;
mapping (string => Picture) pictures;
enum State {
Uploaded, // Picture uploaded to... | ipfs hash of the uploaded file
| string ipfsHashId; | 12,635,525 | [
1,
4625,
348,
7953,
560,
30,
225,
2359,
2556,
1651,
434,
326,
9140,
585,
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,
3639,
533,
225,
2359,
2556,
2310,
548,
31,
1850,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
./full_match/1/0x766e2877946a807362e70E95527F7302Ee6D73C0/sources/@sense-finance/v1-core/src/Divider.sol | Mint equal amounts of PT and YT | Token(series[adapter][maturity].pt).mint(msg.sender, uBal);
| 3,151,582 | [
1,
4625,
348,
7953,
560,
30,
225,
490,
474,
3959,
30980,
434,
453,
56,
471,
1624,
56,
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,
3639,
3155,
12,
10222,
63,
10204,
6362,
7373,
2336,
8009,
337,
2934,
81,
474,
12,
3576,
18,
15330,
16,
582,
38,
287,
1769,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
./partial_match/1/0xC834A06943Efac6b6129641f15191fCB033DB515/sources/RoboTC.sol | 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 */ This notifies clients about the amount frozen */ This notifies clients about the amount unfrozen */ Initializes contract with initial supply tokens to t... | function RoboTC() {
owner = msg.sender;
}
| 4,442,757 | [
1,
4625,
348,
7953,
560,
30,
225,
1220,
3414,
392,
526,
598,
777,
324,
26488,
1195,
1220,
6026,
279,
1071,
871,
603,
326,
16766,
716,
903,
5066,
7712,
1195,
1220,
19527,
7712,
2973,
326,
3844,
18305,
88,
1195,
1220,
19527,
7712,
2973,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19686,
83,
15988,
1435,
288,
203,
3639,
3410,
273,
1234,
18,
15330,
31,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
pragma solidity ^0.4.18;
contract ERC721 {
// Required methods
function totalSupply() public view returns (uint256 total);
function balanceOf(address _owner) public view returns (uint256 balance);
function ownerOf(uint256 _tokenId) external view returns (address owner);
function approve(address _to... | @notice Returns all the relevant info about a specific card. @param _id The ID of the card of interest. | function getCard(uint256 _id) external view returns (
bool isCombining,
bool isReady,
uint256 cooldownIndex,
uint256 nextActionAt,
uint256 combiningWithId,
uint256 spawnTime,
uint256 firstIngredientId,
uint256 secondIngredientId,
uint256 genera... | 12,984,927 | [
1,
4625,
348,
7953,
560,
30,
225,
632,
20392,
2860,
777,
326,
9368,
1123,
2973,
279,
2923,
5270,
18,
632,
891,
389,
350,
1021,
1599,
434,
326,
5270,
434,
16513,
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,
26776,
12,
11890,
5034,
389,
350,
13,
3903,
1476,
1135,
261,
203,
3639,
1426,
353,
24107,
310,
16,
203,
3639,
1426,
353,
8367,
16,
203,
3639,
2254,
5034,
27367,
2378,
1016,
16,
203,
3639,
2254,
5034,
1024,
1803,
861,
16... |
// SPDX-License-Identifier: UNLICENSE
/**
About TattooMoney DeFi & NFT project:
Tattooing is a timeless phenomenon. The first human to be tattooed was Ötzi the Iceman when archaeologists discovered his body dating between 3,370 and 3,100 BC, or more than 5,000 years ago.
We bring tattoos to the cryptographic space...... | * @dev Freez Account @param _address adress to feez/unfreez @param _freeze set state/ | function freezeAccount(address _address, bool _freeze) public onlyDAO {
frozenAccount[_address] = _freeze;
}
| 426,521 | [
1,
4625,
348,
7953,
560,
30,
380,
632,
5206,
15217,
94,
6590,
632,
891,
389,
2867,
1261,
663,
358,
14036,
94,
19,
318,
9156,
94,
632,
891,
389,
29631,
444,
919,
19,
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,
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,
445,
16684,
3032,
12,
2867,
389,
2867,
16,
1426,
389,
29631,
13,
1071,
1338,
18485,
288,
203,
1377,
12810,
3032,
63,
67,
2867,
65,
273,
389,
29631,
31,
203,
565,
289,
203,
203,
2,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |