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
pragma solidity ^0.4.15; /** * @title SafeMath * @dev Math operations with safety checks that throw on error * @notice This is a softer (in terms of throws) variant of SafeMath: * https://github.com/OpenZeppelin/openzeppelin-solidity/pull/1121 */ library SafeMath { /** * @dev Multiplies two numbers, t...
Calculate winner proportions of the prize pool
winners[j].transfer(winnerAIONAmount);
12,656,197
[ 1, 4625, 348, 7953, 560, 30, 225, 9029, 5657, 1224, 450, 655, 1115, 434, 326, 846, 554, 2845, 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, 5657, 9646, 63, 78, 8009, 13866, 12, 91, 7872, 37, 1146, 6275, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
// Dependency file: @openzeppelin/contracts/math/SafeMath.sol // SPDX-License-Identifier: MIT // pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, becau...
Check if the computed hash (root) is equal to the provided root
return computedHash == root;
6,285,062
[ 1, 4625, 348, 7953, 560, 30, 225, 2073, 309, 326, 8470, 1651, 261, 3085, 13, 353, 3959, 358, 326, 2112, 1365, 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, 202, 202, 2463, 8470, 2310, 422, 1365, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x5E16CA75000fb2B9d7B1184Fa24fF5D938a345Ef/sources/src/libs/LibSecp256k1.sol
Compute j = h * i (mod P)
uint j = mulmod(h, i, _P);
17,127,005
[ 1, 4625, 348, 7953, 560, 30, 225, 8155, 525, 273, 366, 380, 277, 261, 1711, 453, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 525, 273, 14064, 1711, 12, 76, 16, 277, 16, 389, 52, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0xb6B85d10e8EC515a2041C2A2f070176ae3754846/sources/browser/sssssssssssssss.sol
path[0] = uniswapRouter.WETH();
function getPathForTwoTokens(address add1, address add2) private view returns (address[] memory) { address[] memory path = new address[](2); path[0] = add1; path[1] = add2; return path; }
3,176,709
[ 1, 4625, 348, 7953, 560, 30, 377, 589, 63, 20, 65, 273, 640, 291, 91, 438, 8259, 18, 59, 1584, 44, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 4339, 1290, 11710, 5157, 12, 2867, 527, 21, 16, 1758, 527, 22, 13, 3238, 1476, 1135, 261, 2867, 8526, 3778, 13, 288, 203, 565, 1758, 8526, 3778, 589, 273, 394, 1758, 8526, 12, 22, 1769, 203, 565, 589, 63, 20, 65, 27...
./partial_match/1/0x908a00c141D619236c7CF1B4E351D081Bf4f9800/sources/DIVIDEND.sol
* @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 dealing with meta-transactions the account sending and paying for execut...
abstract contract Context { $DDIV pragma solidity ^0.8.0; function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
16,198,839
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 28805, 1779, 2973, 326, 783, 4588, 819, 16, 6508, 326, 5793, 434, 326, 2492, 471, 2097, 501, 18, 21572, 4259, 854, 19190, 2319, 3970, 1234, 18, 15330, 471, 1234, 18, 892, 16, 2898, 1410, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 17801, 6835, 1772, 288, 203, 8, 40, 31901, 225, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 20, 31, 203, 565, 445, 389, 3576, 12021, 1435, 2713, 1476, 5024, 1135, 261, 2867, 13, 288, 203, 3639, 327, 1234, 18, 15330, 31, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.8.4; /// @title HippoU Token /// https://hippoarmy.com import "./ERC721Optimised.sol"; import "./DevPayable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; contract HippoToken is ERC721Optimised, DevPayable { using Counters for Counters.Counter; ...
* Set sale up to @dev This function is inclusive/
function setSaleUpTo(uint256 _saleUpTo) external onlyOwner { saleUpTo = _saleUpTo; }
1,459,799
[ 1, 4625, 348, 7953, 560, 30, 380, 1000, 272, 5349, 731, 358, 632, 5206, 1220, 445, 353, 13562, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 13928, 5349, 1211, 774, 12, 11890, 5034, 389, 87, 5349, 1211, 774, 13, 3903, 1338, 5541, 288, 203, 3639, 272, 5349, 1211, 774, 273, 389, 87, 5349, 1211, 774, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -10...
pragma solidity ^0.4.11; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) constant returns (uint256); function transfer(address to, uint256 v...
* Only allow some actions before the crowdsale starts./
modifier onlyBeforeOpened { checkOpenTimer(); if (crowdsaleStarted) throw; _; }
981,684
[ 1, 4625, 348, 7953, 560, 30, 380, 5098, 1699, 2690, 4209, 1865, 326, 276, 492, 2377, 5349, 2542, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1338, 4649, 23115, 288, 203, 3639, 866, 3678, 6777, 5621, 203, 3639, 309, 261, 71, 492, 2377, 5349, 9217, 13, 604, 31, 203, 3639, 389, 31, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -1...
// SPDX-License-Identifier: MIT /* * MIT License * =========== * * 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 restriction, including without limitation the rights * to use, ...
/ loop through all epochData in descending order
@dev this is the only function that updates lastTimeUserStakeUpdated & stakeUnitsForExpiry @dev other functions must make sure that totalStakeLPForExpiry could be assumed to stay exactly the same since lastTimeUserStakeUpdated until now; @dev to be called only by _updatePendingRewards function _...
6,262,947
[ 1, 4625, 348, 7953, 560, 30, 342, 2798, 3059, 777, 7632, 751, 316, 17044, 1353, 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, 632, 5206, 333, 353, 326, 1338, 445, 716, 4533, 31323, 1299, 510, 911, 7381, 473, 384, 911, 7537, 1290, 14633, 203, 565, 632, 5206, 1308, 4186, 1297, 1221, 3071, 716, 2078, 510, 911, 14461, 1290, 14633, 3377, 506, 12034, 203, ...
// SPDX-License-Identifier: GNU-GPL v3.0 or later pragma solidity ^0.8.0; import "./interfaces/IRevest.sol"; import "./interfaces/IAddressRegistry.sol"; import "./interfaces/IFeeReporter.sol"; import "./interfaces/IRewardsHandler.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contrac...
SPDX-License-Identifier: GNU-GPL v3.0 or later
interface IRewardsHandler { function mintTimeLock( uint endTime, address[] memory recipients, uint[] memory quantities, IRevest.FNFTConfig memory fnftConfig ) external payable returns (uint); function mintValueLock( address primaryAsset, address compareTo, ...
14,935,868
[ 1, 4625, 348, 7953, 560, 30, 225, 11405, 28826, 17, 13211, 17, 3004, 30, 611, 50, 57, 17, 43, 6253, 331, 23, 18, 20, 578, 5137, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 15908, 359, 14727, 1503, 288, 203, 203, 565, 445, 312, 474, 950, 2531, 12, 203, 3639, 2254, 13859, 16, 203, 3639, 1758, 8526, 3778, 12045, 16, 203, 3639, 2254, 8526, 3778, 10251, 1961, 16, 203, 3639, 467, 10070, 395, 18, 19...
// Сочетаемость глаголов (и отглагольных частей речи) с предложным // паттерном. // LC->07.08.2018 facts гл_предл language=Russian { arity=3 //violation_score=-5 generic return=boolean } #define ГЛ_ИНФ(v) инфинитив:v{}, глагол:v{} #region Предлог_В // ------------------- С ПРЕДЛОГОМ 'В' -----------------------...
распевать на разные голоса
rus_verbs:распевать{},
5,485,770
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 146, 227, 145, 113, 146, 228, 145, 128, 145, 118, 145, 115, 145, 113, 146, 229, 146, 239, 225, 145, 126, 145, 113, 225, 146, 227, 145, 113, 145, 120, 145, 126, 146, 238, 145, 118, 225, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 436, 407, 67, 502, 2038, 30, 146, 227, 145, 113, 146, 228, 145, 128, 145, 118, 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, ...
./full_match/5/0x082A7daac615Fbbfd0CF39FB3e366255723C7fd5/sources/contracts/INFI/PowerfulERC20.sol
* @dev See {ERC20-_beforeTokenTransfer}. See {ERC20Capped-_beforeTokenTransfer}./
function _beforeTokenTransfer( address from, address to, uint256 amount ) internal override(ERC20, ERC20Capped) { super._beforeTokenTransfer(from, to, amount); }
1,867,649
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 654, 39, 3462, 17, 67, 5771, 1345, 5912, 5496, 2164, 288, 654, 39, 3462, 4664, 1845, 17, 67, 5771, 1345, 5912, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 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, 5771, 1345, 5912, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 2713, 3849, 12, 654, 39, 3462, 16, 4232, 39, 3462, 4664, 1845, 13, 288, 203, 3639, 2240, 6315,...
//Address: 0x5d66a6657bad3f4fa26f7546dd297d8393d8b7d7 //Contract name: Notes //Balance: 0 Ether //Verification Date: 1/8/2018 //Transacion Count: 14 // CODE STARTS HERE pragma solidity ^0.4.10; // The NOTES ERC20 Token. There is a delay before addresses that are not added to the "activeGroup" can transfer tokens. ...
Deposit all to fund
balances[fund] = nFund;
13,017,668
[ 1, 4625, 348, 7953, 560, 30, 225, 4019, 538, 305, 777, 358, 284, 1074, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1377, 324, 26488, 63, 74, 1074, 65, 273, 290, 42, 1074, 31, 377, 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: Apache-2.0 pragma solidity ^0.6.12; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "./interfaces/AaveInterfaces.sol"; import "../ContinuousRewardToken.sol"; /** * @title AaveRewardToken contract * @notice ERC20 token which wraps und...
* @notice Amount of reward for the given reward token @param rewardToken The address of reward token @param account The account for which reward balance is checked @return reward balance of token the specified account has/
function _rewardTokens() virtual internal view returns (address[] memory); function balanceOfReward(address rewardToken, address account) override public view returns (uint256) { require(rewardToken != address(0), "ContinuousRewardToken: reward token cannot be zero address"); if (account == delegate) { ...
1,137,521
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 16811, 434, 19890, 364, 326, 864, 19890, 1147, 632, 891, 19890, 1345, 1021, 1758, 434, 19890, 1147, 632, 891, 2236, 1021, 2236, 364, 1492, 19890, 11013, 353, 5950, 632, 2463, 19890, 11013, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 266, 2913, 5157, 1435, 5024, 2713, 1476, 1135, 261, 2867, 8526, 3778, 1769, 203, 203, 225, 445, 11013, 951, 17631, 1060, 12, 2867, 19890, 1345, 16, 1758, 2236, 13, 3849, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, ...
./partial_match/1/0x0AA7889c6427Fd8fc612e87579fDCd1a942ef234/sources/UnwindPermit.sol
* @dev Decode a `ShortString` back to a "normal" string./ using `new string(len)` would work locally but is not memory safe. @solidity memory-safe-assembly
function toString(ShortString sstr) internal pure returns (string memory) { uint256 len = length(sstr); string memory str = new string(32); assembly { mstore(str, len) mstore(add(str, 0x20), sstr) } return str; }
4,346,122
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 6209, 279, 1375, 4897, 780, 68, 1473, 358, 279, 315, 6130, 6, 533, 18, 19, 1450, 1375, 2704, 533, 12, 1897, 22025, 4102, 1440, 13760, 1496, 353, 486, 3778, 4183, 18, 632, 30205, 560, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1762, 12, 4897, 780, 272, 701, 13, 2713, 16618, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 2254, 5034, 562, 273, 769, 12, 87, 701, 1769, 203, 3639, 533, 3778, 609, 273, 394, 533, 12, 1578, 1769, 203, 3639, 19931, 288,...
pragma solidity >=0.6.0 <=0.8.0; import "./Params.sol"; import "./Validators.sol"; contract Proposal is Params { // How long a proposal will exist uint256 public proposalLastingPeriod; // record mapping(address => bool) public pass; struct ProposalInfo { // who propose this proposal ...
set validator unpass
function setUnpassed(address val) external onlyValidatorsContract returns (bool) { pass[val] = false; emit LogSetUnpassed(val, block.timestamp); return true; }
14,113,640
[ 1, 4625, 348, 7953, 560, 30, 225, 444, 4213, 640, 5466, 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, 444, 984, 23603, 12, 2867, 1244, 13, 203, 3639, 3903, 203, 3639, 1338, 19420, 8924, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 1342, 63, 1125, 65, 273, 629, 31, 203, 203, 3639, 3626, 1827, 694, 984, 236...
// SPDX-License-Identifier: MIT /* .: :. */ /* :-- :-: _______ _ _______ */ /* -==- :==-. ( ____ \( ( /|( ____ \ */ /* . ==: .===: | ( \/| \ ( || ( ...
* @title Catch-all ENSIP-10 resolver. @author royalfork.eth @notice ENS resolver which proxies all resolver functions for any subdomain of a node to a set resolver./
contract CatchallResolver is IExtendedResolver, Resolver { ENS public immutable registry; mapping(bytes32=>Resolver) resolvers; event NewCatchallResolver(bytes32 indexed node, address resolver); } ITextResolver {} constructor(address _registry) { registry = ENS(_registry); } functio...
6,308,873
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 21984, 17, 454, 6693, 17739, 17, 2163, 5039, 18, 632, 4161, 721, 93, 6186, 778, 18, 546, 632, 20392, 512, 3156, 5039, 1492, 13263, 777, 5039, 4186, 364, 1281, 540, 16242, 434, 279, 756, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 21984, 454, 4301, 353, 467, 11456, 4301, 16, 17183, 288, 203, 565, 512, 3156, 1071, 11732, 4023, 31, 203, 203, 565, 2874, 12, 3890, 1578, 9207, 4301, 13, 24170, 31, 203, 203, 565, 871, 1166, 14842, 454, 4301, 12, 3890, 157...
./full_match/1/0x4C8c8f124943d45E21dE6aF4b846156A14D3a922/sources/Interfaces.sol
* @dev Wrappers over Solidity's arithmetic operations with added overflow checks./
library SafeMath { function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (a == 0) return (true, 0); ...
17,078,889
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4266, 10422, 1879, 348, 7953, 560, 1807, 30828, 5295, 598, 3096, 9391, 4271, 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, ...
[ 1, 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, 12083, 14060, 10477, 288, 203, 565, 445, 775, 986, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 6430, 16, 2254, 5034, 13, 288, 203, 3639, 2254, 5034, 276, 273, 279, 397, 324, 31, 203, 3639, 309, 261, 7...
pragma solidity ^0.4.13; 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 dividing by 0 ...
Set the name for display purposes
name = "Vegan Coin";
14,048,525
[ 1, 4625, 348, 7953, 560, 30, 225, 1000, 326, 508, 364, 2562, 13694, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 508, 273, 315, 58, 1332, 304, 28932, 14432, 4766, 565, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x7A163ad42A34A9F562689eF36Aa84df568eF31a3/sources/FGGHARD.sol
Number of Deadblocks
function sethappycommunity(uint8 _blocks) external onlyOwner {
4,061,454
[ 1, 4625, 348, 7953, 560, 30, 225, 3588, 434, 23967, 7996, 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, 445, 444, 76, 438, 2074, 20859, 12, 11890, 28, 389, 7996, 13, 3903, 1338, 5541, 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, ...
./full_match/3/0xFa1073fB978338D4f93a3dB5d2281F439DEFCFB6/sources/contracts/RoboToken.sol
CH initial balance
_balances[founder3] = 1500000000000000000000000;
8,107,153
[ 1, 4625, 348, 7953, 560, 30, 225, 6469, 2172, 11013, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3639, 389, 70, 26488, 63, 74, 465, 765, 23, 65, 273, 225, 4711, 12648, 12648, 17877, 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, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; import "library.sol"; /** * @title Implementation of the {IERC20} interface. * @dev defines a dynamically generated ERC20-compliant option contract with given expiry date */ contract Option is Context, IOption { using SafeMath for uint256; /// @dev...
* @dev Hook that is called before any transfer of tokens. This includes minting and burning. Calling conditions: - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens will be to transferred to `to`. - when `from` is zero, `amount` tokens will be minted for `to`. - when `to` is zero, `amount` of ``from...
function _beforeTokenTransfer(address from, address to, uint256) internal { require(block.timestamp < rounds[currentRound].expiryDate, "option expired"); if (from != address(0) && from != address(_pool)) { _pool.settleBuyer(from); } if (to != address(0) && to !=...
15,832,606
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 13725, 716, 353, 2566, 1865, 1281, 7412, 434, 2430, 18, 1220, 6104, 312, 474, 310, 471, 18305, 310, 18, 21020, 4636, 30, 300, 1347, 1375, 2080, 68, 471, 1375, 869, 68, 854, 3937, 1661, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 5771, 1345, 5912, 12, 2867, 628, 16, 1758, 358, 16, 2254, 5034, 13, 2713, 288, 203, 3639, 2583, 12, 2629, 18, 5508, 411, 21196, 63, 2972, 11066, 8009, 22409, 1626, 16, 315, 3482, 7708, 8863, 203, 203, 3639, 309, ...
./partial_match/1/0x25C7C475934f40908523a36d5d7ea810D890b50F/sources/contracts/universal/MultiSigWallet.sol
* @notice Ensure that the caller is not owner. @param _addr Address resource requested./
modifier ownerDoesNotExist(address _addr) { require(!isOwner[_addr], "MultiSigWallet: owner exists"); _; }
16,186,985
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 7693, 716, 326, 4894, 353, 486, 3410, 18, 632, 891, 389, 4793, 5267, 1058, 3764, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 3410, 15264, 12, 2867, 389, 4793, 13, 288, 203, 3639, 2583, 12, 5, 291, 5541, 63, 67, 4793, 6487, 315, 5002, 8267, 16936, 30, 3410, 1704, 8863, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, ...
./full_match/44787/0x8f089df1EfE48c70cCC8033106d028C53d6627Fd/sources/contracts/cns_registrar/BaseRegistrarImplementationUpgradeable.sol
*@dev Set the base uri@param baseUri_ new base uri, with mandatory ending `/`/
function setBaseUri(string memory baseUri_) external override onlyOwner { emit BaseUriChanged(baseUri, baseUri_); baseUri = baseUri_; }
13,250,799
[ 1, 4625, 348, 7953, 560, 30, 380, 36, 5206, 1000, 326, 1026, 2003, 36, 891, 23418, 67, 394, 1026, 2003, 16, 598, 11791, 11463, 1375, 19, 68, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 26435, 3006, 12, 1080, 3778, 23418, 67, 13, 3903, 3849, 1338, 5541, 288, 203, 3639, 3626, 3360, 3006, 5033, 12, 1969, 3006, 16, 23418, 67, 1769, 203, 3639, 23418, 273, 23418, 67, 31, 203, 565, 289, 203, 203, 2, -100, ...
//Address: 0x4B902704026D14117b5E9EFA7FdaFDfF4bA610eF //Contract name: DaoChallenge //Balance: 0 Ether //Verification Date: 10/12/2016 //Transacion Count: 4 // CODE STARTS HERE contract DaoAccount { /************************** Constants ***************************/ uint256 constant tokenPrice = 1000000000...
Only owner can fund: No fractional tokens:
function () onlyOwner returns (uint256 newBalance){ uint256 amount = msg.value; if (amount % tokenPrice != 0) { throw; } uint256 tokens = amount / tokenPrice; tokenBalance += tokens; return tokenBalance; }
14,104,040
[ 1, 4625, 348, 7953, 560, 30, 225, 5098, 3410, 848, 284, 1074, 30, 2631, 20462, 2430, 30, 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, 202, 915, 1832, 1338, 5541, 1135, 261, 11890, 5034, 394, 13937, 15329, 203, 202, 202, 11890, 5034, 3844, 273, 1234, 18, 1132, 31, 203, 203, 202, 202, 430, 261, 8949, 738, 1147, 5147, 480, 374, 13, 288, 203, 1082, 202, 12849, 31, ...
pragma solidity ^0.4.24; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract Z_ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint2...
* @dev add new exchange office accounts (run by admin, public function) @param _exchange_account new exchange address/
function z_admin_add_exchange(address _exchange_account) public onlyAdmin { require(_exchange_account != address(0)); cryptocurrency_exchange_company_accounts.push(_exchange_account); emit AddNewExchangeAccount(_exchange_account, block.timestamp); } event SaleTokenPriceSet(uint25...
13,028,548
[ 1, 4625, 348, 7953, 560, 30, 380, 225, 632, 5206, 282, 527, 394, 7829, 3397, 1812, 9484, 3639, 261, 2681, 635, 3981, 16, 1071, 445, 13, 225, 632, 891, 389, 16641, 67, 4631, 282, 394, 7829, 1758, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 998, 67, 3666, 67, 1289, 67, 16641, 12, 2867, 389, 16641, 67, 4631, 13, 1071, 1338, 4446, 288, 203, 1377, 2583, 24899, 16641, 67, 4631, 480, 1758, 12, 20, 10019, 203, 1377, 13231, 504, 295, 3040, 67, 16641, 67, 16840, ...
./full_match/1/0x1fEC594F10E3210CEA537B1893F4f2b5DBf1281f/sources/contracts/NFTContract721A.sol
All images to be stored on Arweave permaweb. Centralized metadata server until mint-out; then changing to Arweave. Team NFTs & Initial Admin Levels: ~30 team/ambassadors/etc. will be awarded NFTs. For now, we are reserving 550 in the FAWC wallet. We will reallocate to team members & others post-launch. Merkle tree:
{ accounts[msg.sender] = Account( 0, 0, 0 ); reservedNFTs = 600; _distro = distro; _distro_shares = distro_shares; merkleRoot = _merkleRoot; }
3,044,985
[ 1, 4625, 348, 7953, 560, 30, 225, 4826, 4602, 358, 506, 4041, 603, 1201, 1814, 836, 4641, 69, 4875, 18, 385, 12839, 1235, 1982, 1438, 3180, 312, 474, 17, 659, 31, 1508, 12770, 358, 1201, 1814, 836, 18, 10434, 423, 4464, 87, 473, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 203, 3639, 9484, 63, 3576, 18, 15330, 65, 273, 6590, 12, 374, 16, 374, 16, 374, 11272, 203, 203, 3639, 8735, 50, 4464, 87, 273, 14707, 31, 18701, 203, 203, 3639, 389, 4413, 303, 273, 27450, 31, 203, 3639, 389, ...
./full_match/1/0x34C6F95476700e4dfCdaf28b56b99bc1E24e25F7/sources/browser/Arbitrage22.sol
Kyber(kyberAddress).swapEtherToToken.value(amount)(tokenAddress, min);catch{}
if (task == 41) { uint expected; (expected, ) = Kyber(kyberAddress).getExpectedRate(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE, tokenAddress, amount); if(expected >= min){ if(amount > address(this).balance) amount = address(this).balance; kyberAddress....
17,032,775
[ 1, 4625, 348, 7953, 560, 30, 1475, 93, 744, 12, 18465, 744, 1887, 2934, 22270, 41, 1136, 774, 1345, 18, 1132, 12, 8949, 21433, 2316, 1887, 16, 1131, 1769, 14683, 2916, 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, 3639, 309, 261, 4146, 422, 20170, 13, 288, 203, 5411, 2254, 2665, 31, 203, 5411, 261, 3825, 16, 262, 273, 1475, 93, 744, 12, 18465, 744, 1887, 2934, 588, 6861, 4727, 12, 20, 17432, 1340, 1340, 41, 1340, 73, 41, 73, 41, 1340, ...
./full_match/137/0xE57268555E4A44BEa5976b163b20c3E8d4fd7206/sources/project_/contracts/services/OracleOwnerService.sol
todo: oracle owner should be approved
function proposeOracleToOracleType( bytes32 _oracleTypeName, uint256 _oracleId ) external override { query().proposeOracleToOracleType(_oracleTypeName, _oracleId); }
4,758,218
[ 1, 4625, 348, 7953, 560, 30, 225, 10621, 30, 20865, 3410, 1410, 506, 20412, 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, 450, 4150, 23601, 774, 23601, 559, 12, 203, 3639, 1731, 1578, 389, 280, 16066, 7947, 16, 203, 3639, 2254, 5034, 389, 280, 16066, 548, 203, 565, 262, 3903, 3849, 288, 203, 3639, 843, 7675, 685, 4150, 23601, 774, 23601, 5...
pragma solidity ^0.8.0; pragma abicoder v2; // SPDX-License-Identifier: MIT import "./include/IERC20.sol"; import "./include/IRole.sol"; import "./lib/Permission.sol"; import "./Structs.sol"; import "./include/IEquipment.sol"; import "./include/IERC1155OP.sol"; import "./include/IBonusPool.sol"; import "./include/IPe...
角色在副本中的信息副本id角色id副本期号奖池期号艺术品期号进入副本时间角色在副本中的有效结束时间种子块号
struct RoleInfo { uint16 id; uint256 roleId; uint256 zoneNumber; uint64 bonusPoolNumber; uint64 artworkPoolNumber; uint64 startTime; uint64 endTime; uint256 blockNumber; } @param user 进入地址 @param roleId 进入角色id @param zoneId 副本id @pa...
2,507,690
[ 1, 4625, 348, 7953, 560, 30, 225, 169, 105, 245, 169, 236, 115, 166, 255, 106, 166, 236, 112, 167, 255, 110, 165, 121, 260, 168, 253, 231, 165, 128, 99, 167, 228, 112, 166, 236, 112, 167, 255, 110, 350, 169, 105, 245, 169, 236...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 1958, 6204, 966, 288, 203, 3639, 2254, 2313, 612, 31, 203, 3639, 2254, 5034, 21152, 31, 203, 3639, 2254, 5034, 4157, 1854, 31, 203, 3639, 2254, 1105, 324, 22889, 2864, 1854, 31, 203, 3639, 2254, 1105, 3688, 1252, 2864, 1854, ...
pragma solidity 0.5.17; pragma experimental ABIEncoderV2; import "./AdvancedTokenStorage.sol"; import "../../openzeppelin/Initializable.sol"; /** * @title Loan Token Logic Proxy contract. * * @notice This contract contains the proxy functionality and it will query the logic target from LoanTokenLogicBeacon * This...
* @dev Set/update the new beacon address. @param _newBeaconAddress Address of the new LoanTokenLogicBeacon./
function _setBeaconAddress(address _newBeaconAddress) private { require(Address.isContract(_newBeaconAddress), "Cannot set beacon address to a non-contract address"); bytes32 slot = LOAN_TOKEN_LOGIC_BEACON_ADDRESS_SLOT; assembly { sstore(slot, _newBeaconAddress) } }
5,433,354
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1000, 19, 2725, 326, 394, 29203, 1758, 18, 632, 891, 389, 2704, 1919, 16329, 1887, 5267, 434, 326, 394, 3176, 304, 1345, 20556, 1919, 16329, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 389, 542, 1919, 16329, 1887, 12, 2867, 389, 2704, 1919, 16329, 1887, 13, 3238, 288, 203, 202, 202, 6528, 12, 1887, 18, 291, 8924, 24899, 2704, 1919, 16329, 1887, 3631, 315, 4515, 444, 29203, 1758, 358, 279, 1661, 17, 16...
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./interfaces/MReserve.sol"; import "./MixinContractRegistry.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; abstract contract MixinReserve is MixinContractRegistry, MReserve { using SafeMath for uint256; struct Reserve { u...
* @dev Returns info about a reserve @param _reserveHolder Address of reserve holder @return info Info about the reserve for `_reserveHolder`/
function getReserveInfo(address _reserveHolder) public view override returns (ReserveInfo memory info) { info.fundsRemaining = remainingReserve(_reserveHolder); info.claimedInCurrentRound = reserves[_reserveHolder].claimedForRound[roundsManager().currentRound()]; }
948,321
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 1123, 2973, 279, 20501, 632, 891, 389, 455, 6527, 6064, 5267, 434, 20501, 10438, 632, 2463, 1123, 3807, 2973, 326, 20501, 364, 1375, 67, 455, 6527, 6064, 68, 19, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 31792, 6527, 966, 12, 2867, 389, 455, 6527, 6064, 13, 1071, 1476, 3849, 1135, 261, 607, 6527, 966, 3778, 1123, 13, 288, 203, 3639, 1123, 18, 74, 19156, 11429, 273, 4463, 607, 6527, 24899, 455, 6527, 6064, 1769, 203, 363...
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "./ZooKeeper.sol"; // BambooField allows you to grow your Bamboo! Buy some seeds, and then harvest them for more Bamboo! // contract Bamb...
Changes the entry collateral amount.
function setRegisterAmount(uint256 _amount) external onlyOwner { registerAmount = _amount; emit RegisterAmountChanged(registerAmount); }
1,760,767
[ 1, 4625, 348, 7953, 560, 30, 225, 17776, 326, 1241, 4508, 2045, 287, 3844, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 3996, 6275, 12, 11890, 5034, 389, 8949, 13, 3903, 1338, 5541, 288, 203, 3639, 1744, 6275, 273, 389, 8949, 31, 203, 3639, 3626, 5433, 6275, 5033, 12, 4861, 6275, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, ...
// SPDX-License-Identifier: MIT /** ████ ████ ██ ██ ██████ ██▄▄ ██████ ██████ ████ █████ ██████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██▀▀ ██ ██ ██ ▄▄ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██████ ██████ ██ ██████ ██████ ██ ...
Generates a tokenURI */
function formatTokenURI(string memory nameURI, string memory descURI, string memory elementURI, string memory energyURI, string memory directionURI, string memory imageURI) public pure returns (string memory) { return string(abi.encodePacked( "data:application/json;base64,", ...
1,510,828
[ 1, 4625, 348, 7953, 560, 30, 225, 31902, 279, 1147, 3098, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 740, 1345, 3098, 12, 1080, 3778, 508, 3098, 16, 533, 3778, 3044, 3098, 16, 533, 3778, 930, 3098, 16, 533, 3778, 12929, 3098, 16, 533, 3778, 4068, 3098, 16, 533, 3778, 1316, 3098, 13, 1071, 16618, 1135, 261, 1080, 3778, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.5.8; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; contract UnelmaMarket is ERC721URIStorage, ERC721E...
* @dev mints an NFT out of thin air for the msg.sender, the msg sender is now the owner of that NFT . @param nft the struct describing the NFT, See {xref-UnelmaMarket-NFTLab} for reference/
function mint(address to, NFTLab memory nft) public { require(_hashToId[nft.cid] == 0, "Token already exists"); _tokenIds.increment(); uint256 newTokenId = _tokenIds.current(); _safeMint(to, newTokenId); _setTokenURI(newTokenId, nft.cid); _nfts[newTokenId] = nft; ...
15,869,917
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 312, 28142, 392, 423, 4464, 596, 434, 21936, 23350, 364, 326, 1234, 18, 15330, 16, 326, 1234, 5793, 353, 2037, 326, 3410, 434, 716, 423, 4464, 263, 632, 891, 290, 1222, 326, 1958, 16868, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 312, 474, 12, 2867, 358, 16, 423, 4464, 14506, 3778, 290, 1222, 13, 1071, 288, 203, 3639, 2583, 24899, 2816, 774, 548, 63, 82, 1222, 18, 13478, 65, 422, 374, 16, 315, 1345, 1818, 1704, 8863, 203, 203, 3639, 389, 2316,...
pragma solidity ^0.4.24; // Mortalパターン import "../node_modules/openzeppelin-solidity/contracts/lifecycle/Destructible.sol"; // CircuitBreakerパターン import "../node_modules/openzeppelin-solidity/contracts/lifecycle/Pausable.sol"; // オークションのコントラクト contract Auction is Destructible, Pausable { // 最高提示者 address...
オークションのコントラクト 最高提示者 最高提示額 提示者と提示額を管理 入札受付終了時間 入札受付中のmodifier
contract Auction is Destructible, Pausable { address public heighestBidder; uint public heighestBid; mapping(address => uint) public bidderBalance; uint public receptionTime; import "../node_modules/openzeppelin-solidity/contracts/lifecycle/Destructible.sol"; import "../node_modules/...
6,358,731
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 164, 229, 108, 164, 230, 125, 164, 229, 112, 164, 229, 120, 164, 230, 105, 164, 230, 116, 164, 228, 111, 164, 229, 116, 164, 230, 116, 164, 230, 235, 164, 230, 107, 164, 229, 112, 164, 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, 16351, 432, 4062, 353, 10597, 8813, 1523, 16, 21800, 16665, 288, 203, 377, 203, 565, 1758, 1071, 3904, 2031, 395, 17763, 765, 31, 203, 565, 2254, 1071, 3904, 2031, 395, 17763, 31, 203, 377, 203, 565, 2874, 12, 2867, 516, 2254, 13...
// SPDX-License-Identifier: MIT pragma solidity >=0.7.0; import "../interfaces/IControllable.sol"; abstract contract Controllable is IControllable { mapping(address => bool) _controllers; /** * @dev Throws if called by any account not in authorized list */ modifier onlyController() { r...
* @dev get the next claim id/
function __nextClaimId() private returns (uint256) { uint256 ncId = _nextClaimId; _nextClaimId = _nextClaimId.add(1); return ncId; }
11,794,185
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 336, 326, 1024, 7516, 612, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1001, 4285, 9762, 548, 1435, 3238, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 8194, 548, 273, 389, 4285, 9762, 548, 31, 203, 3639, 389, 4285, 9762, 548, 273, 389, 4285, 9762, 548, 18, 1289, 12, 21, 1769, ...
pragma solidity ^0.5.12; import "@openzeppelin/contracts-ethereum-package/contracts/math/SafeMath.sol"; import "../../interfaces/curve/IFundsModule.sol"; import "../../interfaces/defi/IDefiModule.sol"; import "../../common/Module.sol"; import "./DefiOperatorRole.sol"; /** * @dev DeFi integration module * This module ...
== Abstract functions to be defined in realization == == Internal functions of DefiModule
function handleDepositInternal(address sender, uint256 amount) internal; function withdrawInternal(address beneficiary, uint256 amount) internal; function totalSupplyOfPTK() internal view returns(uint256); function _createInitialDistribution() internal { assert(distributions.length == 0); ...
1,796,201
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 4115, 4186, 358, 506, 2553, 316, 2863, 1588, 422, 422, 3186, 4186, 434, 10922, 77, 3120, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1640, 758, 1724, 3061, 12, 2867, 5793, 16, 2254, 5034, 3844, 13, 2713, 31, 203, 565, 445, 598, 9446, 3061, 12, 2867, 27641, 74, 14463, 814, 16, 2254, 5034, 3844, 13, 2713, 31, 203, 565, 445, 2078, 3088, 1283, 951, 185...
./partial_match/137/0x664E854F5429C03AEFa81961Dd0bdB6dE7B99Ab1/sources/MasterChef-flat.sol
Update reward variables of the given pool to be up-to-date.
function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.number <= pool.lastRewardBlock) { return; } uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (lpSupply == 0 || pool.allocPoint == 0) { pool.lastRew...
3,511,649
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 19890, 3152, 434, 326, 864, 2845, 358, 506, 731, 17, 869, 17, 712, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2864, 12, 11890, 5034, 389, 6610, 13, 1071, 288, 203, 3639, 8828, 966, 2502, 2845, 273, 2845, 966, 63, 67, 6610, 15533, 203, 3639, 309, 261, 2629, 18, 2696, 1648, 2845, 18, 2722, 17631, 1060, 1768, 13, 288, 203, ...
// Sources flattened with hardhat v2.1.1 https://hardhat.org // File @openzeppelin/contracts/utils/Context.sol@v3.4.0 // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While th...
Need to calculate stop and limit prices from the witness Price
_updateTrailingPrice(_thisOrderId);
966,515
[ 1, 4625, 348, 7953, 560, 30, 12324, 358, 4604, 2132, 471, 1800, 19827, 628, 326, 15628, 20137, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 389, 2725, 16808, 5147, 24899, 2211, 21303, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/1/0x401253BD4333014C73D81A308166AdE05d954c2F/sources/LosMuertosClub.sol
the team gets the first 4 token
constructor(string memory baseURI) ERC721("Los Muertos Club", "LMC") { setBaseURI(baseURI); _safeMint( a1, 0); _safeMint( a2, 1); _safeMint( a3, 2); _safeMint( a4, 3); }
16,582,018
[ 1, 4625, 348, 7953, 560, 30, 225, 326, 5927, 5571, 326, 1122, 1059, 1147, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1080, 3778, 1026, 3098, 13, 4232, 39, 27, 5340, 2932, 48, 538, 490, 89, 1051, 538, 3905, 373, 3113, 315, 17063, 39, 7923, 288, 203, 3639, 26435, 3098, 12, 1969, 3098, 1769, 203, 203, 3639, 389, 4626, 49, 474, 12,...
pragma solidity ^0.5.0; /** * Interface describing the basic features required for a betting contract. * * Contracts implementing this interface must expose their status: * isOpen() returns true if bets may be placed * isClosed() returns true if bets c...
* Interface describing the basic features required for a betting contract. Contracts implementing this interface must expose their status: isOpen() returns true if bets may be placed isClosed() returns true if bets cannot be placed and the event outcome can ...
interface IBasicBet { function isOpen() external view returns (bool); function isClosed() external view returns (bool); function isFinalized() external view returns (bool); function addBet(uint256 choice) external payable; function finalizeEvent(uint256 result) external; function releaseFunds() ...
5,508,666
[ 1, 4625, 348, 7953, 560, 30, 380, 6682, 16868, 326, 5337, 4467, 1931, 364, 279, 2701, 1787, 6835, 18, 30131, 19981, 333, 1560, 1297, 15722, 3675, 1267, 30, 1377, 16633, 1435, 18701, 1135, 638, 309, 324, 2413, 2026, 506, 15235, 1377, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8252, 38, 278, 288, 203, 565, 445, 16633, 1435, 3903, 1476, 1135, 261, 6430, 1769, 203, 565, 445, 18851, 1435, 3903, 1476, 1135, 261, 6430, 1769, 203, 565, 445, 29200, 1235, 1435, 3903, 1476, 1135, 261, 6430, 1769, 203, ...
pragma solidity ^0.4.22; import "./IVoting.sol"; import "../IDaoBase.sol"; /** * @title IProposal * @dev This is the basic DAO Proposal interface. Each Proposal should have voting attached. * Proposal can do some action if voting is finished with 'yes' result. Or action can be empty. */ contract IProposal { f...
* @title IProposal @dev This is the basic DAO Proposal interface. Each Proposal should have voting attached. Proposal can do some action if voting is finished with 'yes' result. Or action can be empty./ ??? function isOpen() public constant returns(bool);
contract IProposal { function action()public; function getVoting()public view returns(IVoting voting); }
13,097,931
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 467, 14592, 632, 5206, 1220, 353, 326, 5337, 463, 20463, 19945, 1560, 18, 8315, 19945, 1410, 1240, 331, 17128, 7495, 18, 19945, 848, 741, 2690, 1301, 309, 331, 17128, 353, 6708, 598, 296, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 467, 14592, 288, 203, 202, 915, 1301, 1435, 482, 31, 203, 202, 915, 11031, 17128, 1435, 482, 1476, 1135, 12, 8188, 17128, 331, 17128, 1769, 203, 203, 97, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0xE7C2016f5344858f6A1874424d077aDD3ea81fa5/sources/@aragon/govern-contract-utils/contracts/address-utils/AddressUtils.sol
* It is unsafe to assume that an address for which this function returns false is an externally-owned account (EOA) and not a contract. Among others, `isContract` will return false for the following types of addresses: - an externally-owned account - a contract in construction - an address where a contract will be c...
function isContract(address addr) internal view returns (bool result) { assembly { result := iszero(iszero(extcodesize(addr))) } }
4,906,944
[ 1, 4625, 348, 7953, 560, 30, 380, 2597, 353, 7127, 358, 6750, 716, 392, 1758, 364, 1492, 333, 445, 1135, 629, 353, 392, 18885, 1230, 17, 995, 329, 2236, 261, 41, 28202, 13, 471, 486, 279, 6835, 18, 3986, 932, 10654, 16, 1375, 291,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 353, 8924, 12, 2867, 3091, 13, 2713, 1476, 1135, 261, 6430, 563, 13, 288, 203, 3639, 19931, 288, 203, 5411, 563, 519, 353, 7124, 12, 291, 7124, 12, 408, 7000, 554, 12, 4793, 20349, 203, 3639, 289, 203, 565, 289, 203, ...
./full_match/1/0x35f9Facfc5524B8a3B46521552684C5d66a614Cb/sources/GMmfers.sol
The following functions are overrides required by Solidity.
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: Nonexistent token"); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0...
16,485,828
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 3751, 4186, 854, 9515, 1931, 635, 348, 7953, 560, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 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, 1147, 3098, 12, 11890, 5034, 1147, 548, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 5024, 203, 3639, 3849, 203, 3639, 1135, 261, 1080, 3778, 13, 203, 565, 288, 203, 3639, 2583, 24899, 1808, 12, 2316, 548, 3631, 315...
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.2; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/proxy/Initializable.sol"; import "./interfaces/IEmiVest...
freeze presale tokens from specified date
function freezeBulk(address[] calldata beneficiaries, uint[] calldata sinceDate, uint[] calldata tokens, uint category) external onlyAdmin { require(beneficiaries.length > 0, "Array should not be empty"); require(beneficiaries.length == sinceDate.length, "Arrays should be of equal length"); re...
13,066,292
[ 1, 4625, 348, 7953, 560, 30, 225, 16684, 4075, 5349, 2430, 628, 1269, 1509, 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, 16684, 13112, 12, 2867, 8526, 745, 892, 27641, 74, 14463, 5646, 16, 2254, 8526, 745, 892, 3241, 1626, 16, 2254, 8526, 745, 892, 2430, 16, 2254, 3150, 13, 3903, 1338, 4446, 203, 565, 288, 203, 1377, 2583, 12, 70, 4009, ...
// File contracts/general/Ownable.sol pragma solidity ^0.6.6; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". * * @dev We've added a second owner to share control of the timeloc...
* @dev Owner may change the amount of time it takes to distribute rewards from Nexus. @param _rewardDuration The amount of time it takes to fully distribute rewards./
function changeRewardDuration(uint256 _rewardDuration) external onlyOwner { require(_rewardDuration <= 30 days, "Reward duration cannot be more than 30 days."); rewardDuration = _rewardDuration; }
6,135,528
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 16837, 2026, 2549, 326, 3844, 434, 813, 518, 5530, 358, 25722, 283, 6397, 628, 423, 21029, 18, 632, 891, 389, 266, 2913, 5326, 1021, 3844, 434, 813, 518, 5530, 358, 7418, 25722, 283, 6397...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2549, 17631, 1060, 5326, 12, 11890, 5034, 389, 266, 2913, 5326, 13, 203, 1377, 3903, 203, 1377, 1338, 5541, 203, 565, 288, 203, 3639, 2583, 24899, 266, 2913, 5326, 1648, 5196, 4681, 16, 315, 17631, 1060, 3734, 2780, 506, ...
./full_match/1/0xF7FB3a4C33017dB39B376FE594859b087379dBb0/sources/src/Roshambo.sol
@dev Resets the current round due to a tie @param _gameId ID of the game @param _game Storage value of game info @param _round Storage value of current round info @param _p1 Storage value of player1 info @param _p2 Storage value of player2 info Resets the game, round and player info Updates the commit block for the cu...
function _reset( uint40 _gameId, Game storage _game, Round storage _round, Player storage _p1, Player storage _p2 ) internal { _game.stage = Stage.COMMIT; _p1.commitment = bytes32(0); _p2.commitment = bytes32(0); _round.p1Choice = Choice.NO...
9,785,545
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 1124, 2413, 326, 783, 3643, 6541, 358, 279, 25318, 632, 891, 389, 13957, 548, 1599, 434, 326, 7920, 632, 891, 389, 13957, 5235, 460, 434, 7920, 1123, 632, 891, 389, 2260, 5235, 460, 434, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 6208, 12, 203, 3639, 2254, 7132, 389, 13957, 548, 16, 203, 3639, 14121, 2502, 389, 13957, 16, 203, 3639, 11370, 2502, 389, 2260, 16, 203, 3639, 19185, 2502, 389, 84, 21, 16, 203, 3639, 19185, 2502, 389, 84, 22, 2...
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.3; import "./ZkSyncBridgeSwapper.sol"; import "./interfaces/IStaticATokenLM.sol"; /** * @notice Exchanges tokens for their respective static Aave tokens. * NOTE: to add a new pool, put the underlying token at the even index, * immediately followed by the stati...
* @notice Exchanges tokens for their respective static Aave tokens. NOTE: to add a new pool, put the underlying token at the even index, immediately followed by the static aToken at the odd index. Example indexes: 0: DAI 1: stataDAI 2: USDC 3: stataUSDC/
contract AaveBridgeSwapper is ZkSyncBridgeSwapper { address[] public tokens; event PoolAdded(address stataToken); constructor( address _zkSync, address _l2Account, address[] memory _stataTokens ) ZkSyncBridgeSwapper(_zkSync, _l2Account) pragma solidity ^0.8.3; { ...
1,513,841
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1312, 6329, 2430, 364, 3675, 17613, 760, 432, 836, 2430, 18, 5219, 30, 358, 527, 279, 394, 2845, 16, 1378, 326, 6808, 1147, 622, 326, 5456, 770, 16, 7636, 10860, 635, 326, 760, 279, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 432, 836, 13691, 12521, 457, 353, 2285, 79, 4047, 13691, 12521, 457, 288, 203, 203, 565, 1758, 8526, 1071, 2430, 31, 203, 203, 565, 871, 8828, 8602, 12, 2867, 384, 396, 1345, 1769, 203, 203, 565, 3885, 12, 203, 3639, 1758,...
./partial_match/1/0xCC4fCe9171dE972aE892BD0b749F96B49b3740E7/sources/etherscana_verify.sol
permanently lock the first MINIMUM_LIQUIDITY tokens
IXfaiPool(pool).mint(address(0), MINIMUM_LIQUIDITY);
16,068,416
[ 1, 4625, 348, 7953, 560, 30, 225, 16866, 715, 2176, 326, 1122, 6989, 18605, 67, 2053, 53, 3060, 4107, 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...
[ 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, 1377, 467, 60, 507, 77, 2864, 12, 6011, 2934, 81, 474, 12, 2867, 12, 20, 3631, 6989, 18605, 67, 2053, 53, 3060, 4107, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.21; // <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 restriction, including ...
------------------------------------------------------------------EXTERNAL FUNCTIONS-------------------------------------------------------------------------
function registerExternal()external{ registerAccount(msg.sender); }
6,578,330
[ 1, 4625, 348, 7953, 560, 30, 8879, 17, 2294, 11702, 13690, 55, 5802, 8567, 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, 1744, 6841, 1435, 9375, 95, 203, 3639, 1744, 3032, 12, 3576, 18, 15330, 1769, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.5.1; import "./math/SafeMath.sol"; import "./MultiSigSecured.sol"; import "./Pausable.sol"; /* * @title LedgeriumIndexContract * @author Vivek <https://github.com/bvivek777> * The LedgeriumIndexContract Contract hold the details of the controller and the data contracts * and allows various cont...
To check if initial owners are set or not already
bool private isInit;
923,289
[ 1, 4625, 348, 7953, 560, 30, 2974, 866, 309, 2172, 25937, 854, 444, 578, 486, 1818, 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, 202, 6430, 3238, 353, 2570, 31, 17322, 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,...
./full_match/4/0xcFC50C45602193A04A89B172197169eD2A47163E/sources/contracts/deploy.sol
address public royaltyWallet = 0x6AD71401bcCc644fCdF93eAc9b8b4bb919e92414; merkle root metadata URIstring memory _contractURI,
contract MyNFT is ERC721, ERC721Enumerable, IERC2981,ReentrancyGuard , Ownable, ERC721Burnable{ uint256 public maxSupply = 10000; uint256 public price = 0.01 ether; uint256 public maxQtyPerWalletAddressPreSale = 100; bool public _isActive = false; bool public _presaleActive = false; mapping(a...
12,322,599
[ 1, 4625, 348, 7953, 560, 30, 1758, 1071, 721, 93, 15006, 16936, 273, 374, 92, 26, 1880, 27, 3461, 1611, 13459, 39, 71, 22087, 74, 19728, 42, 11180, 73, 9988, 29, 70, 28, 70, 24, 9897, 29, 3657, 73, 29, 3247, 3461, 31, 30235, 136...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16351, 8005, 50, 4464, 353, 4232, 39, 27, 5340, 16, 4232, 39, 27, 5340, 3572, 25121, 16, 467, 654, 39, 5540, 11861, 16, 426, 8230, 12514, 16709, 269, 14223, 6914, 16, 4232, 39, 27, 5340, 38, 321, 429, 95, 203, 565, 2254, 5034, ...
./full_match/4/0x451E645903c00f08574ce5b8DffaCeB5D36a975F/sources/browser/cafo/cafo.sol
转eth向合约转cafo-> 门票修改父订单padding状态直接转账 wowToken.transfer(address(this),order.tickets);
function transferConfirma(uint orderNO) public payable { Order storage order = orederMap[orderNO]; require(address(msg.sender) != order.receivingAddr); require( msg.value >= order.amount, "amount isn't enough." ); if(order.state == StateEnum.locking)...
12,518,868
[ 1, 4625, 348, 7953, 560, 30, 225, 169, 126, 110, 546, 166, 243, 244, 166, 243, 235, 168, 123, 104, 169, 126, 110, 5353, 617, 2122, 225, 170, 250, 106, 168, 103, 106, 165, 128, 111, 167, 247, 122, 168, 235, 119, 169, 111, 100, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 7412, 3976, 481, 2540, 12, 11890, 1353, 3417, 13, 1071, 8843, 429, 288, 203, 540, 4347, 2502, 1353, 273, 320, 266, 765, 863, 63, 1019, 3417, 15533, 203, 540, 2583, 12, 2867, 12, 3576, 18, 15330, 13, 480, 1353, 18, 860...
pragma solidity ^0.5.0; import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol"; import "openzeppelin-solidity/contracts/math/SafeMath.sol"; import "openzeppelin-solidity/contracts/ownership/Ownable.sol"; /** * @title Staking Token (STK) * @author Alberto Cuesta Canada * @notice Implements a basic ERC20 sta...
* @notice A simple method that calculates the rewards for each stakeholder. @param _stakeholder The stakeholder to calculate rewards for./
function calculateReward(address _stakeholder) public payable returns(uint256) { if (block.timestamp > contract_start + 2 * period) { if (block.timestamp < contract_start + 3 * period) { uint256 _reward = reward_pool_1 != 0 ? reward_pool_1 * stakeOf(_stakeholder) / totalStake...
929,072
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 432, 4143, 707, 716, 17264, 326, 283, 6397, 364, 1517, 384, 911, 4505, 18, 632, 891, 389, 334, 911, 4505, 1021, 384, 911, 4505, 358, 4604, 283, 6397, 364, 18, 19, 2, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4604, 17631, 1060, 12, 2867, 389, 334, 911, 4505, 13, 1071, 8843, 429, 1135, 12, 11890, 5034, 13, 203, 565, 288, 203, 3639, 309, 261, 2629, 18, 5508, 405, 6835, 67, 1937, 397, 576, 380, 3879, 13, 288, 203, 5411, 309, ...
pragma solidity ^0.4.18; interface ExpectedRateInterface { function getExpectedRate(ERC20 source, ERC20 dest, uint srcQty) public view returns (uint expectedPrice, uint slippagePrice); } interface ERC20 { function totalSupply() public view returns (uint supply); function balanceOf(address _owner) ...
first scenario - this is not the first tx in the current block just increase imbalance imbalance was changed in the middle of the block
function addImbalance( ERC20 token, int buyAmount, uint priceUpdateBlock, uint currentBlock ) internal { uint currentBlockIndex = currentBlock % SLIDING_WINDOW_SIZE; int64 recordedBuyAmount = int64(buyAmount / int(tokenControlInfo[token].minimalRecordR...
15,836,877
[ 1, 4625, 348, 7953, 560, 30, 225, 1122, 10766, 300, 333, 353, 486, 326, 1122, 2229, 316, 326, 783, 1203, 2537, 10929, 709, 12296, 709, 12296, 1703, 3550, 316, 326, 7689, 434, 326, 1203, 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, 565, 445, 527, 1170, 12296, 12, 203, 3639, 4232, 39, 3462, 1147, 16, 203, 3639, 509, 30143, 6275, 16, 203, 3639, 2254, 6205, 1891, 1768, 16, 203, 3639, 2254, 30610, 203, 565, 262, 203, 3639, 2713, 203, 565, 288, 203, 3639, 2254, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error,...
@notice Grants an allowance to a spender to use the fund's asset @param _asset The asset for which to grant an allowance @param _target The spender of the allowance @param _amount The amount of the allowance
function approveAssetSpender( address _asset, address _target, uint256 _amount ) external override onlyAccessor { ERC20 assetContract = ERC20(_asset); if (assetContract.balanceOf(_target) > 0) { assetContract.safeApprove(_target, 0); } assetCon...
6,134,829
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 611, 86, 4388, 392, 1699, 1359, 358, 279, 17571, 264, 358, 999, 326, 284, 1074, 1807, 3310, 632, 891, 389, 9406, 1021, 3310, 364, 1492, 358, 7936, 392, 1699, 1359, 632, 891, 389, 3299, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 565, 445, 6617, 537, 6672, 27223, 264, 12, 203, 3639, 1758, 389, 9406, 16, 203, 3639, 1758, 389, 3299, 16, 203, 3639, 2254, 5034, 389, 8949, 203, 565, 262, 3903, 3849, 1338, 8235, 288, 203, 3639, 4232, 39, 3462, 3310, 8924, 273, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "./NFTMarketplaceV1.sol"; import "./interfaces/NFT20/INFT20Factory.sol"; import "./interfaces/NFT20/INFT20Pair.sol"; import "./interfaces/UniswapV2/IUniswapV2Router.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; /** * @title An upgraded...
* @title An upgraded version of NFT Marketplace Contract @author Rafael Romero/
contract NFTMarketplaceV2 is NFTMarketplaceV1 { using SafeMath for uint256; using SafeERC20 for IERC20; function acceptOfferWithNFT( address _seller, uint256 _sellerTokenId, address _buyerNFTAddress, uint256 _buyerTokenId, address _tokenPayment pragma solidity ^0.7.0...
15,869,785
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 1922, 31049, 1177, 434, 423, 4464, 6622, 24577, 13456, 632, 4161, 9040, 507, 292, 534, 362, 2439, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 423, 4464, 3882, 24577, 58, 22, 353, 423, 4464, 3882, 24577, 58, 21, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 203, 565, 445, 2791, 10...
/** *Submitted for verification at Etherscan.io on 2021-07-28 */ /* https://powerpool.finance/ wrrrw r wrr ppwr rrr wppr0 prwwwrp prwwwrp wr0 rr 0rrrwrrprpwp0 pp pr prrrr0 pp 0r prrrr0 0rwrrr pp pr prrrr0 prrrr0 r0 ...
Just transfer CVPs to xCVP contract Wrap ETH -> WETH Use a Uniswap-like strategy
function _swap(address token_) internal { uint256 cvpBefore = IERC20(cvp).balanceOf(xcvp); lastReporterPokeFrom = block.timestamp; uint256 cvpAmountOut_ = cvpAmountOut; SwapType sType; uint256 amountIn = 0; if (token_ == cvp) { sType = SwapType.CVP; amountIn = IERC20(cvp).balanceO...
8,038,671
[ 1, 4625, 348, 7953, 560, 30, 225, 12526, 7412, 385, 58, 18124, 358, 619, 22007, 52, 6835, 4266, 512, 2455, 317, 678, 1584, 44, 2672, 279, 1351, 291, 91, 438, 17, 5625, 6252, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 22270, 12, 2867, 1147, 67, 13, 2713, 288, 203, 565, 2254, 5034, 8951, 84, 4649, 273, 467, 654, 39, 3462, 12, 19774, 84, 2934, 12296, 951, 12, 6511, 20106, 1769, 203, 565, 1142, 13289, 52, 3056, 1265, 273, 1203, 1...
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { ret...
* It will be possible to refund only if min (soft) cap is not reached and refund requested during 3 months after presale finished./
function canRefund() public view returns (bool) { return totalWeiReceived < minCapWei && endTime < now && now <= refundDeadlineTime; }
245,600
[ 1, 4625, 348, 7953, 560, 30, 380, 2597, 903, 506, 3323, 358, 16255, 1338, 309, 1131, 261, 9269, 13, 3523, 353, 486, 8675, 471, 16255, 3764, 4982, 890, 8846, 1839, 4075, 5349, 6708, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 848, 21537, 1435, 1071, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 327, 2078, 3218, 77, 8872, 411, 1131, 4664, 3218, 77, 597, 13859, 411, 2037, 597, 2037, 1648, 16255, 15839, 950, 31, 203, 565, 289, 203, 203, 2, -100, ...
pragma solidity ^0.4.11; import './Ownable.sol'; import './RAZDetachedToken.sol'; import './CallableWarrantsToken.sol'; /** * @title UnitToken * @dev Unit token holding RAZDetachedTokens and their packaged CallableWarrantsToken (two different ERC20 tokens that could be listed on different exchanges) */ c...
* @title UnitToken @dev Unit token holding RAZDetachedTokens and their packaged CallableWarrantsToken (two different ERC20 tokens that could be listed on different exchanges)/
contract UnitToken is Ownable { RAZDetachedToken public razToken; CallableWarrantsToken public cwToken; event TokenMint(address indexed to, uint256 amount); function UnitToken(address _wallet, uint256 _exercisePrice, uint256 _callPrice, uint256 _warrantsPerToken, uint256 _expireTime) public { razToken = new...
907,103
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 8380, 1345, 632, 5206, 8380, 1147, 19918, 534, 26315, 4986, 2004, 5157, 471, 3675, 2298, 11349, 10464, 59, 5399, 4388, 1345, 261, 15415, 3775, 4232, 39, 3462, 2430, 716, 3377, 506, 12889, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 8380, 1345, 353, 14223, 6914, 288, 203, 202, 2849, 62, 4986, 2004, 1345, 1071, 767, 94, 1345, 31, 203, 202, 11452, 59, 5399, 4388, 1345, 1071, 14098, 1345, 31, 203, 203, 225, 871, 3155, 49, 474, 12, 2867, 8808, 358, 16, ...
pragma solidity ^0.4.11; // <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 restriction, including w...
When the bet&#39;s event is expected to start
uint public EXPECTED_START = 1524190020;
10,859,970
[ 1, 4625, 348, 7953, 560, 30, 225, 5203, 326, 2701, 18642, 5520, 31, 87, 871, 353, 2665, 358, 787, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 2254, 1071, 5675, 23615, 67, 7570, 273, 4711, 3247, 3657, 713, 3462, 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, -...
/** *Submitted for verification at Etherscan.io on 2021-10-25 */ // Sources flattened with hardhat v2.6.6 https://hardhat.org // File @openzeppelin/contracts/utils/introspection/[email protected] pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/...
update minting status mint panda
function mint() external { require(!userMinted[_msgSender()], "mint: you have minted"); tokenCounter.increment(); uint256 currentTokenId = tokenCounter.current(); require(currentTokenId <= MAX_AMOUNT, "mint: all tokens have been minted"); userMinted[_msgSender()] = true; ...
15,185,069
[ 1, 4625, 348, 7953, 560, 30, 225, 1089, 312, 474, 310, 1267, 312, 474, 293, 464, 69, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 312, 474, 1435, 3903, 288, 203, 3639, 2583, 12, 5, 1355, 49, 474, 329, 63, 67, 3576, 12021, 1435, 6487, 315, 81, 474, 30, 1846, 1240, 312, 474, 329, 8863, 203, 3639, 1147, 4789, 18, 15016, 5621, 203, 3639, 2254, 5034,...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./interfaces/Constants.sol"; import { PoolParams } from "./interfaces/Types.sol"; import "./interfaces/IVestingPools.sol"; import "./utils/Claimable.sol"; import "./utils/DefaultOwnable.sol"; impor...
@notice Calls {claimVesting} and sends the releasable amount to the message sender @dev Stakeholder only may call
function claimAndWithdraw() external { _claimVesting(); }
12,762,073
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 23665, 288, 14784, 58, 10100, 97, 471, 9573, 326, 6707, 345, 429, 3844, 358, 326, 883, 5793, 632, 5206, 934, 911, 4505, 1338, 2026, 745, 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, 565, 445, 7516, 1876, 1190, 9446, 1435, 3903, 288, 203, 3639, 389, 14784, 58, 10100, 5621, 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...
pragma solidity ^0.4.16; pragma experimental "v0.5.0"; pragma experimental "ABIEncoderV2"; import {Memory} from "../unsafe/Memory.sol"; library Bytes { uint internal constant BYTES_HEADER_SIZE = 32; // Checks if two `bytes memory` variables are equal. This is done using hashing, // which is much more g...
Copies 'self' into a new 'bytes memory'. Returns the newly created 'bytes memory' The returned bytes will be of length '1', and: - 'bts[0] == 0 (if self == false)' - 'bts[0] == 1 (if self == true)'
function toBytes(bool self) internal pure returns (bytes memory bts) { bts = new bytes(1); bts[0] = self ? byte(1) : byte(0); }
12,975,804
[ 1, 4625, 348, 7953, 560, 30, 225, 28506, 606, 296, 2890, 11, 1368, 279, 394, 296, 3890, 3778, 10332, 2860, 326, 10894, 2522, 296, 3890, 3778, 11, 1021, 2106, 1731, 903, 506, 434, 769, 296, 21, 2187, 471, 30, 225, 300, 296, 70, 342...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23247, 12, 6430, 365, 13, 2713, 16618, 1135, 261, 3890, 3778, 20838, 13, 288, 203, 3639, 20838, 273, 394, 1731, 12, 21, 1769, 203, 3639, 20838, 63, 20, 65, 273, 365, 692, 1160, 12, 21, 13, 294, 1160, 12, 20, 1769, 2...
pragma solidity ^0.5.0; import "openzeppelin-solidity/contracts/ownership/Ownable.sol"; import "openzeppelin-solidity/contracts/token/ERC20/ERC20Mintable.sol"; contract BondedVault is Ownable { address public authorisedSender; bool public collateralIsEth; ERC20Mintable public collateralToken; bool pu...
* @dev Fallback function to accept direct ETH transfers as free donations to the bonding curve. @notice Does not accept funds when vault is frozen./
function () external onlyUnfrozen payable { emit LogEthDonated(msg.value, msg.sender); }
13,045,524
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 21725, 445, 358, 2791, 2657, 512, 2455, 29375, 487, 4843, 2727, 1012, 358, 326, 8427, 310, 8882, 18, 632, 20392, 9637, 486, 2791, 284, 19156, 1347, 9229, 353, 12810, 18, 19, 2, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1832, 3903, 1338, 984, 28138, 8843, 429, 225, 288, 203, 3639, 3626, 1827, 41, 451, 22293, 690, 12, 3576, 18, 1132, 16, 1234, 18, 15330, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.13; // interval in anything // start in - bootstrap // next - move to start i // tickets gonna hold holder and numbers // numbers with tickets that bet on it // check numbers[tickets] and increment /** * @title Lottery Lotthereum * * Lotthereum is a lottery dapp to finish once * and for all ...
current index of the drawing interval array
uint public drawingIndex;
15,866,406
[ 1, 4625, 348, 7953, 560, 30, 225, 783, 770, 434, 326, 16327, 3673, 526, 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, 16327, 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, -100,...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; import '@openzeppelin/contracts/math/SafeMath.sol'; import '@uniswap/v2-periphery/contracts/libraries/UniswapV2OracleLibrary.sol'; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import './IYuanYangPot.sol'; contract ChefMao { using SafeMath for uint...
More than this much time must pass between rebase operations.
uint256 public minRebaseTimeIntervalSec = 24 hours;
911,570
[ 1, 4625, 348, 7953, 560, 30, 225, 16053, 2353, 333, 9816, 813, 1297, 1342, 3086, 283, 1969, 5295, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 11890, 5034, 1071, 1131, 426, 1969, 950, 4006, 2194, 273, 4248, 7507, 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, ...
pragma solidity ^0.4.19; /* Our Roulette - A decentralized, crowdfunded game of Roulette Developer: Dadas1337 Thanks to: FrontEnd help & tips: CiernaOvca Matt007 Kebabist Chief-Shiller: M...
if he is the last holder, give him his penalty too, so there is no leftover ETH in the contract
}else payouts[msg.sender]+=(int256)(penalty);
6,387,407
[ 1, 4625, 348, 7953, 560, 30, 309, 3904, 353, 326, 1142, 10438, 16, 8492, 366, 381, 18423, 23862, 4885, 16, 1427, 1915, 353, 1158, 29709, 512, 2455, 316, 326, 6835, 203, 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, 202, 202, 97, 12107, 293, 2012, 87, 63, 3576, 18, 15330, 3737, 28657, 474, 5034, 21433, 1907, 15006, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
/** *Submitted for verification at Etherscan.io on 2021-08-09 */ /** *Submitted for verification at Etherscan.io on 2021-08-09 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. Wh...
internal minting function
function _mint(uint256 _numToMint) internal { require(_numToMint <= MAX_MINTABLE_AT_ONCE, "Minting too many at once."); uint256 updatedNumAvailableTokens = _numAvailableTokens; for (uint256 i = 0; i < _numToMint; i++) { uint256 newTokenId = useRandomAvailableToken(_numToMint, i)...
8,008,318
[ 1, 4625, 348, 7953, 560, 30, 225, 2713, 312, 474, 310, 445, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 81, 474, 12, 11890, 5034, 389, 2107, 774, 49, 474, 13, 2713, 288, 203, 3639, 2583, 24899, 2107, 774, 49, 474, 1648, 4552, 67, 49, 3217, 2782, 67, 789, 67, 673, 1441, 16, 315, 49, 474, 310, 4885, 4906, 622, 3647...
./full_match/5/0xF6c9A442128142aDfd32EbDa1dd3572eF1551F63/sources/src/Hats.sol
@notice Checks whether an address is eligible for a given Hat @dev Public function for use when passing a Hat object is not possible or preferable @param _hatId The id of the Hat @param _wearer The address to check @return bool Hat memory hat = _hats[_hatId];
function isEligible(address _wearer, uint256 _hatId) public view returns (bool) { return _isEligible(_wearer, _hats[_hatId], _hatId); }
11,626,105
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 13074, 2856, 392, 1758, 353, 21351, 364, 279, 864, 670, 270, 632, 5206, 7224, 445, 364, 999, 1347, 9588, 279, 670, 270, 733, 353, 486, 3323, 578, 13256, 429, 632, 891, 389, 11304, 548, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 353, 4958, 16057, 12, 2867, 389, 1814, 14500, 16, 2254, 5034, 389, 11304, 548, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 327, 389, 291, 4958, 16057, 24899, 1814, 145...
./full_match/5/0x409e6656e49aC29b662BB0a5B80EAFFC4CFA71f4/sources/project_/contracts/NBPresale.sol
* @dev Gets the amount of tokens you will get for a given amount of USDT in a given round @param usdtIn The amount of USDT which goes in @param roundIndex The round index @return uint256 The amount of tokens you will get/
function getTokenRewardForUsdtInRound( uint256 usdtIn, uint256 roundIndex ) internal view returns (uint256) { return (usdtIn * 100000) / tokenUnitPriceUsd[roundIndex]; }
1,857,501
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11881, 326, 3844, 434, 2430, 1846, 903, 336, 364, 279, 864, 3844, 434, 11836, 9081, 316, 279, 864, 3643, 632, 891, 584, 7510, 382, 1021, 3844, 434, 11836, 9081, 1492, 13998, 316, 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, 0, 0, 0...
[ 1, 565, 445, 9162, 17631, 1060, 1290, 3477, 7510, 382, 11066, 12, 203, 3639, 2254, 5034, 584, 7510, 382, 16, 203, 3639, 2254, 5034, 3643, 1016, 203, 565, 262, 2713, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 261, 407, 75...
./full_match/97/0x11E5D7800E3e2Bb51b82d6fDDD0D4AcFec530B41/sources/project_/contracts/ERC721A.sol
The bit position of `numberMinted` in packed address data.
uint256 public constant _BITPOS_NUMBER_MINTED = 64;
3,262,938
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 2831, 1754, 434, 1375, 2696, 49, 474, 329, 68, 316, 12456, 1758, 501, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 5381, 389, 15650, 7057, 67, 9931, 67, 6236, 6404, 273, 5178, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./partial_match/1/0x0Ee60E3eDd8E04dcE059Ab52363eB1936f6fbC95/sources/HlandMaster.sol
* @notice Determine the prior number of votes for an account as of a block number @dev Block number must be a finalized block or else this function will revert to prevent misinformation. @param account The address of the account to check @param blockNumber The block number to get the vote balance at @return The number ...
function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { require(blockNumber < block.number, "HLAND::getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return...
4,055,675
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 10229, 326, 6432, 1300, 434, 19588, 364, 392, 2236, 487, 434, 279, 1203, 1300, 632, 5206, 3914, 1300, 1297, 506, 279, 727, 1235, 1203, 578, 469, 333, 445, 903, 15226, 358, 5309, 7524, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 1689, 2432, 29637, 12, 2867, 2236, 16, 2254, 1203, 1854, 13, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 2583, 12, 2629, 1854, 411, 1203, 18, 2696, 16, 315, 44, 4...
pragma solidity ^0.5.6; import "./access/access-control.sol"; /* * @title MagnatBase Contract. Holds all common structs, events and base variables. * @note MagnatBase is the main Game contract. Here includes basic data about MagnatGame * entities, information about players, clans, instruments, reaources and othe...
Name of the contract
string contractName;
12,986,578
[ 1, 4625, 348, 7953, 560, 30, 225, 1770, 434, 326, 6835, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 533, 6835, 461, 31, 2398, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./libr...
* @inheritdoc IRepaymentController/ get loan from borrower note withdraw principal plus interest from borrower and send to loan core call repay function in loan core
function repay(uint256 borrowerNoteId) external override { uint256 loanId = borrowerNote.loanIdByNoteId(borrowerNoteId); require(loanId != 0, "RepaymentController: repay could not dereference loan"); LoanLibrary.LoanTerms memory terms = loanCore.getLoan(loanId).terms; SafeERC20.sa...
13,881,879
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 10093, 467, 426, 9261, 2933, 19, 336, 28183, 628, 29759, 264, 4721, 598, 9446, 8897, 8737, 16513, 628, 29759, 264, 471, 1366, 358, 28183, 2922, 745, 2071, 528, 445, 316, 28183, 2922, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2071, 528, 12, 11890, 5034, 29759, 264, 8067, 548, 13, 3903, 3849, 288, 203, 3639, 2254, 5034, 28183, 548, 273, 29759, 264, 8067, 18, 383, 304, 548, 858, 8067, 548, 12, 70, 15318, 264, 8067, 548, 1769, 203, 203, 3639, ...
./full_match/1/0x05748Aab5ac6C9d1981A0e58E2f31247F5B215D2/sources/Users/x/proj/deworld/deworld-contracts-proper/contracts/StoneChef.sol
DAI Stone v2 HUT v2 DAI Stone - Maker SAI/DAI capabilities HUT - early VIP founder access to DeWorld
function calcPrice(uint _Id) public view returns (uint256) { if (_Id >= 36 && _Id <= 55) { return (5 ether / 10); } if (_Id >= 21 && _Id <= 35) { return (3 ether); } if (_Id >= 16 && _Id <= 20) { return (5 ether / 10); } ...
16,468,397
[ 1, 4625, 348, 7953, 560, 30, 225, 463, 18194, 934, 476, 331, 22, 670, 1693, 331, 22, 463, 18194, 934, 476, 300, 490, 6388, 17127, 45, 19, 9793, 45, 12359, 670, 1693, 300, 11646, 776, 2579, 284, 465, 765, 2006, 358, 1505, 18071, 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, 565, 445, 7029, 5147, 12, 11890, 389, 548, 13, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 203, 3639, 309, 261, 67, 548, 1545, 6580, 597, 389, 548, 1648, 225, 21483, 13, 288, 203, 5411, 327, 261, 25, 225, 2437, 342, 1728,...
./full_match/3/0xC4089BB7ed57a383d893007D76DC865835DAD9d8/sources/browser/Anima.sol
solhint-disable-next-line avoid-low-level-calls
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); ret...
8,197,724
[ 1, 4625, 348, 7953, 560, 30, 225, 3704, 11317, 17, 8394, 17, 4285, 17, 1369, 4543, 17, 821, 17, 2815, 17, 12550, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 445, 26356, 620, 12, 2867, 1018, 16, 1731, 3778, 501, 16, 2254, 5034, 460, 16, 533, 3778, 9324, 13, 2713, 1135, 261, 3890, 3778, 13, 288, 203, 3639, 2583, 12, 2867, 12, 2211, 2934, 12296, 1545, 460, 16, 315, 1887, 30,...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; /** * @notice Stakeable is a contract who is ment to be inherited by other contract that wants Staking capabilities */ contract Stakeable { /** * @notice Constructor,since this contract is not ment to be used without inheritance * push once to stake...
Use the index to push a new Stake push a newly created Stake with the current block timestamp.
stakeholders[index].address_stakes.push(Stake(msg.sender, _amount, timestamp, 0));
1,794,174
[ 1, 4625, 348, 7953, 560, 30, 225, 2672, 326, 770, 358, 1817, 279, 394, 934, 911, 1817, 279, 10894, 2522, 934, 911, 598, 326, 783, 1203, 2858, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 384, 911, 9000, 63, 1615, 8009, 2867, 67, 334, 3223, 18, 6206, 12, 510, 911, 12, 3576, 18, 15330, 16, 389, 8949, 16, 2858, 16, 374, 10019, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.6.10; pragma experimental ABIEncoderV2; interface IERC20 { function TOTALSUPPLY191() external view returns (uint256); //inject NONSTANDARD NAMING ...
inject NONSTANDARD NAMING
function DEPOSIT959(uint256 value) external ONLYOWNER702 {
6,433,123
[ 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, 2030, 28284, 29, 6162, 12, 11890, 5034, 460, 13, 3903, 20747, 29602, 27, 3103, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity ^0.4.24; /* * Stargate V1.0 * * _______ _________ _______ _______ _______ _______ _________ _______ ( ____ \\__ __/( ___ )( ____ )( ____ \( ___ )\__ __/( ____ \ | ( \/ ) ( | ( ) || ( )|| ( \/| ( ) | ) ( | ( \/ | (_____ ...
oraclize_setProof(proofType_Ledger); Set starting variables
constructor() public { owner = msg.sender; gameActive = true; allowReferrals = false; referralPercent = 1; jackpot = 0; totalPlayerBalance = 0; houseAccount = 0; bankAccount = 0; maxPayoutMultiple = 15; boolJackpotFee = false; ...
937,936
[ 1, 4625, 348, 7953, 560, 30, 578, 10150, 554, 67, 542, 20439, 12, 24207, 559, 67, 28731, 1769, 1000, 5023, 3152, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 1071, 225, 288, 203, 203, 3639, 3410, 273, 1234, 18, 15330, 31, 203, 203, 203, 3639, 7920, 3896, 225, 273, 638, 31, 203, 203, 3639, 1699, 1957, 370, 1031, 273, 629, 31, 203, 3639, 1278, 29084, 8410, 273, 404, 3...
pragma solidity 0.4.18; contract Managble { address public manager; function Managble() { manager = msg.sender; } modifier onlyManager { require(msg.sender == manager); _; } function changeManager(address newManager) onlyManager { if (newManager...
duration of the promotion, count in blocks
uint blockLast;
14,111,489
[ 1, 4625, 348, 7953, 560, 30, 225, 3734, 434, 326, 23024, 16, 1056, 316, 4398, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 1203, 3024, 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,...
pragma solidity ^0.4.11; /** * Provides methods to safely add, subtract and multiply uint256 numbers. */ contract SafeMath { uint256 constant private MAX_UINT256 = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF; /** * Add two uint256 values, revert in case of overflow....
* Multiply two uint256 values, throw in case of overflow. @param x first value to multiply @param y second value to multiply @return x y/
function safeMul (uint256 x, uint256 y) constant internal returns (uint256 z) { require (x <= MAX_UINT256 / y); return x * y; }
6,651,581
[ 1, 4625, 348, 7953, 560, 30, 380, 5991, 1283, 2795, 2254, 5034, 924, 16, 604, 316, 648, 434, 9391, 18, 632, 891, 619, 1122, 460, 358, 10194, 632, 891, 677, 2205, 460, 358, 10194, 632, 2463, 619, 225, 677, 19, 2, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4183, 27860, 261, 11890, 5034, 619, 16, 2254, 5034, 677, 13, 203, 565, 5381, 2713, 203, 565, 1135, 261, 11890, 5034, 998, 13, 288, 203, 1377, 2583, 261, 92, 1648, 4552, 67, 57, 3217, 5034, 342, 677, 1769, 203, 1377, 3...
pragma solidity ^0.6.6; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@aave/protocol-v2/contracts/interfaces/ILendingPoolAddressesProvider.sol"; import "@aave/protocol-v2/contracts/interfa...
this option does not provide current user balance AND anyone can withdraw DAI Address on KovanERC20 dai = ERC20(0x4F96Fe3b7A6Cf9725f59d353F723c1bDb64CA6Aa);
contract LynxAave is Ownable { using SafeMath for uint256; event LogDeposit( address indexed _from, address indexed _assetAddress, uint256 _depositAmount, uint256 _anynumber, string _data ); event LogWithdraw( address indexed _to, address indexed...
13,139,562
[ 1, 4625, 348, 7953, 560, 30, 333, 1456, 1552, 486, 5615, 783, 729, 11013, 4116, 1281, 476, 848, 598, 9446, 463, 18194, 5267, 603, 1475, 1527, 304, 654, 39, 3462, 5248, 77, 273, 4232, 39, 3462, 12, 20, 92, 24, 42, 10525, 2954, 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, 16351, 511, 878, 21703, 836, 353, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 871, 1827, 758, 1724, 12, 203, 3639, 1758, 8808, 389, 2080, 16, 203, 3639, 1758, 8808, 389, 9406, 1887, 16, 203...
./partial_match/56/0xAb03a46A0e5cd32abF2071349B99Ba66cffCCc78/sources/MarketOracle.sol
* @dev Interface of the volatility oracle./
interface VolatilityOracleInterface { function getVolatility() external returns (uint256); } }
11,078,849
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 6682, 434, 326, 6626, 30139, 20865, 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, ...
[ 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, 5831, 26861, 30139, 23601, 1358, 288, 203, 565, 445, 11031, 355, 30139, 1435, 3903, 1135, 261, 11890, 5034, 1769, 203, 97, 203, 203, 97, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./partial_match/1/0x441761326490cACF7aF299725B6292597EE822c2/sources/UNFI.sol
* @dev Transfer token for a specified address @param to The address to transfer to. @param value The amount to be transferred./
function transfer(address to, uint256 value) public returns (bool) { _transfer(msg.sender, to, value); return true; }
2,615,350
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 12279, 1147, 364, 279, 1269, 1758, 632, 891, 358, 1021, 1758, 358, 7412, 358, 18, 632, 891, 460, 1021, 3844, 358, 506, 906, 4193, 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, 1, 0, 0, 0, 0, 0, 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, 12, 2867, 358, 16, 2254, 5034, 460, 13, 1071, 1135, 261, 6430, 13, 288, 203, 3639, 389, 13866, 12, 3576, 18, 15330, 16, 358, 16, 460, 1769, 203, 3639, 327, 638, 31, 203, 565, 289, 203, 203, 203, 2, -100, -100,...
./full_match/1/0x3596fB4e61dE7d5Cca41Ae5a3fFFcCdedE313a4e/sources/src/CCIPeth.sol
@notice Set new source contract address to receive CCIP messages @notice Admin only operation @param _sourceAddress New address that contract is authorized to receive CCIP messages from
function setSourceAddress(address _sourceAddress) external onlyAdmin { sourceAddress = _sourceAddress; emit SourceAddressSet(_sourceAddress); }
3,132,960
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1000, 394, 1084, 6835, 1758, 358, 6798, 16525, 2579, 2743, 632, 20392, 7807, 1338, 1674, 632, 891, 389, 3168, 1887, 1166, 1758, 716, 6835, 353, 10799, 358, 3639, 6798, 16525, 2579, 2743, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 18913, 1887, 12, 2867, 389, 3168, 1887, 13, 3903, 1338, 4446, 288, 203, 3639, 1084, 1887, 273, 389, 3168, 1887, 31, 203, 3639, 3626, 4998, 1887, 694, 24899, 3168, 1887, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100...
./full_match/4/0x8C4F35207906461198420A422f90e2F45eb42230/sources/contracts/ERC721EnumAttest.sol
* the Metadata extension, but not including the Enumerable extension, which is available separately as {ERC721Enumerable}./
contract ERC721EnumAttest is ERC721Enumerable, Ownable, VerifyTicketLib { using Address for address; using Strings for uint256; string constant JSON_FILE = ".json"; address _attestorAddress; address _issuerAddress; event GenerateTokenId(address indexed addr, uint256 indexed id); ...
12,483,252
[ 1, 4625, 348, 7953, 560, 30, 380, 326, 6912, 2710, 16, 1496, 486, 6508, 326, 6057, 25121, 2710, 16, 1492, 353, 2319, 18190, 487, 288, 654, 39, 27, 5340, 3572, 25121, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 4232, 39, 27, 5340, 3572, 3075, 395, 353, 4232, 39, 27, 5340, 3572, 25121, 16, 14223, 6914, 16, 8553, 13614, 5664, 288, 203, 565, 1450, 5267, 364, 1758, 31, 203, 565, 1450, 8139, 364, 2254, 5034, 31, 203, 1377, 203, 565, ...
./full_match/295/0x0000000000000000000000000000000000233233/sources/HederaResponseCodes.sol
[Deprecated] If the CryptoDeleteAllowance transaction has repeated crypto or token or Nft allowances to delete.
int32 internal constant REPEATED_ALLOWANCES_TO_DELETE = 302;
4,664,402
[ 1, 4625, 348, 7953, 560, 30, 225, 306, 13534, 65, 971, 326, 15629, 2613, 7009, 1359, 2492, 711, 12533, 8170, 578, 1147, 578, 423, 1222, 1699, 6872, 358, 1430, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 509, 1578, 2713, 5381, 2438, 1423, 6344, 67, 13511, 4722, 55, 67, 4296, 67, 6460, 273, 22072, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/97/0x41e5EBf76C2765db31Dc31f6b81336A49a8853b4/sources/project_/contracts/CrowdSale.sol
* @dev Vesting Months to get the values @param months update the status of enable/Disable/
function updateVestingMonths( uint256 months ) external onlyOwner onlyWhileOpen whenNotPaused { vestingMonths = months; emit UpdateVestingMonths(vestingMonths); }
3,278,029
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 776, 10100, 10337, 87, 358, 336, 326, 924, 632, 891, 8846, 1089, 326, 1267, 434, 4237, 19, 11879, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1089, 58, 10100, 19749, 12, 203, 3639, 2254, 5034, 8846, 203, 565, 262, 3903, 1338, 5541, 1338, 15151, 3678, 1347, 1248, 28590, 288, 203, 3639, 331, 10100, 19749, 273, 8846, 31, 203, 3639, 3626, 2315, 58, 10100, 19749, 12...
pragma solidity 0.5.11; import "../../IERC20.sol"; import "../../IKyberReserve.sol"; import "../../WithdrawableV5.sol"; import "../../UtilsV5.sol"; import "./mock/IBancorNetwork.sol"; contract KyberBancorReserve is IKyberReserve, Withdrawable, Utils { uint constant ETH_BNT_DECIMALS = 18; address public kybe...
verify if path returns value for rate both ETH + BNT has same decimals of 18, using 1 ETH/BNT to get rate
function setNewEthBntPath(IERC20[] memory _ethToBntPath, IERC20[] memory _bntToEthPath) public onlyAdmin { require(_ethToBntPath.length != 0, "setNewEthBntPath: path should have some elements"); require(_bntToEthPath.length != 0, "setNewEthBntPath: path should have some elements"); uint amo...
12,582,443
[ 1, 4625, 348, 7953, 560, 30, 225, 3929, 309, 589, 1135, 460, 364, 4993, 3937, 512, 2455, 397, 605, 1784, 711, 1967, 15105, 434, 6549, 16, 1450, 404, 512, 2455, 19, 38, 1784, 358, 336, 4993, 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, 19469, 41, 451, 38, 496, 743, 12, 45, 654, 39, 3462, 8526, 3778, 389, 546, 774, 38, 496, 743, 16, 467, 654, 39, 3462, 8526, 3778, 389, 70, 496, 774, 41, 451, 743, 13, 1071, 1338, 4446, 288, 203, 3639, 2583, 24899, ...
// SPDX-License-Identifier: Apache-2.0 /** *Submitted for verification at Etherscan.io on 2021-05-13 */ // SPDX-License-Identifier: MIT // Special Thanks to @BoringCrypto for his ideas and patience pragma solidity =0.6.12; pragma experimental ABIEncoderV2; // https://github.com/OpenZeppelin/openzeppelin-contract...
@notice Update the given pool's SUSHI allocation point and `IRewarder` contract. Can only be called by the owner. @param _pid The index of the pool. See `poolInfo`. @param _pool New pool to set
function setPoolAddr( uint256 _pid, IERC20 _pool ) public onlyOwner { lpToken[_pid] = _pool; emit LogSetPoolAddress( _pid, _pool ); }
600,505
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 2315, 326, 864, 2845, 1807, 11726, 2664, 45, 13481, 1634, 471, 1375, 7937, 359, 297, 765, 68, 6835, 18, 4480, 1338, 506, 2566, 635, 326, 3410, 18, 632, 891, 389, 6610, 1021, 770, 434, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 565, 445, 444, 2864, 3178, 12, 203, 3639, 2254, 5034, 389, 6610, 16, 203, 3639, 467, 654, 39, 3462, 389, 6011, 203, 565, 262, 1071, 1338, 5541, 288, 203, 3639, 12423, 1345, 63, 67, 6610, 65, 273, 389, 6011, 31, 203, 3639, 3626,...
pragma solidity ^0.5.0; import { InterledgerReceiverInterface } from "sofie-interledger-contracts/contracts/InterledgerReceiverInterface.sol"; import { InterledgerSenderInterface } from "sofie-interledger-contracts/contracts/InterledgerSenderInterface.sol"; import { ArrayRequestExtraData, ArrayOfferExtraData } from "s...
requestID -> [offerID]. Keeps track of the requests that have been decided but not fulfilled (no token issued)
mapping(uint => uint[]) private openOffersPerRequest;
5,414,472
[ 1, 4625, 348, 7953, 560, 30, 225, 590, 734, 317, 306, 23322, 734, 8009, 10498, 87, 3298, 434, 326, 3285, 716, 1240, 2118, 2109, 13898, 1496, 486, 16136, 13968, 261, 2135, 1147, 16865, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 11890, 516, 2254, 63, 5717, 3238, 1696, 7210, 414, 2173, 691, 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...
./full_match/80001/0x350772fa477E6D2473DA3a85a9E76849bf82d43d/sources/VeritreeVersion1/veritree-factory.sol
staked balance decrease
contractBalance[_tokenId] -= (_quantity);
5,699,315
[ 1, 4625, 348, 7953, 560, 30, 225, 384, 9477, 11013, 20467, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 6835, 13937, 63, 67, 2316, 548, 65, 3947, 261, 67, 16172, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity ^0.5.3; import "./PermissionsUpgradable.sol"; /** @title Organization manager contract * @notice This contract holds implementation logic for all org management functionality. This can be called only by the implementation contract only. there are few view functions exposed as public and c...
* @notice function for adding a new sub org under a parent org @param _pOrgId unique org id to be added @dev org will be added if it does exist/
function addSubOrg(string calldata _pOrgId, string calldata _orgId) external onlyImplementation orgDoesNotExist(string(abi.encodePacked(_pOrgId, ".", _orgId))) { _addNewOrg(_pOrgId, _orgId, 2, 2); }
7,231,620
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 445, 364, 6534, 279, 394, 720, 2358, 3613, 279, 982, 2358, 632, 891, 389, 84, 6001, 548, 3089, 2358, 612, 358, 506, 3096, 632, 5206, 2358, 903, 506, 3096, 309, 518, 1552, 1005, 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, 565, 445, 25716, 6001, 12, 1080, 745, 892, 389, 84, 6001, 548, 16, 533, 745, 892, 389, 3341, 548, 13, 3903, 203, 565, 1338, 13621, 203, 565, 2358, 15264, 12, 1080, 12, 21457, 18, 3015, 4420, 329, 24899, 84, 6001, 548, 16, 4585,...
./full_match/137/0x08a5ce086d82f338AEDB3ACB958eb807C33Da7AD/sources/contracts/Staking.sol
Check if we know this user Return all the tokens in the stakedToken Array for this user that are not -1 Otherwise, return empty array
function getStakedTokens(address _user) public view returns (StakedToken[] memory) { if (stakers[_user].amountStaked > 0) { StakedToken[] memory _stakedTokens = new StakedToken[](stakers[_user].amountStaked); uint256 _index = 0; for (uint256 j = 0; j < stakers[_user]...
4,676,762
[ 1, 4625, 348, 7953, 560, 30, 225, 2073, 309, 732, 5055, 333, 729, 2000, 777, 326, 2430, 316, 326, 384, 9477, 1345, 1510, 364, 333, 729, 716, 854, 486, 300, 21, 5272, 16, 327, 1008, 526, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 445, 21491, 9477, 5157, 12, 2867, 389, 1355, 13, 1071, 1476, 1135, 261, 510, 9477, 1345, 8526, 3778, 13, 288, 203, 3639, 309, 261, 334, 581, 414, 63, 67, 1355, 8009, 8949, 510, 9477, 405, 374, 13, 288, 203, 5411, 934, 947...
pragma solidity ^0.5.10; pragma experimental ABIEncoderV2; import "./altbn128.sol"; import "./FairThunderUtility.sol"; /** * FairThunder pessimistic mode for dispute resolution, i.e., validateRKeys(), ValidatePoM(). **/ contract FairThunderPessimistic { using FTU for FTU.ERK; using FTU for FTU.Submitt...
key_path_length would be > 0, otherwise ind == x and would return in the previous step
uint key_path_length = log2_alg_floor(n) - log2_alg_floor(x+1);
6,377,499
[ 1, 4625, 348, 7953, 560, 30, 225, 498, 67, 803, 67, 2469, 4102, 506, 405, 374, 16, 3541, 1547, 422, 619, 471, 4102, 327, 316, 326, 2416, 2235, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 498, 67, 803, 67, 2469, 273, 613, 22, 67, 18413, 67, 74, 5807, 12, 82, 13, 300, 613, 22, 67, 18413, 67, 74, 5807, 12, 92, 15, 21, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./partial_match/100/0x3E5d55162db958E6C00c59a6e81587C153E18f7b/sources/GenuNFT_STAGE.sol
********************/
constructor() ERC721Full("GenuNFT_STAGE", "GNFT_S") { }
16,680,406
[ 1, 4625, 348, 7953, 560, 30, 380, 2751, 636, 5549, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 3885, 1435, 4232, 39, 27, 5340, 5080, 2932, 43, 2104, 50, 4464, 67, 882, 2833, 3113, 315, 8318, 4464, 67, 55, 7923, 288, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/1/0x3DecDDf4f3C72402187ca627C3217874D6F989d3/sources/contracts/MinifootballToken.sol
@notice Owner can disable fees in one direction, after fees are eliminated, they could not be set anymore
function eliminateFees() external onlyOwner { buyFee = 0; sellFee = 0; feeEliminated = true; }
8,379,766
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 16837, 848, 4056, 1656, 281, 316, 1245, 4068, 16, 1839, 1656, 281, 854, 19229, 7458, 16, 2898, 3377, 486, 506, 444, 16828, 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, 29529, 2954, 281, 1435, 3903, 1338, 5541, 288, 203, 3639, 30143, 14667, 273, 374, 31, 203, 3639, 357, 80, 14667, 273, 374, 31, 203, 3639, 14036, 4958, 381, 7458, 273, 638, 31, 203, 565, 289, 203, 203, 2, -100, -100, -...
./partial_match/1/0x5fE4e37c9FC121A602bAcCeaA9CEDeDb6153d3E6/sources/contracts/soma/SecurityTokens/ISecurityToken.sol
* @title SOMA Security Token Contract. @author SOMA.finance @notice A guarded, mintable and seizable security token./
interface ISecurityToken { function initialize(string memory domain, string memory name, string memory symbol) external; }
9,426,645
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 348, 1872, 37, 6036, 3155, 13456, 18, 632, 4161, 348, 1872, 37, 18, 926, 1359, 632, 20392, 432, 3058, 17212, 16, 312, 474, 429, 471, 695, 6934, 4373, 1147, 18, 19, 2, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 467, 4368, 1345, 288, 203, 565, 445, 4046, 12, 1080, 3778, 2461, 16, 533, 3778, 508, 16, 533, 3778, 3273, 13, 3903, 31, 203, 203, 97, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/1/0xDda46bF18eeb3E06E2F12975A3A184e40581A72f/sources/contracts/implementations/Whitelist.sol
* @dev Gap for upgrades/
uint256[45] private __gap;
3,094,293
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 611, 438, 364, 28844, 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, 225, 2254, 5034, 63, 7950, 65, 3238, 1001, 14048, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...