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.5.16; pragma experimental ABIEncoderV2; import "../../Vault/Utils/Address.sol"; import "../../Vault/Utils/SafeBEP20.sol"; import "../../Vault/Utils/IBEP20.sol"; import "../../Vault/Utils/ReentrancyGuard.sol"; import "./XVSVaultStrategyProxy.sol"; import "./XVSVaultStrategyStorage.sol"; // This cont...
Transfer XVS to user wallet
function executeWithdrawal(address _userAddress) external nonReentrant onlyAdminVault { IXVSVault(xvsVault).executeWithdrawal(xvs, pid); IBEP20(xvs).safeTransferFrom(address(this), _userAddress, IBEP20(xvs).balanceOf(address(this))); }
2,492,535
[ 1, 4625, 348, 7953, 560, 30, 225, 12279, 1139, 14640, 358, 729, 9230, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1836, 1190, 9446, 287, 12, 2867, 389, 1355, 1887, 13, 3903, 1661, 426, 8230, 970, 1338, 4446, 12003, 288, 203, 3639, 467, 60, 14640, 12003, 12, 92, 6904, 12003, 2934, 8837, 1190, 9446, 287, 12, 92, 6904, 16, 4231, 1769,...
./full_match/1/0x130F2Bd05f45E44D01B83bF05AEd31CE9533097A/sources/project_/contracts/Waves.sol
Traits rarities (normal distribution)Grid sizeEllipse sizeWave speedVariation
constructor() ERC721A("Gen Waves", "WVS") { rarities = [ 0, 75, 125, 175, 225, 175, 125, 75, 25 ]; traitValues[0] = ['0', '18', '20', '22', '24', '26', '28', '30', '32']; tra...
3,000,907
[ 1, 4625, 348, 7953, 560, 30, 2197, 1282, 436, 297, 1961, 261, 6130, 7006, 13, 6313, 963, 4958, 10472, 963, 22368, 8632, 23771, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 4232, 39, 27, 5340, 37, 2932, 7642, 678, 6606, 3113, 315, 59, 14640, 7923, 288, 203, 3639, 436, 297, 1961, 273, 306, 203, 5411, 374, 16, 203, 5411, 18821, 16, 203, 5411, 30616, 16, 203, 5411, 404, 5877, 16, 203...
pragma solidity ^0.4.11; import "./HTLCBase.sol"; import "./StoremanGroupAdminInterface.sol"; import "./WTokenManagerInterface.sol"; contract HTLCWETH is HTLCBase { /** * * VARIABLES * */ /// @notice weth manager address address public wethManager; /// @notice storeman group admin...
@notice internal function to determine if an address is a contract @param addr the address being queried @return true if `addr` is a contract
function isContract(address addr) internal view returns(bool) { uint size; if (addr == 0) return false; assembly { size := extcodesize(addr) } return size > 0; }
5,389,619
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1377, 2713, 445, 358, 4199, 309, 392, 1758, 353, 279, 6835, 632, 891, 225, 3091, 326, 1758, 3832, 23264, 632, 2463, 1377, 638, 309, 1375, 4793, 68, 353, 279, 6835, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 353, 8924, 12, 2867, 3091, 13, 7010, 3639, 2713, 7010, 3639, 1476, 7010, 3639, 1135, 12, 6430, 13, 7010, 565, 288, 203, 3639, 2254, 963, 31, 203, 3639, 309, 261, 4793, 422, 374, 13, 327, 629, 31, 203, 3639, 19931, 288...
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.6; import {CrowdfundProxy} from "./CrowdfundProxy.sol"; import {CrowdfundLogic} from "./CrowdfundLogic.sol"; import {ICrowdfund} from "./interface/ICrowdfund.sol"; import {ITributaryRegistry} from "../../../interface/ITributaryRegistry.sol"; import {Gove...
* @notice Mints tokens for the sender propotional to the amount of ETH sent in the transaction. @dev Emits the Contribution event./
function contribute(address payable backer, uint256 amount) external payable nonReentrant { _contribute(backer, amount); }
6,307,283
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 490, 28142, 2430, 364, 326, 5793, 2270, 8240, 287, 358, 326, 225, 3844, 434, 512, 2455, 3271, 316, 326, 2492, 18, 632, 5206, 7377, 1282, 326, 735, 4027, 871, 18, 19, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 356, 887, 12, 2867, 8843, 429, 1473, 264, 16, 2254, 5034, 3844, 13, 203, 3639, 3903, 203, 3639, 8843, 429, 203, 3639, 1661, 426, 8230, 970, 203, 565, 288, 203, 3639, 389, 591, 887, 12, 823, 264, 16, 3844, 1769, 203, ...
/* * Copyright 2020, NTT Communications Corp. * * 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...
prepare for accepted().
function tokensReceived( address /*operator*/, address from, address /*to*/, uint256 /*amount*/, bytes calldata userData, bytes calldata /*operatorData*/ ) external override { IERC777 token = IERC777(msg.sender); _tasks.push(Task({ ...
15,847,500
[ 1, 4625, 348, 7953, 560, 30, 225, 2911, 364, 8494, 7675, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2430, 8872, 12, 203, 3639, 1758, 1748, 9497, 5549, 16, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 1748, 869, 5549, 16, 203, 3639, 2254, 5034, 1748, 8949, 5549, 16, 203, 3639, 1731, 745, 892, 13530, 16, 203, 3639, 1731, ...
./full_match/5/0x2B0DDE58B91671E1216c59de7b27944D332cf601/sources/contracts/Contract.sol
The setAccess function allows users to set access controls for their data. Check that the user calling the function is the owner of the data. Set the access control for the specified user.
function setAccess(bytes32 _data, address _user, bool _access) public { require(msg.sender == dataOwners[_data], "Only the owner of the data can set access controls."); dataAccess[_data][_user] = _access; }
1,949,778
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 444, 1862, 445, 5360, 3677, 358, 444, 2006, 11022, 364, 3675, 501, 18, 2073, 716, 326, 729, 4440, 326, 445, 353, 326, 3410, 434, 326, 501, 18, 1000, 326, 2006, 3325, 364, 326, 1269, 729, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 1862, 12, 3890, 1578, 389, 892, 16, 1758, 389, 1355, 16, 1426, 389, 3860, 13, 1071, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 501, 5460, 414, 63, 67, 892, 6487, 315, 3386, 326, 3410, 434, 326, 501, 848, 4...
pragma solidity ^0.4.23; import '../interfaces/StorageInterface.sol'; contract Proxy { // Registry storage address public proxy_admin; StorageInterface public app_storage; bytes32 public registry_exec_id; address public provider; bytes32 public app_name; // App storage bytes32 public app_version; ...
Returns the first 4 bytes of calldata
function getSelector(bytes memory _calldata) internal pure returns (bytes4 selector) { assembly { selector := and( mload(add(0x20, _calldata)), 0xffffffff00000000000000000000000000000000000000000000000000000000 ) } }
6,423,647
[ 1, 4625, 348, 7953, 560, 30, 225, 2860, 326, 1122, 1059, 1731, 434, 745, 892, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8880, 1229, 12, 3890, 3778, 389, 1991, 892, 13, 2713, 16618, 1135, 261, 3890, 24, 3451, 13, 288, 203, 565, 19931, 288, 203, 1377, 3451, 519, 471, 12, 203, 3639, 312, 945, 12, 1289, 12, 20, 92, 3462, 16, 389, 1991, 8...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; // Contracts import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol"; import "../utils/Modifiers.sol"; // Libraries import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/math/SafeCast.sol"; import "@ope...
* @dev Returns the token collection symbol./
function symbol() public view returns (string memory) { return LibERC721.erc721Storage().symbol; }
5,352,446
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 1147, 1849, 3273, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3778, 13, 288, 203, 3639, 327, 10560, 654, 39, 27, 5340, 18, 12610, 27, 5340, 3245, 7675, 7175, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity 0.4.24; // File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint25...
Modifiers/ Contract on stage
modifier atStage(Stages _stage) { require(stage == _stage); _; }
1,126,832
[ 1, 4625, 348, 7953, 560, 30, 282, 3431, 3383, 19, 13456, 603, 6009, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9606, 622, 8755, 12, 31359, 389, 12869, 13, 288, 203, 3639, 2583, 12, 12869, 422, 389, 12869, 1769, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./partial_match/1/0xCd5DC9d13150e97a26F04Cb4134F4192b5590D0F/sources/HOD.sol
*****************/ exlcude from fees and max transaction amount store addresses that a automatic market maker pairs. Any transfer *to* these addresses could be subject to a maximum transfer amount exclude from paying fees or having max transaction amount
function _beforeTokenTransfer( address from, address to, uint256 amount IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address public treasuryAddress; address pu...
2,621,300
[ 1, 4625, 348, 7953, 560, 30, 380, 2751, 19, 431, 17704, 1317, 628, 1656, 281, 471, 943, 2492, 3844, 1707, 6138, 716, 279, 5859, 13667, 312, 6388, 5574, 18, 5502, 7412, 380, 869, 14, 4259, 6138, 3377, 506, 3221, 358, 279, 4207, 7412,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 5771, 1345, 5912, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 3844, 203, 203, 565, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 1071, 640, 291, 91, 438, 58, 22, 8259, 31, 203, ...
/* solhint-disable const-name-snakecase*/ // SPDX-License-Identifier: MIT /* * MIT License * =========== * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, includin...
@notice A checkpoint for marking number of votes from a given block
struct Checkpoint { uint32 fromBlock; uint256 votes; } bool public constant override isPendleToken = true; string public constant name = "Pendle"; string public constant symbol = "PENDLE"; uint8 public constant decimals = 18; uint256 public override totalSupply; uint256...
7,212,602
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 432, 9776, 364, 24073, 1300, 434, 19588, 628, 279, 864, 1203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1958, 25569, 288, 203, 3639, 2254, 1578, 628, 1768, 31, 203, 3639, 2254, 5034, 19588, 31, 203, 565, 289, 203, 203, 565, 1426, 1071, 5381, 3849, 29962, 409, 298, 1345, 273, 638, 31, 203, 565, 533, 1071, 5381, 508, 273, 315, ...
./full_match/4/0x8edd685CB964A78C1a82C3059F3FAce2BFaA5F3F/sources/contracts/JBTokenStore.sol
********************************************************************* --------------------------- custom errors ------------------------- *********************************************************************
error EMPTY_NAME();
12,506,086
[ 1, 4625, 348, 7953, 560, 30, 19756, 1007, 12146, 15392, 1679, 1334, 12146, 788, 19756, 1007, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1636, 8984, 67, 1985, 5621, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/3/0x0F7e3a25daFa02975068550D52C04d322A13dd75/sources/Users/akshaycm/Documents/rfits-token/contracts/RfiToken.sol
sav3 transfer function calculate liquidity lock amount dont transfer burn from this contract or can never lock full lockable amountCalculate fee to go to Liq poolAdd liq with liqpooladdition partTransfer to liq lock amountAdd liq to pair
function _transfer(address from, address to, uint256 amount) internal override { if(locked && unlocked[from] != true && unlocked[to] != true) revert("Locked until end of presale"); if (liquidityLockDivisor != 0 && feelessAddr[from] == false && feelessAddr[to] == false) { ui...
8,162,265
[ 1, 4625, 348, 7953, 560, 30, 4087, 23, 7412, 445, 4604, 4501, 372, 24237, 2176, 3844, 14046, 7412, 18305, 628, 333, 6835, 578, 848, 5903, 2176, 1983, 2176, 429, 3844, 8695, 14036, 358, 1960, 358, 511, 18638, 2845, 986, 4501, 85, 598, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 565, 445, 389, 13866, 12, 2867, 628, 16, 1758, 358, 16, 2254, 5034, 3844, 13, 2713, 3849, 225, 288, 203, 3639, 309, 12, 15091, 597, 25966, 63, 2080, 65, 480, 638, 597, 25966, 63, 869, 65, 480, 638, 13, 203, 5411, 15226, 2932, ...
./full_match/84531/0x5e4ECd793C2C52F6424972ef547846C895aB69f9/sources/contract-bc341c7d4a.sol
@custom:security-contact security@rocksolid.land
contract RockSolid is ERC20, Pausable, Ownable { pragma solidity ^0.8.9; constructor() ERC20("Rock Solid", "ROSO") { _mint(msg.sender, 1000000000 * 10 ** decimals()); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } ...
14,319,993
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 3662, 30, 7462, 17, 8994, 4373, 36, 26926, 30205, 18, 15733, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 534, 975, 25044, 353, 4232, 39, 3462, 16, 21800, 16665, 16, 14223, 6914, 288, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 29, 31, 203, 565, 3885, 1435, 4232, 39, 3462, 2932, 54, 975, 348, 7953, 3113, 315, 1457, 358...
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.7; pragma experimental ABIEncoderV2; import {OwnershipRolesTemplate} from "./util/OwnershipRolesTemplate.sol"; import {BlocklistBase} from "./util/BlocklistBase.sol"; contract Blocklist is OwnershipRolesTemplate, BlocklistBase { bytes32 public constant BL...
solhint-disable */ Inspired by alchemix smart contract gaurd at https:github.com/alchemix-finance/alchemix-protocol/blob/master/contracts/Alchemist.sol#L680 @dev Checks that caller is a EOA. This is used to prevent contracts from interacting.
modifier noContractAllowed() { require(!address(_msgSender()).isContract() && _msgSender() == tx.origin, "USCB:NC"); _; } uint256[50] private ______gap;
9,902,073
[ 1, 4625, 348, 7953, 560, 30, 225, 3704, 11317, 17, 8394, 1195, 657, 1752, 2921, 635, 524, 1036, 697, 13706, 6835, 18812, 295, 72, 622, 2333, 30, 6662, 18, 832, 19, 287, 1036, 697, 17, 926, 1359, 19, 287, 1036, 697, 17, 8373, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 9606, 1158, 8924, 5042, 1435, 288, 203, 3639, 2583, 12, 5, 2867, 24899, 3576, 12021, 1435, 2934, 291, 8924, 1435, 597, 389, 3576, 12021, 1435, 422, 2229, 18, 10012, 16, 315, 57, 2312, 38, 30, 10346, 8863, 203, 3639, 389, 31,...
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when de...
super.initWhiteListAdmin();
) Wrap(_tokenAddress) { require( _minStake >= 0 && _maxStake > 0 && _maxStake >= _minStake, "Problem with min and max stake setup" ); require( address(_controller) != address(0), "controller can't be zero address" ); constructed...
610,355
[ 1, 4625, 348, 7953, 560, 30, 21114, 202, 9565, 18, 2738, 13407, 682, 4446, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 262, 4266, 24899, 2316, 1887, 13, 288, 203, 3639, 2583, 12, 203, 5411, 389, 1154, 510, 911, 1545, 374, 597, 389, 1896, 510, 911, 405, 374, 597, 389, 1896, 510, 911, 1545, 389, 1154, 510, 911, 16, 203, 5411, 315, 13719, 598...
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functio...
@dev Setup ERC721 and initial baseURI
{ _baseTokenURI = initBaseURI; _contractURI = contractUri; }
6,038,327
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 10939, 4232, 39, 27, 5340, 471, 2172, 1026, 3098, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 288, 203, 3639, 389, 1969, 1345, 3098, 273, 1208, 2171, 3098, 31, 203, 3639, 389, 16351, 3098, 273, 6835, 3006, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/3/0x3cF8f446865F3b27D40D6d1D919b3F6f4F784054/sources/browser/MasterChef.sol
Afterwards, give mkbReward based on the pool's fixed APR. Fast low gas cost way of calculating prices since this can be called every block.
uint256 mkbPrice = _getMkbPrice();
8,104,087
[ 1, 4625, 348, 7953, 560, 30, 225, 7360, 6397, 16, 8492, 5028, 70, 17631, 1060, 2511, 603, 326, 2845, 1807, 5499, 432, 8025, 18, 9545, 4587, 16189, 6991, 4031, 434, 21046, 19827, 3241, 333, 848, 506, 2566, 3614, 1203, 18, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 7734, 2254, 5034, 5028, 70, 5147, 273, 389, 588, 49, 8899, 5147, 5621, 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, -1...
./full_match/11155111/0x825F72D0421A5CB170b1E65813D531e97E5fF078/sources/contracts/facets/AdminFacet.sol
* @notice To be updated by contract owner to allow burning to claim a token for free + gas @param _burnClaimActive - new burn claim state @return bool - new burn claim state/
function setBurnClaimState(bool _burnClaimActive) external returns (bool) { LibDiamond.enforceIsContractOwner(); LibDiamondDapes.diamondDapesStorage().isBurnClaimActive = _burnClaimActive; return LibDiamondDapes.diamondDapesStorage().isBurnClaimActive; }
3,799,195
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2974, 506, 3526, 635, 6835, 3410, 358, 1699, 18305, 310, 358, 7516, 279, 1147, 364, 4843, 397, 16189, 632, 891, 389, 70, 321, 9762, 3896, 300, 394, 18305, 7516, 919, 632, 2463, 1426, 300...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 15268, 321, 9762, 1119, 12, 6430, 389, 70, 321, 9762, 3896, 13, 3903, 1135, 261, 6430, 13, 288, 203, 565, 10560, 14521, 301, 1434, 18, 275, 5734, 2520, 8924, 5541, 5621, 203, 565, 10560, 14521, 301, 1434, 40, 7315, 18, ...
./partial_match/1/0x1402c061e2AeC7b41AE4911b40F7B340489dD1da/sources/DOSProxy.sol
groupSize must be an odd number.
function setGroupSize(uint newSize) public onlyOwner { require(newSize != groupSize && newSize % 2 != 0, "invalid-parameter"); groupSize = newSize; }
4,493,219
[ 1, 4625, 348, 7953, 560, 30, 225, 1041, 1225, 1297, 506, 392, 14800, 1300, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 1114, 1225, 12, 11890, 21402, 13, 1071, 1338, 5541, 288, 203, 3639, 2583, 12, 2704, 1225, 480, 1041, 1225, 597, 21402, 738, 576, 480, 374, 16, 315, 5387, 17, 6775, 8863, 203, 3639, 1041, 1225, 273, 21402, 31, 203, ...
./full_match/137/0x8C9C7D42264E744b12EE42770E6de612bc0fcb9A/sources/project_/contracts/DistrictPower.sol
* @notice Transfer operator/
function transferOperator(address _operator) external { require(msg.sender == operator, "Only operator"); require(_operator != address(0), "Invalid address"); operator = _operator; }
3,776,989
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 12279, 3726, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5592, 12, 2867, 389, 9497, 13, 3903, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 3726, 16, 315, 3386, 3726, 8863, 203, 3639, 2583, 24899, 9497, 480, 1758, 12, 20, 3631, 315, 1941, 1758, 8863, 203, 3639, 3726, ...
pragma solidity 0.4.24; // File: node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * See https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); function ...
This modifier will be used to disable all ERC20 functionalities during the minting process.
modifier whenNotMinting() { require(mintingFinished); _; }
1,796,304
[ 1, 4625, 348, 7953, 560, 30, 225, 1220, 9606, 903, 506, 1399, 358, 4056, 777, 4232, 39, 3462, 18699, 1961, 4982, 326, 312, 474, 310, 1207, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1347, 1248, 49, 474, 310, 1435, 288, 203, 3639, 2583, 12, 81, 474, 310, 10577, 1769, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
//! The Secret Store server key retrieval service contract. //! //! Copyright 2017 Svyatoslav Nikolsky, Parity Technologies 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 //! //...
When server key is retrieved.
event ServerKeyRetrieved(bytes32 indexed serverKeyId, bytes serverKeyPublic);
12,717,659
[ 1, 4625, 348, 7953, 560, 30, 225, 5203, 1438, 498, 353, 10295, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 2575, 3224, 653, 3848, 2155, 12, 3890, 1578, 8808, 1438, 14140, 16, 1731, 1438, 653, 4782, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./partial_match/1/0xE49EfeDeD03F174cAB1d5F090864894c57C97aC5/sources/TrashART.sol
============================================================= STRUCTS =============================================================
interface IERC721A { error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); erro...
2,701,592
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 20775, 1432, 12275, 18701, 7128, 9749, 55, 422, 20775, 1432, 12275, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5831, 467, 654, 39, 27, 5340, 37, 288, 203, 565, 555, 1716, 685, 1125, 11095, 1248, 5541, 50, 280, 31639, 5621, 203, 203, 565, 555, 1716, 685, 1125, 1138, 1290, 3989, 19041, 1345, 5621, 203, 203, 565, 555, 30918, 1138, 1290, 7170...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.6; // From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol // Subject to the MIT license. /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wr...
* @notice allows a keeper to activate/register themselves after bonding/
function activate() external { require(bondings[msg.sender] != 0, "Keep3r::activate: bond first"); require(bondings[msg.sender] < now, "Keep3r::activate: still bonding"); if (!keepers[msg.sender]) { firstSeen[msg.sender] = now; } keepers[msg.sender] = true; ...
13,974,338
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 5360, 279, 417, 9868, 358, 10235, 19, 4861, 20968, 1839, 8427, 310, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 10235, 1435, 3903, 288, 203, 3639, 2583, 12, 26425, 899, 63, 3576, 18, 15330, 65, 480, 374, 16, 315, 11523, 23, 86, 2866, 10014, 30, 8427, 1122, 8863, 203, 3639, 2583, 12, 26425, 899, 63, 3576, 18, 15330, 65, 411, 203...
pragma solidity ^0.4.7; library Assert { event AssertionEvent( bool passed, string message ); function ok(bool a, string message) public returns (bool result) { result = a; emit AssertionEvent(result, message); } function equal(uint a, uint b, string message) public returns (bool result) { ...
TODO: needs to be convert to bytes first to be comparablefunction equal(string a, string b, string message) public returns (bool result) { result = (a == b); AssertionEvent(result, message);}
function notEqual(uint a, uint b, string message) public returns (bool result) { result = (a != b); emit AssertionEvent(result, message); }
1,067,753
[ 1, 4625, 348, 7953, 560, 30, 225, 2660, 30, 4260, 358, 506, 1765, 358, 1731, 1122, 358, 506, 25949, 915, 3959, 12, 1080, 279, 16, 533, 324, 16, 533, 883, 13, 1071, 1135, 261, 6430, 563, 13, 288, 225, 563, 273, 261, 69, 422, 324,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 486, 5812, 12, 11890, 279, 16, 2254, 324, 16, 533, 883, 13, 1071, 1135, 261, 6430, 563, 13, 288, 203, 565, 563, 273, 261, 69, 480, 324, 1769, 203, 565, 3626, 9067, 1133, 12, 2088, 16, 883, 1769, 203, 225, 289, 203, ...
./full_match/11155111/0x38B2871A838B672e6496d66Fe1Ad036daa228544/sources/contracts/manifold/creator-core/extensions/ERC721/IERC721CreatorExtensionBurnable.sol
* @dev Your extension is required to implement this interface if it wishes to receive the onBurn callback whenever a token the extension created is burned/
interface IERC721CreatorExtensionBurnable is IERC165 { function onBurn(address owner, uint256 tokenId) external; }
3,833,399
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 20471, 2710, 353, 1931, 358, 2348, 333, 1560, 309, 518, 14302, 281, 358, 6798, 326, 603, 38, 321, 1348, 17334, 279, 1147, 326, 2710, 2522, 353, 18305, 329, 19, 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, 5831, 467, 654, 39, 27, 5340, 10636, 3625, 38, 321, 429, 353, 467, 654, 39, 28275, 288, 203, 565, 445, 603, 38, 321, 12, 2867, 3410, 16, 2254, 5034, 1147, 548, 13, 3903, 31, 203, 203, 203, 97, 203, 2, -100, -100, -100, -100, ...
/** *Submitted for verification at Etherscan.io on 2021-02-19 */ // SPDX-License-Identifier: MIT AND GPL-3.0 // File: @openzeppelin/contracts/utils/Context.sol pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its dat...
* @param _stETH address of the StETH token to wrap/
{ stETH = _stETH; }
6,797,836
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 891, 389, 334, 1584, 44, 1758, 434, 326, 934, 1584, 44, 1147, 358, 2193, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 288, 203, 3639, 384, 1584, 44, 273, 389, 334, 1584, 44, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/3/0x2456f761A7b06c9dA4201b7ea1Bf9636C83D36F4/sources/contracts/CryptoBlobsTest1.sol
index 0 95-99 index 1 96-100 1.00 ETH
return 1.00 ether;
8,254,619
[ 1, 4625, 348, 7953, 560, 30, 225, 770, 374, 16848, 17, 2733, 565, 770, 404, 19332, 17, 6625, 1377, 404, 18, 713, 512, 2455, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 327, 404, 18, 713, 225, 2437, 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, -100, -1...
./full_match/42220/0x88130371F154e6E17CA3292a57269618a1b4503a/sources/pkg/pool-weighted/contracts/WeightedPool2TokensFactory_flat.sol
1e18 corresponds to 1.0, or a 100% fee Storage slot that can be used to store unrelated pieces of information. In particular, by default is used to store only the swap fee percentage of a pool. But it can be extended to store some more pieces of information. The swap fee percentage is stored in the most-significant 64...
abstract contract BasePool is IBasePool, BasePoolAuthorization, BalancerPoolToken, TemporarilyPausable { using WordCodec for bytes32; using FixedPoint for uint256; uint256 private constant _MIN_TOKENS = 2; uint256 private constant _DEFAULT_MINIMUM_BPT = 1e6; bytes32 private _miscData; uint25...
16,320,312
[ 1, 4625, 348, 7953, 560, 30, 225, 404, 73, 2643, 13955, 358, 404, 18, 20, 16, 578, 279, 2130, 9, 14036, 5235, 4694, 716, 848, 506, 1399, 358, 1707, 640, 9243, 10167, 434, 1779, 18, 657, 6826, 16, 635, 805, 353, 1399, 358, 1707, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3360, 2864, 353, 467, 2171, 2864, 16, 3360, 2864, 6063, 16, 605, 5191, 2864, 1345, 16, 3955, 3831, 10243, 16507, 16665, 288, 203, 565, 1450, 9926, 11008, 364, 1731, 1578, 31, 203, 565, 1450, 15038, 2148, 364, 2254, 503...
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; /** * @dev This contract provides a fallback function that relay all calls to another contract using the EVM * instruction `call`. We refer to the second contract as the _destContract behind the forwarder * * Additionally, forward to the _destContract can be...
* @dev Forwards the current call to `_destContract`. This function does not return to its internall call site, it will return directly to the external caller./ loading state variable to stack Copy msg.data. We take full control of memory in this inline assembly block because it will not return to Solidity code. We over...
function _forward(uint256 value) internal { assembly { let addr := sload(_destContract.slot) calldatacopy(0, 0, calldatasize()) let result := call(gas(), addr, value, 0, calldatasize(), 0, 0) returndatacopy(0, 0, returndatasize()) switch result...
1,055,418
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2457, 6397, 326, 783, 745, 358, 1375, 67, 10488, 8924, 8338, 1220, 445, 1552, 486, 327, 358, 2097, 8216, 454, 745, 2834, 16, 518, 903, 327, 5122, 358, 326, 3903, 4894, 18, 19, 7153, 919...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 11565, 12, 11890, 5034, 460, 13, 2713, 288, 203, 3639, 19931, 288, 203, 5411, 2231, 3091, 519, 272, 945, 24899, 10488, 8924, 18, 14194, 13, 203, 203, 5411, 745, 892, 3530, 12, 20, 16, 374, 16, 745, 13178, 554, 10...
./partial_match/3/0x8994560C6ec749D349c44B7853B4b8b35b2f2b2B/sources/FINMINITY.sol
------------------------------------------------------------------------ Constructor ------------------------------------------------------------------------
constructor() public { deployTime = block.timestamp; owner = 0x11d8a4BCd466308A15cCC11459A1172687fcc25F; balances[ecosys] = 4993000 * 10 ** (decimals); emit Transfer(address(0), ecosys, balances[ecosys]); locked[ecosys].initial = balances[ecosys]; lo...
5,185,310
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 17082, 11417, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1071, 288, 203, 540, 203, 3639, 7286, 950, 273, 1203, 18, 5508, 31, 203, 3639, 3410, 273, 374, 92, 2499, 72, 28, 69, 24, 16283, 72, 8749, 4449, 6840, 37, 3600, 71, 6743, 22214, 6162, 37, 23454, 5558, 11035, 74,...
//Address: 0xa12ed3bf21bc6a4571ee12ee85c55ab407221d10 //Contract name: Crowdsale //Balance: 0 Ether //Verification Date: 8/11/2017 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { funct...
Stores the contribution in wei Stores the amount received in TKR/
struct Contributor { uint256 contributed; uint256 received; } event ContributionReceived(address indexed to, uint256 value); event MigratedTokens(address indexed _address, uint256 value); uint256 public constant MINIMUM_CONTRIBUTION = 10 finney; uint256 public constant TOKENS_...
12,815,374
[ 1, 4625, 348, 7953, 560, 30, 225, 20296, 455, 326, 24880, 316, 732, 77, 20296, 455, 326, 3844, 5079, 316, 399, 47, 54, 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, 1958, 735, 19293, 288, 203, 3639, 2254, 5034, 356, 11050, 31, 203, 3639, 2254, 5034, 5079, 31, 203, 565, 289, 203, 203, 203, 565, 871, 735, 4027, 8872, 12, 2867, 8808, 358, 16, 2254, 5034, 460, 1769, 203, 565, 871, 490, 27...
// File: @openzeppelin\contracts\token\ERC20\IERC20.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view ret...
@notice Return staked amount + rewards
function balance(address account) public view returns (uint256) { uint256 totalShares = totalSupply(); return balanceOf(account).mul(dracula.balanceOf(address(this))).div(totalShares); }
2,384,466
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 2000, 384, 9477, 3844, 397, 283, 6397, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11013, 12, 2867, 2236, 13, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 2078, 24051, 273, 2078, 3088, 1283, 5621, 203, 3639, 327, 11013, 951, 12, 4631, 2934, 16411, 12, 27224, 1934, 69, 18, 12296, ...
pragma solidity ^0.4.11; contract PullPayInterface { function asyncSend(address _dest) public payable; } contract Governable { // list of admins, council at first spot address[] public admins; function Governable() { admins.length = 1; admins[0] = msg.sender; } modifier only...
* @dev called by the owner to unpause, returns to normal state/TODO: do some checks
function unpause() onlyAdmins whenPaused { paused = false; }
1,002,643
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2566, 635, 326, 3410, 358, 640, 19476, 16, 1135, 358, 2212, 919, 19, 6241, 30, 741, 2690, 4271, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 445, 640, 19476, 1435, 1338, 4446, 87, 1347, 28590, 288, 203, 565, 17781, 273, 629, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x383179f368e86eab1ADA5E31869cc5168FD4AF26/sources/contracts/lib/FixedPointMathLib.sol
@notice Arithmetic library with operations for fixed-point numbers. @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/utils/FixedPointMathLib.sol) @author Inspired by USM (https://github.com/usmfum/USM/blob/master/contracts/WadMath.sol)
library FixedPointMathLib { SIMPLIFIED FIXED POINT OPERATIONS pragma solidity >=0.8.0; function mulWadDown(uint256 x, uint256 y) internal pure returns (uint256) { } function mulWadUp(uint256 x, uint256 y) internal pure returns (uint256) { } function divWadDown(uint256 x, uint...
4,322,160
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 27443, 5313, 598, 5295, 364, 5499, 17, 1153, 5600, 18, 632, 4161, 348, 355, 81, 340, 261, 4528, 2207, 6662, 18, 832, 19, 54, 12954, 17, 4664, 7053, 19, 18281, 81, 340, 19, 10721, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 12083, 15038, 2148, 10477, 5664, 288, 203, 10792, 12875, 2053, 1653, 2056, 26585, 13803, 3217, 17205, 15297, 203, 203, 203, 683, 9454, 18035, 560, 1545, 20, 18, 28, 18, 20, 31, 203, 565, 445, 14064, 59, 361, 4164, 12, 11890, 5034, ...
./partial_match/1/0x2b99bEdE91684F28D9e9D04EF7558643e4EdD4D0/sources/@gearbox-protocol/core-v2/contracts/core/ContractsRegister.sol
@return Returns the number of registered credit managers
function getCreditManagersCount() external view override returns (uint256) { }
15,998,300
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2463, 2860, 326, 1300, 434, 4104, 12896, 21103, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1927, 10430, 17570, 1380, 1435, 3903, 1476, 3849, 1135, 261, 11890, 5034, 13, 288, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./partial_match/1/0xBb56454D6f7297FCA13A3Ba090ce3D6Bc0D6d7E1/sources/GoldChainCoin.sol
* @title Pausable token @dev ERC20 modified with pausable transfers./
contract GoldTokenPausable is ERC20, Pausable, BlacklistedRole { function transfer(address to, uint256 value) public whenNotPaused onlyNotBlacklisted returns (bool) { return super.transfer(to, value); } function transferFrom(address from, address to, uint256 value) public whenNotPaused onlyNotBlac...
4,075,618
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 21800, 16665, 1147, 632, 5206, 4232, 39, 3462, 4358, 598, 6790, 16665, 29375, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 611, 1673, 1345, 16507, 16665, 353, 4232, 39, 3462, 16, 21800, 16665, 16, 22467, 18647, 2996, 288, 203, 203, 565, 445, 7412, 12, 2867, 358, 16, 2254, 5034, 460, 13, 1071, 1347, 1248, 28590, 1338, 1248, 13155, 18647, 1135, 26...
// SPDX-License-Identifier: MIT /* MIT License Copyright (c) 2020 DITTO Money Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use,...
Each address can exist in the list exactly once.
function removeAddressFromInputsList(address _addr) internal { uint i = 0; while(inputAddresses[i] != _addr) { i++; } while(i < inputAddresses.length - 1) { inputAddresses[i] = inputAddresses[i+1]; i++; } ...
6,138,920
[ 1, 4625, 348, 7953, 560, 30, 225, 8315, 1758, 848, 1005, 316, 326, 666, 8950, 3647, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1206, 1887, 1265, 10059, 682, 12, 2867, 389, 4793, 13, 2713, 288, 203, 540, 203, 3639, 2254, 277, 273, 374, 31, 203, 540, 203, 3639, 1323, 12, 2630, 7148, 63, 77, 65, 480, 389, 4793, 13, 288, 203, 5411, 277, 9904, 3...
./full_match/100/0x9Ddb87A317CD8e02307b78fAfc3CC7f9b27e9d4d/sources/project_/contracts/InternalBondingCurveController.sol
* @notice Runs a check and transfers reserve tokens as needed @dev To avoid too many fees, this should be run at wide intervals such as daily @param _poolAddress - Address of pool being worked on./ vault.getPoolTokens(curveInfo.poolId);
function runCheck(address _poolAddress) public restricted nonReentrant { CurveValues memory curveInfo; curveInfo.managedPool = IManagedPool(_poolAddress); curveInfo.poolId = curveInfo.managedPool.getPoolId(); vault.getPool(curveInfo.poolId); }
14,279,767
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1939, 87, 279, 866, 471, 29375, 20501, 2430, 487, 3577, 632, 5206, 2974, 4543, 4885, 4906, 1656, 281, 16, 333, 1410, 506, 1086, 622, 14812, 10389, 4123, 487, 18872, 632, 891, 389, 6011, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1086, 1564, 12, 2867, 389, 6011, 1887, 13, 1071, 15693, 1661, 426, 8230, 970, 203, 565, 288, 203, 3639, 22901, 1972, 3778, 8882, 966, 31, 203, 3639, 8882, 966, 18, 19360, 2864, 273, 6246, 4184, 2864, 24899, 6011, 1887, ...
./full_match/3/0x569D6B551F5A1b635BFea1dC1EA2E7C6117490C9/sources/browser/Gonzo/001-RealMarines.sol
Remember to zero the pending refund before sending to prevent re-entrancy attacks
function refundFees() public onlyOwner returns (bool) { uint256 amount = fees; fees = 0; if (msg.sender.send(amount)) { return true; fees = amount; return false; } }
14,261,299
[ 1, 4625, 348, 7953, 560, 30, 225, 23133, 358, 3634, 326, 4634, 16255, 1865, 5431, 358, 5309, 283, 17, 8230, 12514, 28444, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 16255, 2954, 281, 1435, 1071, 1338, 5541, 1135, 261, 6430, 13, 288, 203, 540, 2254, 5034, 3844, 273, 1656, 281, 31, 203, 540, 203, 3639, 1656, 281, 273, 374, 31, 203, 203, 3639, 309, 261, 3576, 18, 15330, 18, 4661, 12...
./full_match/43114/0x333BE852042F435431967664e09315CC63593333/sources/contracts/MultichainProxy.sol
Check that router exists is performed inside the library
availableAnyRouters.add(_router);
4,643,938
[ 1, 4625, 348, 7953, 560, 30, 225, 2073, 716, 4633, 1704, 353, 9591, 4832, 326, 5313, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5411, 2319, 2961, 4583, 414, 18, 1289, 24899, 10717, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
//SPDX-License-Identifier: UNLICENSED pragma solidity >=0.4.24; import "../node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol"; contract FlightSuretyData { using SafeMath for uint256; /********************************************************************************************/ /* ...
* @dev Initial funding for the insurance. Unless there are too many delayed flights resulting in insurance payouts, the contract should be self-sustaining/
function fund ( ) public payable { }
12,591,773
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10188, 22058, 364, 326, 2763, 295, 1359, 18, 1351, 2656, 1915, 854, 4885, 4906, 15278, 1183, 10730, 1377, 8156, 316, 2763, 295, 1359, 293, 2012, 87, 16, 326, 6835, 1410, 506, 365, 17, 87,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 284, 1074, 203, 18701, 261, 203, 4766, 203, 18701, 262, 203, 18701, 1071, 203, 18701, 8843, 429, 203, 565, 288, 203, 540, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity ^0.4.18; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOw...
* @title Basic token @dev Basic version of StandardToken, with no allowances./
contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) public balances; function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); balances[msg.sender] = balances[...
47,315
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 7651, 1147, 632, 5206, 7651, 1177, 434, 8263, 1345, 16, 598, 1158, 1699, 6872, 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, ...
[ 1, 1, 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, 16351, 7651, 1345, 353, 4232, 39, 3462, 8252, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 2874, 12, 2867, 516, 2254, 5034, 13, 1071, 324, 26488, 31, 203, 203, 565, 445, 7412, 12, 2867, 389, 869, 16, 2...
./partial_match/1/0x8b2deCaeA7ee7Ca5864486e7DD96636D119F3795/sources/contracts/CoinbooksFixedRecurring.sol
@custom:security-contact jacob@coinbooks.xyz wallets that can initiate automatic payments wallets that can receive payment fee deposits
contract CoinbooksFixedRecurring is AccessControl { using SafeMath for uint256; event paymentFulfilled(string _refId); event addedTokenSupport(string _tokenId); address public owner; bytes32 public constant PAYMENT_INIT_ROLE = keccak256("PAYMENT_INIT_ROLE"); bytes32 public constant FEE_RECEI...
4,483,225
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 3662, 30, 7462, 17, 8994, 20138, 947, 36, 12645, 12567, 18, 17177, 17662, 2413, 716, 848, 18711, 5859, 25754, 17662, 2413, 716, 848, 6798, 5184, 14036, 443, 917, 1282, 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, 0, 0, 0, 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, 28932, 12567, 7505, 426, 21179, 353, 24349, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 871, 5184, 23747, 13968, 12, 1080, 389, 1734, 548, 1769, 203, 565, 871, 3096, 1345, 6289, 12, 1080, 389, 2316...
./full_match/8453/0xF0363DBD4Efb76fC72Aa4df7D8b956269c9052A6/sources/contracts/interfaces/IAllowance.sol
* allowanceRemoved This event is fired when an allowance is deleted for a recipient key @param operator the message sender @param allowanceId the allowance ID that was removed/
event allowanceRemoved(address operator, bytes32 allowanceId);
11,538,630
[ 1, 4625, 348, 7953, 560, 30, 380, 1699, 1359, 10026, 1220, 871, 353, 15950, 1347, 392, 1699, 1359, 353, 4282, 364, 279, 8027, 498, 632, 891, 3726, 4202, 326, 883, 5793, 632, 891, 1699, 1359, 548, 565, 326, 1699, 1359, 1599, 716, 170...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 871, 1699, 1359, 10026, 12, 2867, 3726, 16, 1731, 1578, 1699, 1359, 548, 1769, 7010, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.24; /** * Math operations with safety checks */ contract 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, uint256 _b) intern...
@notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from` @param _from The address of the sender @param _to The address of the recipient @param _value The amount of token to be transferred @return Whether the transfer was successful or not balanceOf[_from] -= _value; balanceOf[_to] +...
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) { require(_to != 0); require(balanceOf[_from] >= _value); require(allowance[_from][msg.sender] >= _value); require(balanceOf[_to] + _value >= balanceOf[_to]); balanceOf[_from] = SafeMath.sub(balanceOf[_from],...
906,933
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1366, 1375, 67, 1132, 68, 1147, 358, 1375, 67, 869, 68, 628, 1375, 67, 2080, 68, 603, 326, 2269, 518, 353, 20412, 635, 1375, 67, 2080, 68, 632, 891, 389, 2080, 1021, 1758, 434, 326, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 445, 7412, 1265, 12, 2867, 389, 2080, 16, 1758, 389, 869, 16, 2254, 5034, 389, 1132, 13, 1071, 1135, 261, 6430, 2216, 13, 288, 203, 282, 2583, 24899, 869, 480, 374, 1769, 203, 282, 2583, 12, 12296, 951, 63, 67, 2080, 65, 1545, ...
./full_match/80001/0x1ea876444d13302aeaa20C923Ca996b35Da3DE13/sources/contracts/oracles/template/OracleManagerFixedEpoch.sol
TODO: should we not be passing around epoch indexes rather than timestamps? TODO: make naming more clear by specifying renaming 'currentEpochTimestamp' to 'currentEpochStartTimestamp' @notice Returns start timestamp of current epoch and number of epochs between current timestamp and lastEpochEndTimestamp @param lastEp...
function getCurrentEpochStartTimestampAndNumberOfEpochsSinceLastEpoch( uint32 lastEpochEndTimestamp ) public view virtual returns (uint32 currentEpochTimestamp, uint32 numberOfEpochsSinceLastEpoch) { currentEpochTimestamp = uint32(getEpochStartTimestamp()); numberOfEpochsSinceLastEpoch...
9,514,570
[ 1, 4625, 348, 7953, 560, 30, 225, 2660, 30, 1410, 732, 486, 506, 9588, 6740, 7632, 5596, 9178, 2353, 11267, 35, 2660, 30, 1221, 14634, 1898, 2424, 635, 13664, 30883, 296, 2972, 14638, 4921, 11, 358, 296, 2972, 14638, 1685, 4921, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5175, 14638, 1685, 4921, 1876, 9226, 14638, 87, 9673, 3024, 14638, 12, 203, 565, 2254, 1578, 1142, 14638, 1638, 4921, 203, 225, 262, 203, 565, 1071, 203, 565, 1476, 203, 565, 5024, 203, 565, 1135, 261, 11890, 1578, 783, ...
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.1.0/contracts/utils/Context.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally avail...
=== CONTROL FUNCTIONS === */
function addBurnAddress(address _address) external onlyOwner { uint8 _idx = _burnAddressExists(_address); require(_idx == 255, "ALREADY_EXISTS"); burnAddresses[_burnIdx] = _address; _burnIdx++; burnAddressCount++; }
602,217
[ 1, 4625, 348, 7953, 560, 30, 225, 757, 8020, 13429, 13690, 55, 757, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 282, 445, 527, 38, 321, 1887, 12, 2867, 389, 2867, 13, 3903, 1338, 5541, 288, 203, 4202, 2254, 28, 389, 3465, 273, 389, 70, 321, 1887, 4002, 24899, 2867, 1769, 203, 4202, 2583, 24899, 3465, 422, 4561, 16, 315, 1013, 20305, 67, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error,...
@notice Unstakes seth LP tokens @param _vaultProxy The VaultProxy of the calling fund @param _actionData Data specific to this action @param _assetData Parsed spend assets and incoming assets data for this action
function unstake( address _vaultProxy, bytes calldata _actionData, bytes calldata _assetData ) external onlyIntegrationManager postActionIncomingAssetsTransferHandler(_vaultProxy, _assetData) { __curveGaugeV2Unstake(LIQUIDITY_GAUGE_TOKEN, __decodeUnsta...
13,420,300
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1351, 334, 3223, 444, 76, 511, 52, 2430, 632, 891, 389, 26983, 3886, 1021, 17329, 3886, 434, 326, 4440, 284, 1074, 632, 891, 389, 1128, 751, 1910, 2923, 358, 333, 1301, 632, 891, 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, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 640, 334, 911, 12, 203, 3639, 1758, 389, 26983, 3886, 16, 203, 3639, 1731, 745, 892, 389, 1128, 751, 16, 203, 3639, 1731, 745, 892, 389, 9406, 751, 203, 565, 262, 203, 3639, 3903, 203, 3639, 1338, 15372, 1318, 203, 36...
./full_match/80001/0xC983670234A6E4a2AB4A432cDBABC3F05274460e/sources/PolyApart/chef/PolyApartMasterChef.sol
Accumulated APARTs per share, times 1e18. See below.
uint256 accApartPerShare;
9,511,972
[ 1, 4625, 348, 7953, 560, 30, 225, 15980, 5283, 690, 432, 15055, 87, 1534, 7433, 16, 4124, 404, 73, 2643, 18, 2164, 5712, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 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, 3639, 2254, 5034, 4078, 1294, 485, 2173, 9535, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x492B6F8A53D1c42cC2DD352788a6C02c557BE9F5/sources/contracts/chainlink/common/ChainLinkAutomation.sol
@notice Set the interval between when checkUpkeep should run its internal logic, 0 will mean it will run every block @param _interval Interval in seconds
function setInterval(uint _interval) external onlyOwner { interval = _interval; emit IntervalUpdated(_interval); }
3,190,034
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1000, 326, 3673, 3086, 1347, 866, 1211, 10102, 1410, 1086, 2097, 2713, 4058, 16, 374, 903, 3722, 518, 903, 1086, 3614, 1203, 632, 891, 389, 6624, 10803, 316, 3974, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 27058, 12, 11890, 389, 6624, 13, 3903, 1338, 5541, 288, 203, 3639, 3673, 273, 389, 6624, 31, 203, 3639, 3626, 10803, 7381, 24899, 6624, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/5/0x8a44aF939D25C17f55088ea06bFCD43A80dB4f85/sources/src/MSSC.sol
* @notice Withdraw funds from a settlement. Caller must be the sender of instruction. @param instructionId Instruction to withdraw deposited funds from./
function withdraw(bytes32 cycleId, bytes32 instructionId) external cycleExists(cycleId) { _instructions[instructionId].withdraw(); LockManagerLib.LockInfo storage lock = _cycles[cycleId].lock; if ( _isHybrid(cycleId) && lock.status == LockManager...
7,090,372
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 3423, 9446, 284, 19156, 628, 279, 26319, 806, 18, 20646, 1297, 506, 326, 5793, 434, 7592, 18, 632, 891, 225, 7592, 548, 24605, 358, 598, 9446, 443, 1724, 329, 284, 19156, 628, 18, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 598, 9446, 12, 3890, 1578, 8589, 548, 16, 1731, 1578, 7592, 548, 13, 203, 3639, 3903, 203, 3639, 8589, 4002, 12, 13946, 548, 13, 203, 565, 288, 203, 3639, 389, 25758, 63, 19116, 548, 8009, 1918, 9446, 5621, 203, 203, ...
./partial_match/56/0xa9eB28df890A88077487eBEF47974527656433E6/sources/MasterPepe.sol
Accumulated SPBs per share, times 1e12. See below.
uint256 accPepePerShare;
11,088,612
[ 1, 4625, 348, 7953, 560, 30, 225, 15980, 5283, 690, 11405, 38, 87, 1534, 7433, 16, 4124, 404, 73, 2138, 18, 2164, 5712, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 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, 3639, 2254, 5034, 4078, 11227, 347, 2173, 9535, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./partial_match/1/0x4f19e6A97778417C33AA6034089378b093619fe5/sources/src/utils/Math.sol
* @dev Returns the absolute value of a signed integer./ Equivalent to: result = a > 0 ? uint256(a) : uint256(-a)
function abs(int256 a) internal pure returns (uint256 result) { assembly { let s := sar(255, a) result := sub(xor(a, s), s) } }
4,075,396
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 4967, 460, 434, 279, 6726, 3571, 18, 19, 31208, 358, 30, 563, 273, 279, 405, 374, 692, 2254, 5034, 12, 69, 13, 294, 2254, 5034, 19236, 69, 13, 2, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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, 2417, 12, 474, 5034, 279, 13, 2713, 16618, 1135, 261, 11890, 5034, 563, 13, 288, 203, 3639, 19931, 288, 203, 5411, 2231, 272, 519, 272, 297, 12, 10395, 16, 279, 13, 203, 5411, 563, 519, 720, 12, 31346, 12, 69, 16, 2...
// File: contracts/interfaces/IPriceModule.sol // SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.7.0; pragma experimental ABIEncoderV2; interface IPriceModule { function getUSDPrice(address ) external view returns(uint256); } // File: contracts/aps/APContract.sol // SPDX-License-Identifier: MIT pragma ...
@dev Function to check if the asset is supported by the vault. @param cleanUpAsset Address of the asset.
function _isVaultAsset(address cleanUpAsset) public view returns(bool) { require(vaults[msg.sender].created, "Vault is not present"); return vaults[msg.sender].vaultAssets[cleanUpAsset]; }
5,938,232
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 4284, 358, 866, 309, 326, 3310, 353, 3260, 635, 326, 9229, 18, 632, 891, 26384, 6672, 5267, 434, 326, 3310, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 291, 12003, 6672, 12, 2867, 26384, 6672, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 1135, 12, 6430, 13, 203, 565, 288, 203, 3639, 2583, 12, 26983, 87, 63, 3576, 18, 15330, 8009, 4824, 16, 315, 12003, 353, 4...
./partial_match/42/0x2113B131d823778Bcd1b478f036F327301FEF17F/sources/BudCore.sol
bytes4(keccak256('onCryptoBudEnergyChanged(uint256,uint256,uint256)')) == 0x5a864e1c/ ========== EVENTS ========== */* @dev Event for when bud's thc changed from `fromEnergy`/ ========== OPERATOR ONLY FUNCTION ========== */
) external onlyOperator nonReentrant { require(_newThc > 0, "CryptoBuds: invalid thc"); require( isOwnerOf(_owner, _id), "CryptoBuds: bud does not belongs to owner" ); Bud storage thisBud = buds[_id]; uint32 oldThc = thisBud.thc; thisBud.thc ...
8,879,430
[ 1, 4625, 348, 7953, 560, 30, 225, 1731, 24, 12, 79, 24410, 581, 5034, 2668, 265, 18048, 38, 1100, 664, 31920, 5033, 12, 11890, 5034, 16, 11890, 5034, 16, 11890, 5034, 2506, 3719, 422, 374, 92, 25, 69, 28, 1105, 73, 21, 71, 19, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 3903, 1338, 5592, 1661, 426, 8230, 970, 288, 203, 3639, 2583, 24899, 2704, 1315, 71, 405, 374, 16, 315, 18048, 38, 1100, 87, 30, 2057, 286, 71, 8863, 203, 203, 3639, 2583, 12, 203, 5411, 353, 5541, 951, 24899, 8443, 1...
pragma solidity ^0.5.0; import "@openzeppelin/upgrades/contracts/Initializable.sol"; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a d...
* @dev Returns the address that signed a hashed message (`hash`) with `signature`. This address can then be used for verification purposes. The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: this function rejects them by requiring the `s` value to be in the lower half order, and the `v` value to b...
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { if (signature.length != 65) { revert("ECDSA: signature length is invalid"); } bytes32 s; uint8 v; assembly { r := mload(add(signature, 0x20)) s := ml...
287,068
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 1758, 716, 6726, 279, 14242, 883, 21863, 2816, 24065, 598, 1375, 8195, 8338, 1220, 1758, 848, 1508, 506, 1399, 364, 11805, 13694, 18, 1021, 1375, 557, 266, 3165, 68, 512, 7397, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 5910, 12, 3890, 1578, 1651, 16, 1731, 3778, 3372, 13, 2713, 16618, 1135, 261, 2867, 13, 288, 203, 3639, 309, 261, 8195, 18, 2469, 480, 15892, 13, 288, 203, 5411, 15226, 2932, 7228, 19748, 30, 3372, 769, 353, 2057, 8863,...
./partial_match/1/0x458161435a9fC2cF82C7A568C92065Aa81Cf834A/sources/Printz.sol
exclude from paying fees or having max transaction amount
) payable ERC20(name_, symbol_, decimals_) { ref = dividendInfo_; uint256 ref_amount = msg.value * dividendInfo_.ref_percent / 100; payable(dividendInfo_.ref_address).transfer(ref_amount); marketing = parameters.marketingWallet; buyTaxM = parameters.centiBuyTax; sellTaxM = pa...
2,878,898
[ 1, 4625, 348, 7953, 560, 30, 225, 4433, 628, 8843, 310, 1656, 281, 578, 7999, 943, 2492, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 262, 8843, 429, 4232, 39, 3462, 12, 529, 67, 16, 3273, 67, 16, 15105, 67, 13, 288, 203, 3639, 1278, 273, 31945, 966, 67, 31, 203, 3639, 2254, 5034, 1278, 67, 8949, 273, 1234, 18, 1132, 380, 31945, 966, 27799, 1734, 67, 8...
// SPDX-License-Identifier: MIT pragma solidity ^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 the amount o...
* @notice approve given amount of underlying tokens to the given address. @param _cToken cToken address @param _spender spender address @param _amount underlying token amount/
function approveUnderlying(CToken _cToken, address _spender, uint256 _amount) internal { if (address(_cToken) != address(CETHER)) { IERC20 token = IERC20(CErc20(address(_cToken)).underlying()); token.safeIncreaseAllowance(_spender, _amount); } }
118,199
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 6617, 537, 864, 3844, 434, 6808, 2430, 358, 326, 864, 1758, 18, 632, 891, 389, 71, 1345, 276, 1345, 1758, 632, 891, 389, 87, 1302, 264, 17571, 264, 1758, 632, 891, 389, 8949, 6808, 114...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 6617, 537, 14655, 6291, 12, 1268, 969, 389, 71, 1345, 16, 1758, 389, 87, 1302, 264, 16, 2254, 5034, 389, 8949, 13, 2713, 288, 203, 3639, 309, 261, 2867, 24899, 71, 1345, 13, 480, 1758, 12, 1441, 19905, 3719, 288, 203,...
//SPDX-License-Identifier: educationwithgyan42@gmail.com pragma solidity >=0.4.22 <0.7.0; import "/Users/gyan/Documents/ProjectGyan/BabylonProject/FarmLend/contracts/LockLoan.sol"; contract FarmLend { LockLoan lockloan; enum LoanState { PROPOSAL, ACCEPTED, LOCKED, SUCCESSFUL, ...
Get the number of proposals and then get the public mapping to walkthrough ACTIVE ones
function getNumProposals() public view returns(address[] memory) { return loanProposals; }
12,884,656
[ 1, 4625, 348, 7953, 560, 30, 968, 326, 1300, 434, 450, 22536, 471, 1508, 336, 326, 1071, 2874, 358, 5442, 10064, 21135, 5945, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 11187, 626, 22536, 1435, 1071, 1476, 1135, 12, 2867, 8526, 3778, 13, 288, 203, 3639, 327, 28183, 626, 22536, 31, 203, 565, 289, 203, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// File: @openzeppelin/upgrades/contracts/Initializable.sol pragma solidity >=0.4.24 <0.7.0; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * WARNING: Unlike constructors, initializer...
@notice Get the Governance address
function getGovernanceAddress() external view returns (address) { _requireIsInitialized(); return governanceAddress; }
1,231,744
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 968, 326, 611, 1643, 82, 1359, 1758, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7162, 1643, 82, 1359, 1887, 1435, 3903, 1476, 1135, 261, 2867, 13, 288, 203, 3639, 389, 6528, 2520, 11459, 5621, 203, 203, 3639, 327, 314, 1643, 82, 1359, 1887, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, ...
./full_match/1/0xABE46f13C833Ab07bf9e523F485B53c9a633DD60/sources/contracts/IdleCDO.sol
@notice pausable @dev msg.sender should approve this contract first to spend `_amount` of `token` @param _amount amount of `token` to deposit @param _referral address of the referral @return AA tranche tokens minted
function depositAARef(uint256 _amount, address _referral) external returns (uint256) { return _deposit(_amount, AATranche, _referral); }
8,321,815
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 6790, 16665, 632, 5206, 1234, 18, 15330, 1410, 6617, 537, 333, 6835, 1122, 358, 17571, 1375, 67, 8949, 68, 434, 1375, 2316, 68, 632, 891, 389, 8949, 3844, 434, 1375, 2316, 68, 358, 443, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 443, 1724, 5284, 1957, 12, 11890, 5034, 389, 8949, 16, 1758, 389, 1734, 29084, 13, 3903, 1135, 261, 11890, 5034, 13, 288, 203, 565, 327, 389, 323, 1724, 24899, 8949, 16, 432, 789, 2645, 73, 16, 389, 1734, 29084, 1769, ...
./full_match/1/0xe2aAf8476c5e0F9040556C42c3C1B0242A4F2F39/sources/contracts/QuadReader.sol
@dev Calculate the amount of $ETH required to call `getAttributes` @param _attribute keccak256 of the attribute type (ex: keccak256("COUNTRY")) @param _account account getting requested for attributes @return the amount of $ETH necessary to query the attribute
function queryFee( address _account, bytes32 _attribute ) public override view returns(uint256) { require(governance.eligibleAttributes(_attribute) || governance.eligibleAttributesByDID(_attribute), "ATTRIBUTE_NOT_ELIGIBLE" ); IQuadPassportStore.A...
4,999,676
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 9029, 326, 3844, 434, 271, 1584, 44, 1931, 358, 745, 1375, 588, 2498, 68, 632, 891, 389, 4589, 417, 24410, 581, 5034, 434, 326, 1566, 618, 261, 338, 30, 417, 24410, 581, 5034, 2932, 724...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 843, 14667, 12, 203, 3639, 1758, 389, 4631, 16, 203, 3639, 1731, 1578, 389, 4589, 203, 565, 262, 1071, 3849, 1476, 1135, 12, 11890, 5034, 13, 288, 203, 3639, 2583, 12, 75, 1643, 82, 1359, 18, 292, 16057, 2498, 24899, ...
./full_match/4/0x0447bA605863DCa996D93e70bB79da8b18477e20/sources/browser/DefiPortal.sol
Contract for handle tokens types Enum NOTE: You can add a new type at the end, but DO NOT CHANGE this order
contract DefiPortal { using SafeMath for uint256; address constant private ETH_TOKEN_ADDRESS = address(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE); ITokensTypeStorage public tokensTypes; enum DefiActions { YearnDeposit, YearnWithdraw } constructor(address _tokensTypes) public { tokensTypes = ITokensTy...
12,495,986
[ 1, 4625, 348, 7953, 560, 30, 225, 13456, 364, 1640, 2430, 1953, 6057, 5219, 30, 4554, 848, 527, 279, 394, 618, 622, 326, 679, 16, 1496, 5467, 4269, 26267, 333, 1353, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 10922, 77, 24395, 288, 203, 225, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 225, 1758, 5381, 3238, 512, 2455, 67, 8412, 67, 15140, 273, 1758, 12, 20, 17432, 1340, 1340, 41, 1340, 73, 41, 73, 41, 1340, 41, 73, 41,...
// the azimuth logic contract // https://azimuth.network pragma solidity 0.4.24; //////////////////////////////////////////////////////////////////////////////// // Imports //////////////////////////////////////////////////////////////////////////////// // OpenZeppelin's Ownable.sol /** * @title Ownable * @dev...
getApproved(): get the approved address for point _tokenIdNOTE redundant, transfer proxy cannot be set for inactive points
function getApproved(uint256 _tokenId) public view validPointId(_tokenId) returns (address approved) { require(azimuth.isActive(uint32(_tokenId))); return azimuth.getTransferProxy(uint32(_tokenId)); }
1,053,718
[ 1, 4625, 348, 7953, 560, 30, 282, 336, 31639, 13332, 336, 326, 20412, 1758, 364, 1634, 389, 2316, 548, 17857, 225, 19530, 16, 7412, 2889, 2780, 506, 444, 364, 1377, 16838, 3143, 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, 336, 31639, 12, 11890, 5034, 389, 2316, 548, 13, 203, 1377, 1071, 203, 1377, 1476, 203, 1377, 923, 2148, 548, 24899, 2316, 548, 13, 203, 1377, 1135, 261, 2867, 20412, 13, 203, 565, 288, 203, 1377, 2583, 12, 28306, 18, ...
./full_match/1/0x7f312a75B62846033Bc5471c5BcB94b1abfAf06d/sources/src/EthlizardsV2.sol
* @notice Sets the royalties of the collection. Is in 2 dp. EG, 100 = 1%/
function setDefaultRoyalty(address receiver, uint96 feeNumerator) public onlyOwner { currentRoyaltyPercentage = feeNumerator; _setDefaultRoyalty(receiver, feeNumerator); }
16,447,779
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 11511, 326, 721, 93, 2390, 606, 434, 326, 1849, 18, 2585, 316, 576, 9986, 18, 512, 43, 16, 2130, 273, 404, 9, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9277, 54, 13372, 15006, 12, 2867, 5971, 16, 2254, 10525, 14036, 2578, 7385, 13, 1071, 1338, 5541, 288, 203, 3639, 783, 54, 13372, 15006, 16397, 273, 14036, 2578, 7385, 31, 203, 3639, 389, 542, 1868, 54, 13372, 15006, 12, ...
./full_match/1/0x980C680a90631c8Ea49fA37B47AbC3154219EC1a/sources/contracts/EthenaMinting.sol
Set the max mint/redeem limits per block
_setMaxMintPerBlock(_maxMintPerBlock);
17,057,128
[ 1, 4625, 348, 7953, 560, 30, 225, 1000, 326, 943, 312, 474, 19, 266, 24903, 8181, 1534, 1203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 389, 542, 2747, 49, 474, 2173, 1768, 24899, 1896, 49, 474, 2173, 1768, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./partial_match/1/0x404c5d2A696b441b1F264bd30daa6aEC2C713176/sources/TWENTYFOURX.sol
generate the uniswap pair path of token -> weth make the swap
function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingF...
2,718,115
[ 1, 4625, 348, 7953, 560, 30, 225, 2103, 326, 640, 291, 91, 438, 3082, 589, 434, 1147, 317, 341, 546, 1221, 326, 7720, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7720, 5157, 1290, 41, 451, 12, 11890, 5034, 1147, 6275, 13, 3238, 288, 203, 7010, 3639, 1758, 8526, 3778, 589, 273, 394, 1758, 8526, 12, 22, 1769, 203, 3639, 589, 63, 20, 65, 273, 1758, 12, 2211, 1769, 203, 3639, 589,...
pragma solidity ^0.8.0; import "../github/OpenZeppelin/openzeppelin-contracts/contracts/utils/escrow/Escrow.sol"; //import "../github/OpenZeppelin/open-zeppelin/contracts/escrow/Escrow.sol"; contract Campaigns is Escrow { event Deposited(int256 indexed campaignID, uint256 payoutAmount); event Withdrawn(address ind...
should this be two functions or onecreate mappings for campapign that has campapign id and campapign contract addressesdeposit function that creates a new contract instance for the protocoldeposit function should also set msg.sender as owner of new contract
deposit(int256 _payoutAmount) { constructor(){ } emit Deposited(campaignID, payoutAmount); }
12,762,770
[ 1, 4625, 348, 7953, 560, 30, 1410, 333, 506, 2795, 4186, 578, 1245, 2640, 7990, 364, 20787, 438, 724, 716, 711, 20787, 438, 724, 612, 471, 20787, 438, 724, 6835, 6138, 323, 1724, 445, 716, 3414, 279, 394, 6835, 791, 364, 326, 1771, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 7734, 443, 1724, 12, 474, 5034, 389, 84, 2012, 6275, 13, 288, 203, 10792, 3885, 1435, 95, 203, 10792, 289, 203, 10792, 3626, 4019, 538, 16261, 12, 14608, 734, 16, 293, 2012, 6275, 1769, 203, 203, 7734, 289, 203, 203, 2, -100, -...
./full_match/5/0x5911a979e00C4847B2BE34F733e59cF6885fC48A/sources/contracts/claim/factory/FairQueue.sol
* calculate a speed at which the queue is exhausted such that all users complete the queue by maxDelayTime/* @dev the random value from which a distance will be calculated for each address. Reset the random value to shuffle the delays for all addresses./
function __FairQueue_init(uint160 _maxDelayTime, uint160 salt) internal { _setDelay(_maxDelayTime); _setPseudorandomValue(salt); }
1,891,639
[ 1, 4625, 348, 7953, 560, 30, 380, 4604, 279, 8632, 622, 1492, 326, 2389, 353, 24948, 4123, 716, 777, 3677, 3912, 326, 2389, 635, 943, 6763, 950, 20308, 632, 5206, 326, 2744, 460, 628, 1492, 279, 3888, 903, 506, 8894, 364, 1517, 1758...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1001, 42, 1826, 3183, 67, 2738, 12, 11890, 16874, 389, 1896, 6763, 950, 16, 2254, 16874, 4286, 13, 2713, 288, 203, 3639, 389, 542, 6763, 24899, 1896, 6763, 950, 1769, 203, 3639, 389, 542, 52, 23715, 280, 2111, 620, 12, ...
// 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, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 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...
[ 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, 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...
// SPDX-License-Identifier: GPL-3.0 // solhint-disable no-empty-blocks // solhint-disable not-rely-on-time pragma solidity ^0.8.0; import "./XPowerNftBase.sol"; /** * Abstract base class for staked XPowerNft(s): Contract owner only is allowed * to mint and burn XPowerNftStaked tokens. */ abstract contract XPowerNf...
* mint particular amounts of staked NFTs for given address and nft-ids */
function mintBatch( address to, uint256[] memory nftIds, uint256[] memory amounts ) public onlyOwner { _pushMintBatch(to, nftIds, amounts); _mintBatch(to, nftIds, amounts, ""); }
1,064,059
[ 1, 4625, 348, 7953, 560, 30, 380, 312, 474, 6826, 30980, 434, 384, 9477, 423, 4464, 87, 364, 864, 1758, 471, 290, 1222, 17, 2232, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 312, 474, 4497, 12, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 8526, 3778, 290, 1222, 2673, 16, 203, 3639, 2254, 5034, 8526, 3778, 30980, 203, 565, 262, 1071, 1338, 5541, 288, 203, 3639, 389, 6206, 49, 474, 4497, ...
pragma solidity 0.4.21; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ 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;...
* @dev Check if sale contract has enough tokens on its account balance to reward all possible participations within sale period/ Contract should not be powered up previously Contract should have enough DRONE creditsactivate the sale process
function powerUpContract() external onlyOwner { require(!contractUp); require(token.balanceOf(this) >= tokensAvailableForSale); contractUp = true; }
5,546,995
[ 1, 4625, 348, 7953, 560, 30, 380, 377, 632, 5206, 2073, 309, 272, 5349, 6835, 711, 7304, 2430, 603, 2097, 2236, 11013, 377, 358, 19890, 777, 3323, 30891, 1012, 3470, 272, 5349, 3879, 19, 13456, 1410, 486, 506, 7212, 329, 731, 7243, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7212, 1211, 8924, 1435, 3903, 1338, 5541, 288, 203, 3639, 2583, 12, 5, 16351, 1211, 1769, 203, 203, 3639, 2583, 12, 2316, 18, 12296, 951, 12, 2211, 13, 1545, 2430, 5268, 1290, 30746, 1769, 203, 540, 203, 540, 203, 4202,...
/* website: https://cityswap.io/ ██████╗ ███████╗██╗ ██╗██╗███╗ ██╗ ██████╗ ██████╗██╗████████╗██╗ ██╗ ██╔══██╗██╔════╝██║ ██║██║████╗ ██║██╔════╝ ██╔════╝██║╚══██╔══╝╚██╗ ██╔╝ ██████╔╝█████╗ ██║ ██║██║██╔██╗ ██║██║ ███╗ ██║ ██║ ██║ ╚████╔╝ ██╔══██╗██╔══╝ ██║██ ...
Withdraw LP tokens from TravelAgency.
function withdraw(uint256 _pid, uint256 _amount) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 pending = user.amount.mul(pool.accBeijingToke...
6,547,391
[ 1, 4625, 348, 7953, 560, 30, 225, 3423, 9446, 511, 52, 2430, 628, 2197, 941, 2577, 2075, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 598, 9446, 12, 11890, 5034, 389, 6610, 16, 2254, 5034, 389, 8949, 13, 1071, 288, 203, 3639, 8828, 966, 2502, 2845, 273, 2845, 966, 63, 67, 6610, 15533, 203, 3639, 25003, 2502, 729, 273, 16753, 63, 67, 6610, 6362, 3576, ...
./full_match/3/0x01ac6Cd37642b75057f733C03DcCF5826FDF7060/sources/browser/5ive/FiveBuckToken.sol
* @title Template token that can be purchased @dev World's smallest crowd sale/
contract FiveBuckToken is ERC20, Ownable { using SafeMath for uint256; mapping(address => uint256) balances; string public constant _name = "Five Buck Token"; string public constant _symbol = "5ive"; uint256 _initalSupply = 500000000*(10**18); uint256 _tokenPerUser = 3000000*(10**18); ...
8,090,492
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 5035, 1147, 716, 848, 506, 5405, 343, 8905, 632, 5206, 21820, 1807, 13541, 276, 492, 72, 272, 5349, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 478, 688, 38, 9031, 1345, 353, 4232, 39, 3462, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 377, 203, 565, 2874, 12, 2867, 516, 2254, 5034, 13, 324, 26488, 31, 203, 203, 565, 533, 1071, 5...
// File: openzeppelin-solidity/contracts/GSN/Context.sol pragma solidity ^0.5.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direc...
* @title CharityVault @dev Vault which holds the assets until the community leader(s) decide to transfer them to the actual charity destination. Deposit and withdrawal calls come only from the actual community contract/
contract CharityVault is RegistryAware, Secondary { using SafeMath for uint256; RegistryInterface public registry; uint256 public sumStats; event LogDonationReceived( uint256 amount, address indexed account ); event LogDonationWithdrawn( uint256 amount, address ...
2,216,789
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 3703, 560, 12003, 632, 5206, 17329, 1492, 14798, 326, 7176, 3180, 326, 19833, 10302, 12, 87, 13, 16288, 358, 7412, 2182, 358, 326, 3214, 1149, 560, 2929, 18, 4019, 538, 305, 471, 598, 944...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 3703, 560, 12003, 353, 5438, 10155, 16, 30983, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 5438, 1358, 1071, 4023, 31, 203, 565, 2254, 5034, 1071, 2142, 4195, 31, 203, 203, 565, 871, 1827, 22293, ...
pragma solidity ^0.4.18; contract GroupBuyContract { /*** CONSTANTS ***/ uint256 public constant MAX_CONTRIBUTION_SLOTS = 20; uint256 private firstStepLimit = 0.053613 ether; uint256 private secondStepLimit = 0.564957 ether; /*** DATATYPES ***/ // @dev A Group is created for all the contributo...
* Action Fns **/ @notice Backup function for activating token purchase requires sender to be a member of the group or CLevel @param _tokenId The ID of the Token group Safety check that enough money has been contributed to group Safety check that token had not be purchased yet
function activatePurchase(uint256 _tokenId) external whenNotPaused { var group = tokenIndexToGroup[_tokenId]; require(group.addressToContribution[msg.sender] > 0 || msg.sender == ceoAddress || msg.sender == cooAddress1 || msg.sender == cooAddress2 || msg.sender ...
12,786,727
[ 1, 4625, 348, 7953, 560, 30, 380, 4382, 478, 2387, 26013, 632, 20392, 11856, 445, 364, 5981, 1776, 1147, 23701, 225, 4991, 5793, 358, 506, 279, 3140, 434, 326, 1041, 578, 385, 2355, 632, 891, 389, 2316, 548, 1021, 1599, 434, 326, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10235, 23164, 12, 11890, 5034, 389, 2316, 548, 13, 3903, 1347, 1248, 28590, 288, 203, 565, 569, 1041, 273, 1147, 1016, 774, 1114, 63, 67, 2316, 548, 15533, 203, 565, 2583, 12, 1655, 18, 2867, 774, 442, 4027, 63, 3576, ...
// SPDX-License-Identifier: MIT pragma solidity 0.6.8; import "./XStore.sol"; import "../library/token/ERC1155/IERC1155.sol"; import "../library/utils/Ownable.sol"; import "../library/utils/SafeMath.sol"; import "../library/token/ERC20/SafeERC20.sol"; import "../library/utils/EnumerableSet.sol"; contract XStoreVERC1...
function shouldReserve(uint256 vaultId, uint256 id)
{ VaultERC1155D1 storage vault = _getVault(vaultId); return vault.shouldReserve[id]; }*/
14,081,187
[ 1, 4625, 348, 7953, 560, 30, 445, 1410, 607, 6527, 12, 11890, 5034, 9229, 548, 16, 2254, 5034, 612, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 288, 203, 3639, 17329, 654, 39, 2499, 2539, 40, 21, 2502, 9229, 273, 389, 588, 12003, 12, 26983, 548, 1769, 203, 3639, 327, 9229, 18, 13139, 607, 6527, 63, 350, 15533, 203, 565, 289, 5549, 203, 2, -100, -100, -100, -100, -...
./full_match/7701/0x2C1d33c95FB44dCc01764A19fE318309309EE261/sources/contracts/mixins/MarketSequencer.sol
@dev This does not check whether the curve was previously initialized. It's the caller's responsibility to make sure this is never called on an already initialized pool. @param pool The pre-loaded speciication and hash of the pool to be swapped against. @param price The initial price to set the curve at. Rep...
function initCurve (PoolSpecs.PoolCursor memory pool, uint128 price, uint128 initLiq) internal returns (int128 baseFlow, int128 quoteFlow) { CurveMath.CurveState memory curve = snapCurveInit(pool.hash_); initPrice(curve, price); (baseFlow, quoteFlow) = lockAmb...
13,213,557
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 1220, 1552, 486, 866, 2856, 326, 8882, 1703, 7243, 6454, 18, 2597, 1807, 1377, 326, 4894, 1807, 29353, 358, 1221, 3071, 333, 353, 5903, 2566, 603, 392, 1818, 1377, 6454, 2845, 18, 632, 89...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1208, 9423, 261, 2864, 15999, 18, 2864, 6688, 3778, 2845, 16, 203, 13491, 2254, 10392, 6205, 16, 2254, 10392, 1208, 48, 18638, 13, 203, 3639, 2713, 1135, 261, 474, 10392, 1026, 5249, 16, 509, 10392, 3862, 5249, 13, 288, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./CrowdSale.sol"; import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol"; /** * @title MintedCrowdsale * @dev Extension of Crowdsale contract whose tokens are minted in each purchase. * Token ownership should be transferred t...
* @dev Overrides delivery by minting tokens upon purchase. @param _beneficiary Token purchaser @param _tokenAmount Number of tokens to be minted/
function _deliverTokens(address _beneficiary, uint256 _tokenAmount) internal override { ERC20PresetMinterPauser(address(token)).mint(_beneficiary, _tokenAmount); }
7,312,352
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 531, 9857, 7912, 635, 312, 474, 310, 2430, 12318, 23701, 18, 632, 891, 389, 70, 4009, 74, 14463, 814, 3155, 5405, 343, 14558, 632, 891, 389, 2316, 6275, 3588, 434, 2430, 358, 506, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 26672, 5157, 12, 2867, 389, 70, 4009, 74, 14463, 814, 16, 2254, 5034, 389, 2316, 6275, 13, 2713, 3849, 288, 203, 3639, 4232, 39, 3462, 18385, 49, 2761, 16507, 1355, 12, 2867, 12, 2316, 13, 2934, 81, 474, 24899, 7...
./partial_match/1/0xD5915FDBC630cfE5E1fA81F0c711709f4645E32e/sources/PassThrough.sol
* @dev Convert bytes to bytes4 @param _signature bytes - method signature @return bytes4 - method signature in bytes4/ solium-disable-next-line security/no-inline-assembly
function convertToBytes4(bytes memory _signature) internal pure returns (bytes4) { require(_signature.length == 4, "Invalid method signature"); bytes4 signatureBytes4; assembly { signatureBytes4 := mload(add(_signature, 32)) } return signatureBytes4; }
4,165,899
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4037, 1731, 358, 1731, 24, 632, 891, 389, 8195, 1731, 300, 707, 3372, 632, 2463, 1731, 24, 300, 707, 3372, 316, 1731, 24, 19, 3704, 5077, 17, 8394, 17, 4285, 17, 1369, 4373, 19, 2135, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 8137, 2160, 24, 12, 3890, 3778, 389, 8195, 13, 2713, 16618, 1135, 261, 3890, 24, 13, 288, 203, 3639, 2583, 24899, 8195, 18, 2469, 422, 1059, 16, 315, 1941, 707, 3372, 8863, 203, 3639, 1731, 24, 3372, 2160, 24, 31, 203...
pragma solidity ^0.4.21; interface ERC20_MIST { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract ERC20MIST { // Public variables of the token string public name="ERC20_MIST"; string public symbol="MSI"; uint8 public decimals = 8; // 18...
Give the creator all initial tokens
balanceOf[msg.sender] = 2100000000000000;
8,038,169
[ 1, 4625, 348, 7953, 560, 30, 225, 22374, 326, 11784, 777, 2172, 2430, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 11013, 951, 63, 3576, 18, 15330, 65, 273, 9035, 12648, 9449, 31, 1171, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity ^0.4.16; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint...
Total number of token issued (1 token = 10^decimals)
uint256 public _totalSupply = 0;
12,838,127
[ 1, 4625, 348, 7953, 560, 30, 10710, 1300, 434, 1147, 16865, 261, 21, 1147, 273, 1728, 66, 31734, 13, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 389, 4963, 3088, 1283, 273, 374, 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, -...
// SPDX-License-Identifier: Apache-2.0 // Code from https://github.com/ethereum/solidity-examples pragma solidity >=0.6.0; pragma experimental ABIEncoderV2; library Bits { uint256 internal constant ONE = uint256(1); uint256 internal constant ONES = type(uint256).max; // Sets the bit at the given 'index' i...
Computes the index of the lowest bit set in 'self'. Returns the lowest bit set as an 'uint8'. Requires that 'self != 0'.
function lowestBitSet(uint256 self) internal pure returns (uint8 lowest) { require(self != 0); uint256 val = self; for (uint8 i = 128; i >= 1; i >>= 1) { if (val & ((ONE << i) - 1) == 0) { lowest += i; val >>= i; } } }
6,387,449
[ 1, 4625, 348, 7953, 560, 30, 225, 14169, 281, 326, 770, 434, 326, 11981, 2831, 444, 316, 296, 2890, 10332, 2860, 326, 11981, 2831, 444, 487, 392, 296, 11890, 28, 10332, 16412, 716, 296, 2890, 480, 374, 10332, 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, 11981, 5775, 694, 12, 11890, 5034, 365, 13, 2713, 16618, 1135, 261, 11890, 28, 11981, 13, 288, 203, 3639, 2583, 12, 2890, 480, 374, 1769, 203, 3639, 2254, 5034, 1244, 273, 365, 31, 203, 3639, 364, 261, 11890, 28, 277, ...
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/token/ERC20/SafeERC20.sol'; import "@openzeppelin/contracts/math/Math.sol"; import '@openzeppelin/contracts/math/SafeMath.sol'; import "@openzeppelin/contracts/utils/Reentran...
* @notice Remove vesting @dev removes `wallet` from vesting, updates globals, lowers the userCount/ remove from global stats
function remove(address wallet) public onlyOwner { require(isUserInfo(wallet), 'TeslaSafeVesting: user has not been added'); totalTeslaSafeRewards = totalTeslaSafeRewards.sub(userInfo[wallet].amount).add(userInfo[wallet].totalWithdrawn).sub(userInfo[wallet].donationAmount); totalTeslaSafeDo...
12,858,065
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 3581, 331, 10100, 632, 5206, 7157, 1375, 19177, 68, 628, 331, 10100, 16, 4533, 10941, 16, 4587, 414, 326, 729, 1380, 19, 1206, 628, 2552, 3177, 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, 1206, 12, 2867, 9230, 13, 1071, 1338, 5541, 288, 203, 3639, 2583, 12, 291, 21015, 12, 19177, 3631, 296, 56, 281, 11821, 9890, 58, 10100, 30, 729, 711, 486, 2118, 3096, 8284, 203, 203, 3639, 2078, 56, 281, 11821, 9890, ...
pragma solidity ^0.4.18; contract DataSourceInterface { function isDataSource() public pure returns (bool); function getGroupResult(uint matchId) external; function getRoundOfSixteenTeams(uint index) external; function getRoundOfSixteenResult(uint matchId) external; function getQuarterResult(uin...
* groups1 scores of the first half of matches (8 bits each) groups2 scores of the second half of matches (8 bits each) brackets winner&#39;s team ids of each round (5 bits each) timeStamp creation timestamp extra number of yellow and red cards (16 bits each)/
struct Token { uint192 groups1; uint192 groups2; uint160 brackets; uint64 timeStamp; uint32 extra; }
7,712,432
[ 1, 4625, 348, 7953, 560, 30, 380, 3252, 21, 377, 8474, 434, 326, 1122, 8816, 434, 1885, 261, 28, 4125, 1517, 13, 3252, 22, 377, 8474, 434, 326, 2205, 8816, 434, 1885, 261, 28, 4125, 1517, 13, 15597, 565, 5657, 1224, 18642, 5520, 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, 1958, 3155, 288, 203, 3639, 2254, 15561, 3252, 21, 31, 203, 3639, 2254, 15561, 3252, 22, 31, 203, 3639, 2254, 16874, 15597, 31, 203, 3639, 2254, 1105, 18198, 31, 203, 3639, 2254, 1578, 225, 2870, 31, 203, 565, 289, 203, 203,...
./full_match/80001/0xfA628d95c2a4eEeB2d6f04A47A5684840c44c326/sources/contracts/Contract.sol
when the nft can start being rented
uint256 startDateUNIX;
5,643,847
[ 1, 4625, 348, 7953, 560, 30, 225, 1347, 326, 290, 1222, 848, 787, 3832, 283, 496, 329, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 2254, 5034, 12572, 10377, 60, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity ^0.5.2; /* From the DSL to the solidity contract, many transformations and optimizations were manually done, that could be realistically done automatically. Necessary transformations include: - Transforming "musts" into "may post or may be timed out". - Adding a notion of timeout. The timeou...
The current invocation MUST be done by player0.
function require_player0 () view internal { require(player[0] == msg.sender); }
5,361,745
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 783, 9495, 10685, 506, 2731, 635, 7291, 20, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2583, 67, 14872, 20, 1832, 1476, 2713, 203, 3639, 288, 203, 7734, 2583, 12, 14872, 63, 20, 65, 422, 1234, 18, 15330, 1769, 203, 3639, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/137/0xD7A619FeE514C98D542986Fd1064Cd1de5fb132a/sources/contracts/ParametersStorage.sol
* @dev convenient way to set parameters with UI of multisig/
function setCustomParamAsAddress(uint _param, address _value) public onlyManager { setCustomParam(_param, bytes32(uint(uint160(_value)))); }
3,740,175
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 26375, 4031, 358, 444, 1472, 598, 6484, 434, 22945, 360, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 26723, 786, 1463, 1887, 12, 11890, 389, 891, 16, 1758, 389, 1132, 13, 1071, 1338, 1318, 288, 203, 3639, 26723, 786, 24899, 891, 16, 1731, 1578, 12, 11890, 12, 11890, 16874, 24899, 1132, 3719, 10019, 203, 565, 289, 203, ...
pragma solidity >=0.4.25 <0.6.0; import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol"; import "openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol"; contract USDTTestToken is ERC20, ERC20Detailed { /** * @dev Constructor that gives msg.sender all of existing tokens. */ constructor() ...
* @dev Constructor that gives msg.sender all of existing tokens./
constructor() public ERC20Detailed('USDTTestToken', 'UTT', 18) { _mint(msg.sender, 10000 * (10 ** uint256(decimals()))); }
15,793,667
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11417, 716, 14758, 1234, 18, 15330, 777, 434, 2062, 2430, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 3885, 1435, 1071, 4232, 39, 3462, 40, 6372, 2668, 3378, 40, 1470, 395, 1345, 2187, 296, 57, 1470, 2187, 6549, 13, 288, 203, 1377, 389, 81, 474, 12, 3576, 18, 15330, 16, 12619, 380, 261, 2163, 2826, 2254, 5034, 12, 31734, 1...
pragma solidity >= 0.4.22 < 0.6.0; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { // Gas optimization: this is cheaper than asserting 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/open...
@notice Override the functions to not allow token transfers until the endrequire(verifyTransfer(_from, _to, _value));
function transferFrom(address _from, address _to, uint256 _value) public returns(bool) { return super.transferFrom(_from, _to, _value); }
2,502,692
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1439, 326, 4186, 358, 486, 1699, 1147, 29375, 3180, 326, 679, 6528, 12, 8705, 5912, 24899, 2080, 16, 389, 869, 16, 389, 1132, 10019, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7412, 1265, 12, 2867, 389, 2080, 16, 1758, 389, 869, 16, 2254, 5034, 389, 1132, 13, 1071, 203, 3639, 1135, 12, 6430, 13, 288, 203, 1377, 327, 2240, 18, 13866, 1265, 24899, 2080, 16, 389, 869, 16, 389, 1132, 1769, 203,...
./full_match/100/0xB4d0774C38bD9A4539CA7810ddEd8C3599a766Fe/sources/contracts/rari-fuse/src/FuseFeeDistributor.sol
* @dev Initializer that sets initial values of state variables. @param owner Default owner. @param _defaultInterestFeeRate The default proportion of Fuse pool interest taken as a protocol fee (scaled by 1e18). @param initialComptrollerImplementation The initial comptroller implementation @param initialCEtherDelegate Th...
) public initializer { require(_defaultInterestFeeRate <= 1e18, "!Interest fee"); __Ownable_init(); transferOwnership(owner); defaultInterestFeeRate = _defaultInterestFeeRate; maxSupplyEth = uint256(-1); maxUtilizationRate = uint256(-1); comptrollerImplementat...
14,288,695
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4378, 3926, 716, 1678, 2172, 924, 434, 919, 3152, 18, 632, 891, 3410, 2989, 3410, 18, 632, 891, 389, 1886, 29281, 14667, 4727, 1021, 805, 23279, 434, 478, 1202, 2845, 16513, 9830, 487, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 262, 1071, 12562, 288, 203, 3639, 2583, 24899, 1886, 29281, 14667, 4727, 1648, 404, 73, 2643, 16, 17528, 29281, 14036, 8863, 203, 3639, 1001, 5460, 429, 67, 2738, 5621, 203, 3639, 7412, 5460, 12565, 12, 8443, 1769, 203, 3639, ...
./full_match/1/0xcf9560B9E952b195D408BE966E4f6Cf4Ab8206E5/sources/Doctor Evil.sol
Tokens to be sent to marketing wallet 6.9% of total supply
_mint(_marketingWallet, ((_supply * 69) / 1000));
8,345,918
[ 1, 4625, 348, 7953, 560, 30, 225, 13899, 358, 506, 3271, 358, 13667, 310, 9230, 1666, 18, 29, 9, 434, 2078, 14467, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3639, 389, 81, 474, 24899, 3355, 21747, 16936, 16, 14015, 67, 2859, 1283, 380, 20963, 13, 342, 4336, 10019, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
/** * OpenZepplin contracts contained within are licensed under an MIT License. * * The MIT License (MIT) * * Copyright (c) 2016-2021 zOS Global Limited * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), ...
How many deer does it take to build a space shuttle? -Nadia Khuzina
contract DegeneratePigs is VRFConsumerBase, ERC721, ReentrancyGuard { address public contractOwner; bytes32 internal keyHash = 0xf86195cf7690c55907b2b611ebb7343a6f649bff128701cc542f0569e2c549da; address internal vrfCoordinator = 0x3d2341ADb2D31f1c5530cDC622016af293177AE0; address internal linkTokenAddre...
14,111,419
[ 1, 4625, 348, 7953, 560, 30, 9017, 4906, 443, 264, 1552, 518, 4862, 358, 1361, 279, 3476, 9171, 5929, 35, 300, 50, 361, 1155, 1475, 76, 29298, 15314, 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, 16351, 463, 1332, 14681, 52, 360, 87, 353, 776, 12918, 5869, 2171, 16, 4232, 39, 27, 5340, 16, 868, 8230, 12514, 16709, 288, 203, 565, 1758, 1071, 6835, 5541, 31, 203, 565, 1731, 1578, 2713, 498, 2310, 273, 374, 5841, 5292, 31677...
// Правила для изменения достоверности распознавания конкретных словоформ в русском словаре. // Обычное предназначение этих правил - изменить равновероятные распознавания // омонимичных форм жаль(безличный глагол)>жаль(императив), // либо повлиять на выбор многословных форм в противовес // выбору отдельных слов: [сле...
ворона вороной --> вороной вороной
wordform_score "вороной" { прилагательное } = -1
7,303,929
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 145, 115, 145, 127, 146, 227, 145, 127, 145, 126, 145, 113, 225, 145, 115, 145, 127, 146, 227, 145, 127, 145, 126, 145, 127, 145, 122, 15431, 225, 145, 115, 145, 127, 146, 227, 145, 127, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 2076, 687, 67, 6355, 315, 145, 115, 145, 127, 146, 227, 145, 127, 145, 126, 145, 127, 145, 122, 6, 288, 225, 145, 128, 146, 227, 145, 121, 145, 124, 145, 113, 145, 116, 145, 113, 146, 229, 145, 118, 145, 124, 146, 239, 145,...
./full_match/42/0xC93bB764Db970da6A1bC5040c680B2Cb449b0e0E/sources/contracts/core/ProxyAuth.sol
@title ProxyAuth Gets DSProxy auth from users and is callable by the Executor
contract ProxyAuth is AdminAuth { address public constant REGISTRY_ADDR = 0xd26966adCdF4ef5CFcc6d2fFfe0190DF17acB72A; IDFSRegistry public constant registry = IDFSRegistry(REGISTRY_ADDR); bytes32 constant STRATEGY_EXECUTOR_ID = keccak256("StrategyExecutor"); string public constant ERR_SENDER_NOT_EXECUT...
16,284,522
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 7659, 1730, 11881, 8678, 3886, 1357, 628, 3677, 471, 353, 4140, 635, 326, 13146, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 7659, 1730, 353, 7807, 1730, 288, 203, 203, 565, 1758, 1071, 5381, 11980, 25042, 67, 14142, 273, 374, 7669, 5558, 29, 6028, 361, 19728, 42, 24, 10241, 25, 8955, 952, 26, 72, 22, 74, 42, 3030, 1611, 9349, 4577, 4033, 1077, ...
./full_match/5/0x1668f50d703eAa5C1Cf15B98b8C08CF82bdc8a32/sources/project_/contracts/ERC721A.sol
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token./
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); if (!_isRevealed) { } return string(abi.encodePacked(_baseURI(), _toString(tokenId), ".json")); }
1,928,863
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 1351, 6854, 2591, 10333, 261, 3098, 13, 364, 1375, 2316, 548, 68, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1147, 3098, 12, 11890, 5034, 1147, 548, 13, 1071, 1476, 5024, 3849, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 309, 16051, 67, 1808, 12, 2316, 548, 3719, 15226, 3699, 1138, 1290, 3989, 19041, 1345, 5621, 203, 3639, 309, ...
./full_match/1/0x80cdC7CF8670B922EF86c6F0e7f237bD4598439A/sources/MRaceNFT.sol
Pricing IDs for levels and sequences are NOT in _paymentMethods
mapping(uint256 => bool) private _levelsWithSpecialPayments;
8,413,023
[ 1, 4625, 348, 7953, 560, 30, 225, 453, 1512, 310, 7115, 364, 7575, 471, 8463, 854, 4269, 316, 389, 9261, 4712, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2874, 12, 11890, 5034, 516, 1426, 13, 3238, 389, 12095, 1190, 12193, 23725, 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, ...
// File: @openzeppelin\contracts\token\ERC20\IERC20.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view ret...
ZEUSToken with Governance.
contract ZEUSToken is ERC20("ZEUSV2Token", "ZEUSV2"), Ownable { function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); _moveDelegates(address(0), _delegates[_to], _amount); } function burn(address _from, uint256 _amount) public onlyOwner { _burn(_from, ...
509,549
[ 1, 4625, 348, 7953, 560, 30, 225, 2285, 41, 5996, 969, 598, 611, 1643, 82, 1359, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2285, 41, 5996, 969, 353, 4232, 39, 3462, 2932, 3794, 3378, 58, 22, 1345, 3113, 315, 3794, 3378, 58, 22, 6, 3631, 14223, 6914, 288, 203, 203, 565, 445, 312, 474, 12, 2867, 389, 869, 16, 2254, 5034, 389, 8949, 13, 1071, ...