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.24; /* * @author Ivan Borisov (2622610@gmail.com) (Github.com/pillardevelopment) */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint25...
*****************-- WhiteList --***************************/
function authorize(address _beneficiary) public onlyOwner { require(_beneficiary != address(0x0)); require(!isWhitelisted(_beneficiary)); whitelist[_beneficiary] = true; membersWhiteList++; emit Authorized(_beneficiary, now); }
10,727,160
[ 1, 413, 30233, 682, 1493, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12229, 12, 2867, 389, 70, 4009, 74, 14463, 814, 13, 1071, 1338, 5541, 225, 288, 203, 202, 202, 6528, 24899, 70, 4009, 74, 14463, 814, 480, 1758, 12, 20, 92, 20, 10019, 203, 202, 202, 6528, 12, 5, 291, 18927, 329, 24...
pragma solidity ^0.4.25; // ---------------------------------------------------------------------------- // https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol // ---------------------------------------------------------------------------- library SafeMath { function sub...
---------------------------------------------------------------------------- junil@cy2code.com ----------------------------------------------------------------------------
contract PPCToken is ControlledToken, ManageSupplyToken { uint256 private constant INIT_SUPPLY = 1900000000; string public name = "PHILLIPS PAY COIN"; string public symbol = "PPC"; uint256 public decimals = 1; uint256 public initSupply = INIT_SUPPLY * (10 ** uint(decimals)); } constructor() pay...
954,063
[ 1, 5802, 7620, 525, 318, 330, 36, 2431, 22, 710, 18, 832, 8879, 13849, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 453, 52, 1268, 969, 353, 8888, 1259, 1345, 16, 24247, 3088, 1283, 1345, 288, 203, 565, 2254, 5034, 3238, 5381, 12584, 67, 13272, 23893, 273, 5342, 12648, 31, 203, 565, 533, 1071, 508, 273, 315, 8939, 11465, 5857, 25095, 385,...
./full_match/80001/0x6afd85B5CF6ab3A1A5Eeac5e9D1dD488a8DF2D05/sources/project:/contracts/trust/IDSTrustService.sol
* @title IDSTrustService @dev An interface for a trust service which allows role-based access control for other contracts./SPDX-License-Identifier: UNLICENSED
interface IDSTrustService { function setServiceOwner( address _address /*onlyMaster*/ ) external returns (bool); function setRole( address _address, uint8 _role /*onlyMasterOrIssuer*/ ) external returns (bool); function removeRole( address _address /*onlyMasterOrIss...
9,477,676
[ 1, 734, 882, 86, 641, 1179, 225, 1922, 1560, 364, 279, 10267, 1156, 1492, 5360, 2478, 17, 12261, 2006, 3325, 364, 1308, 20092, 18, 19, 3118, 28826, 17, 13211, 17, 3004, 30, 5019, 6065, 1157, 18204, 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, 5831, 1599, 882, 86, 641, 1179, 288, 203, 565, 445, 30000, 5541, 12, 203, 3639, 1758, 389, 2867, 1748, 3700, 7786, 5549, 203, 565, 262, 3903, 1135, 261, 6430, 1769, 203, 203, 565, 445, 444, 2996, 12, 203, 3639, 1758, 389, 2867, ...
./full_match/80001/0xc2d2F9F48937a6F04a73Ff97B466c9b392E785C1/sources/contracts/2_Owner.sol
* @dev Return challenger address @return address of challenger/
function getChallenger() external view returns (address) { return challenger; }
5,668,180
[ 1, 990, 462, 7862, 693, 1758, 327, 1758, 434, 462, 7862, 693, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 336, 782, 7862, 693, 1435, 3903, 1476, 1135, 261, 2867, 13, 288, 203, 3639, 327, 462, 7862, 693, 31, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0xD898456E39A461B102Ce4626Aac191582C38Acb6/sources/contracts/vault/AssetVault.sol
* @title AssetVault @author Non-Fungible Technologies, Inc. The Asset Vault is a vault for the storage of collateralized assets. Designed for one-time use, like a piggy bank. Once withdrawals are enabled, and the bank is broken, the vault can no longer be used or transferred. It starts in a deposit-only state. Funds ca...
contract AssetVault is IAssetVault, OwnableERC721, Initializable, ERC1155Holder, ERC721Holder, ReentrancyGuard { using Address for address; using Address for address payable; using SafeERC20 for IERC20; bool public override withdrawEnabled; ICallWhitelist public override whitelist; import { AV...
15,722,449
[ 1, 6672, 12003, 225, 3858, 17, 42, 20651, 1523, 30960, 27854, 16, 15090, 18, 1021, 10494, 17329, 353, 279, 9229, 364, 326, 2502, 434, 4508, 2045, 287, 1235, 7176, 18, 29703, 329, 364, 1245, 17, 957, 999, 16, 3007, 279, 293, 360, 779...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10494, 12003, 353, 467, 6672, 12003, 16, 14223, 6914, 654, 39, 27, 5340, 16, 10188, 6934, 16, 4232, 39, 2499, 2539, 6064, 16, 4232, 39, 27, 5340, 6064, 16, 868, 8230, 12514, 16709, 288, 203, 565, 1450, 5267, 364, 1758, 31,...
pragma solidity 0.5.13; import "./interfaces/IERC721Full.sol"; import "./utils/SafeMath.sol"; /// @title Augur Markets interface /// @notice Gets the winner of each market from Augur interface IMarket { function getWinningPayoutNumerator(uint256 _outcome) external view returns (uint256); } /// @title Dai contrac...
@notice the second of the three functions which must be called, one after the other, to conclude the competition @dev gets funds back from Augur, gets the available funds for distribution @dev can be called by anyone, but only once daiAvailableToDistribute therefore does not include unused deposits
function step2withdrawFromAugur() external { require(marketsResolved == true, "Must wait for market resolution"); require(step2Complete == false, "Step2 should only be run once"); step2Complete = true; uint256 _balanceBefore = _getContractsCashBalance(); _augurWithdraw(); ...
15,828,461
[ 1, 5787, 2205, 434, 326, 8925, 4186, 1492, 1297, 506, 2566, 16, 1245, 1839, 326, 1308, 16, 358, 356, 1571, 326, 25163, 608, 225, 5571, 284, 19156, 1473, 628, 432, 637, 295, 16, 5571, 326, 2319, 284, 19156, 364, 7006, 225, 848, 506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2235, 22, 1918, 9446, 1265, 37, 637, 295, 1435, 3903, 288, 203, 3639, 2583, 12, 3355, 2413, 12793, 422, 638, 16, 315, 10136, 2529, 364, 13667, 7861, 8863, 203, 3639, 2583, 12, 4119, 22, 6322, 422, 629, 16, 315, 4160, ...
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol // SPDX-License-Identifier:MIT pragma solidity ^0.7.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view retur...
* @dev Implementation of the {IERC20} interface. This implementation is agnostic to the way tokens are created. This means that a supply mechanism has to be added in a derived contract using {_mint}. For a generic mechanism see {ERC20PresetMinterPauser}. TIP: For a detailed writeup see our guide to implement supply mec...
contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; ...
6,487,690
[ 1, 13621, 434, 326, 288, 45, 654, 39, 3462, 97, 1560, 18, 1220, 4471, 353, 279, 1600, 669, 335, 358, 326, 4031, 2430, 854, 2522, 18, 1220, 4696, 716, 279, 14467, 12860, 711, 358, 506, 3096, 316, 279, 10379, 6835, 1450, 288, 67, 81...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 4232, 39, 3462, 353, 1772, 16, 467, 654, 39, 3462, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 2874, 261, 2867, 516, 2254, 5034, 13, 3238, 389, 70, 26488, 31, 203, 203, 565, 2874, 261, 2867, 51...
./full_match/1/0xa3C8d390c3965D33937865973b6159D37B777C54/sources/src/fund/fees/PerformanceFee.sol
@notice Assumes management fee is zero
function updateState() external { require(lastPayoutTime[msg.sender] != 0, "Not initialized"); require( canUpdate(msg.sender), "Not within a update window or already updated this period" ); Hub hub = FeeManager(msg.sender).hub(); Accounting accounting ...
3,057,647
[ 1, 2610, 6411, 11803, 14036, 353, 3634, 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, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1119, 1435, 3903, 288, 203, 3639, 2583, 12, 2722, 52, 2012, 950, 63, 3576, 18, 15330, 65, 480, 374, 16, 315, 1248, 6454, 8863, 203, 3639, 2583, 12, 203, 5411, 848, 1891, 12, 3576, 18, 15330, 3631, 203, 5411, 315...
./partial_match/1/0x56FC8BefdDd4bdba1F24E4f54Ad4CF6DeaD2cFBa/sources/TKRPToken.sol
* @title Standard ERC20 token @dev Implementation of the basic standard token./
contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) allowed; function transferFrom(address _from, address _to, uint256 _value) { var _allowance = allowed[_from][msg.sender]; balances[_to] = balances[_to].add(_value); balances[_from] = balanc...
2,627,286
[ 1, 8336, 4232, 39, 3462, 1147, 225, 25379, 434, 326, 5337, 4529, 1147, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 8263, 1345, 353, 4232, 39, 3462, 16, 7651, 1345, 288, 203, 565, 2874, 261, 2867, 516, 2874, 261, 2867, 516, 2254, 5034, 3719, 2935, 31, 203, 203, 565, 445, 7412, 1265, 12, 2867, 389, 2080, 16, 1758, 389, 869, 16, 2254, 5...
./full_match/1/0xD243629A94c657cB415cFfbfB4f84fb8b98496ec/sources/contracts/TipJarManager.sol
* @notice Create batch proposal @param targets target address @param values ETH value @param datas function call bytes @param predecessor predecessor function call @param salt salt used in proposal/
function createProposalBatch( address[] calldata targets, uint256[] calldata values, bytes[] calldata datas, bytes32 predecessor, bytes32 salt ) external onlyAdmin { timelock.scheduleBatch(targets, values, datas, predecessor, salt, criticalDelay); }
9,784,605
[ 1, 1684, 2581, 14708, 225, 5774, 1018, 1758, 225, 924, 512, 2455, 460, 225, 5386, 445, 745, 1731, 225, 24282, 24282, 445, 745, 225, 4286, 4286, 1399, 316, 14708, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 752, 14592, 4497, 12, 203, 3639, 1758, 8526, 745, 892, 5774, 16, 7010, 3639, 2254, 5034, 8526, 745, 892, 924, 16, 7010, 3639, 1731, 8526, 745, 892, 5386, 16, 7010, 3639, 1731, 1578, 24282, 16, 7010, 3639, 1731, 1578, 42...
./partial_match/1/0x55225774775fcF8A804d77D6cFDF0e951b0236F0/sources/ALTCrowdsale.sol
Step 4: 0.30$; +7 000 000 ALT tokens
steps.push(Step(30, 22000000));
4,032,476
[ 1, 4160, 1059, 30, 374, 18, 5082, 8, 31, 397, 27, 20546, 20546, 30939, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6075, 18, 6206, 12, 4160, 12, 5082, 16, 11201, 9449, 10019, 4766, 12900, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.8.3 <0.9.0; contract Escrow { // think about adding a USD => WEI converter for easier purchase legibility //state variables address payable internal buyer; address payable internal seller; // owner of the item address payable internal arbiter; // a...
using the solidity's built in transfer function, the funds are sent to the seller
seller.transfer(_amount);
5,429,803
[ 1, 9940, 326, 18035, 560, 1807, 6650, 316, 7412, 445, 16, 326, 284, 19156, 854, 3271, 358, 326, 29804, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 29804, 18, 13866, 24899, 8949, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.8.0; // SPDX-License-Identifier: MIT contract Payment { address public contract_owner; struct Contributor { address addr; uint share; } Contributor[] public contributors; constructor() { contract_owner = msg.sender; // address of creator of con...
fraction of 2.15 is 215
return (amount * fraction) / 10000;
1,004,001
[ 1, 16744, 434, 576, 18, 3600, 353, 225, 576, 3600, 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, 3639, 327, 261, 8949, 380, 8330, 13, 342, 12619, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.4.18; contract SCTFBank{ event LogBalance(address addr, uint256 value); mapping (address => uint256) private balance; uint256 private donation_deposit; address private owner; //constructor constructor() public{ owner = msg.sender; } //logging balance of ...
transfer my balance to others
function multiTransfer(address[] to_list, uint256 value) public { require(balance[msg.sender] >= value*to_list.length); balance[msg.sender] -= value*to_list.length; for(uint i=0; i < to_list.length; i++){ balance[to_list[i]] += value; } }
891,303
[ 1, 13866, 3399, 11013, 358, 10654, 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, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3309, 5912, 12, 2867, 8526, 358, 67, 1098, 16, 2254, 5034, 460, 13, 1071, 288, 203, 3639, 2583, 12, 12296, 63, 3576, 18, 15330, 65, 1545, 460, 14, 869, 67, 1098, 18, 2469, 1769, 203, 3639, 11013, 63, 3576, 18, 15330, ...
// File: contracts/interfaces/ITransferRules.sol pragma solidity ^0.5.0; /** * @title ITransferRules interface * @dev Represents interface for any on-chain SRC20 transfer rules * implementation. Transfer Rules are expected to follow * same interface, managing multiply transfer rule implementations with * capabil...
* @dev Owner of this contract have authority to approve tx which are valid. @param reqNumber - transfer request number./
function transferApproval(uint256 reqNumber) external onlyOwner returns (bool) { TransferReq memory req = _transferReq[reqNumber]; require(_src20.executeTransfer(address(this), req.to, req.value), "SRC20 transfer failed"); delete _transferReq[reqNumber]; emit TransferApproval(reqNu...
2,554,255
[ 1, 5541, 434, 333, 6835, 1240, 11675, 358, 6617, 537, 2229, 1492, 854, 923, 18, 225, 1111, 1854, 300, 7412, 590, 1300, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7412, 23461, 12, 11890, 5034, 1111, 1854, 13, 3903, 1338, 5541, 1135, 261, 6430, 13, 288, 203, 3639, 12279, 6113, 3778, 1111, 273, 389, 13866, 6113, 63, 3658, 1854, 15533, 203, 203, 3639, 2583, 24899, 4816, 3462, 18, 8837...
./partial_match/56/0xfe18d6364D83D21fC0ce4fEaD6653cCBCF903835/sources/OXMasterFarmer.sol
The migrator contract. It has a lot of power. Can only be set through governance (owner).
IMigratorToOXSwap public migrator;
11,063,536
[ 1, 1986, 30188, 6835, 18, 2597, 711, 279, 17417, 434, 7212, 18, 4480, 1338, 506, 444, 3059, 314, 1643, 82, 1359, 261, 8443, 2934, 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, 6246, 2757, 639, 774, 22550, 12521, 1071, 30188, 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,...
./full_match/5/0x98061d960c2EaA127cB1921a6f912A2Ebb981Db4/sources/src/DonationHandler.sol
@notice Returns the token balance of a user @param _token Address of the token @param _user Address of the user @return Token balance of the user
function balanceOf(address _token, address _user) external view returns (uint256) { return balances[_user][_token]; }
11,624,867
[ 1, 1356, 326, 1147, 11013, 434, 279, 729, 225, 389, 2316, 5267, 434, 326, 1147, 225, 389, 1355, 5267, 434, 326, 729, 327, 3155, 11013, 434, 326, 729, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 11013, 951, 12, 2867, 389, 2316, 16, 1758, 389, 1355, 13, 3903, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 324, 26488, 63, 67, 1355, 6362, 67, 2316, 15533, 203, 565, 289, 203, 203, 2, -100, -100, -100, -10...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /******************************************************************************\ * Author: Nick Mudge <nick@perfectabstractions.com> (https://twitter.com/mudgen) * EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535 * * Implementation of a diamond. /******...
Get Storage Position As Bytes32
function getStoragePosition() external view returns (bytes32 pos){ LibDiamond.enforceIsContractOwner(_storagePos); return _storagePos; }
13,122,657
[ 1, 967, 5235, 11010, 2970, 5985, 1578, 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, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13840, 2555, 1435, 3903, 1476, 1135, 261, 3890, 1578, 949, 15329, 203, 3639, 10560, 14521, 301, 1434, 18, 275, 5734, 2520, 8924, 5541, 24899, 5697, 1616, 1769, 203, 3639, 327, 389, 5697, 1616, 31, 203, 565, 289, 203, 203,...
/** *Submitted for verification at Etherscan.io on 2021-05-25 */ pragma solidity ^0.4.18; contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; require(c >= a); } function safeSub(uint a, uint b) public pure returns (uint c) { require(b <= ...
---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Con...
contract RaceNetZero is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; function RaceNetZero() public { symbol = "...
10,563,939
[ 1, 5802, 7620, 4232, 39, 3462, 3155, 16, 598, 326, 2719, 434, 3273, 16, 508, 471, 15105, 471, 1551, 25444, 1147, 29375, 8879, 13849, 8879, 17082, 11417, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 534, 623, 7308, 7170, 353, 4232, 39, 3462, 1358, 16, 14223, 11748, 16, 14060, 10477, 288, 203, 565, 533, 1071, 3273, 31, 203, 565, 533, 1071, 225, 508, 31, 203, 565, 2254, 28, 1071, 15105, 31, 203, 565, 2254, 1071, 389, ...
pragma solidity ^0.5.0; import "../../node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol"; import "./Valset.sol"; import "./BridgeBank/BridgeBank.sol"; contract CosmosBridge { using SafeMath for uint256; string COSMOS_NATIVE_ASSET_PREFIX = "PEGGY"; /* * @dev: Public variable declaratio...
@dev: newProphecyClaim Creates a new burn or lock prophecy claim, adding it to the prophecyClaims mapping. Burn claims require that there are enough locked Ethereum assets to complete the prophecy. Lock claims have a new token contract deployed or use an existing contract based on symbol./ First lock...
function newProphecyClaim( ClaimType _claimType, bytes memory _cosmosSender, address payable _ethereumReceiver, string memory _symbol, uint256 _amount ) public isActive { require( valset.isActiveValidator(msg.sender), "Must be an active val...
6,435,603
[ 1, 30, 394, 626, 844, 557, 93, 9762, 4202, 10210, 279, 394, 18305, 578, 2176, 450, 844, 557, 93, 7516, 16, 6534, 518, 358, 326, 450, 844, 557, 93, 15925, 2874, 18, 4202, 605, 321, 11955, 2583, 716, 1915, 854, 7304, 8586, 512, 1866...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 394, 626, 844, 557, 93, 9762, 12, 203, 3639, 18381, 559, 389, 14784, 559, 16, 203, 3639, 1731, 3778, 389, 14445, 26719, 12021, 16, 203, 3639, 1758, 8843, 429, 389, 546, 822, 379, 12952, 16, 203, 3639, 533, 3778, 389, ...
// SPDX-License-Identifier: MIT //** Demon Random Generation Contract */ //** Author Alex Hong : DEMONS 2021.12 */ pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/E...
* Requests randomness/
function getRandomNumber() public returns (bytes32 requestId) { require(msg.sender == spender); require( LINK.balanceOf(address(this)) >= fee, "Not enough LINK - fill contract with faucet" ); return requestRandomness(keyHash, fee); }
120,269
[ 1, 6421, 2744, 4496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 20581, 1854, 1435, 1071, 1135, 261, 3890, 1578, 14459, 13, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 17571, 264, 1769, 203, 3639, 2583, 12, 203, 5411, 22926, 18, 12296, 951, 12, 2867, 12, 2211, 3719, 1545, 14036, ...
./full_match/1/0xb43a17C3205Dfc6A00AE55D08ce4d5509704D218/sources/contracts/Senpai.sol
change this for your cexWallet
cexWallet = address(0x184aEba054189C26cB95dc0fa0e5369F296940C7);
3,848,811
[ 1, 3427, 333, 364, 3433, 276, 338, 16936, 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, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 276, 338, 16936, 273, 1758, 12, 20, 92, 29242, 69, 41, 12124, 6260, 24, 29426, 39, 5558, 71, 38, 8778, 7201, 20, 507, 20, 73, 25, 5718, 29, 42, 5540, 8148, 7132, 39, 27, 1769, 225, 2, -100, -100, -100, -100, -100, -100,...
./full_match/421613/0x712A3480705560bB3158c8933403B04564305158/sources/project_/contracts/tokens/Corn.sol
Check to see if there is LAND in the farm
if (farm.amount == 0) {
11,566,787
[ 1, 1564, 358, 2621, 309, 1915, 353, 511, 4307, 316, 326, 284, 4610, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 309, 261, 74, 4610, 18, 8949, 422, 374, 13, 288, 4766, 21394, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity 0.4.23; contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev The Ownable constructor sets the original `owner` of the contract to the s...
* @dev Reverts if called by any account other than the depositor./
modifier onlyDepositor() { require(msg.sender == depositor, "Only the depositor may call this function."); _; }
2,353,689
[ 1, 426, 31537, 309, 2566, 635, 1281, 2236, 1308, 2353, 326, 443, 1724, 280, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9606, 1338, 758, 1724, 280, 1435, 288, 203, 565, 2583, 12, 3576, 18, 15330, 422, 443, 1724, 280, 16, 315, 3386, 326, 443, 1724, 280, 2026, 745, 333, 445, 1199, 1769, 203, 565, 389, 31, 203, 225, 289, 203, 2, -100, -100, ...
pragma solidity >=0.6.0; interface IERC20 { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external view returns (string memory); function symbol() external view returns (string memory); ...
optimistically transfer tokens
if (presentOut > 0) _safeTransfer(presentToken, to, presentOut);
13,140,030
[ 1, 16689, 5846, 1230, 7412, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6706, 1182, 405, 374, 13, 389, 4626, 5912, 12, 6706, 1345, 16, 358, 16, 3430, 1182, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
/** *Submitted for verification at Etherscan.io on 2021-07-05 */ // Verified using https://dapp.tools // hevm: flattened sources of src/fabs/mgr.sol pragma solidity =0.5.12; ////// src/mgr.sol /// tinlake_manager.sol -- Tinlake dss adapter // 2020 Lucas Vogelsang <lucas@centrifuge.io>, // 2020 Martin Lundfall <ma...
--- Administration ---
function migrate(address dst) public auth { dai.approve(dst, uint256(-1)); gem.approve(dst, uint256(-1)); live = false; emit Migrate(dst); }
226,126
[ 1, 6062, 7807, 4218, 9948, 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, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13187, 12, 2867, 3046, 13, 1071, 1357, 288, 203, 3639, 5248, 77, 18, 12908, 537, 12, 11057, 16, 2254, 5034, 19236, 21, 10019, 203, 3639, 17474, 18, 12908, 537, 12, 11057, 16, 2254, 5034, 19236, 21, 10019, 203, 3639, 842...
./partial_match/1/0x98b7893C5717aF41d3e351c6e3445Be02a062A90/sources/contracts/MapleLoanStorage.sol
The number of seconds a payment can be late.
uint256 internal _gracePeriod;
3,924,840
[ 1, 1986, 1300, 434, 3974, 279, 5184, 848, 506, 26374, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2254, 5034, 2713, 389, 2752, 311, 5027, 31, 4202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/math/Math.sol"; import "@openzeppelin/contracts/utils/SafeCast.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzepp...
General constants Allocation within 5years: ========== * Team & Development: 24% * Liquidity Mining: 40% * Investors: 10% * Foundation Treasury: 14% * Community Treasury: 10% ========== After 5years: ========== * Liquidity Mining: 40%~ (Mint fixed amount every year) Mint 2_800_000 INSURE every year. 6th year: 1.32% inf...
contract InsureToken is IERC20 { event UpdateMiningParameters( uint256 time, uint256 rate, uint256 supply, int256 miningepoch ); event SetMinter(address minter); event SetAdmin(address admin); string public name; string public symbol; uint256 public constant ...
13,108,756
[ 1, 12580, 6810, 24242, 3470, 1381, 29391, 30, 422, 1432, 225, 10434, 473, 1505, 11284, 30, 4248, 9, 225, 511, 18988, 24237, 5444, 310, 30, 8063, 9, 225, 5454, 395, 1383, 30, 1728, 9, 225, 31289, 399, 266, 345, 22498, 30, 5045, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 657, 2055, 1345, 353, 467, 654, 39, 3462, 288, 203, 565, 871, 2315, 2930, 310, 2402, 12, 203, 3639, 2254, 5034, 813, 16, 203, 3639, 2254, 5034, 4993, 16, 203, 3639, 2254, 5034, 14467, 16, 203, 3639, 509, 5034, 1131, 310, ...
./full_match/1/0x9FF1AcABb7E9D4Daf9F1458B9138066fa0cCcd3F/sources/contracts/HaloWalletGenesisPass.sol
0. Whether the specified activity is configured 1. Check if or not in active period 2. Verify that the current user has not claimed 3. Check current minted amount <= MAX_SUPPLY 4. Check minting is still possible during the current active period 5. Merkle verification All checks passed --- mint nft
function claimPass( bytes32[] calldata proof, ) external callerIsUser nonReentrant whenNotPaused { require( proof.length > 0 && mintParameters[mintType].merkleRoot != 0x0, "Not correct parameter" ); require( block.timestamp >= mintParameters[m...
9,671,467
[ 1, 20, 18, 17403, 326, 1269, 5728, 353, 4351, 404, 18, 2073, 309, 578, 486, 316, 2695, 3879, 576, 18, 8553, 716, 326, 783, 729, 711, 486, 7516, 329, 890, 18, 2073, 783, 312, 474, 329, 3844, 1648, 4552, 67, 13272, 23893, 1059, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 7516, 6433, 12, 203, 3639, 1731, 1578, 8526, 745, 892, 14601, 16, 203, 565, 262, 3903, 4894, 2520, 1299, 1661, 426, 8230, 970, 1347, 1248, 28590, 288, 203, 3639, 2583, 12, 203, 5411, 14601, 18, 2469, 405, 374, 597, 312,...
/** *Submitted for verification at Etherscan.io on 2021-10-01 */ // SPDX-License-Identifier: No License (None) pragma solidity ^0.8.0; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permission...
* @title Ownable @dev The Ownable contract has an owner address, and provides basic authorization control functions, this simplifies the implementation of "user permissions". This contract is copied here and renamed from the original to avoid clashes in the compiled artifacts when the user imports a zos-lib contract (t...
abstract contract Ownable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); pragma solidity ^0.8.0; constructor () { _owner = msg.sender; emit OwnershipTransferred(address(0), _owner); } function owner() public view ret...
1,979,201
[ 1, 5460, 429, 225, 1021, 14223, 6914, 6835, 711, 392, 3410, 1758, 16, 471, 8121, 5337, 6093, 3325, 4186, 16, 333, 9330, 5032, 326, 4471, 434, 315, 1355, 4371, 9654, 1220, 6835, 353, 9268, 2674, 471, 17657, 628, 326, 2282, 358, 4543, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14223, 6914, 288, 203, 565, 1758, 3238, 389, 8443, 31, 203, 203, 565, 871, 14223, 9646, 5310, 1429, 4193, 12, 2867, 8808, 2416, 5541, 16, 1758, 8808, 394, 5541, 1769, 203, 203, 203, 683, 9454, 18035, 560, 3602, 20, 1...
pragma solidity >=0.5.7; // Copyright BigchainDB GmbH and Ocean Protocol contributors // SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0) // Code is Apache-2.0 and docs are CC-BY-4.0 import "../../interfaces/IERC20Template.sol"; import "../../interfaces/IFactoryRouter.sol"; import "OpenZeppelin/openzeppelin-contrac...
* @dev getSupply gets the current supply of datatokens in an fixed rate exchagne @param exchangeId the exchange ID @return supply/
function getDTSupply(bytes32 exchangeId) public view returns (uint256 supply) { if (exchanges[exchangeId].active == false) supply = 0; else if (exchanges[exchangeId].withMint == true && IERC20Template(exchanges[exchangeId].dataToken).isMinter(address(this))){ ...
2,471,888
[ 1, 588, 3088, 1283, 1377, 5571, 326, 783, 14467, 434, 1150, 270, 3573, 316, 392, 5499, 1377, 4993, 431, 343, 346, 4644, 282, 7829, 548, 326, 7829, 1599, 327, 14467, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2343, 56, 3088, 1283, 12, 3890, 1578, 7829, 548, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 1135, 261, 11890, 5034, 14467, 13, 203, 565, 288, 203, 3639, 309, 261, 338, 6329, 63, 16641, 548, 8009, 3535, 422, 629, ...
pragma solidity ^0.5.0; contract Auction { // Create a structure to store information about an item in the auction house struct Item{ string item_name; // name string item_desc; // description uint base_price; // start price uint min_increment; // minimum increment for a bid uint auction_price; // ...
Function to add items and highest bidders, incrementing itemCount (itemCount starts at 0)
function addItem (string memory _name, string memory _desc, uint _baseValue, uint _increment, uint _startPrice) private { items[itemId] = Item(_name, _desc, _baseValue, _increment,_startPrice); highestBidders[itemId] = address(0); itemId ++; }
12,872,541
[ 1, 2083, 358, 527, 1516, 471, 9742, 324, 1873, 414, 16, 5504, 310, 761, 1380, 261, 1726, 1380, 2542, 622, 374, 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,...
[ 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, 202, 915, 15009, 261, 1080, 3778, 389, 529, 16, 533, 3778, 389, 5569, 16, 2254, 389, 1969, 620, 16, 2254, 389, 15016, 16, 2254, 389, 1937, 5147, 13, 3238, 288, 3196, 203, 202, 202, 3319, 63, 1726, 548, 65, 273, 4342, 24899, 529...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; contract CrossAssetSwap { // bytes4 private constant _INTERFACE_ID_ERC1155 = 0xd9b67a26; // bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; /* struct ERC20Details { address[] tokenAddrs; uint2...
transfer ERC721 tokens from the sender to this contract WARNING: It is assumed that the ERC721 token addresses are NOT malicious
for (uint256 i = 0; i < inputERC721s.tokenAddrs.length; i++) { IERC721(inputERC721s.tokenAddrs[i]).transferFrom( msg.sender, address(this), inputERC721s.ids[i] ); }
2,540,871
[ 1, 13866, 4232, 39, 27, 5340, 2430, 628, 326, 5793, 358, 333, 6835, 9744, 30, 2597, 353, 12034, 716, 326, 4232, 39, 27, 5340, 1147, 6138, 854, 4269, 27431, 28728, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 364, 261, 11890, 5034, 277, 273, 374, 31, 277, 411, 810, 654, 39, 27, 5340, 87, 18, 2316, 13811, 18, 2469, 31, 277, 27245, 288, 203, 5411, 467, 654, 39, 27, 5340, 12, 2630, 654, 39, 27, 5340, 87, 18, 2316, 13811, 63, ...
// namehash("hatch.eth") bytes32 constant nodehashHatch = 0x54e801acbb1a4f9d2f51dae289e38bc712f13d4dca03b5321203b74e9869a091; bytes32 constant nodehashReverse = 0x91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2; // dnsEncode("hatch.eth") string constant dnsHatch = "\x05hatch\x03eth\x00"; interface ...
Forwards all funds in this Nook to its Proxy
function reclaim() public { require(msg.sender == owner); owner.send(address(this).balance); }
15,853,153
[ 1, 1290, 6397, 777, 284, 19156, 316, 333, 423, 1184, 358, 2097, 7659, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 283, 14784, 1435, 1071, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 3410, 1769, 203, 3639, 3410, 18, 4661, 12, 2867, 12, 2211, 2934, 12296, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100,...
./full_match/42220/0x928aA9B52A0025D4e91a586F5a09d2f45E4AC2F4/sources/CelofarmsRouter.sol
send liquidity to pair
ICelofarmsPair(pair).transferFrom(msg.sender, pair, liquidity);
16,337,166
[ 1, 4661, 4501, 372, 24237, 358, 3082, 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, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 26899, 292, 792, 20452, 4154, 12, 6017, 2934, 13866, 1265, 12, 3576, 18, 15330, 16, 3082, 16, 4501, 372, 24237, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./partial_match/1/0xF8243ECF8f734452B184A1dF3AD3cD92fC93B58a/sources/project_/contracts/lending/wrapper/CappedGovToken.sol
allowances are never granted, as the VotingVault does not grant allowances. this function is therefore always uncallable and so we will just return false
function transferFrom( address /*sender*/, address /*recipient*/, uint256 /*amount*/ ) public pure override returns (bool) { return false; }
2,879,082
[ 1, 5965, 6872, 854, 5903, 17578, 16, 487, 326, 776, 17128, 12003, 1552, 486, 7936, 1699, 6872, 18, 333, 445, 353, 13526, 3712, 6301, 454, 429, 471, 1427, 732, 903, 2537, 327, 629, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 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, 7412, 1265, 12, 203, 565, 1758, 1748, 15330, 5549, 16, 203, 565, 1758, 1748, 20367, 5549, 16, 203, 565, 2254, 5034, 1748, 8949, 5549, 203, 225, 262, 1071, 16618, 3849, 1135, 261, 6430, 13, 288, 203, 565, 327, 629, 31, ...
word_set WhWords= { 'what', // What do you sing? 'why', // Why do you sing? 'where', // Where do you live? 'who', // Who is your friend? 'when', // When do you work? 'whom', // Whom do you love? ...
Much money is spent for defence. There is much milk in the jug.
eng_adverb:much{},
7,302,245
[ 1, 49, 2648, 15601, 353, 26515, 364, 1652, 802, 18, 6149, 353, 9816, 312, 330, 79, 316, 326, 525, 637, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 27573, 24691, 67, 361, 16629, 30, 81, 2648, 2916, 16, 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, -...
// SPDX-License-Identifier: MIT pragma solidity 0.8.13; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IER...
* @dev Throws if called by any account other than the owner or treasurer./
modifier onlyTreasurerOrOwner() { require(_owner == msg.sender || _owner == _treasuryAddress, 'Caller is not the owner or treasurer'); _; }
14,482,757
[ 1, 21845, 309, 2566, 635, 1281, 2236, 1308, 2353, 326, 3410, 578, 9787, 345, 11278, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 56, 266, 345, 11278, 1162, 5541, 1435, 288, 203, 3639, 2583, 24899, 8443, 422, 1234, 18, 15330, 747, 389, 8443, 422, 389, 27427, 345, 22498, 1887, 16, 296, 11095, 353, 486, 326, 3410, 578, 9787, 345, 11278, 8284, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "base64-sol/base64.sol"; /// @title Earrings SVG generator library EarringsDetail { /// @dev Earrings N°1 => Classic function item_1() public pure returns (string memory) { return ""; } /// @dev Earrings N°2 =...
@dev Earrings N°12 => Drop Ether
function item_12() public pure returns (string memory) { return base( string( abi.encodePacked( drop(true), '<path d="M285.7,279.7l-4.6-2.2l4.6,8l4.6-8L285.7,279.7z"/>', '<path d="M289.8,2...
1,714,186
[ 1, 41, 5399, 899, 423, 131, 113, 2138, 516, 10895, 512, 1136, 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, 761, 67, 2138, 1435, 1071, 16618, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 327, 203, 5411, 1026, 12, 203, 7734, 533, 12, 203, 10792, 24126, 18, 3015, 4420, 329, 12, 203, 13491, 3640, 12, 3767, 3631, 203, 13491, 2368, ...
pragma solidity ^0.4.24; interface itoken { function freezeAccount(address _target, bool _freeze) external; function freezeAccountPartialy(address _target, uint256 _value) external; function balanceOf(address _owner) external view returns (uint256 balance); // function totalSupply() external view retur...
* @dev add an address as one of the multiOwners. @param _addr the account address used as a multiOwner/ uint i = 0; for (; i < owners.length; i = i.add(1)) { if (owners[i] == _addr) { break; } } if (i >= owners.length) { }
function addAddress(address _addr, string _side) internal { require(multiOwnerSides < ownerSidesLimit); require(_addr != address(0)); addRole(_addr, ROLE_MULTIOWNER); ownerOfSides[_addr] = _side; if (sideExist[_side] == 0) { multiOwnerSides = multiOwnerSides.add(1); } sideExist[...
1,496,875
[ 1, 1289, 392, 1758, 487, 1245, 434, 326, 3309, 5460, 414, 18, 225, 389, 4793, 326, 2236, 1758, 1399, 487, 279, 3309, 5541, 19, 2254, 277, 273, 374, 31, 364, 261, 31, 277, 411, 25937, 18, 2469, 31, 277, 273, 277, 18, 1289, 12, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 527, 1887, 12, 2867, 389, 4793, 16, 533, 389, 5564, 13, 2713, 288, 203, 565, 2583, 12, 7027, 5541, 55, 4369, 411, 3410, 55, 4369, 3039, 1769, 203, 565, 2583, 24899, 4793, 480, 1758, 12, 20, 10019, 203, 203, 203, 203, ...
./full_match/42/0x239f2647cC2f72bB8Ac3AEb70DDF73Ca2dCA09B3/sources/browser/AugurETHFoundry.sol
*@dev unwraps multiple tokens */
function unWrapMultipleTokens( uint256[] memory _tokenIds, uint256[] memory _amounts ) public { for (uint256 i = 0; i < _tokenIds.length; i++) { unWrapTokens(_tokenIds[i], _amounts[i]); } }
16,225,142
[ 1, 318, 91, 7506, 3229, 2430, 342, 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, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 640, 2964, 8438, 5157, 12, 203, 3639, 2254, 5034, 8526, 3778, 389, 2316, 2673, 16, 203, 3639, 2254, 5034, 8526, 3778, 389, 8949, 87, 203, 565, 262, 1071, 288, 203, 3639, 364, 261, 11890, 5034, 277, 273, 374, 31, 277, ...
pragma solidity ^0.5.1; //byte operat lib library ByteUtilLib { bytes constant ZERO_BYTES = hex"80"; function equal(bytes memory one, bytes memory two) internal pure returns (bool) { if (!(one.length == two.length)) { return false; } for (uint i=0; i<one.length; i++) { ...
* @dev Copies a piece of memory to another location. @param _dest Destination location. @param _src Source location. @param _len Length of memory to copy./
function memcpy(uint _dest, uint _src, uint _len) internal pure { uint dest = _dest; uint src = _src; uint len = _len; for(; len >= 32; len -= 32) { assembly { mstore(dest, mload(src)) } dest += 32; src += 32; }...
7,295,282
[ 1, 15670, 279, 11151, 434, 3778, 358, 4042, 2117, 18, 225, 389, 10488, 10691, 2117, 18, 225, 389, 4816, 4998, 2117, 18, 225, 389, 1897, 11311, 434, 3778, 358, 1610, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1663, 71, 2074, 12, 11890, 389, 10488, 16, 2254, 389, 4816, 16, 2254, 389, 1897, 13, 2713, 16618, 288, 203, 3639, 2254, 1570, 273, 389, 10488, 31, 203, 3639, 2254, 1705, 273, 389, 4816, 31, 203, 3639, 2254, 562, 273, ...
// SPDX-License-Identifier: MIT pragma solidity 0.6.8; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@animoca/ethereum-contracts-erc20_base/contracts/token/ERC20/IERC20.sol"; import "@animoca/ethereum-contracts-erc20_base/contracts/token/ERC20/IERC20Detailed.sol"; import "./interfaces/IKyberNetworkProxy...
Prepare for handling back the change if there is any.
uint256 _balanceBefore = _getTokenBalance(_src, address(this));
12,698,755
[ 1, 7543, 364, 5057, 1473, 326, 2549, 309, 1915, 353, 1281, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5411, 2254, 5034, 389, 12296, 4649, 273, 389, 588, 1345, 13937, 24899, 4816, 16, 1758, 12, 2211, 10019, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.7.0; pragma abicoder v2; import "../global/StorageLayoutV1.sol"; import "../global/Constants.sol"; import "../proxy/utils/UUPSUpgradeable.sol"; import "interfaces/notional/NotionalProxy.sol"; /** * Read only version of the Router that can only be upgraded b...
Liquidation calculation methods are stateful (they settle accounts if required) and therefore we prevent them from being called unless specifically authorized.
function getRouterImplementation(bytes4 sig) public view returns (address) { if ( (sig == NotionalProxy.calculateCollateralCurrencyLiquidation.selector || sig == NotionalProxy.liquidateCollateralCurrency.selector) && isEnabled(Constants.COLLATERAL_CURRENCY_ENABLED) ...
5,856,669
[ 1, 48, 18988, 350, 367, 11096, 2590, 854, 28188, 261, 451, 402, 444, 5929, 9484, 309, 1931, 13, 471, 13526, 732, 5309, 2182, 628, 3832, 2566, 3308, 21195, 10799, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4170, 14068, 13621, 12, 3890, 24, 3553, 13, 1071, 1476, 1135, 261, 2867, 13, 288, 203, 3639, 309, 261, 203, 5411, 261, 7340, 422, 2288, 285, 287, 3886, 18, 11162, 13535, 2045, 287, 7623, 48, 18988, 350, 367, 18, 9663, ...
pragma solidity ^0.4.13; library Math { function max64(uint64 a, uint64 b) internal pure returns (uint64) { return a >= b ? a : b; } function min64(uint64 a, uint64 b) internal pure returns (uint64) { return a < b ? a : b; } function max256(uint256 a, uint256 b) internal pure returns (uint256) { ...
2 * 1 = 2 bits? or 2 bytes?
bool burnsOnRevoke;
5,910,343
[ 1, 22, 225, 404, 273, 576, 4125, 35, 578, 576, 1731, 35, 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, 1426, 18305, 87, 1398, 29196, 31, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity 0.4.24; pragma experimental ABIEncoderV2; //Truffle Imports import "@chainlink/contracts/ChainlinkClient.sol"; import "@chainlink/contracts/vendor/Ownable.sol"; import "@chainlink/contracts/interfaces/LinkTokenInterface.sol"; import "@chainlink/contracts/interfaces/AggregatorInterface.sol"; import "@c...
sends the GET request to the oracle
req.add("get", _url);
2,519,556
[ 1, 4661, 87, 326, 4978, 590, 358, 326, 20865, 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, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1111, 18, 1289, 2932, 588, 3113, 389, 718, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.7; /* Author: Patrick Lismore @patricklismore */ // Basic Atlas Employment Contract contract AtlasBasicWork{ /* Define variable owner of the type address*/ address owner; /* Define jobidentifer of type string */ string public jobidentifer; /* Define client address ...
Function called by worker when job has been delivered awaiting client review */
function workNotRecieved() public onlyClient inState(State.InProgress) { emit WordNotRecieved(); state = State.NotRecieved; }
12,858,308
[ 1, 2083, 2566, 635, 4322, 1347, 1719, 711, 2118, 22112, 4273, 310, 1004, 10725, 225, 342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1440, 1248, 5650, 1385, 2155, 1435, 1071, 1338, 1227, 316, 1119, 12, 1119, 18, 13434, 13, 203, 565, 288, 203, 3639, 3626, 9926, 1248, 5650, 1385, 2155, 5621, 203, 3639, 919, 273, 3287, 18, 1248, 5650, 1385, 2155, 31, 20...
//Address: 0x198cf24375eccdf599c624d10f0c6fb9b75ec215 //Contract name: Hold //Balance: 0 Ether //Verification Date: 3/10/2018 //Transacion Count: 6 // CODE STARTS HERE pragma solidity ^0.4.18; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * func...
Permission manager contract */
PermissionManager public permissionManager;
1,008,434
[ 1, 5041, 3301, 6835, 342, 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, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8509, 1318, 1071, 4132, 1318, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x977D360c3FbE1533eFEde3619dC74Ad0950FFc4f/sources/contracts/BondSwap/Exchange/libraries/BondConfig.sol
token that we buy bonds for
address bondToken;
16,426,719
[ 1, 2316, 716, 732, 30143, 15692, 364, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2867, 8427, 1345, 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, ...
// Verified using https://dapp.tools // hevm: flattened sources of /nix/store/fs14a1fn2n0n355szi63iq33n5yzygnk-geb/dapp/geb/src/StabilityFeeTreasury.sol pragma solidity =0.6.7; ////// /nix/store/fs14a1fn2n0n355szi63iq33n5yzygnk-geb/dapp/geb/src/StabilityFeeTreasury.sol /// StabilityFeeTreasury.sol // Copyright (C) ...
minimum amount of SF that must be kept in the treasury at all times [rad]
uint256 public minimumFundsRequired;
141,504
[ 1, 15903, 3844, 434, 21318, 716, 1297, 506, 16555, 316, 326, 9787, 345, 22498, 622, 777, 4124, 1377, 306, 6012, 65, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 5224, 42, 19156, 3705, 31, 3639, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/80001/0x130257B2eB656623fAEcF46F8ec54513aF78EADE/sources/project_/contracts/HogwartsNFT.sol
map the caller to their respective requestIDs.
s_requestIdToSender[requestId] = msg.sender;
9,528,215
[ 1, 1458, 326, 4894, 358, 3675, 17613, 590, 5103, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3639, 272, 67, 2293, 28803, 12021, 63, 2293, 548, 65, 273, 1234, 18, 15330, 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,...
pragma solidity 0.6.2; import "../Median.sol"; import "../vendor/SafeMath.sol"; import "./SafeMath128.sol"; import "./SafeMath64.sol"; import "./SafeMath32.sol"; import "../interfaces/LinkTokenInterface.sol"; import "../interfaces/WithdrawalInterface.sol"; import "./AggregatorInterface.sol"; import "../Owned.sol"; /*...
* @notice update the round and payment related parameters for subsequent rounds @param _newPaymentAmount is the payment amount for subsequent rounds @param _minAnswers is the new minimum answer count for each round @param _maxAnswers is the new maximum answer count for each round @param _restartDelay is the number of r...
function updateFutureRounds( uint128 _newPaymentAmount, uint32 _minAnswers, uint32 _maxAnswers, uint32 _restartDelay, uint32 _timeout ) public onlyOwner() onlyValidRange(_minAnswers, _maxAnswers, _restartDelay) { paymentAmount = _newPaymentAmount; minAnswerCount = _minAnswe...
949,590
[ 1, 2725, 326, 3643, 471, 5184, 3746, 1472, 364, 10815, 21196, 225, 389, 2704, 6032, 6275, 353, 326, 5184, 3844, 364, 10815, 21196, 225, 389, 1154, 19543, 353, 326, 394, 5224, 5803, 1056, 364, 1517, 3643, 225, 389, 1896, 19543, 353, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 1089, 4118, 54, 9284, 12, 203, 565, 2254, 10392, 389, 2704, 6032, 6275, 16, 203, 565, 2254, 1578, 389, 1154, 19543, 16, 203, 565, 2254, 1578, 389, 1896, 19543, 16, 203, 565, 2254, 1578, 389, 19164, 6763, 16, 203, 565, ...
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'Anonymous' token contract // // Deployed to : 0xF21936F4633eb93FF24b2fFfB52FA3890aB72A47 // Symbol : ANS // Name : Anonymous // Total supply: 10000000 // Decimals : 9 // // Enjoy. // // (c) by Mo...
---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Con...
contract Anonymous is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; constructor() public { symbol = "ANS"; ...
1,691,400
[ 1, 5802, 7620, 4232, 39, 3462, 3155, 16, 598, 326, 2719, 434, 3273, 16, 508, 471, 15105, 471, 1551, 25444, 1147, 29375, 8879, 13849, 8879, 17082, 11417, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 29775, 353, 4232, 39, 3462, 1358, 16, 14223, 11748, 16, 14060, 10477, 288, 203, 565, 533, 1071, 3273, 31, 203, 565, 533, 1071, 225, 508, 31, 203, 565, 2254, 28, 1071, 15105, 31, 203, 565, 2254, 1071, 389, 4963, 3088, 1283,...
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "./ERC721A.sol"; import "./ERC721ABurnable.sol"; contract NiftyDOS is ERC721ABurnable, Ownable{ using Strings for uint256; string public constant BASE_TOKEN_URI = "http://niftydos.com/token?"; ...
* @dev See {IERC721Enumerable-totalSupply}./ Counter underflow is impossible as _burnCounter cannot be incremented more than _currentIndex times
function totalSupply() public view returns (uint256) { unchecked { return _currentIndex - _burnCounter; } }
14,390,056
[ 1, 9704, 288, 45, 654, 39, 27, 5340, 3572, 25121, 17, 4963, 3088, 1283, 5496, 19, 9354, 3613, 2426, 353, 23343, 487, 389, 70, 321, 4789, 2780, 506, 28859, 1898, 2353, 389, 2972, 1016, 4124, 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, 2078, 3088, 1283, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 565, 22893, 288, 203, 3639, 327, 389, 2972, 1016, 300, 389, 70, 321, 4789, 31, 203, 565, 289, 203, 565, 289, 203, 203, 2, -100, -100, -100, -10...
/** *Submitted for verification at Etherscan.io on 2022-04-01 */ /** * Telegram : https://t.me/QUADofficial * Website : https://thagunnaz.net */ // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.4; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ functio...
(0xfFe17962DfED9d37840ED835971f193b306B8101);
payable(0xfFe17962DfED9d37840ED835971f193b306B8101);
2,349,099
[ 1, 12, 20, 5841, 2954, 28814, 8898, 40, 74, 2056, 29, 72, 6418, 28585, 2056, 28, 4763, 10580, 21, 74, 3657, 23, 70, 29490, 38, 11861, 1611, 1769, 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, 8843, 429, 12, 20, 5841, 2954, 28814, 8898, 40, 74, 2056, 29, 72, 6418, 28585, 2056, 28, 4763, 10580, 21, 74, 3657, 23, 70, 29490, 38, 11861, 1611, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// This is a social media smart contract that allows people to publish strings of text in short formats with a focus on hashtags so that they can follow, read and be in touch with the latest content regarding those hashtags. There will be a mapping os top hashtags. A struct for each piece of content with the date, auth...
@notice To unsubscribe to a hashtag if you are subscribed otherwise it won't do nothing @param _hashtag The hashtag name
function unsubscribeToHashtag(bytes32 _hashtag) public { if(checkExistingSubscription(_hashtag)) { for(uint256 i = 0; i < subscribedHashtags[msg.sender].length; i++) { if(subscribedHashtags[msg.sender][i] == _hashtag) { bytes32 lastElement = subscribedHashtags...
1,797,518
[ 1, 774, 15954, 358, 279, 711, 647, 346, 309, 1846, 854, 16445, 3541, 518, 8462, 1404, 741, 5083, 225, 389, 5332, 647, 346, 1021, 711, 647, 346, 508, 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, 15954, 774, 5582, 647, 346, 12, 3890, 1578, 389, 5332, 647, 346, 13, 1071, 288, 203, 3639, 309, 12, 1893, 9895, 6663, 24899, 5332, 647, 346, 3719, 288, 203, 5411, 364, 12, 11890, 5034, 277, 273, 374, 31, 277, 411, 164...
// SPDX-License-Identifier: AGPLv3 pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns th...
* @notice Adjust the Strategy's position. The purpose of tending isn't to realize gains, but to maximize yield by reinvesting any returns. See comments on `adjustPosition()`. This may only be called by governance, the strategist, or the keeper./
function tend() external onlyKeepers { adjustPosition(vault.debtOutstanding()); }
398,590
[ 1, 10952, 326, 19736, 1807, 1754, 18, 1021, 13115, 434, 268, 2846, 5177, 1404, 358, 225, 2863, 554, 314, 4167, 16, 1496, 358, 943, 10153, 2824, 635, 283, 5768, 10100, 1281, 1135, 18, 225, 2164, 5678, 603, 1375, 13362, 2555, 1435, 8338...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 268, 409, 1435, 3903, 1338, 11523, 414, 288, 203, 540, 203, 3639, 5765, 2555, 12, 26983, 18, 323, 23602, 1182, 15167, 10663, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // TOKENMOM DECENTRALIZED EXCHANGE Token(TM) Smart Contract V.1.1 // 토큰맘 탈중앙화거래소 토큰(TM) 스마트 컨트랙트 버전1.1 // Exchange URL : https://tokenmom.com // Trading FEE : 0.00% Event (Maker and Taker) // Symbol : TM // N...
* @title Pausable @dev Base contract which allows children to implement an emergency stop mechanism./
contract Pausable is PauserRole { event Paused(); event Unpaused(); bool private _paused = false; function paused() public view returns(bool) { return _paused; } modifier whenNotPaused() { require(!_paused); _; } modifier whenPaused() { require(_paused); _; } function pause(...
1,459,231
[ 1, 16507, 16665, 225, 3360, 6835, 1492, 5360, 2325, 358, 2348, 392, 801, 24530, 2132, 12860, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 21800, 16665, 353, 21800, 1355, 2996, 288, 203, 225, 871, 21800, 3668, 5621, 203, 225, 871, 1351, 8774, 3668, 5621, 203, 203, 225, 1426, 3238, 389, 8774, 3668, 273, 629, 31, 203, 203, 225, 445, 17781, 1435, 1071, 1476, 1135,...
// SPDX-License-Identifier: None // HungryBunz Implementation V1 pragma solidity ^0.8.0; import "./Ownable.sol"; import "./PaymentSplitter.sol"; import "./ERC721.sol"; import "./ECDSA.sol"; import "./Strings.sol"; import "./Initializable.sol"; contract OwnableDelegateProxy { } contract ProxyRegistry { mapping(ad...
******************************************************OWNER ONLY FUNCTIONS TO CONNECT CHILD CONTRACTS.******************************************************Not cast to interface as this will need to be cast to addressmore often than not.
function ccNom(address contractAddress) public onlyOwner { _nomContractAddress = contractAddress; }
12,149,218
[ 1, 29602, 20747, 13690, 55, 8493, 21593, 6469, 11382, 8020, 2849, 1268, 55, 18, 1248, 4812, 358, 1560, 487, 333, 903, 1608, 358, 506, 4812, 358, 1758, 10161, 16337, 2353, 486, 18, 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, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4946, 26685, 12, 2867, 6835, 1887, 13, 1071, 1338, 5541, 288, 203, 3639, 389, 12306, 8924, 1887, 273, 6835, 1887, 31, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.8.0; // SPDX-License-Identifier: MIT import "./interfaces/IFinancing.sol"; import "../core/DaoRegistry.sol"; import "../extensions/bank/Bank.sol"; import "../adapters/interfaces/IVoting.sol"; import "../guards/AdapterGuard.sol"; import "./modifiers/Reimbursable.sol"; import "../helpers/DaoHelper.so...
* @notice Creates and sponsors a financing proposal. @dev Applicant address must not be reserved. @dev Token address must be allowed/supported by the DAO Bank. @dev Requested amount must be greater than zero. @dev Only members of the DAO can sponsor a financing proposal. @param dao The DAO Address. @param proposalId Th...
function submitProposal( DaoRegistry dao, bytes32 proposalId, address applicant, address token, uint256 amount, bytes memory data ) external override reimbursable(dao) { require(amount > 0, "invalid requested amount"); BankExtension bank = BankExte...
13,084,723
[ 1, 2729, 471, 272, 500, 87, 1383, 279, 574, 304, 2822, 14708, 18, 225, 1716, 1780, 970, 1758, 1297, 486, 506, 8735, 18, 225, 3155, 1758, 1297, 506, 2935, 19, 4127, 635, 326, 463, 20463, 25610, 18, 225, 25829, 3844, 1297, 506, 6802, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4879, 14592, 12, 203, 3639, 463, 6033, 4243, 15229, 16, 203, 3639, 1731, 1578, 14708, 548, 16, 203, 3639, 1758, 513, 1780, 970, 16, 203, 3639, 1758, 1147, 16, 203, 3639, 2254, 5034, 3844, 16, 203, 3639, 1731, 3778, 501,...
./full_match/23295/0xd64a57003526ECe2e360b25A556963aB6E38407E/sources/contracts/HealDAOv1.sol
Comma-separated locations
string locationList;
7,103,087
[ 1, 15594, 17, 24622, 7838, 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, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2117, 682, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/137/0x3d058da8c242572612Cf784312b91D461Ac4d8B2/sources/src/contracts/token/IndexToken.sol
@notice Ownable function to set the limit at which the total supply cannot exceed @param _supplyCeiling uint256
function setSupplyCeiling(uint256 _supplyCeiling) external override onlyOwner { supplyCeiling = _supplyCeiling; emit SupplyCeilingSet(_supplyCeiling); }
3,758,824
[ 1, 5460, 429, 445, 358, 444, 326, 1800, 622, 1492, 326, 2078, 14467, 2780, 9943, 225, 389, 2859, 1283, 39, 73, 4973, 2254, 5034, 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, 444, 3088, 1283, 39, 73, 4973, 12, 11890, 5034, 389, 2859, 1283, 39, 73, 4973, 13, 3903, 3849, 1338, 5541, 288, 203, 3639, 14467, 39, 73, 4973, 273, 389, 2859, 1283, 39, 73, 4973, 31, 203, 3639, 3626, 3425, 1283, 39, ...
./partial_match/4/0x1478e99Aadc30829a77FB2Bb19C3B964509F4898/sources/animalMain.sol
TO DO 請使用require判斷要轉的動物id是不是轉移者的增加受贈者的擁有動物數量減少轉出者的擁有動物數量動物所有權轉移
function transfer(address _to, uint256 _tokenId) public { require(animalToOwner[_tokenId]==msg.sender); ownerAnimalCount[_to]=ownerAnimalCount[_to].add(1); ownerAnimalCount[msg.sender]=ownerAnimalCount[msg.sender].sub(1); animalToOwner[_tokenId] = _to; emit Transfer(msg.sender, _to, _tok...
16,972,802
[ 1, 4296, 5467, 225, 169, 109, 238, 165, 126, 128, 168, 247, 106, 6528, 166, 235, 102, 167, 249, 120, 169, 104, 228, 169, 126, 236, 168, 253, 231, 166, 238, 248, 168, 236, 107, 350, 167, 251, 112, 165, 121, 240, 167, 251, 112, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 7412, 12, 2867, 389, 869, 16, 2254, 5034, 389, 2316, 548, 13, 1071, 288, 203, 4202, 203, 565, 2583, 12, 304, 2840, 774, 5541, 63, 67, 2316, 548, 65, 631, 3576, 18, 15330, 1769, 203, 203, 565, 3410, 979, 2840, 1380, ...
/* This file is part of The Colony Network. The Colony Network is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The Colony Netwo...
Upgrades can only go up in version Requested version has to be registered
function upgrade(uint256 _newVersion) public always auth { uint256 currentVersion = version(); require(_newVersion > currentVersion, "colony-version-must-be-newer"); address newResolver = IColonyNetwork(colonyNetworkAddress).getColonyVersionResolver(_newVersion); require(newResolver != 0x0, "colony-ve...
12,551,829
[ 1, 1211, 13088, 848, 1338, 1960, 731, 316, 1177, 25829, 1177, 711, 358, 506, 4104, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 8400, 12, 11890, 5034, 389, 2704, 1444, 13, 1071, 3712, 1357, 288, 203, 565, 2254, 5034, 23344, 273, 1177, 5621, 203, 565, 2583, 24899, 2704, 1444, 405, 23344, 16, 315, 1293, 6598, 17, 1589, 17, 11926, 17, 2196, 17, 270...
// Copyright 2021 Cartesi Pte. Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at http://www.apache.org/licenses/LICENSE-2.0 // Unless required by ...
@notice add input to processed by next epoch @param _input input to be understood by offchain machine @dev offchain code is responsible for making sure that input size is power of 2 and multiple of 8 since the offchain machine has a 8 byte word keccak 64 bytes into 32 bytes notifyInput returns true if that input ...
function addInput(bytes calldata _input) public override returns (bytes32) { require( _input.length > 0 && _input.length <= inputDriveSize, "input len: (0,driveSize]" ); bytes32 keccakMetadata = keccak256(abi.encode(msg.sender, block.timestamp)); ...
13,027,599
[ 1, 1289, 810, 358, 5204, 635, 1024, 7632, 225, 389, 2630, 810, 358, 506, 31727, 4773, 635, 3397, 5639, 5228, 225, 3397, 5639, 981, 353, 14549, 364, 10480, 3071, 1377, 716, 810, 963, 353, 7212, 434, 576, 471, 3229, 434, 1725, 3241, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 527, 1210, 12, 3890, 745, 892, 389, 2630, 13, 1071, 3849, 1135, 261, 3890, 1578, 13, 288, 203, 3639, 2583, 12, 203, 5411, 389, 2630, 18, 2469, 405, 374, 597, 389, 2630, 18, 2469, 1648, 810, 24681, 1225, 16, 203, 5411,...
./partial_match/1/0x9c12d9b1223130B641154d8d3DB35F91D81c8dfd/sources/InBitToken.sol
@dev Returns the total amount of all unlockable tokens for a specified address. @param _of The address to query the unlockable token count of
function getUnlockableTokens(address _of) public view returns (uint256 unlockableTokens) { for (uint256 i = 0; i < lockReason[_of].length; i++) { unlockableTokens = unlockableTokens.add(tokensUnlockable(_of, lockReason[_of][i])); } }
16,074,275
[ 1, 1356, 326, 2078, 3844, 434, 777, 7186, 429, 2430, 364, 279, 1269, 1758, 18, 225, 389, 792, 1021, 1758, 358, 843, 326, 7186, 429, 1147, 1056, 434, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 336, 7087, 429, 5157, 12, 2867, 389, 792, 13, 203, 565, 1071, 203, 565, 1476, 203, 565, 1135, 261, 11890, 5034, 7186, 429, 5157, 13, 203, 225, 288, 203, 565, 364, 261, 11890, 5034, 277, 273, 374, 31, 277, 411, 2176, ...
./full_match/1/0xCD56A62CE22dBc5c585C6a3b081C3F68D510a0Dd/sources/Bjork.sol
exclude from paying fees or having max transaction amount
constructor() ERC20("Bjork", "Bjork") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_unisw...
9,661,665
[ 1, 10157, 628, 8843, 310, 1656, 281, 578, 7999, 943, 2492, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3885, 1435, 4232, 39, 3462, 2932, 38, 78, 778, 3113, 315, 38, 78, 778, 7923, 288, 203, 7010, 3639, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 389, 318, 291, 91, 438, 58, 22, 8259, 273, 467, 984, 291, 91, 438, 58, 22, ...
pragma solidity ^0.8.10; import "../node_modules/openzeppelin-solidity/contracts/utils/math/SafeMath.sol"; import "./FlightSuretyDataContract.sol"; import {FlightStatusCodes} from "./FlightStatusCodes.sol"; contract FlightSuretyData is FlightSuretyDataContract { using SafeMath for uint256; /*****************...
Generate a unique key for storing the flight
function getFlight(address airline, string calldata flight) external view requireAuthorizedCaller returns ( address returnAirline, string calldata retFlight, uint8 status, uint256 timestamp ) { bytes32 key = getFligh...
6,379,283
[ 1, 4625, 279, 3089, 498, 364, 15729, 326, 25187, 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, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 336, 24243, 12, 2867, 23350, 1369, 16, 533, 745, 892, 25187, 13, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 2583, 15341, 11095, 203, 3639, 1135, 261, 203, 5411, 1758, 327, 29752, 1369, 16, 203, 5411, 533, 745, 892, 32...
./full_match/1/0xc106e720761D71a8E9a8fA45ED18D1Ab85D27832/sources/src/Kong/Distributor.sol
mint and send tokens
treasury.mint(staking, nextReward());
17,105,980
[ 1, 81, 474, 471, 1366, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 27427, 345, 22498, 18, 81, 474, 12, 334, 6159, 16, 1024, 17631, 1060, 10663, 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...
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; // ------------- // FANCY BEE DAO // // This DAO esponsible for managing the treasury and all other contracts including: // - BeeNFTs, // - HiveNFTs, // - OutfitNFTs // // All operations that involve a royalty to the DAO must be mediated // thought this con...
% to be retained by DAO
uint256 public daoPercent;
6,479,597
[ 1, 9, 358, 506, 25227, 635, 463, 20463, 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, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 15229, 8410, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // // ---------------------------------------------------------------------------- contract ERC20Interface { function totalSupply() public view returns (uint); function ba...
* Constrctor function Initializes contract with initial supply tokens to the creator of the contract/
constructor() public { name = "yfipaprika.finance"; symbol = "YFIG"; decimals = 18; _totalSupply = 2500000000000000000000; balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); }
15,218,276
[ 1, 442, 701, 30206, 445, 10188, 3128, 6835, 598, 2172, 14467, 2430, 358, 326, 11784, 434, 326, 6835, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 1071, 288, 203, 3639, 508, 273, 315, 93, 74, 625, 438, 566, 7282, 18, 926, 1359, 14432, 203, 3639, 3273, 273, 315, 61, 5236, 14432, 203, 3639, 15105, 273, 6549, 31, 203, 3639, 389, 4963, 3088, 1283, 273, 6969, ...
./partial_match/1/0x4C1Bf22D608E9E871f42c4e377d8a32F8b40372C/sources/contracts/adapters/UniV3LimitedRangeAdapter.sol
@inheritdoc IUniV3Adapter
function removeLiquidity(address to, bytes calldata removeLiquidityData) external override onlyVault returns (uint256, uint256) { require(IVault(vaultAddress).earningsSettled(), "ENS"); require(removeLiquidityData.length > 0, "NEI"); (uint256 amount0, uint256 amount1) = _removeLiquidity(removeLiquidityDat...
4,333,862
[ 1, 36, 10093, 467, 984, 77, 58, 23, 4216, 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, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1206, 48, 18988, 24237, 12, 2867, 358, 16, 1731, 745, 892, 1206, 48, 18988, 24237, 751, 13, 3903, 3849, 1338, 12003, 1135, 261, 11890, 5034, 16, 2254, 5034, 13, 288, 203, 565, 2583, 12, 8188, 3714, 12, 26983, 1887, 2934...
pragma solidity 0.8.4; // SPDX-License-Identifier: MIT import "@openzeppelin/contracts/access/Ownable.sol"; import "./YourToken.sol"; contract Vendor is Ownable { event BuyTokens(address buyer, uint256 amountOfETH, uint256 amountOfTokens); event SellTokens(address seller, uint256 amountOfETH, uint256 amountOfTok...
ToDo: create a payable buyTokens() function:
function buyTokens() public payable { require(msg.value > 0, "Send ETH to buy some tokens"); uint256 tknsToTransfer = (msg.value) * tokensPerEth; uint256 vendorBalance = yourToken.balanceOf(address(this)); require(vendorBalance >= tknsToTransfer, "Vendor contract has not enoug...
5,436,763
[ 1, 774, 3244, 30, 752, 279, 8843, 429, 30143, 5157, 1435, 445, 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, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 30143, 5157, 1435, 1071, 8843, 429, 288, 203, 3639, 2583, 12, 3576, 18, 1132, 405, 374, 16, 315, 3826, 512, 2455, 358, 30143, 2690, 2430, 8863, 203, 203, 3639, 2254, 5034, 13030, 2387, 774, 5912, 273, 261, 3576, 18, 113...
pragma solidity ^0.4.21; /// RK35Z token ERC20 with Extensions ERC223 contract RK40Z { uint256 constant public MAX_UINT256 = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF; string public name; string public symbol; uint8 public decimals; uint256 public totalSupply; address ...
Function to access symbol of token .
function symbol() public view returns (string _symbol) { return symbol; }
274,394
[ 1, 2083, 358, 2006, 3273, 434, 1147, 263, 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, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3273, 1435, 1071, 1476, 1135, 261, 1080, 389, 7175, 13, 288, 203, 202, 202, 2463, 3273, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
/* .'''''''''''.. ..''''''''''''''''.. ..'''''''''''''''.. .;;;;;;;;;;;'. .';;;;;;;;;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;,. .;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;,. .;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;;;,. .;;;;;;;;;;;;;;;;;;;;,. ';;;;;;;;'. .';;;;;;;;;;;;;;;;;;...
* @dev Remove liquidity from curve @param yAmount amount of curve pool tokens @param minCurrencyAmount minimum amount of tokens to withdraw/ unstake in gauge remove TUSD from curve
function pull(uint256 yAmount, uint256 minCurrencyAmount) external onlyOwnerOrManager { require(yAmount <= yTokenBalance(), "TrueFiPool: Insufficient Curve liquidity balance"); ensureEnoughTokensAreAvailable(yAmount); _curvePool.token().approve(address(_curvePool), yAmount); _curve...
399,490
[ 1, 3288, 4501, 372, 24237, 628, 8882, 225, 677, 6275, 3844, 434, 8882, 2845, 2430, 225, 1131, 7623, 6275, 5224, 3844, 434, 2430, 358, 598, 9446, 19, 640, 334, 911, 316, 13335, 1206, 399, 3378, 40, 628, 8882, 2, 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, 6892, 12, 11890, 5034, 677, 6275, 16, 2254, 5034, 1131, 7623, 6275, 13, 3903, 1338, 5541, 1162, 1318, 288, 203, 3639, 2583, 12, 93, 6275, 1648, 677, 1345, 13937, 9334, 315, 5510, 42, 77, 2864, 30, 22085, 11339, 22901, 4...
/* * Origin Protocol * https://originprotocol.com * * Released under the MIT license * https://github.com/OriginProtocol/origin-dollar * * Copyright 2020 Origin Protocol, Inc * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files ...
* @dev Internal to calculate total value of all assets held in Strategies. @return uint256 Total value in ETH (1e18)/
function _totalValueInStrategies() internal view returns (uint256 value) { value = 0; for (uint256 i = 0; i < allStrategies.length; i++) { value += _totalValueInStrategy(allStrategies[i]); } }
610,565
[ 1, 3061, 358, 4604, 2078, 460, 434, 777, 7176, 15770, 316, 3978, 15127, 18, 327, 2254, 5034, 10710, 460, 316, 512, 2455, 261, 21, 73, 2643, 13176, 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, 565, 445, 389, 4963, 620, 382, 1585, 15127, 1435, 2713, 1476, 1135, 261, 11890, 5034, 460, 13, 288, 203, 3639, 460, 273, 374, 31, 203, 3639, 364, 261, 11890, 5034, 277, 273, 374, 31, 277, 411, 777, 1585, 15127, 18, 2469, 31, 27...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "../utils/MinterGuard.sol"; import "../interfaces/IDG4610.sol"; import "../interfaces/IDG721BatchReceiver.sol"; import "./ERC4610.sol"; /** * @dev An DG4610Simple token for God...
* @dev See {IERC721Metadata-tokenURI}./
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return string(abi.encodePacked(_uri, tokenId.toString(), ".json")); }
12,968,111
[ 1, 9704, 288, 45, 654, 39, 27, 5340, 2277, 17, 2316, 3098, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1147, 3098, 12, 11890, 5034, 1147, 548, 13, 1071, 1476, 5024, 3849, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 2583, 24899, 1808, 12, 2316, 548, 3631, 315, 654, 39, 27, 5340, 2277, 30, 3699, 843, 364, 1661, 19041, 1147,...
./partial_match/3/0xE5dD5466314a590680d107B2Dea8114cd694BBfd/sources/Strategy.sol
* Resolve governance address from Vault contract, used to make assertions on protected functions in the Strategy./
function governance() internal view returns (address) { return vault.governance(); }
5,277,470
[ 1, 8460, 314, 1643, 82, 1359, 1758, 628, 17329, 6835, 16, 1399, 358, 1221, 7820, 603, 4750, 4186, 316, 326, 19736, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 915, 314, 1643, 82, 1359, 1435, 2713, 1476, 1135, 261, 2867, 13, 288, 203, 565, 327, 9229, 18, 75, 1643, 82, 1359, 5621, 203, 97, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// File: @airswap/types/contracts/Types.sol /* Copyright 2019 Swap Holdings Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
* @title Wrapper: Send and receive ether for WETH trades/ Swap contract to settle trades WETH contract to wrap ether
contract Wrapper { ISwap public swapContract; IWETH public wethContract; uint256 constant MAX_INT = 2**256 - 1; constructor( address _swapContract, address _wethContract } ) public { swapContract = ISwap(_swapContract); wethContract = IWETH(_wethContract); wethContract.approve(_swapCo...
1,778,084
[ 1, 3611, 30, 2479, 471, 6798, 225, 2437, 364, 678, 1584, 44, 1284, 5489, 19, 12738, 6835, 358, 444, 5929, 1284, 5489, 678, 1584, 44, 6835, 358, 2193, 225, 2437, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 18735, 288, 203, 203, 225, 4437, 91, 438, 1071, 7720, 8924, 31, 203, 203, 225, 467, 59, 1584, 44, 1071, 341, 546, 8924, 31, 203, 203, 225, 2254, 5034, 5381, 4552, 67, 3217, 273, 576, 636, 5034, 300, 404, 31, 203, 225, ...
./full_match/43114/0xCb31480736947d8fDa34184271Fe909566cCeC5C/sources/contracts/dcphr.sol
change price per unit
uint256 public cost = .35 ether;
4,558,188
[ 1, 3427, 6205, 1534, 2836, 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, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1071, 6991, 273, 263, 4763, 225, 2437, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
/** *Submitted for verification at Etherscan.io on 2022-01-18 */ pragma solidity 0.6.12; // SPDX-License-Identifier: GPL-3.0-only /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, bec...
Accept an ETH deposit from a network contract Get contract key Update contract balance Emit ether deposited event
function depositEther() override external payable onlyLatestNetworkContract { bytes32 contractKey = keccak256(abi.encodePacked(getContractName(msg.sender))); balances[contractKey] = balances[contractKey].add(msg.value); emit EtherDeposited(contractKey, msg.value, now); }
2,006,604
[ 1, 5933, 392, 512, 2455, 443, 1724, 628, 279, 2483, 6835, 968, 6835, 498, 2315, 6835, 11013, 16008, 225, 2437, 443, 1724, 329, 871, 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, 443, 1724, 41, 1136, 1435, 3849, 3903, 8843, 429, 1338, 18650, 3906, 8924, 288, 203, 3639, 1731, 1578, 6835, 653, 273, 417, 24410, 581, 5034, 12, 21457, 18, 3015, 4420, 329, 12, 588, 8924, 461, 12, 3576, 18, 15330, 3719...
/** *Submitted for verification at Etherscan.io on 2021-03-19 */ // SPDX-License-Identifier: MIT pragma solidity >=0.8.2; // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.0/contracts/utils/math/SafeMath.sol // CAUTION - only use with Solidity 0.8 + /** * @dev Wrappers over Solidity's arit...
Current claim count
uint256 private _cCount;
2,032,349
[ 1, 3935, 7516, 1056, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 3238, 389, 71, 1380, 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, -...
pragma solidity 0.5.17; contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender(...
* @dev Sets the values for `name`, `symbol`, and `decimals`. All three of these values are immutable: they can only be set once during construction./
constructor (string memory name, string memory symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; }
7,393,751
[ 1, 2785, 326, 924, 364, 1375, 529, 9191, 1375, 7175, 9191, 471, 1375, 31734, 8338, 4826, 8925, 434, 4259, 924, 854, 11732, 30, 2898, 848, 1338, 506, 444, 3647, 4982, 16171, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 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, 261, 1080, 3778, 508, 16, 533, 3778, 3273, 16, 2254, 28, 15105, 13, 1071, 288, 203, 203, 203, 3639, 389, 529, 273, 508, 31, 203, 203, 203, 3639, 389, 7175, 273, 3273, 31, 203, 203, 203, 3639, 389, 31734, 273, 15105, ...
./full_match/3/0x1D3bB909600c6c2F3Ae6014EDb3a9b5F5cf20aA3/sources/browser/OwnablePayable.sol
* Transfers control of the contract to a newOwner @param newOwner The address to transfer ownership to/
function _transferOwnership(address payable newOwner) internal { require(newOwner != address(0), 'Not transferable to nobody'); _owner = newOwner; emit OwnershipTransferred(_owner, newOwner); }
8,115,057
[ 1, 1429, 18881, 3325, 434, 326, 6835, 358, 279, 394, 5541, 225, 394, 5541, 1021, 1758, 358, 7412, 23178, 358, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13866, 5460, 12565, 12, 2867, 8843, 429, 394, 5541, 13, 2713, 288, 203, 3639, 2583, 12, 2704, 5541, 480, 1758, 12, 20, 3631, 296, 1248, 7412, 429, 358, 290, 947, 973, 8284, 203, 3639, 389, 8443, 273, 394, 5541, 3...
./full_match/3/0xEe7e8Efd95Fa33a0e65677a519B9e35adE044304/sources/browser/comreserve.sol
This can be increased, use info() to see the up to date unlocking time
unlockDate = 1593885600;
8,137,494
[ 1, 2503, 848, 506, 31383, 16, 999, 1123, 1435, 358, 2621, 326, 731, 358, 1509, 7186, 310, 813, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7186, 1626, 273, 4711, 11180, 5482, 4313, 713, 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, ...
./full_match/1/0xcf12800894d3fc9c53f243E3B3179Fe99A4ABdf1/sources/contracts/seekrewards.sol
Total withdraw amount
uint256 public totalWithdraw;
9,620,574
[ 1, 5269, 598, 9446, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2078, 1190, 9446, 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, ...
pragma solidity ^0.4.24; import "./../tokens/RightsBaseToken.sol"; import "./../utils/RDDNControl.sol"; import "./../utils/ManagerRole.sol"; import "./../interfaces/ITokenManager.sol"; import "./../utils/OwnerLinkedIdList.sol"; import "openzeppelin-solidity/math/SafeMath.sol"; import "openzeppelin-solidity/utils/Addr...
@dev Transfer the specified amount of token from the specified address to the specified address. @param _from Sender address. @param _to Receiver address. @param _value Amount of tokens that will be transferred. @param _tokenId token identifer.
function transferFrom( address _from, address _to, uint256 _value, uint256 _tokenId ) public whenNotPaused returns (bool) { require(_exists(_tokenId)); RightsBaseToken token = RightsBaseToken(contracts[_tokenId]); require(_value <= token.balanceOf(_from))...
12,926,910
[ 1, 5912, 326, 1269, 3844, 434, 1147, 628, 326, 1269, 1758, 358, 326, 1269, 1758, 18, 225, 389, 2080, 225, 15044, 1758, 18, 225, 389, 869, 565, 31020, 1758, 18, 225, 389, 1132, 16811, 434, 2430, 716, 903, 506, 906, 4193, 18, 225, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7412, 1265, 12, 203, 3639, 1758, 389, 2080, 16, 203, 3639, 1758, 389, 869, 16, 203, 3639, 2254, 5034, 389, 1132, 16, 203, 3639, 2254, 5034, 389, 2316, 548, 203, 565, 262, 1071, 1347, 1248, 28590, 1135, 261, 6430, 13, ...
./partial_match/1/0x21aa8D3eEe8be2333eD180e9A5A8C0729C9B652c/sources/EnsSubdomainFactory.sol
* @title EnsSubdomainFactory @dev Allows to create and configure a first level subdomain for Ethereum ENS in one call. After deploying this contract, change the owner of the top level domain you want to use to this deployed contract address. For example, transfer the ownership of "startonchain.eth" so anyone can create...
contract EnsSubdomainFactory { address public owner; EnsRegistry public registry; EnsResolver public resolver; bool public locked; bytes32 ethNameHash = 0x93cdeb708b7545dc668eb9280176169d1c33cfd8ed6f04690a0bcc88a93fc4ae; event SubdomainCreated(address indexed creator, address indexed owner, string subdomai...
2,633,298
[ 1, 664, 87, 1676, 4308, 1733, 225, 25619, 358, 752, 471, 5068, 279, 1122, 1801, 16242, 364, 512, 18664, 379, 512, 3156, 316, 1245, 745, 18, 7360, 7286, 310, 333, 6835, 16, 2549, 326, 3410, 434, 326, 1760, 1801, 2461, 1846, 2545, 358...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 1374, 87, 1676, 4308, 1733, 288, 203, 202, 2867, 1071, 3410, 31, 203, 565, 1374, 87, 4243, 1071, 4023, 31, 203, 202, 664, 87, 4301, 1071, 5039, 31, 203, 202, 6430, 1071, 8586, 31, 203, 565, 1731, 1578, 13750, 461, 2310, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // ERC721URIStorage allows you to set tokenURI after minting // ERC721Holder ensures that a smart contract can hold NFTs import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder...
restrict to the sender of the sales transaction
modifier onlySalesTransactionSender(uint256 _txIndex, SalesTransaction[] storage _salesTransactions) { require(_salesTransactions[_txIndex].from == msg.sender, "not the sales transaction sender"); _; }
1,783,551
[ 1, 30604, 358, 326, 5793, 434, 326, 272, 5408, 2492, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1338, 23729, 3342, 12021, 12, 11890, 5034, 389, 978, 1016, 16, 25996, 3342, 8526, 2502, 389, 87, 5408, 14186, 13, 288, 203, 1377, 2583, 24899, 87, 5408, 14186, 63, 67, 978, 1016, 8009, 2080, 422, 1234, 18, 15330, 16, 3...
./partial_match/3/0x5116a45d89bf8Fbb2c87f9a49A9e348C9B4b79D6/sources/Faucet.sol
_fauceteer(0xF0A6664A0A8E95696BffB121A4fb0B1fC8C93d9E);
_fauceteer(0xF0A6664A0A8E95696BffB121A4fb0B1fC8C93d9E);
5,053,262
[ 1, 67, 507, 5286, 278, 4943, 12, 20, 16275, 20, 37, 6028, 1105, 37, 20, 37, 28, 41, 29, 4313, 10525, 38, 1403, 38, 26009, 37, 24, 19192, 20, 38, 21, 74, 39, 28, 39, 11180, 72, 29, 41, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3639, 389, 507, 5286, 278, 4943, 12, 20, 16275, 20, 37, 6028, 1105, 37, 20, 37, 28, 41, 29, 4313, 10525, 38, 1403, 38, 26009, 37, 24, 19192, 20, 38, 21, 74, 39, 28, 39, 11180, 72, 29, 41, 1769, 225, 2, -100, -100, -100, -...
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) { if (a == 0) { return ...
* @dev Source of tokens. Override this method to modify the way in which the crowdsale ultimately gets and sends its tokens. @param _beneficiary Address performing the token purchase @param _tokenAmount Number of tokens to be emitted/
function _deliverTokens(address _beneficiary, uint256 _tokenAmount) internal { token.transfer(_beneficiary, _tokenAmount); }
107,936
[ 1, 1830, 434, 2430, 18, 1439, 333, 707, 358, 5612, 326, 4031, 316, 1492, 326, 276, 492, 2377, 5349, 225, 406, 381, 5173, 5571, 471, 9573, 2097, 2430, 18, 225, 389, 70, 4009, 74, 14463, 814, 5267, 14928, 326, 1147, 23701, 225, 389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 26672, 5157, 12, 2867, 389, 70, 4009, 74, 14463, 814, 16, 2254, 5034, 389, 2316, 6275, 13, 2713, 288, 203, 3639, 1147, 18, 13866, 24899, 70, 4009, 74, 14463, 814, 16, 389, 2316, 6275, 1769, 203, 565, 289, 203, 20...
./full_match/137/0xdB3C43088Cc6Cbcc1cD51eA27F73E4811813f146/sources/contracts/fvz.sol
SPDX-License-Identifier: MIT
contract Token { mapping(address => uint) public balances; mapping(address => mapping(address => uint)) public allowance; uint public totalSupply = 1000000000000 * 10 ** 18; string public name = "Poker Star Tournament Token"; string public symbol = "PSTT"; uint public decimals = 18; eve...
4,709,421
[ 1, 3118, 28826, 17, 13211, 17, 3004, 30, 490, 1285, 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, 16351, 3155, 288, 203, 565, 2874, 12, 2867, 516, 2254, 13, 1071, 324, 26488, 31, 203, 565, 2874, 12, 2867, 516, 2874, 12, 2867, 516, 2254, 3719, 1071, 1699, 1359, 31, 203, 565, 2254, 1071, 2078, 3088, 1283, 273, 15088, 9449, 380,...
./full_match/1/0x2fB140574f02b3043a7B2342017f7E1A3a4f98Cb/sources/contracts/PoolPositionDynamicSlim.sol
binId changed; update it for contract
binIds[0] = newBinId;
3,849,596
[ 1, 4757, 548, 3550, 31, 1089, 518, 364, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4158, 2673, 63, 20, 65, 273, 394, 9913, 548, 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, ...
./partial_match/1/0x6B83aC391c59FEA54e48517FD5b5B1084f81c50B/sources/BitDividend.sol
These are going to store the popcorn perk taxes, which are reduced. See below
contract BitDividend is IBEP20, Auth { using SafeMath for uint256; string constant _name = "Bit Dividend"; string constant _symbol = "BitDiv"; uint8 constant _decimals = 9; address DEAD = 0x000000000000000000000000000000000000dEaD; address ZERO = 0x0000000000000000000000000000000000000000...
4,265,373
[ 1, 29690, 854, 8554, 358, 1707, 326, 1843, 3850, 82, 1534, 79, 5320, 281, 16, 1492, 854, 13162, 18, 2164, 5712, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 6539, 7244, 26746, 353, 467, 5948, 52, 3462, 16, 3123, 288, 203, 377, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 533, 5381, 389, 529, 273, 315, 5775, 21411, 26746, 14432, 203, 565, 533, 5381, 389, 71...
// File: node_modules\@openzeppelin\contracts\introspection\IERC165.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of con...
* @dev See {IERC1155-safeBatchTransferFrom}./
function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require(ids.length == amounts.length...
11,817,094
[ 1, 9704, 288, 45, 654, 39, 2499, 2539, 17, 4626, 4497, 5912, 1265, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 445, 4183, 4497, 5912, 1265, 12, 203, 5411, 1758, 628, 16, 203, 5411, 1758, 358, 16, 203, 5411, 2254, 5034, 8526, 3778, 3258, 16, 203, 5411, 2254, 5034, 8526, 3778, 30980, 16, 203, 5411, 1731, 3778, 501, 203, 3639, 262, 203...
/** *Submitted for verification at Etherscan.io on 2022-03-14 */ /** *Submitted for verification at Etherscan.io on 2022-02-14 */ /** *Submitted for verification at Etherscan.io on 2022-01-25 */ // SPDX-License-Identifier: MIT pragma solidity ^0.5.6; // import "@openzeppelin/contracts/ownership/Ownable.sol"; //...
* @notice This function is used to add address of admins @dev Fuction take address type argument @param admin The account address of admin/
function addAdmin(address admin) public onlyOwner { if (!adminExist(admin)) { admins.push(admin); revert("admin already in list"); } emit AdminAdded(admin, block.timestamp); }
5,854,279
[ 1, 2503, 445, 353, 1399, 358, 527, 1758, 434, 31116, 225, 478, 4062, 4862, 1758, 618, 1237, 225, 3981, 1021, 2236, 1758, 434, 3981, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 527, 4446, 12, 2867, 3981, 13, 1071, 1338, 5541, 288, 203, 3639, 309, 16051, 3666, 4786, 12, 3666, 3719, 288, 203, 5411, 31116, 18, 6206, 12, 3666, 1769, 203, 5411, 15226, 2932, 3666, 1818, 316, 666, 8863, 203, 3639, 28...
pragma solidity ^0.4.16; /* * Abstract Token Smart Contract. Copyright © 2017 by ABDK Consulting. * Author: Mikhail Vladimirov <mikhail.vladimirov@gmail.com> */ pragma solidity ^0.4.20; /* * EIP-20 Standard Token Smart Contract Interface. * Copyright © 2016–2018 by ABDK Consulting. * Author: Mikhail Vladimirov...
* Get symbol of this token. @return symbol of this token/
function symbol () public pure returns (string result) { return "KLIX"; }
12,205,714
[ 1, 967, 3273, 434, 333, 1147, 18, 327, 3273, 434, 333, 1147, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 3273, 1832, 1071, 16618, 1135, 261, 1080, 563, 13, 288, 203, 565, 327, 315, 47, 2053, 60, 14432, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/4/0x67141005b5B81293b94B5c6541d54Bf5C9A44F62/sources/contracts/crypto-bugs-short.sol
Updates the internal state, this is done before the transfer to prevent re-entrancy bugs.
amountsWithdrew[msg.sender] += transferring;
736,821
[ 1, 5121, 326, 2713, 919, 16, 333, 353, 2731, 1865, 326, 7412, 358, 5309, 283, 17, 8230, 12514, 22398, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 30980, 1190, 72, 16052, 63, 3576, 18, 15330, 65, 1011, 906, 74, 20245, 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/1/0x6397B894b1C68951Bb7164979bf8a95CCebA540b/sources/contracts/FixedVesting.sol
* @dev Insert new vestings @param _datetime Vesting datetime @param _ratio_d2 Vesting ratio in percent (decimal 2)/
function _newVesting( uint128[] calldata _datetime, uint128[] calldata _ratio_d2 ) private { require(_datetime.length == _ratio_d2.length, "!good"); uint128 vestingSize = vestingLength; for(uint128 i=0; i<_datetime.length; i++){ if(i != _datetime.length-1) re...
8,336,689
[ 1, 4600, 394, 331, 395, 899, 225, 389, 6585, 776, 10100, 3314, 225, 389, 9847, 67, 72, 22, 776, 10100, 7169, 316, 5551, 261, 12586, 576, 13176, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 2704, 58, 10100, 12, 203, 3639, 2254, 10392, 8526, 745, 892, 389, 6585, 16, 203, 3639, 2254, 10392, 8526, 745, 892, 389, 9847, 67, 72, 22, 203, 565, 262, 3238, 288, 203, 3639, 2583, 24899, 6585, 18, 2469, 422, 38...
./full_match/1/0x9eE4530EE122E82c700Ef355CC9b8F11079AE636/sources/contracts/incentives/YieldDistributorAdapter.sol
reserve internal asset -> variable yield distributors
mapping(address => address) private _reserveToVDistributor;
3,217,611
[ 1, 455, 6527, 2713, 3310, 317, 2190, 2824, 1015, 665, 13595, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 2874, 12, 2867, 516, 1758, 13, 3238, 389, 455, 6527, 774, 58, 1669, 19293, 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, ...