file_name
stringlengths
71
779k
comments
stringlengths
20
182k
code_string
stringlengths
20
36.9M
__index_level_0__
int64
0
17.2M
input_ids
list
attention_mask
list
labels
list
./partial_match/3/0x34E154d75E875Cd1ef77dAdd7Fc31b983F33C3B2/sources/BackendPool.sol
TODO to reset crimecash total supply
function finishRound() public onlyOwner { crimecashToken.resetCrimCashSupply(); isRoundOpening = false; rounds++; }
5,112,576
[ 1, 4625, 348, 7953, 560, 30, 2660, 358, 2715, 4422, 494, 71, 961, 2078, 14467, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4076, 11066, 1435, 1071, 1338, 5541, 288, 203, 565, 4422, 494, 71, 961, 1345, 18, 6208, 12893, 381, 39, 961, 3088, 1283, 5621, 203, 565, 353, 11066, 21378, 273, 629, 31, 203, 565, 21196, 9904, 31, 203, 225, 289, 203, ...
// SPDX-License-Identifier: MIT pragma solidity 0.6.10; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error. */ library SafeMath { function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); u...
* @title The main project contract./ registered contracts (to prevent loss of token via transfer function)
contract LCFToken is ERC20, Ownable { mapping (address => bool) private _contracts; constructor(address initialOwner, address recipient) public Ownable(initialOwner) { _name = "Lowcap.fund"; _symbol = "LCF"; _decimals = 18; uint256 initialSupply = 100000 * 10**18; _m...
14,686,357
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 1021, 2774, 1984, 6835, 18, 19, 4104, 20092, 261, 869, 5309, 8324, 434, 1147, 3970, 7412, 445, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 511, 8955, 1345, 353, 4232, 39, 3462, 16, 14223, 6914, 288, 203, 203, 565, 2874, 261, 2867, 516, 1426, 13, 3238, 389, 16351, 87, 31, 203, 203, 565, 3885, 12, 2867, 2172, 5541, 16, 1758, 8027, 13, 1071, 14223, 6914, 12, 6...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import { Proxy } from "./Proxy.sol"; import { Owned } from "@rari-capital/solmate/src/auth/Owned.sol"; import { Lib_AddressManager } from "../legacy/Lib_AddressManager.sol"; import { L1ChugSplashProxy } from "../legacy/L1ChugSplashProxy.sol"; // Define static in...
* @dev Changes the admin of `proxy` to `newAdmin`. This contract must be the current admin of `proxy`. @param proxy The proxy that will have its admin updated. @param newAdmin The address of the admin to update to./
function changeProxyAdmin(Proxy proxy, address newAdmin) external onlyOwner { ProxyType proxyType = proxyType[address(proxy)]; if (proxyType == ProxyType.ERC1967) { proxy.changeAdmin(newAdmin); L1ChugSplashProxy(payable(proxy)).setOwner(newAdmin); addressManager....
12,840,660
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 17776, 326, 3981, 434, 1375, 5656, 68, 358, 1375, 2704, 4446, 8338, 1220, 6835, 1297, 506, 326, 783, 3981, 1377, 434, 1375, 5656, 8338, 632, 891, 2889, 565, 1021, 2889, 716, 903, 1240, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 1, 565, 445, 2549, 3886, 4446, 12, 3886, 2889, 16, 1758, 394, 4446, 13, 3903, 1338, 5541, 288, 203, 3639, 7659, 559, 2889, 559, 273, 2889, 559, 63, 2867, 12, 5656, 13, 15533, 203, 203, 3639, 309, 261, 5656, 559, 422, 7659, 559, 18...
pragma solidity ^0.4.18; // адрес теста https://ropsten.etherscan.io/token/0x1fcbe22ce0c2d211c51866966152a70490dd8045?a=0x1fcbe22ce0c2d211c51866966152a70490dd8045 contract owned { address public owner; address public candidat; event OwnershipTransferred(address indexed _from, address indexed _to); func...
require(state == State.Disabled);if(balanceOf[this]>0)
function startTokensSale(uint _volume_tokens, uint token_by_ether, uint min_in_token) public { require(owner == msg.sender); require((_volume_tokens * 10**uint(decimals))<(balanceOf[owner]+balanceOf[this])); tokensPerOneEther = token_by_ether; min_tokens = min_in_token; ...
10,066,914
[ 1, 4625, 348, 7953, 560, 30, 2583, 12, 2019, 422, 3287, 18, 8853, 1769, 430, 12, 12296, 951, 63, 2211, 65, 34, 20, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 787, 5157, 30746, 12, 11890, 389, 9491, 67, 7860, 16, 2254, 1147, 67, 1637, 67, 2437, 16, 2254, 1131, 67, 267, 67, 2316, 13, 1071, 288, 203, 3639, 2583, 12, 8443, 422, 1234, 18, 15330, 1769, 203, 3639, 2583, 12443, 67...
./full_match/1/0xb75D4D6F74b57e4377b0d0619ffa8540FFf78e45/sources/contracts/PaymentSplitter.sol
* @title PaymentSplitter @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware that the Ether will be split in this way, since it is handled transparently by the contract. The split can be in equal parts or in any other arbitrary proportion. The way this is sp...
contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _sh...
17,096,311
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 12022, 26738, 632, 5206, 1220, 6835, 5360, 358, 1416, 512, 1136, 25754, 17200, 279, 1041, 434, 9484, 18, 1021, 5793, 1552, 486, 1608, 358, 506, 18999, 716, 326, 512, 1136, 903, 506, 1416, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 12022, 26738, 353, 1772, 288, 203, 565, 871, 13838, 1340, 8602, 12, 2867, 2236, 16, 2254, 5034, 24123, 1769, 203, 565, 871, 12022, 26363, 12, 2867, 358, 16, 2254, 5034, 3844, 1769, 203, 565, 871, 12022, 8872, 12, 2867, 628, ...
pragma solidity 0.8.10; /*** *@title Vesting Escrow *@author InsureDAO * SPDX-License-Identifier: MIT *@notice Vests `InsureToken` tokens for multiple addresses over multiple vesting periods */ //libraries import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/...
**@notice Get the number of locked tokens for a given address@param _recipient address to check/
function lockedOf(address _recipient) external view returns (uint256) { if (is_ragged[_recipient] == true) { return 0; return initial_locked[_recipient] - _total_vested_of(_recipient, block.timestamp); } }
15,819,362
[ 1, 4625, 348, 7953, 560, 30, 2826, 36, 20392, 968, 326, 1300, 434, 8586, 2430, 364, 279, 864, 1758, 36, 891, 389, 20367, 1758, 358, 866, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8586, 951, 12, 2867, 389, 20367, 13, 3903, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 309, 261, 291, 67, 2458, 2423, 63, 67, 20367, 65, 422, 638, 13, 288, 203, 5411, 327, 374, 31, 203, 5411, 327, 203, 7734, 2...
pragma solidity >=0.4.25 <0.6.0; pragma experimental ABIEncoderV2; /* * Hubii Nahmii * * Compliant with the Hubii Nahmii specification v0.12. * * Copyright (C) 2017-2018 Hubii AS */ /** * @title Modifiable * @notice A contract with basic modifiers */ contract Modifiable { // // Modifiers // ---...
@notice Get deposit by partner name and deposit indices @param name The name of the concerned partner @param depositIndex The index of the concerned deposit return The deposit parameters Implicitly require that partner name is registered
function depositByName(string memory name, uint depositIndex) public view returns (int256 balance, uint256 blockNumber, address currencyCt, uint256 currencyId) { return _depositByIndices(indexByName(name) - 1, depositIndex); }
1,006,037
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 968, 443, 1724, 635, 19170, 508, 471, 443, 1724, 4295, 632, 891, 508, 1021, 508, 434, 326, 356, 2750, 11748, 19170, 632, 891, 443, 1724, 1016, 1021, 770, 434, 326, 356, 2750, 11748, 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, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 443, 1724, 5911, 12, 1080, 3778, 508, 16, 2254, 443, 1724, 1016, 13, 203, 565, 1071, 203, 565, 1476, 203, 565, 1135, 261, 474, 5034, 11013, 16, 2254, 5034, 1203, 1854, 16, 1758, 5462, 39, 88, 16, 2254, 5034, 5462, 548...
pragma solidity ^0.5.8; library SafeMath { function MUL38(uint256 a, uint256 b) internal pure returns (uint256) { //inject NONSTANDARD NAMING // Gas optimization: this is cheaper than requiring 'a' not being zero, but the ...
inject NONSTANDARD NAMING
function _TRANSFER167(address from, address to, uint256 value) internal {
14,049,156
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 16596, 6553, 28120, 12, 2867, 628, 16, 1758, 358, 16, 2254, 5034, 460, 13, 2713, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0; import "./interfaces/IBorrowerOps.sol"; import "./interfaces/IVaultManager.sol"; import "./interfaces/IOSDToken.sol"; import "./interfaces/ICollSurplusPool.sol"; import "./interfaces/ISortedVaults.sol"; import "./Dependencies/OrumBase.sol"; import "./Dependenci...
decay the baseRate state variable
_vaultManager.decayBaseRateFromBorrowing();
5,400,178
[ 1, 4625, 348, 7953, 560, 30, 225, 22286, 326, 1026, 4727, 919, 2190, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 389, 26983, 1318, 18, 26039, 2171, 4727, 1265, 38, 15318, 310, 5621, 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, ...
//Address: 0x00416B9d728069eDB0cEb04bC2b203fA7336d1F1 //Contract name: AversafeSeedCrowdsale //Balance: 0 Ether //Verification Date: 11/29/2017 //Transacion Count: 36 // CODE STARTS HERE /* Copyright 2017 Cofound.it. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file ex...
Check if max contribution is more that max cap
if (maxContrib > (maxP1Cap - ethRaised)) {
1,003,023
[ 1, 4625, 348, 7953, 560, 30, 225, 2073, 309, 943, 24880, 353, 1898, 716, 943, 3523, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 565, 309, 261, 1896, 442, 665, 405, 261, 1896, 52, 21, 4664, 300, 13750, 12649, 5918, 3719, 288, 4766, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.5.3; /** * @author ESPAY PTY LTD. */ /** * @title ERC223ReceivingContract * @dev ContractReceiver abstract class that define by erc223, the method tokenFallback must by receiver contract if it want * to accept erc223 tokens. * ERC223 Receiving Contract interface */ contract ERC223Receivi...
* @dev Throws if called by any account other than the owner./
modifier onlyOwner() { _; }
949,155
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 22435, 309, 2566, 635, 1281, 2236, 1308, 2353, 326, 3410, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 9606, 1338, 5541, 1435, 288, 203, 203, 3639, 389, 31, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity ^0.5.0; contract TodoList { // define variable that is an integer uint public taskCount = 0; // i think this is how to display the box struct Task { uint id; string content; bool completed; } // create a variable "tasks" that is a dictionary key/value mapping(uint => Task...
define variable that is an integer i think this is how to display the box
contract TodoList { uint public taskCount = 0; struct Task { uint id; string content; bool completed; } uint id, string content, bool completed ); event TaskCompleted( uint id, bool completed ); mapping(uint => Task) public tasks; event TaskCreated( constructor() publ...
12,952,178
[ 1, 4625, 348, 7953, 560, 30, 225, 4426, 2190, 716, 353, 392, 3571, 277, 15507, 333, 353, 3661, 358, 2562, 326, 3919, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 399, 7370, 682, 288, 203, 225, 2254, 1071, 1562, 1380, 273, 374, 31, 203, 225, 1958, 3837, 288, 203, 565, 2254, 612, 31, 203, 565, 533, 913, 31, 203, 565, 1426, 5951, 31, 203, 225, 289, 203, 565, 2254, 612, 16, 203, 56...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /* ___ _ _ | _ )_ _ _ _ _ _ _ _ | | | | | _ \ || | ' \| ' \ || | |_| |_| |___/\_,_|_||_|_||_\_, | (_) (_) |__/ * * MIT License * =========== * * Copyright (c) 2020 BunnyFinance * * Permission is hereby granted,...
========== CONSTANTS ============= */ ========== STATE VARIABLES ========== */ ========== MODIFIERS ========== */
modifier onlyMinter() { require( isMinter(msg.sender) == true, "RubiMinterV2: caller is not the minter" ); _; }
2,543,115
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 1432, 24023, 55, 422, 1432, 12275, 1195, 422, 1432, 7442, 22965, 55, 422, 1432, 1195, 422, 1432, 8663, 10591, 55, 422, 1432, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1338, 49, 2761, 1435, 288, 203, 3639, 2583, 12, 203, 5411, 15707, 2761, 12, 3576, 18, 15330, 13, 422, 638, 16, 203, 5411, 315, 54, 30753, 49, 2761, 58, 22, 30, 4894, 353, 486, 326, 1131, 387, 6, 203, 3639, 11272, 2...
./full_match/1/0x5c9A946b7F6d7B2c4dd64Aadd11126016C603C81/sources/contracts/FailGuysNFT.sol
Function to modify MintersInfo of an item in minters
function modifyMintersInfo( string memory _minterName, uint8 _newMaxMintPerTransaction, uint256 _newMintCost, bytes32 _newRoot ) public onlyOwner { require(minters[_minterName].root != bytes32(0), "MintersInfo not found."); MintersInfo memory updatedMintersInfo = ...
8,485,400
[ 1, 4625, 348, 7953, 560, 30, 4284, 358, 5612, 490, 2761, 87, 966, 434, 392, 761, 316, 1131, 5432, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 5612, 49, 2761, 87, 966, 12, 203, 3639, 533, 3778, 389, 1154, 387, 461, 16, 203, 3639, 2254, 28, 389, 2704, 2747, 49, 474, 2173, 3342, 16, 203, 3639, 2254, 5034, 389, 2704, 49, 474, 8018, 16, 203, 3639, 1731, 1578, ...
//This is tokenomics // 6% tax // Split as follows: // 4% to our property purchase wallet paid out in BUSD // 2% back to holders paid out in BUSD // These paid out daily or every 6 hours. // 3% of total supply whale wallet limit. // Would be nice if we could figure out a way to prevent that tax when staking tokens. // ...
Contract owner modifies rate settings
function setFees(uint _purcaseFee, uint _holdersFee, uint _limitPerWallet) external onlyOwner { purcaseFee = _purcaseFee; holdersFee = _holdersFee; limitPerWallet = _limitPerWallet; }
15,841,456
[ 1, 4625, 348, 7953, 560, 30, 13456, 3410, 23934, 4993, 1947, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 202, 915, 444, 2954, 281, 12, 11890, 389, 12688, 3593, 14667, 16, 2254, 389, 9000, 14667, 16, 2254, 389, 3595, 2173, 16936, 13, 3903, 1338, 5541, 288, 203, 202, 202, 12688, 3593, 14667, 273, 389, 12688, 3593, 14667, 31, 203, 202, ...
./partial_match/1/0x9190d289E7054DaB91a2F5Ed77a7d57fE8381Def/sources/KOLWithDraw.sol
leftBonus = leftBonus.sub(realBonus); */
uint256 tax = realBonus*fee/100;
4,468,267
[ 1, 4625, 348, 7953, 560, 30, 225, 2002, 38, 22889, 273, 2002, 38, 22889, 18, 1717, 12, 7688, 38, 22889, 1769, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 5320, 273, 2863, 38, 22889, 14, 21386, 19, 6625, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "./erc677/ERC677.sol"; contract CrunchToken is ERC677, ERC20Burnable { constructor() ERC20("Crunch Token", "CRUNCH") { _mint(msg.sender, 10765163 * 10**decimals()); ...
beneficiary of tokens after they are released. */* the start time of the token vesting. */* the cliff time of the token vesting. */* the duration of the token vesting. */* the amount of the token released. */* true if the vesting can be revoked. */* true if the vesting has been revoked. */
) HasCrunchParent(crunch) { require( _beneficiary != address(0), "Vesting: beneficiary is the zero address" ); require( _cliffDuration <= _duration, "Vesting: cliff is longer than duration" ); require(_duration > 0, "Vesting: du...
425,506
[ 1, 4625, 348, 7953, 560, 30, 225, 27641, 74, 14463, 814, 434, 2430, 1839, 2898, 854, 15976, 18, 1195, 14, 326, 787, 813, 434, 326, 1147, 331, 10100, 18, 1195, 14, 326, 927, 3048, 813, 434, 326, 1147, 331, 10100, 18, 1195, 14, 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, 565, 262, 4393, 39, 2681, 343, 3054, 12, 71, 2681, 343, 13, 288, 203, 3639, 2583, 12, 203, 5411, 389, 70, 4009, 74, 14463, 814, 480, 1758, 12, 20, 3631, 203, 5411, 315, 58, 10100, 30, 27641, 74, 14463, 814, 353, 326, 3634, 17...
pragma solidity ^0.4.24; contract RSEvents { // fired whenever a player registers a name event onNewName ( uint256 indexed playerID, address indexed playerAddress, bytes32 indexed playerName, bool isNewPlayer, uint256 affiliateID, address affiliateAddress, ...
* @dev this is the core logic for any buy/reload that happens while a round is live./ if player is new to round early round eth limiter mint the new keys if they bought at least 1 whole key set new leaders set the new leader bool to true gib muni calculate prize and give it to winner adjust airDropPot let event know a ...
function core(uint256 _rID, uint256 _pID, uint256 _eth, uint256 _affID, RSdatasets.EventReturns memory _eventData_) private { if (plyrRnds_[_pID][_rID].keys == 0) _eventData_ = managePlayer(_pID, _eventData_); if (round_[_rID].eth < 100000000000000000000 && plyrRnds_...
12,171,708
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 333, 353, 326, 2922, 4058, 364, 1281, 30143, 19, 17517, 716, 10555, 1323, 279, 3643, 353, 8429, 18, 19, 309, 7291, 353, 394, 358, 3643, 11646, 3643, 13750, 25057, 312, 474, 326, 394, 1311...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2922, 12, 11890, 5034, 389, 86, 734, 16, 2254, 5034, 389, 84, 734, 16, 2254, 5034, 389, 546, 16, 2254, 5034, 389, 7329, 734, 16, 14746, 21125, 18, 1133, 1356, 3778, 389, 2575, 751, 67, 13, 203, 3639, 3238, 203, 565, ...
//SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.12; library SafeMath2 { function add(uint x, uint y) internal pure returns (uint z) { require((z = x + y) >= x, 'ds-math-add-overflow'); } function sub(uint x, uint y) internal pure returns (uint z) { require((z = x - y) <= x, 'ds-math-sub-underflow'...
last Stake updatetime
uint lastStakeUpdateTime;
1,787,592
[ 1, 4625, 348, 7953, 560, 30, 225, 1142, 934, 911, 2166, 270, 2374, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 202, 11890, 1142, 510, 911, 1891, 950, 31, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/1/0x45F97D07dAB04B21F36fA3b1149c35e316b35d03/sources/contracts/PirexCvx.sol
/ Used to update the redeemed flag locally before updating to the storage all at once for gas efficiency Check whether msg.sender maintained a positive balance before the snapshot
function redeemSnapshotRewards( uint256 epoch, uint256[] calldata rewardIndexes, address receiver ) external whenNotPaused nonReentrant { if (epoch == 0) revert InvalidEpoch(); if (receiver == address(0)) revert ZeroAddress(); uint256 rewardLen = rewardIndexes.le...
16,476,814
[ 1, 4625, 348, 7953, 560, 30, 342, 10286, 358, 1089, 326, 283, 24903, 329, 2982, 13760, 1865, 9702, 358, 326, 2502, 777, 622, 3647, 364, 16189, 30325, 2073, 2856, 1234, 18, 15330, 11566, 8707, 279, 6895, 11013, 1865, 326, 4439, 2, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 283, 24903, 4568, 17631, 14727, 12, 203, 3639, 2254, 5034, 7632, 16, 203, 3639, 2254, 5034, 8526, 745, 892, 19890, 8639, 16, 203, 3639, 1758, 5971, 203, 565, 262, 3903, 1347, 1248, 28590, 1661, 426, 8230, 970, 288, 203, ...
claimers[0xEB079Ee381FC821B809F6110cCF7a8439C7A6870] = 0; // seq: 0 -> tkn_id: 0 claimers[0xcBD56A71a02fA7AA01bF1c94c0AeB2828Bebdc0A] = 1; // seq: 1 -> tkn_id: 1 claimers[0x9E1fDAB0FE4141fe269060f098bc7076d248cE7B] = 2; // seq: 2 -> tkn_id: 2 claimers[0x33aEA8f43D9685683b236B20a1818aFcD48204cD] = 3; // seq: 3 -> tk...
seq: 112 -> tkn_id: 112
claimers[0x88bf9430fE41AC4Dd87BeC4ba3C44012f7876e55] = 112;
12,654,608
[ 1, 4625, 348, 7953, 560, 30, 225, 3833, 30, 23543, 317, 13030, 82, 67, 350, 30, 23543, 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, 202, 14784, 414, 63, 20, 92, 5482, 17156, 11290, 5082, 74, 41, 9803, 2226, 24, 40, 72, 11035, 1919, 39, 24, 12124, 23, 39, 6334, 1611, 22, 74, 8285, 6669, 73, 2539, 65, 273, 23543, 31, 225, 2, -100, -100, -100, -100, -100, -1...
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.0; // ---------------------------------------------------------------------------- // Owned contract // ---------------------------------------------------------------------------- contract Owned { address payable public owner; event OwnershipTransfe...
------------------------------------------------------------------------ Query to get the staking rate ------------------------------------------------------------------------
function LatestStakingRate() external view returns(uint256 APY){ return tokens[SYFP].rate; }
15,358,940
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 17082, 2770, 358, 336, 326, 384, 6159, 4993, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 29830, 510, 6159, 4727, 1435, 3903, 1476, 1135, 12, 11890, 5034, 14410, 61, 15329, 203, 3639, 327, 2430, 63, 7474, 30246, 8009, 5141, 31, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity 0.6.6; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@kyber.network/utils-sc/contracts/Utils.sol"; import "../IKyberFeeHandler.sol"; import "../IKyberDao.sol"; import "./WithdrawableNoModifiers.sol"; import "./IKyberNetwo...
till we read value from kyberDao
uint256 internal constant DEFAULT_NETWORK_FEE_BPS = 25;
5,532,739
[ 1, 4625, 348, 7953, 560, 30, 225, 21364, 732, 855, 460, 628, 417, 93, 744, 11412, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 2713, 5381, 3331, 67, 28047, 67, 8090, 41, 67, 38, 5857, 273, 6969, 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, ...
./partial_match/1/0xF8a949FA6B83860cFd7E301A3553abAaD20A3abe/sources/PublicLock.sol
Use initialize instead of a constructor to support proxies(for upgradeability via zos). Function to read the globalTokenURI field. Function to read the globalTokenSymbol field. Allows the owner to change the value tracking variables as needed. The address of the public lock template, used when `createLock` is called M...
{ function initialize(address _unlockOwner) external; function createLock( uint _expirationDuration, address _tokenAddress, uint _keyPrice, uint _maxNumberOfKeys, string calldata _lockName, bytes12 _salt ) external; function recordKeyPurchase( uint _value, ) external; func...
4,075,084
[ 1, 4625, 348, 7953, 560, 30, 225, 2672, 4046, 3560, 434, 279, 3885, 358, 2865, 13263, 12, 1884, 8400, 2967, 3970, 998, 538, 2934, 4284, 358, 855, 326, 2552, 1345, 3098, 652, 18, 4284, 358, 855, 326, 2552, 1345, 5335, 652, 18, 25619,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 95, 203, 225, 445, 4046, 12, 2867, 389, 26226, 5541, 13, 3903, 31, 203, 203, 225, 445, 752, 2531, 12, 203, 565, 2254, 389, 19519, 5326, 16, 203, 565, 1758, 389, 2316, 1887, 16, 203, 565, 2254, 389, 856, 5147, 16, 203, 565, 22...
/* Copyright 2021 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
Instance of Compound Comptroller
IComptroller comptroller;
478,695
[ 1, 4625, 348, 7953, 560, 30, 225, 5180, 434, 21327, 1286, 337, 1539, 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, 467, 799, 337, 1539, 532, 337, 1539, 31, 7682, 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/5/0x75B213be4e8866E52aA9154DD3Ea9bc58e749E3B/sources/src/Contract.sol
withdraw funds from contract
function withrawDepositSafely() public onlyOwner { require(deposit > 0, "There are no funds to withdraw"); uint256 amount = deposit; deposit = 0; payable(msg.sender).transfer(amount); emit DepositWithdrawn(amount); }
1,875,745
[ 1, 4625, 348, 7953, 560, 30, 225, 598, 9446, 284, 19156, 628, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1899, 758, 1724, 26946, 2357, 1435, 1071, 1338, 5541, 288, 203, 3639, 2583, 12, 323, 1724, 405, 374, 16, 315, 9828, 854, 1158, 284, 19156, 358, 598, 9446, 8863, 203, 3639, 2254, 5034, 3844, 273, 443, 1724, 31, 203,...
./full_match/3/0x22ccFA62a295C78626ffd252d011E54aA0bCd5cc/sources/shiba.sol
function _getRValues(uint256 tAmount, uint256 tFee, uint256 tLiquidity, tBurn, tMarketing, tCharity uint256 currentRate) private pure returns (uint256, uint256, uint256) {
function _getRValues(uint256[6] memory tValues, uint256 currentRate) private pure returns (uint256, uint256, uint256) { uint256 rAmount = tValues[0].mul(currentRate); uint256 rFee = tValues[1].mul(currentRate); uint256 rLiquidity = tValues[2].mul(currentRate); uint256 rBurn = tValues...
14,260,926
[ 1, 4625, 348, 7953, 560, 30, 445, 389, 588, 54, 1972, 12, 11890, 5034, 268, 6275, 16, 2254, 5034, 268, 14667, 16, 2254, 5034, 268, 48, 18988, 24237, 16, 268, 38, 321, 16, 268, 3882, 21747, 16, 268, 2156, 560, 2254, 5034, 783, 4727...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 588, 54, 1972, 12, 11890, 5034, 63, 26, 65, 3778, 268, 1972, 16, 2254, 5034, 783, 4727, 13, 3238, 16618, 1135, 261, 11890, 5034, 16, 2254, 5034, 16, 2254, 5034, 13, 288, 203, 3639, 2254, 5034, 436, 6275, 273, 268...
pragma solidity ^0.4.24; interface PlayerBookReceiverInterface { function receivePlayerInfo(uint256 _pID, address _addr, bytes32 _name, uint256 _laff) external; function receivePlayerNameList(uint256 _pID, bytes32 _name) external; } interface TeamAnonymousInterface { function requiredSignatures() external...
============================================================================== _ _ _|_ _ . _\(/_ | |_||_) .=============|================================================================
function addGame(address _gameAddress, string _gameNameStr) onlyDevs() public { require(gameIDs_[_gameAddress] == 0, "derp, that games already been registered"); gID_++; bytes32 _name = _gameNameStr.nameFilter(); gameIDs_[_gameAddress] = gID_; gameNam...
271,027
[ 1, 4625, 348, 7953, 560, 30, 422, 9917, 14468, 282, 389, 389, 389, 96, 67, 565, 389, 282, 263, 225, 389, 30351, 18510, 571, 571, 67, 20081, 67, 13, 225, 263, 14468, 33, 96, 9917, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 527, 12496, 12, 2867, 389, 13957, 1887, 16, 533, 389, 13957, 461, 1585, 13, 203, 3639, 1338, 758, 6904, 1435, 203, 3639, 1071, 203, 565, 288, 203, 3639, 2583, 12, 13957, 5103, 67, 63, 67, 13957, 1887, 65, 422, 374, 16...
contract Certifier { event Confirmed(address indexed who); event Revoked(address indexed who); function certified(address _who) view public returns (bool); } contract ERC223ReceivingContract { /// @dev Standard ERC223 function that will handle incoming token transfers. /// @param _from Token sender addres...
Reputation field V0.1 Reputation is based on volume sell, volume buy, and number of transaction/
mapping(address => uint) volumeBuy;
4,802,944
[ 1, 4625, 348, 7953, 560, 30, 225, 868, 458, 367, 652, 776, 20, 18, 21, 868, 458, 367, 353, 2511, 603, 3940, 357, 80, 16, 3940, 30143, 16, 471, 1300, 434, 2492, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 2874, 12, 2867, 516, 2254, 13, 3940, 38, 9835, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity ^0.4.13; // **----------------------------------------------- // 0.4.13+commit.0fb4cb1a // [Assistive Reality ARX ERC20 token & crowdsale contract w/10% dev alloc] // [https://aronline.io/icoinfo] // [v3.2 final released 10/09/17 final masterARXsale32mainnet.sol] // [Adapted from Ethereum standard...
ICO in progress, over softcap!
} else if ((amountRaisedInWei >= fundingMinInWei) && (amountRaisedInWei < fundingMaxInWei) && (block.number <= fundingEndBlock)) {
15,798,970
[ 1, 4625, 348, 7953, 560, 30, 225, 467, 3865, 316, 4007, 16, 1879, 8971, 5909, 5, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1377, 289, 469, 309, 14015, 8949, 12649, 5918, 382, 3218, 77, 1545, 22058, 2930, 382, 3218, 77, 13, 597, 261, 8949, 12649, 5918, 382, 3218, 77, 411, 22058, 2747, 382, 3218, 77, 13, 597, 261, 2629, 18, 2696, 1648, 22058, 1638, 176...
./full_match/1/0x9C070027cdC9dc8F82416B2e5314E11DFb4FE3CD/sources/contracts/bridge/Wallets.sol
@notice Terminates the given wallet and notifies the ECDSA registry about this fact. If the wallet termination refers to the current active wallet, such a wallet is no longer considered active and the active wallet slot is unset allowing to trigger a new wallet creation immediately. @pa...
function terminateWallet( BridgeState.Storage storage self, bytes20 walletPubKeyHash ) internal { Wallet storage wallet = self.registeredWallets[walletPubKeyHash]; if (wallet.state == WalletState.Live) { self.liveWalletsCount--; } wallet.state = Wall...
4,856,623
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 6820, 4174, 326, 864, 9230, 471, 19527, 326, 7773, 19748, 4023, 540, 2973, 333, 5410, 18, 971, 326, 9230, 19650, 21368, 358, 326, 783, 540, 2695, 9230, 16, 4123, 279, 9230, 353, 1158, 71...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10850, 16936, 12, 203, 3639, 24219, 1119, 18, 3245, 2502, 365, 16, 203, 3639, 1731, 3462, 9230, 17924, 2310, 203, 565, 262, 2713, 288, 203, 3639, 20126, 2502, 9230, 273, 365, 18, 14327, 26558, 2413, 63, 19177, 17924, 2310...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "./SwapUtils.sol"; /** * @title AmplificationUtils library * @notice A library to calculate and ramp the A parameter of a given `SwapUtils.Swap` struct. * This library assumes the struct is ...
* @notice Stops ramping A immediately. Once this function is called, rampA() cannot be called for another 24 hours @param self Swap struct to update/
function stopRampA(SwapUtilsV1.Swap storage self) external { require(self.futureATime > block.timestamp, "Ramp is already stopped"); uint256 currentA = _getAPrecise(self); self.initialA = currentA; self.futureA = currentA; self.initialATime = block.timestamp; self.fu...
970,140
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 934, 4473, 436, 931, 310, 432, 7636, 18, 12419, 333, 445, 353, 2566, 16, 436, 931, 37, 1435, 2780, 506, 2566, 364, 4042, 4248, 7507, 632, 891, 365, 12738, 1958, 358, 1089, 19, 2, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2132, 54, 931, 37, 12, 12521, 1989, 58, 21, 18, 12521, 2502, 365, 13, 3903, 288, 203, 3639, 2583, 12, 2890, 18, 14343, 789, 494, 405, 1203, 18, 5508, 16, 315, 54, 931, 353, 1818, 9627, 8863, 203, 203, 3639, 2254, 50...
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { // Gas optimization: this is cheaper than asser...
should have enough balance to position
require (balanceOf[_from].sub(totalPositionToOthers[_from]) >= _value);
10,007,625
[ 1, 4625, 348, 7953, 560, 30, 225, 1410, 1240, 7304, 11013, 358, 1754, 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, 202, 202, 6528, 261, 12296, 951, 63, 67, 2080, 8009, 1717, 12, 4963, 2555, 774, 51, 29540, 63, 67, 2080, 5717, 1545, 389, 1132, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity ^0.5.0; pragma experimental ABIEncoderV2; import '../CompiledPredicate.sol'; /** * @title MockCompiledPredicate * @notice Mock of compiled predicate. This can be used as MockStateUpdatePredicate or MockTransactionPredicate. */ contract MockCompiledPredicate is CompiledPredicate { address publi...
* @title MockCompiledPredicate @notice Mock of compiled predicate. This can be used as MockStateUpdatePredicate or MockTransactionPredicate./
contract MockCompiledPredicate is CompiledPredicate { address public payoutContractAddress = address(this); function isValidChallenge( bytes[] memory _inputs, bytes[] memory _challengeInputs, types.Property memory _challenge constructor() public {} ) public view returns (bool) ...
7,294,213
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 7867, 20733, 8634, 632, 20392, 7867, 434, 7743, 5641, 18, 1220, 848, 506, 1399, 487, 7867, 1119, 1891, 8634, 578, 7867, 3342, 8634, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 7867, 20733, 8634, 353, 25854, 8634, 288, 203, 565, 1758, 1071, 293, 2012, 8924, 1887, 273, 1758, 12, 2211, 1769, 203, 203, 203, 565, 445, 4908, 18359, 12, 203, 3639, 1731, 8526, 3778, 389, 10029, 16, 203, 3639, 1731, 8526, ...
/* * Copyright 2016 Modum.io and the CSG Group at University of Zurich * * 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 requi...
The temperature range to check */
function temperatureMin() constant returns (int8) { return minTemperature; }
5,547,739
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 12843, 1048, 358, 866, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12843, 2930, 1435, 5381, 1135, 261, 474, 28, 13, 288, 203, 4202, 327, 1131, 1837, 9289, 31, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
/* * Copyright (C) 2017 Fluence Labs Limited * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This ...
Emitted on every new Node
event NewNode(bytes32 id);
13,003,990
[ 1, 4625, 348, 7953, 560, 30, 225, 512, 7948, 603, 3614, 394, 2029, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 871, 1166, 907, 12, 3890, 1578, 612, 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, -100, -...
./full_match/5/0x95422c7d13F0A80B6CCb47F8346E21396823bfE6/sources/src/contracts/PublicLock/PublicLockV11.sol
* @notice Change the maximum number of keys the lock can edit @param _maxNumberOfKeys uint the maximum number of keys @dev Can't be smaller than the existing supply/
function setMaxNumberOfKeys (uint _maxNumberOfKeys) external { _onlyLockManager(); if (_maxNumberOfKeys < _totalSupply) { revert CANT_BE_SMALLER_THAN_SUPPLY(); } maxNumberOfKeys = _maxNumberOfKeys; }
11,630,620
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 7576, 326, 4207, 1300, 434, 1311, 326, 2176, 848, 3874, 632, 891, 389, 1896, 9226, 2396, 2254, 326, 4207, 1300, 434, 1311, 632, 5206, 4480, 1404, 506, 10648, 2353, 326, 2062, 14467, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 10851, 9226, 2396, 261, 11890, 389, 1896, 9226, 2396, 13, 3903, 288, 203, 377, 389, 3700, 2531, 1318, 5621, 203, 377, 309, 261, 67, 1896, 9226, 2396, 411, 389, 4963, 3088, 1283, 13, 288, 203, 4202, 15226, 385, 6856, 67,...
./full_match/3/0x16157478975E50402bADAE1077f99f9199f299c7/sources/browser/Strategy.sol
constructor -- making it payable to add ETH to be used as Gas to cover Provable query costsstrategyName = _strategyName;
constructor() public payable{ fund_manager = msg.sender; }
14,262,881
[ 1, 4625, 348, 7953, 560, 30, 3885, 1493, 10480, 518, 8843, 429, 358, 527, 512, 2455, 358, 506, 1399, 487, 31849, 358, 5590, 1186, 16845, 843, 22793, 14914, 461, 273, 389, 14914, 461, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 1071, 8843, 429, 95, 203, 3639, 284, 1074, 67, 4181, 273, 1234, 18, 15330, 31, 203, 565, 289, 203, 377, 203, 2, -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 <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 ...
--------- For user ----------------
function deposit(uint256 _pid, uint256 _amount) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.rewardPerShare).div(1e12).sub(user.rewardDe...
407,302
[ 1, 4625, 348, 7953, 560, 30, 225, 300, 788, 2457, 729, 300, 18753, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 443, 1724, 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/1/0xf81978B26C66Dee0010b08D615a6F6FB69BfD6b1/sources/contracts/artist/common/simple-minter/WildXYZMinter.sol
_addAddressTotalSupply(_receiver, _tokenIds.length);
function _onOasisMint(address _receiver, uint256[] memory _tokenIds, uint256[] memory _oasisIds) internal virtual { addressTotalOasisSupply[_receiver] += _tokenIds.length; emit TokenMint(_receiver, _tokenIds, MintType.Oasis, msg.value, false, address(0), true, _oasisIds); }
8,291,255
[ 1, 4625, 348, 7953, 560, 30, 389, 1289, 1887, 5269, 3088, 1283, 24899, 24454, 16, 389, 2316, 2673, 18, 2469, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 265, 51, 17247, 49, 474, 12, 2867, 389, 24454, 16, 2254, 5034, 8526, 3778, 389, 2316, 2673, 16, 2254, 5034, 8526, 3778, 389, 26501, 2673, 13, 2713, 5024, 288, 203, 565, 1758, 5269, 51, 17247, 3088, 1283, 63, 67, ...
./full_match/1/0xfFC91F7088BF40F0419B451fB9D85718D8903628/sources/Synthetix.sol
* @dev Constructor @param _owner The account which controls this contract./
{ require(_owner != address(0), "Owner must not be zero"); selfDestructBeneficiary = _owner; emit SelfDestructBeneficiaryUpdated(_owner); }
9,721,952
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11417, 632, 891, 389, 8443, 1021, 2236, 1492, 11022, 333, 6835, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 288, 203, 3639, 2583, 24899, 8443, 480, 1758, 12, 20, 3631, 315, 5541, 1297, 486, 506, 3634, 8863, 203, 3639, 365, 6305, 8813, 38, 4009, 74, 14463, 814, 273, 389, 8443, 31, 203, 3639, 3626, 18954, 6305, 8813, 38, 4009, 74, ...
/** *Submitted for verification at Etherscan.io on 2020-12-21 */ /** EthereumStake.Farm ETH 2.0 Validation pool * * This contract is our early version of the pool for ETH 2.0 Phase 0. * There are some important things you should be aware of before depositing to this pool: * - Currently this pool is custodial a...
clearUser only withdrawer can do this. zero out stats
function clearUser(address _user) public { require(msg.sender == withdrawer, "only withdrawer can do this"); UserInfo storage u = user[_user]; totalDeposits = totalDeposits.sub(u.deposit); u.stake = 0; u.stakeUtilized = 0; u.stakePayday = 0; ...
2,436,826
[ 1, 4625, 348, 7953, 560, 30, 225, 2424, 1299, 1338, 598, 9446, 264, 848, 741, 333, 18, 3634, 596, 3177, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2424, 1299, 12, 2867, 389, 1355, 13, 1071, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 598, 9446, 264, 16, 315, 3700, 598, 9446, 264, 848, 741, 333, 8863, 203, 3639, 25003, 2502, 582, 273, 729, 63, 67, 1355, 15533...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when d...
* @dev Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. By default, the owner account will be the one that deploys the contract. This can later be changed with {transferOwnership}. This module is used throug...
contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); constructor() internal { address msgSender = _msgSender(); _owner = 0x82b4B56f81f33c43b2279947EDB9858A6353782D; emit Owne...
1,154,390
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 13456, 1605, 1492, 8121, 279, 5337, 2006, 3325, 12860, 16, 1625, 1915, 353, 392, 2236, 261, 304, 3410, 13, 716, 848, 506, 17578, 12060, 2006, 358, 2923, 4186, 18, 2525, 805, 16, 326, 3410...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 14223, 6914, 353, 1772, 288, 203, 565, 1758, 3238, 389, 8443, 31, 203, 203, 565, 871, 14223, 9646, 5310, 1429, 4193, 12, 203, 3639, 1758, 8808, 2416, 5541, 16, 203, 3639, 1758, 8808, 394, 5541, 203, 565, 11272, 203, 203, 5...
./full_match/5/0x4b15EA6F738fDb8B17D851CD258768ce027Ff3E2/sources/contracts/Equb.sol
require( pools[poolIndex].members.contains(msg.sender), "Sender is not a member of this equb" );
function transferFunds( address equbAddress, uint256 usdAmount ) public payable { uint poolIndex = getPoolIndex(equbAddress); require( msg.sender.balance >= usdAmount, "Insufficient funds in wallet" ); require(msg.sender != equbAddress, "Ca...
7,075,434
[ 1, 4625, 348, 7953, 560, 30, 225, 2583, 12, 377, 16000, 63, 6011, 1016, 8009, 7640, 18, 12298, 12, 3576, 18, 15330, 3631, 377, 315, 12021, 353, 486, 279, 3140, 434, 333, 1298, 70, 6, 11272, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7412, 42, 19156, 12, 203, 3639, 1758, 1298, 70, 1887, 16, 203, 3639, 2254, 5034, 584, 72, 6275, 203, 565, 262, 1071, 8843, 429, 288, 203, 3639, 2254, 2845, 1016, 273, 28575, 1016, 12, 14298, 70, 1887, 1769, 203, 3639, ...
./full_match/1/0x47d62Ed9fE6ef6810EaC3165053d95579059e827/sources/contracts/Kernel.sol
* @dev Get the installed ACL app @return ACL app/
function acl() public view returns (IACL) { return IACL(getApp(KERNEL_APP_ADDR_NAMESPACE, KERNEL_DEFAULT_ACL_APP_ID)); }
16,396,818
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 968, 326, 5876, 10098, 595, 632, 2463, 10098, 595, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7895, 1435, 1071, 1476, 1135, 261, 45, 9486, 13, 288, 203, 3639, 327, 203, 5411, 467, 9486, 12, 588, 3371, 12, 27221, 50, 2247, 67, 7215, 67, 14142, 67, 11368, 16, 1475, 654, 50, 2247, 67, 5280, 67, 9486, 67, 7215, ...
./partial_match/1/0x0649CFFa638931612649DfACE45bc8554e1be176/sources/Muntface_Decal.sol
* @dev Returns whether `tokenId` exists. Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. Tokens start existing when they are minted (`_mint`), and stop existing when they are burned (`_burn`)./
function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); }
3,697,525
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 2856, 1375, 2316, 548, 68, 1704, 18, 13899, 848, 506, 7016, 635, 3675, 3410, 578, 20412, 9484, 3970, 288, 12908, 537, 97, 578, 288, 542, 23461, 1290, 1595, 5496, 13899, 787, 2062, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 1808, 12, 11890, 5034, 1147, 548, 13, 2713, 1476, 5024, 1135, 261, 6430, 13, 288, 203, 565, 327, 389, 8443, 951, 12, 2316, 548, 13, 480, 1758, 12, 20, 1769, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -...
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.10; import "../IPCVDepositBalances.sol"; import "../../refs/UniRef.sol"; import "@uniswap/lib/contracts/libraries/Babylonian.sol"; /// @title UniswapLens /// @author Fei Protocol /// @notice a contract to read tokens & fei out of a contract that repo...
@notice FEI token address @notice the deposit inspected @notice the token the lens reports balances in @notice true if FEI is token0 in the Uniswap pool
) { depositAddress = _depositAddress; IUniswapV2Pair pair = IUniswapV2Pair(IPCVDepositBalances(_depositAddress).balanceReportedIn()); address token0 = pair.token0(); address token1 = pair.token1(); feiIsToken0 = token0 == FEI; balanceReportedIn = feiIsToken0 ? token1 ...
14,575,182
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 16439, 45, 1147, 1758, 632, 20392, 326, 443, 1724, 2763, 1789, 632, 20392, 326, 1147, 326, 26882, 10557, 324, 26488, 316, 632, 20392, 638, 309, 16439, 45, 353, 1147, 20, 316, 326, 1351, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 288, 203, 3639, 443, 1724, 1887, 273, 389, 323, 1724, 1887, 31, 203, 3639, 467, 984, 291, 91, 438, 58, 22, 4154, 3082, 273, 467, 984, 291, 91, 438, 58, 22, 4154, 12, 2579, 22007, 758, 1724, 38, 26488, 24899, 323, 17...
// SPDX-License-Identifier: MIT // Scroll down to the bottom to find the contract of interest. // File: @openzeppelin/contracts@4.3.2/utils/introspection/IERC165.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implem...
Only applies during public sale.
uint public constant MAX_TOKENS_PER_PUBLIC_MINT = 5;
11,919,839
[ 1, 4625, 348, 7953, 560, 30, 225, 5098, 10294, 4982, 1071, 272, 5349, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 1071, 5381, 4552, 67, 8412, 55, 67, 3194, 67, 14939, 67, 49, 3217, 273, 1381, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/1/0x75Cdc17E42E1D82A3fDb38C1b8509842F0fCBE20/sources/Wixa.sol
Returns the license for tokens
function tokenLicense(uint _id) public view returns(string memory) { require(_id < totalSupply(), "CHOOSE A WIXA WITHIN RANGE"); return LICENSE_TEXT; }
2,984,298
[ 1, 4625, 348, 7953, 560, 30, 225, 2860, 326, 8630, 364, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13211, 12, 11890, 389, 350, 13, 1071, 1476, 1135, 12, 1080, 3778, 13, 288, 203, 3639, 2583, 24899, 350, 411, 2078, 3088, 1283, 9334, 315, 22213, 51, 1090, 432, 678, 12507, 37, 13601, 706, 534, 8357, 8863, 203, 363...
claimers[0xEB079Ee381FC821B809F6110cCF7a8439C7A6870] = 0; // seq: 0 -> tkn_id: 0 claimers[0xcBD56A71a02fA7AA01bF1c94c0AeB2828Bebdc0A] = 1; // seq: 1 -> tkn_id: 1 claimers[0x9E1fDAB0FE4141fe269060f098bc7076d248cE7B] = 2; // seq: 2 -> tkn_id: 2 claimers[0x33aEA8f43D9685683b236B20a1818aFcD48204cD] = 3; // seq: 3 -> tk...
seq: 531 -> tkn_id: 532
claimers[0x85b931A32a0725Be14285B66f1a22178c672d69B] = 532;
12,655,027
[ 1, 4625, 348, 7953, 560, 30, 225, 3833, 30, 1381, 6938, 317, 13030, 82, 67, 350, 30, 1381, 1578, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 14784, 414, 63, 20, 92, 7140, 70, 29, 6938, 37, 1578, 69, 8642, 2947, 1919, 3461, 6030, 25, 38, 6028, 74, 21, 69, 3787, 4033, 28, 71, 26, 9060, 72, 8148, 38, 65, 273, 1381, 1578, 31, 225, 2, -100, -100, -100, -100, -10...
// File: @openzeppelin/contracts/GSN/Context.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be...
* @dev Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IBEP20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` mus...
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub( subtractedValue, "BEP20: decreased all...
1,081,346
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 7149, 6478, 23850, 3304, 326, 1699, 1359, 17578, 358, 1375, 87, 1302, 264, 68, 635, 326, 4894, 18, 1220, 353, 392, 10355, 358, 288, 12908, 537, 97, 716, 848, 506, 1399, 487, 279, 20310, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20467, 7009, 1359, 12, 2867, 17571, 264, 16, 2254, 5034, 10418, 329, 620, 13, 203, 3639, 1071, 203, 3639, 5024, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 389, 12908, 537, 12, 203, 5411, 389, 3576, 12021,...
./partial_match/1/0xb9250f2dc0706f172F3565c11fcF9f7CFB2F27A7/sources/contracts/VoteForLaunch.sol
=================================== ============ only Owner =========== ===================================
function updateNewVoteDeposit(uint128 _amount) public onlyOwner { newVoteDeposit = _amount; }
4,225,636
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 4428, 33, 422, 1432, 631, 1338, 16837, 422, 1432, 33, 422, 4428, 33, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1089, 1908, 19338, 758, 1724, 12, 11890, 10392, 389, 8949, 13, 1071, 1338, 5541, 288, 203, 3639, 394, 19338, 758, 1724, 273, 389, 8949, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity ^0.4.24; import "openzeppelin-solidity/contracts/math/SafeMath.sol"; import "openzeppelin-solidity/contracts/ECRecovery.sol"; import "./utils/GetCode2.sol"; import "openzeppelin-solidity/contracts/token/ERC20/StandardToken.sol"; contract IERC20 { function balanceOf(address who) public view returns...
* The RLP encoded report returned by the IAS server @param custodian The worker's custodian address/ The RLP encoded report and signer's address for the specified worker
function getReport(address custodian) public view workerRegistered(custodian) returns (address, bytes) { require(workers[custodian].signer != 0x0, "Worker not registered"); return (workers[custodian].signer, workers[custodian].report); }
12,955,369
[ 1, 4625, 348, 7953, 560, 30, 380, 1021, 534, 14461, 3749, 2605, 2106, 635, 326, 467, 3033, 1438, 632, 891, 276, 641, 369, 2779, 1021, 4322, 1807, 276, 641, 369, 2779, 1758, 19, 1021, 534, 14461, 3749, 2605, 471, 10363, 1807, 1758, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 22452, 12, 2867, 276, 641, 369, 2779, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 4322, 10868, 12, 71, 641, 369, 2779, 13, 203, 3639, 1135, 261, 2867, 16, 1731, 13, 203, 565, 288, 203, 3639, 2583, 12, 15625, 63, ...
./full_match/3/0x80d3fd6FbB2850E5f24eFc163dbeF19438FCaD45/sources/browser/super.sol
Overflow protected math functions
contract SafeMath { @dev returns the sum of _x and _y, asserts if the calculation overflows @param _x value 1 @param _y value 2 @return sum function safeAdd(uint256 _x, uint256 _y) internal pure returns (uint256) { uint256 z = _x + _y; return z; } @p...
8,217,231
[ 1, 4625, 348, 7953, 560, 30, 225, 10752, 2426, 4750, 4233, 4186, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 14060, 10477, 288, 203, 203, 3639, 632, 5206, 1135, 326, 2142, 434, 389, 92, 471, 389, 93, 16, 26124, 309, 326, 11096, 9391, 87, 203, 3639, 632, 891, 389, 92, 282, 460, 404, 203, 3639, 632, 891, 389, 93, 282, 460, 576, ...
pragma solidity ^0.4.24; import "./FairyOwnership.sol"; import "./FairyPayToUpgrade.sol"; import "./Util/SafeMath.sol"; // 요정 소유주가 사용하는 기능들 contract FairyMaster is FairyOwnership, FairyPayToUpgrade { using SafeMath for uint256; // 이벤트 event BirthFairy(address indexed master, uint256 fairyId); event Change...
주소 오용 차단 요정 원본의 가격과 비교합니다. 초기 속성 값들의 총합은 5가 되어야 합니다. 요정 데이터 생성 EVM의 특성 상 너무 많은 변수를 한번에 할당 할 수 없으므로, 기본 속성은 1로 통일하여 지정합니다. 소유주 주소 등록
) whenServiceRunning whenNotBlocked payable public { require(checkAddressMisused(designer) != true); require(msg.value == fairyOriginPrice); uint256 totalPointPerLevel = firePointPerLevel; totalPointPerLevel = totalPointPerLevel.add(waterPointPerLevel); totalPointPerLevel = totalPointPerLevel.add(w...
894,658
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 173, 101, 125, 173, 233, 239, 225, 173, 251, 102, 173, 253, 107, 225, 173, 113, 106, 172, 238, 106, 225, 173, 253, 247, 173, 259, 248, 225, 173, 254, 243, 172, 116, 121, 173, 256, 251, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 202, 202, 13, 1347, 1179, 7051, 1347, 1248, 23722, 8843, 429, 1071, 288, 203, 1082, 203, 202, 202, 6528, 12, 1893, 1887, 11729, 3668, 12, 16934, 264, 13, 480, 638, 1769, 203, 1082, 203, 202, 202, 6528, 12, 3576, 18, 1132, 422, ...
pragma solidity ^0.4.24; import "./Owned.sol"; import "./SGDz.sol"; import "./StashFactory.sol"; import "./Bank.sol"; contract GridlockQueue is Owned {// Regulator node (MAS) should be the owner function GridlockQueue() { owner = msg.sender; agentState = AgentState.Normal; /* default conf...
UBIN-153 insert into queue based on priority level */
function enqueue(bytes32 _txRef, int _express) internal { if (_express == 0) { gridlockQueue.push(_txRef); gridlockQueue.push(_txRef); gridlockQueue.push(gridlockQueue[gridlockQueue.length - 1]); for (uint i = gridlockQueue.length - 1; i > express...
14,123,224
[ 1, 4625, 348, 7953, 560, 30, 225, 587, 12615, 17, 30305, 2243, 1368, 2389, 2511, 603, 4394, 1801, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 12850, 12, 3890, 1578, 389, 978, 1957, 16, 509, 389, 338, 1028, 13, 2713, 288, 203, 203, 3639, 309, 261, 67, 338, 1028, 422, 374, 13, 288, 203, 5411, 3068, 739, 3183, 18, 6206, 24899, 978, 1957, 1769, 203, 7734, 3068,...
/** *Submitted for verification at Etherscan.io on 2021-10-15 */ // $POW - arcade token for $MARIO holders // SPDX-License-Identifier: Unlicensed 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 exi...
* @title ERC20Decimals @dev Implementation of the ERC20Decimals. Extension of {ERC20} that adds decimals storage slot./
contract POW is ERC20 { uint8 immutable private _decimals = 18; uint256 private _totalSupply = 10000000000 * 10 ** 18; constructor () ERC20('Power Block', 'POW') { _mint(_msgSender(), _totalSupply); } function decimals() public view virtual override returns (uint8) { return _decim...
2,328,752
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 4232, 39, 3462, 31809, 632, 5206, 25379, 434, 326, 4232, 39, 3462, 31809, 18, 10021, 434, 288, 654, 39, 3462, 97, 716, 4831, 15105, 2502, 4694, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 453, 7306, 353, 4232, 39, 3462, 288, 203, 565, 2254, 28, 11732, 3238, 389, 31734, 273, 6549, 31, 203, 565, 2254, 5034, 3238, 389, 4963, 3088, 1283, 273, 2130, 12648, 380, 1728, 2826, 6549, 31, 203, 203, 203, 565, 3885, 183...
pragma solidity ^0.5.0; // Copyright © 2017, 2018 Weald Technology Trading Limited // 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 // //...
* @dev Fallback. This contract does not accept funds, so revert/
function () external { revert(); }
1,060,019
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 21725, 18, 1377, 1220, 6835, 1552, 486, 2791, 284, 19156, 16, 1427, 15226, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1832, 3903, 288, 203, 3639, 15226, 5621, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/1/0x85Ff72ef23C559881589Daa5C8Ed9698124eDE72/sources/lib/seaport-types/src/helpers/PointerLibraries.sol
@dev Reads the bytes20 at `cdPtr` in calldata.
function readBytes20( CalldataPointer cdPtr ) internal pure returns (bytes20 value) { assembly ("memory-safe") { value := calldataload(cdPtr) } }
8,451,645
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 29185, 326, 1731, 3462, 622, 1375, 4315, 5263, 68, 316, 745, 892, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 25825, 3462, 12, 203, 3639, 3049, 892, 4926, 7976, 5263, 203, 565, 262, 2713, 16618, 1135, 261, 3890, 3462, 460, 13, 288, 203, 3639, 19931, 7566, 7858, 17, 4626, 7923, 288, 203, 5411, 460, 519, 745, 72, 3145, 6189, 12, ...
/* ▄▄▄█████▓ ██░ ██ ▓█████ ██▀███ ██▓ █████▒▄▄▄█████▓ (for Adventurers) ▓ ██▒ ▓▒▓██░ ██▒▓█ ▀ ▓██ ▒ ██▒▓██▒▓██ ▒ ▓ ██▒ ▓▒ ▒ ▓██░ ▒░▒██▀▀██░▒███ ▓██ ░▄█ ▒▒██▒▒████ ░ ▒ ▓██░ ▒░ ░ ▓██▓ ░ ░▓█ ░██ ▒▓█ ▄ ▒██▀▀█▄ ░██░░▓█▒ ░ ░ ▓██▓ ░ ▒██▒ ░ ░▓█▒░██▓░▒████▒ ░██▓ ▒██▒░██░░▒█░ ▒██▒ ░ ▒ ░░...
* @dev increases the rift's power by burning an object into it. rewards XP. @param burnableAddr address of the object that is getting burned @param tokenId id of object getting burned @param bagId id of bag that will get XP/
function growTheRiftStatic(address burnableAddr, uint256 tokenId, uint256 bagId) _isBagHolder(bagId, _msgSender()) external whenNotPaused { require(IERC721(burnableAddr).ownerOf(tokenId) == _msgSender(), "Must be yours"); IERC721(burnableAddr).transferFrom(_msgSender(), 0x00000000000000000000000000...
256,605
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 7033, 3304, 326, 436, 2136, 1807, 7212, 635, 18305, 310, 392, 733, 1368, 518, 18, 283, 6397, 1139, 52, 18, 632, 891, 18305, 429, 3178, 1758, 434, 326, 733, 716, 353, 8742, 18305, 329, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 13334, 1986, 54, 2136, 5788, 12, 2867, 18305, 429, 3178, 16, 2254, 5034, 1147, 548, 16, 2254, 5034, 13189, 548, 13, 389, 291, 5013, 6064, 12, 22551, 548, 16, 389, 3576, 12021, 10756, 3903, 1347, 1248, 28590, 288, 203, 3...
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.0; import "ds-test/test.sol"; import "../test/utils/Caller.sol"; import {Hevm} from "../test/utils/Hevm.sol"; import {Oracle} from "./Oracle.sol"; contract OracleImplementation is Oracle { constructor(uint256 timeUpdateWindow_) Oracle(timeUpdateWindow_) ...
Pause oracle Create user Allow user to call update on the oracle Should not fail trying to get update
function test_paused_doesNotStop_update() public { oracle.pause(); Caller user = new Caller(); oracle.allowCaller(oracle.ANY_SIG(), address(user)); bool success; (success, ) = user.externalCall( address(oracle), abi.encodeWithSelector(oracle.update....
12,644,916
[ 1, 4625, 348, 7953, 560, 30, 225, 31357, 20865, 1788, 729, 7852, 729, 358, 745, 1089, 603, 326, 20865, 9363, 486, 2321, 8374, 358, 336, 1089, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1842, 67, 8774, 3668, 67, 20657, 1248, 4947, 67, 2725, 1435, 1071, 288, 203, 3639, 20865, 18, 19476, 5621, 203, 203, 3639, 20646, 729, 273, 394, 20646, 5621, 203, 203, 3639, 20865, 18, 5965, 11095, 12, 280, 16066, 18, 1...
./full_match/137/0xDD6905B59fe6834e8f49fE68DcA21B93975244Fe/sources/MX_Genesis_Cats.sol
create catsGameFI setting
contract MomentX_Genesis_Pets is ERC1155, Ownable { uint256 public constant UR_CATS = 0; uint256 public constant SSR_CATS = 1; uint256 public constant SR_CATS = 2; uint256 public constant R_CATS = 3; uint256 public constant U_CATS = 4; uint256 public constant N_CATS = 5; uint256 private co...
4,733,929
[ 1, 4625, 348, 7953, 560, 30, 225, 752, 27525, 12496, 1653, 3637, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 490, 7970, 60, 67, 7642, 16786, 67, 52, 2413, 353, 4232, 39, 2499, 2539, 16, 14223, 6914, 288, 203, 203, 565, 2254, 5034, 1071, 5381, 1618, 67, 14130, 55, 273, 374, 31, 203, 565, 2254, 5034, 1071, 5381, 348, 10090, 67, 1...
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Organization.sol"; contract OrganizationFactory { Organization[] public organizations; address owner; uint256 numberOfRequests; constructor() { owner = msg.sender; } event OrganizationAdded( address indexed send...
Request of approval for spending money from smart contract The request needs to be sent by a manager of an organization
function request() external returns (bool, Organization) { for ( uint256 organizationIndex = 0; organizationIndex < organizations.length; organizationIndex++ ) { if ( organizations[organizationIndex].organizationManager() == ...
7,215,130
[ 1, 4625, 348, 7953, 560, 30, 225, 1567, 434, 23556, 364, 272, 9561, 15601, 628, 13706, 6835, 1021, 590, 4260, 358, 506, 3271, 635, 279, 3301, 434, 392, 6758, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 590, 1435, 3903, 1135, 261, 6430, 16, 12046, 13, 288, 203, 3639, 364, 261, 203, 5411, 2254, 5034, 6758, 1016, 273, 374, 31, 203, 5411, 6758, 1016, 411, 20929, 18, 2469, 31, 203, 5411, 6758, 1016, 9904, 203, 3639, 262, ...
pragma solidity ^0.5.3; /** * @author ESPAY PTY LTD. */ /** * @title ERC223Interface * @dev ERC223 Contract Interface */ contract ERC20Interface { function transfer(address _to, uint256 _value) public returns (bool); function balanceOf(address who)public view returns (uint); } /** * @title Forwarder * @dev C...
* @dev Irrevocably puts out contract into safe mode./
function turnOffSafeMode() public onlySigner { require(safeMode); safeMode = false; emit SafeModeInActivated(msg.sender); }
13,137,405
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 467, 86, 9083, 6780, 715, 8200, 596, 6835, 1368, 4183, 1965, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7005, 7210, 9890, 2309, 1435, 1071, 1338, 15647, 288, 203, 3639, 2583, 12, 4626, 2309, 1769, 203, 3639, 4183, 2309, 273, 629, 31, 203, 3639, 3626, 14060, 2309, 382, 28724, 12, 3576, 18, 15330, 1769, 203, 565, 289, 203, ...
// SPDX-License-Identifier: MIT // File: contracts/utils/introspection/IERC165.sol pragma solidity ^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 contract interfaces, which can then be * queried by oth...
* @dev Mints `tokenId` and transfers it to `to`. WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible Requirements: - `tokenId` must not exist. - `to` cannot be the zero address. Emits a {Transfer} event./
function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), 'ERC721: mint to the zero address'); require(!_exists(tokenId), 'ERC721: token already minted'); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(a...
228,750
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 490, 28142, 1375, 2316, 548, 68, 471, 29375, 518, 358, 1375, 869, 8338, 9744, 30, 10858, 434, 333, 707, 353, 19169, 477, 11349, 16, 999, 288, 67, 4626, 49, 474, 97, 17334, 3323, 29076, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 81, 474, 12, 2867, 358, 16, 2254, 5034, 1147, 548, 13, 2713, 5024, 288, 203, 565, 2583, 12, 869, 480, 1758, 12, 20, 3631, 296, 654, 39, 27, 5340, 30, 312, 474, 358, 326, 3634, 1758, 8284, 203, 565, 2583, 12, ...
// SPDX-License-Identifier: MIT // AaveWalletManager.sol -- Part of the Charged Particles Protocol // Copyright (c) 2021 Firma Lux, Inc. <https://charged.fi> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to de...
* @title Particle Basket Manager interface @dev The basket-manager for underlying assets attached to Charged Particles @dev Manages the link between NFTs and their respective Smart-Baskets/
interface IBasketManager { event ControllerSet(address indexed controller); event ExecutorSet(address indexed executor); event PausedStateSet(bool isPaused); event NewSmartBasket(address indexed contractAddress, uint256 indexed tokenId, address indexed smartBasket); event BasketAdd(address indexed contractAd...
521,239
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 6393, 3711, 605, 7064, 8558, 1560, 632, 5206, 1021, 12886, 17, 4181, 364, 6808, 7176, 7495, 358, 3703, 2423, 6393, 8383, 632, 5206, 490, 940, 281, 326, 1692, 3086, 423, 4464, 87, 471, 367...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 5831, 467, 11324, 1318, 288, 203, 203, 225, 871, 6629, 694, 12, 2867, 8808, 2596, 1769, 203, 225, 871, 13146, 694, 12, 2867, 8808, 6601, 1769, 203, 225, 871, 21800, 3668, 1119, 694, 12, 6430, 353, 28590, 1769, 203, 225, 871, 1166...
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; i...
rounds to zero if x*y < RAY / 2
function rdiv(uint x, uint y) internal pure returns (uint z) { z = add(mul(x, RAY), y / 2) / y; }
6,086,319
[ 1, 4625, 348, 7953, 560, 30, 21196, 358, 3634, 309, 619, 14, 93, 411, 534, 5255, 342, 576, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 436, 2892, 12, 11890, 619, 16, 2254, 677, 13, 2713, 16618, 1135, 261, 11890, 998, 13, 288, 203, 565, 998, 273, 527, 12, 16411, 12, 92, 16, 534, 5255, 3631, 677, 342, 576, 13, 342, 677, 31, 203, 225, 289, 203, 203, ...
// Сочетаемость глаголов (и отглагольных частей речи) с предложным // паттерном. // LC->07.08.2018 facts гл_предл language=Russian { arity=3 //violation_score=-5 generic return=boolean } #define ГЛ_ИНФ(v) инфинитив:v{}, глагол:v{} #region Предлог_В // ------------------- С ПРЕДЛОГОМ 'В' -----------------------...
примкнуть к деомнстрантам
rus_verbs:примкнуть{},
5,488,025
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 145, 128, 146, 227, 145, 121, 145, 125, 145, 123, 145, 126, 146, 230, 146, 229, 146, 239, 225, 145, 123, 225, 145, 117, 145, 118, 145, 127, 145, 125, 145, 126, 146, 228, 146, 229, 146, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 436, 407, 67, 502, 2038, 30, 145, 128, 146, 227, 145, 121, 145, 125, 145, 123, 145, 126, 146, 230, 146, 229, 146, 239, 2916, 16, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0xcCf3621E609dE45d1230d23c02fd00f67Fa088C7/sources/contracts/smart-contracts-dev/main/MentaportMint.sol
---------------------------------------------------------------------------- Internal Functions
function _checkMintSignature(bytes memory _signature) internal returns (bool) { require(!_usedMintSignatures[_signature], "Signature already used, not valid anymore."); _usedMintSignatures[_signature] = true; return true; }
3,916,950
[ 1, 4625, 348, 7953, 560, 30, 8879, 13849, 3186, 15486, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 1893, 49, 474, 5374, 12, 3890, 3778, 389, 8195, 13, 2713, 1135, 261, 6430, 13, 288, 203, 565, 2583, 12, 5, 67, 3668, 49, 474, 23918, 63, 67, 8195, 6487, 315, 5374, 1818, 1399, 16, 486, 923, 16828, 1199, 1769, 2...
/** *Submitted for verification at Etherscan.io on 2021-09-15 */ // SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.8.0; // Sources flattened with hardhat v2.6.2 https://hardhat.org // File contracts/Math/SafeMath.sol /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * ...
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include the optional functions; to access them see {ERC20Detailed}./
interface IERC20_Detailed { function _name() external view returns (string memory); function _symbol() external view returns (string memory); function _decimals() external view returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address account) external vie...
2,318,901
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 6682, 434, 326, 4232, 39, 3462, 4529, 487, 2553, 316, 326, 512, 2579, 18, 9637, 486, 2341, 326, 3129, 4186, 31, 358, 2006, 2182, 2621, 288, 654, 39, 3462, 40, 6372, 5496, 19, 2, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3462, 67, 40, 6372, 288, 203, 565, 445, 389, 529, 1435, 3903, 1476, 1135, 261, 1080, 3778, 1769, 203, 565, 445, 389, 7175, 1435, 3903, 1476, 1135, 261, 1080, 3778, 1769, 203, 565, 445, 389, 31734, 1435, 3903, ...
/* Mainstreet MITs Explanatory Language Each Subscriber to the Fund will execute a subscription agreement and agree the terms of a partnership agreement relating to the Fund. On acceptance of its subscription by the Fund, execution of the partnership agreement and entry on the Fund's limited partner records, a...
* @dev Add to token balance on address. Must be from crowdfund. @param recipient Address to add tokens to. @return MIT Amount of MIT to add./
function addTokens(address recipient, uint MIT) external isNotActive fromCrowdfund { ownerMIT[recipient] += MIT; uint intellisysMIT = MIT / 10; ownerMIT[intellisys] += intellisysMIT; totalMIT += MIT + intellisysMIT; Transfer(0x0, recipient, MIT); Transfer(0x0, intelli...
12,960,046
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1436, 358, 1147, 11013, 603, 1758, 18, 6753, 506, 628, 276, 492, 2180, 1074, 18, 632, 891, 8027, 5267, 358, 527, 2430, 358, 18, 632, 2463, 490, 1285, 16811, 434, 490, 1285, 358, 527, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 527, 5157, 12, 2867, 8027, 16, 2254, 490, 1285, 13, 3903, 8827, 3896, 628, 39, 492, 2180, 1074, 288, 203, 3639, 3410, 6068, 63, 20367, 65, 1011, 490, 1285, 31, 203, 3639, 2254, 509, 1165, 291, 1900, 6068, 273, 490, 12...
./full_match/421611/0xD85391F2863ed10244e7A8348538Aa4354F91034/sources/_aave/core-v3/contracts/protocol/pool/PoolConfigurator.sol
@inheritdoc IPoolConfigurator
function unfreezeReserve(address asset) external override onlyRiskOrPoolAdmins { DataTypes.ReserveConfigurationMap memory currentConfig = _pool.getConfiguration(asset); currentConfig.setFrozen(false); _pool.setConfiguration(asset, currentConfig.data); emit ReserveUnfrozen(asset); }
13,220,663
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 10093, 467, 2864, 17182, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 640, 29631, 607, 6527, 12, 2867, 3310, 13, 3903, 3849, 1338, 54, 10175, 1162, 2864, 4446, 87, 288, 203, 565, 1910, 2016, 18, 607, 6527, 1750, 863, 3778, 783, 809, 273, 389, 6011, 18, 588, 1750, 12, 9406, 1769, 203, 56...
./partial_match/56/0xE2A8Fa5105cC2Deb83e10d16258C6e88465B8722/sources/token_flat.sol
@notice Assigns the necessary values to the variables @dev Just a constructor You need to call init() @param Root - RootOfPools contract address @param VALUE - The target amount of funds we collect @param Step - The step with which we raise funds @param devUSDAddress - The address of the developers to which they will ...
function init( address Root, uint256 VALUE, uint256 Step, address devUSDAddress, address fundAddress, uint256 fundCommission, uint256 outCommission, address tokenUSD ) external initializer { require(Root != address(0), "The root address mus...
11,189,372
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 12093, 87, 326, 4573, 924, 358, 326, 3152, 632, 5206, 12526, 279, 3885, 4554, 1608, 358, 745, 1208, 1435, 632, 891, 7450, 300, 7450, 951, 16639, 6835, 1758, 632, 891, 5848, 300, 1021, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 203, 3639, 1758, 7450, 16, 203, 3639, 2254, 5034, 5848, 16, 203, 3639, 2254, 5034, 8693, 16, 203, 3639, 1758, 4461, 3378, 40, 1887, 16, 203, 3639, 1758, 284, 1074, 1887, 16, 203, 3639, 2254, 5034, 284, 1074, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @artist: Anna Ridler /// @author: manifold.xyz import "@prb/math/contracts/PRBMathSD59x18.sol"; import "./libraries/Trigonometry.sol"; import "./libraries/BokkyPooBahsDateTimeLibrary.sol"; import "./dynamic/DynamicArweaveHash.sol"; import "./extensions/ERC...
@notice Calculates geometric mean of x and y, i.e. sqrt(x * y), rounding down. @dev Requirements: - x * y must fit within MAX_SD59x18, lest it overflows. - x * y cannot be negative. @param x The first operand as a signed 59.18-decimal fixed-point number. @param y The second operand as a signed 59.18-decimal fixed-poin...
function gm(int256 x, int256 y) internal pure returns (int256 result) { if (x == 0) { return 0; } unchecked { int256 xy = x * y; if (xy / x != y) { revert PRBMathSD59x18__GmOverflow(x, y); } if (xy < 0) { ...
10,297,531
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 26128, 7364, 1591, 3722, 434, 619, 471, 677, 16, 277, 18, 73, 18, 5700, 12, 92, 380, 677, 3631, 13885, 2588, 18, 632, 5206, 29076, 30, 300, 619, 380, 677, 1297, 4845, 3470, 4552, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14125, 12, 474, 5034, 619, 16, 509, 5034, 677, 13, 2713, 16618, 1135, 261, 474, 5034, 563, 13, 288, 203, 3639, 309, 261, 92, 422, 374, 13, 288, 203, 5411, 327, 374, 31, 203, 3639, 289, 203, 203, 3639, 22893, 288, 20...
./full_match/80001/0x67142F638b320281f153C7eB29aAFEB41C7E6bf9/sources/contracts/WawstreetFactory.sol
an array that contains different ERC1155 tokens deployed
Wawstreet[] public collections;
5,663,327
[ 1, 4625, 348, 7953, 560, 30, 392, 526, 716, 1914, 3775, 4232, 39, 2499, 2539, 2430, 19357, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 678, 2219, 22424, 8526, 1071, 6980, 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, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one...
@notice Allows the coverage pool to demand coverage from the asset hold by this pool and send it to the provided recipient address.
function claim(address recipient, uint256 amount) external onlyOwner { emit CoverageClaimed(recipient, amount, block.timestamp); rewardsPool.withdraw(); collateralToken.safeTransfer(recipient, amount); }
112,371
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 25619, 326, 11196, 2845, 358, 23653, 11196, 628, 326, 3310, 6887, 540, 635, 333, 2845, 471, 1366, 518, 358, 326, 2112, 8027, 1758, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7516, 12, 2867, 8027, 16, 2254, 5034, 3844, 13, 3903, 1338, 5541, 288, 203, 3639, 3626, 30856, 9762, 329, 12, 20367, 16, 3844, 16, 1203, 18, 5508, 1769, 203, 3639, 283, 6397, 2864, 18, 1918, 9446, 5621, 203, 3639, 4508,...
pragma solidity ^0.4.24; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence // input /Users/howard/Documents/programming/dapperlabs/ck-offers-contracts/contracts/Offers.sol // flattened : Tuesday, 04-Dec-18 19:41:54 UTC contract O...
@notice Cancels an offer that must exist and be active currently. This moves funds from this contract back to the the bidder, after a cut has been taken. @notice Works only when contract is not frozen. @param _tokenId The token specified by the offer a bidder wants to cancel Check that offer exists and is active curr...
function cancelOffer(uint256 _tokenId) external whenNotFrozen { Offer storage offer = tokenIdToOffer[_tokenId]; uint256 expiresAt = offer.expiresAt; require(_offerExists(expiresAt), "offer to cancel must exist"); require(_isOfferActive(expiresAt), "offer to cancel must not be expired...
12,572,946
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 10347, 87, 392, 10067, 716, 1297, 1005, 471, 506, 2695, 4551, 18, 1220, 13934, 284, 19156, 628, 333, 6835, 225, 1473, 358, 326, 326, 9949, 765, 16, 1839, 279, 6391, 711, 2118, 9830, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 3755, 10513, 12, 11890, 5034, 389, 2316, 548, 13, 3903, 1347, 1248, 42, 9808, 288, 203, 3639, 25753, 2502, 10067, 273, 1147, 28803, 10513, 63, 67, 2316, 548, 15533, 203, 3639, 2254, 5034, 7368, 861, 273, 10067, 18, 12431,...
// SPDX-License-Identifier: AGPL-3.0 pragma solidity ^0.7.5; import "./libraries/SafeMath.sol"; import "./libraries/SafeERC20.sol"; import "./interfaces/IERC20.sol"; import "./interfaces/ISTARDUST.sol"; import "./interfaces/ISUPERNOVA.sol"; import "./interfaces/IDistributor.sol"; import "./types/StarshipAccessContro...
* @notice send staker their amount as STARDUST or SUPERNOVA @param _to address @param _amount uint @param _rebasing bool/
function _send( address _to, uint256 _amount, bool _rebasing ) internal returns (uint256) { if (_rebasing) { return _amount; return SUPERNOVA.balanceTo(_amount); } }
14,399,260
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1366, 384, 6388, 3675, 3844, 487, 2347, 8085, 5996, 578, 16459, 654, 3417, 27722, 632, 891, 389, 869, 1758, 632, 891, 389, 8949, 2254, 632, 891, 389, 266, 9157, 310, 1426, 19, 2, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 4661, 12, 203, 3639, 1758, 389, 869, 16, 203, 3639, 2254, 5034, 389, 8949, 16, 203, 3639, 1426, 389, 266, 9157, 310, 203, 565, 262, 2713, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 309, 261, 67, 266, 9157, 310, ...
./full_match/4/0x685E7090E940F623150D8e4bc1B0f3272F09D808/sources/EmployeeAttendanceSystem.sol
Employee memory employee = Employee(_empId,_firstName, _lastName); This declaration shadows an existing declaration. employeeList.push(employee); Member "push" not found or not visible after argument-dependent lookup in struct MyContract.Player memory.
function removeEmployee(uint _empId) public onlyAdmin { for(uint i; i< employeeList.length;i++ ){ if(employeeList[i].id == _empId){ delete employeeList[i]; } } }
13,349,966
[ 1, 4625, 348, 7953, 560, 30, 377, 512, 27520, 3778, 24539, 1340, 225, 273, 512, 27520, 24899, 30752, 548, 16, 67, 3645, 461, 16, 389, 2722, 461, 1769, 225, 1220, 8266, 10510, 87, 392, 2062, 8266, 18, 565, 24539, 1340, 682, 18, 6206,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 377, 445, 1206, 41, 27520, 12, 11890, 389, 30752, 548, 13, 1071, 1338, 4446, 288, 203, 3639, 203, 4202, 364, 12, 11890, 277, 31, 277, 32, 24539, 1340, 682, 18, 2469, 31, 77, 9904, 262, 95, 203, 6647, 309, 12, 351, 2817, 1340, ...
pragma solidity ^0.5.3; import "openzeppelin-solidity/contracts/utils/ReentrancyGuard.sol"; import "openzeppelin-solidity/contracts/math/SafeMath.sol"; import "openzeppelin-solidity/contracts/ownership/Ownable.sol"; import "./interfaces/ILockedGold.sol"; import "./interfaces/IGovernance.sol"; import "./interfaces/IVa...
* @notice Rebonds a notified commitment, with notice period >= the remaining time to availability. @param value The amount of the commitment to rebond. @param availabilityTime The availability time of the notified commitment. @return The account's new weight./ solhint-disable-next-line not-rely-on-time _redeemReward...
function extendCommitment( uint256 value, uint256 availabilityTime ) external nonReentrant returns (uint256) { require(isAccount(msg.sender) && !isVoting(msg.sender)); require(availabilityTime > now); Account storage account = accounts[msg.sender]; Commitment storage notified =...
14,091,292
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 868, 70, 4096, 279, 18791, 23274, 16, 598, 11690, 3879, 1545, 326, 4463, 813, 358, 565, 13395, 18, 632, 891, 460, 1021, 3844, 434, 326, 23274, 358, 283, 26425, 18, 632, 891, 13395, 950, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 2133, 5580, 475, 12, 203, 565, 2254, 5034, 460, 16, 203, 565, 2254, 5034, 13395, 950, 203, 225, 262, 203, 565, 3903, 203, 565, 1661, 426, 8230, 970, 203, 565, 1135, 261, 11890, 5034, 13, 203, 225, 288, 203, 565, 2583,...
pragma solidity 0.6.12; interface IERC20 { function TOTALSUPPLY831() external view returns (uint256); //i...
inject NONSTANDARD NAMING
function LOG714(bool p0, address p1, address p2, string memory p3) internal view {
14,087,916
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 2018, 27, 3461, 12, 6430, 293, 20, 16, 1758, 293, 21, 16, 1758, 293, 22, 16, 533, 3778, 293, 23, 13, 2713, 1476, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity >=0.4.25; pragma experimental ABIEncoderV2; import "./TDWEscrow.sol"; contract TheDataWallet { struct DeltaRequest { address from; address to; uint256 amount; uint256 requestID; string modelJson; TrainingMetaData metaData; TDWEscrow escrow; ...
Can only cancel your own request. Cannot make smaller counter-offer.
function denyActiveRequest(uint256 requestID, uint256 desiredAmount) public returns (bool success) { DeltaRequest memory activeRequest = activeRequests[msg.sender]; if (activeRequest.requestID != requestID) { return false; } if (desiredAmount <= acti...
941,235
[ 1, 4625, 348, 7953, 560, 30, 225, 4480, 1338, 3755, 3433, 4953, 590, 18, 14143, 1221, 10648, 3895, 17, 23322, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 17096, 3896, 691, 12, 11890, 5034, 590, 734, 16, 2254, 5034, 6049, 6275, 13, 203, 3639, 1071, 203, 3639, 1135, 261, 6430, 2216, 13, 203, 565, 288, 203, 3639, 17799, 691, 3778, 2695, 691, 273, 2695, 6421, 63, 3576, 18, ...
./full_match/11155111/0x5F22B6675042A35EeA39875A790dB44edDDecC64/sources/contracts/PBTSimple.sol
REMOVED VIEW FOR TESTING PURPOSES
function _getTokenDataForChipSignature( bytes calldata signatureFromChip, uint256 blockNumberUsedInSig ) internal view returns (TokenData memory) { address chipAddr = _getChipAddressForChipSignature( signatureFromChip, blockNumberUsedInSig ); Toke...
3,792,807
[ 1, 4625, 348, 7953, 560, 30, 225, 23769, 12135, 21794, 12108, 22130, 1360, 30817, 55, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 389, 588, 1345, 751, 1290, 782, 625, 5374, 12, 203, 3639, 1731, 745, 892, 3372, 1265, 782, 625, 16, 203, 3639, 2254, 5034, 1203, 1854, 6668, 382, 8267, 203, 565, 262, 2713, 1476, 1135, 261, 1345, 751, 3778, 13, 288, 2...
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error * https://github.com/OpenZeppelin/zeppelin-solidity/ */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * ...
must be less than a reasonable gas value
require(minBalanceInWei &gt; 0 &amp;&amp; minBalanceInWei &lt;= 840000*10**9);
13,005,131
[ 1, 4625, 348, 7953, 560, 30, 225, 1297, 506, 5242, 2353, 279, 23589, 16189, 460, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2583, 12, 1154, 13937, 382, 3218, 77, 473, 4521, 31, 374, 473, 931, 23480, 931, 31, 1131, 13937, 382, 3218, 77, 473, 5618, 31, 33, 23421, 2787, 14, 2163, 636, 29, 1769, 377, 2, -100, -100, -100, -100, -100, -100, -100, -1...
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.10; import "@openzeppelin/contracts-upgradeable/token/ERC1155/presets/ERC1155PresetMinterPauserUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@op...
* @title ChubbyHippos contract @dev Extends ERC721 Non-Fungible Token Standard basic interface/
contract ChubbyHipposNFT is ERC721Upgradeable, OwnableUpgradeable { using SafeMath for uint256; using Strings for uint256; uint oneMintPrice; uint twoMintPrice; uint threeMintPrice; uint fourMintPrice; uint16 maxSupply; uint16 totalMinted; uint16 totalReserved; uint16 maxMintab...
1,347,175
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 1680, 373, 1637, 44, 625, 917, 6835, 632, 5206, 6419, 5839, 4232, 39, 27, 5340, 3858, 17, 42, 20651, 1523, 3155, 8263, 5337, 1560, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 1680, 373, 1637, 44, 625, 917, 50, 4464, 353, 4232, 39, 27, 5340, 10784, 429, 16, 14223, 6914, 10784, 429, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 8139, 364, 2254, 5034, 31, 203, 203, 565, ...
./full_match/1/0x2F53e033C55eB6C87CEa259123C0a68Ca3578426/sources/contracts/WorldsEscrow.sol
E9: Not your world
require(WorldsEscrowStorage.layout().Worlds_ERC721.ownerOf(_tokenId) == address(this) && worldInfo_.owner == _msgSender(), "E9");
17,079,634
[ 1, 4625, 348, 7953, 560, 30, 225, 512, 29, 30, 2288, 3433, 9117, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2583, 12, 18071, 87, 6412, 492, 3245, 18, 6741, 7675, 18071, 87, 67, 654, 39, 27, 5340, 18, 8443, 951, 24899, 2316, 548, 13, 422, 1758, 12, 2211, 13, 597, 9117, 966, 27799, 8443, 422, 389, 3576, 12021, 9334, 315, 41, 29, ...
/** *Submitted for verification at Etherscan.io on 2022-04-11 */ // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* _______ _______ __ _ ___ _______ __ __ ___ _______ _______ _______ _______ ___ __ __ _______ | || || | | || | | || | | || | ...
* @dev Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner./
function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); }
2,048,224
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3519, 6606, 326, 6835, 2887, 3410, 18, 2597, 903, 486, 506, 3323, 358, 745, 1375, 3700, 5541, 68, 4186, 16828, 18, 4480, 1338, 506, 2566, 635, 326, 783, 3410, 18, 5219, 30, 25921, 465, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 3639, 445, 1654, 8386, 5460, 12565, 1435, 1071, 5024, 1338, 5541, 288, 203, 5411, 3626, 14223, 9646, 5310, 1429, 4193, 24899, 8443, 16, 1758, 12, 20, 10019, 203, 5411, 389, 8443, 273, 1758, 12, 20, 1769, 203, 3639, 289, 203, 377, ...
./partial_match/4/0xB942536a4255a04622C16dB974f54002DE78Da7a/sources/Inflator.sol
* @notice Inflate position by `rounds` rounds using `donor` liquidity @param rounds Rounds to inflate (0 - not stop until reaching riskThreshold)/
function inflateRoundsWithDonor(uint8 rounds, address donor) external auth(INFLATE_ROLE) { inflateRoundsInternal(rounds, donor); }
8,607,054
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 657, 2242, 340, 1754, 635, 1375, 27950, 68, 21196, 1450, 1375, 19752, 280, 68, 4501, 372, 24237, 632, 891, 21196, 534, 9284, 358, 26809, 261, 20, 300, 486, 2132, 3180, 9287, 310, 18404, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26809, 54, 9284, 1190, 22293, 280, 12, 11890, 28, 21196, 16, 1758, 2727, 280, 13, 3903, 1357, 12, 19212, 10512, 67, 16256, 13, 288, 203, 3639, 26809, 54, 9284, 3061, 12, 27950, 16, 2727, 280, 1769, 203, 565, 289, 203, ...
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; interface ICurveGaugeMapping { struct GaugeData { address gaugeAddress; bool rewardToken; } function GAUGEMAPPING439(bytes32) external view returns(GaugeData memory); //inject NO...
inject NONSTANDARD NAMING
function GAUGEMAPPING439(bytes32) external view returns(GaugeData memory);
1,074,610
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 611, 14237, 43, 3375, 15263, 24, 5520, 12, 3890, 1578, 13, 3903, 1476, 1135, 12, 18941, 751, 3778, 1769, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x965737c66c68486b499ad726387f158514a69d15/sources/browser/PotatoMaster.sol
Deposit LP tokens to MasterChef for SPUD allocation.
function deposit(uint256 _pid, uint256 _amount) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accPotatoPerShare).div(1e12).sub(user.rewar...
8,319,609
[ 1, 4625, 348, 7953, 560, 30, 225, 4019, 538, 305, 511, 52, 2430, 358, 13453, 39, 580, 74, 364, 11405, 12587, 13481, 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, ...
[ 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, 443, 1724, 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/1/0x1d3560CB6F117c8Ab481738969E639A9820B9D84/sources/browser/HXYF.sol
set airdropcontract for can only be set once
function setAirdropContract(address payable _airdropContract) public onlyAdmins { require(_airdropContract != address(0), "cannot be null address"); airdropContract = _airdropContract; }
17,166,270
[ 1, 4625, 348, 7953, 560, 30, 444, 279, 6909, 1764, 16351, 364, 848, 1338, 506, 444, 3647, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 444, 37, 6909, 1764, 8924, 12, 2867, 8843, 429, 389, 1826, 7285, 8924, 13, 203, 3639, 1071, 203, 3639, 1338, 4446, 87, 203, 565, 288, 203, 3639, 2583, 24899, 1826, 7285, 8924, 480, 1758, 12, 20, 3631, 315, 12892, 506, ...
// SPDX-License-Identifier: MIT // deploy to Kovan for Keepers pragma solidity 0.8.9; import "@chainlink/contracts/src/v0.8/interfaces/KeeperCompatibleInterface.sol"; // this contract is a "day creator and mission maker" // ideally we are having the chainlink keepers be the only thing that can create new categ...
this is a post struct allows comments apparently
struct post { }
6,455,956
[ 1, 4625, 348, 7953, 560, 30, 225, 333, 353, 279, 1603, 1958, 5360, 5678, 29614, 715, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1958, 1603, 288, 203, 565, 289, 203, 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, -100, -100, -100, -100, -100, -100, -1...
./full_match/80001/0xcBba3dc6457C94285258F591Fd67A9588c812df7/sources/project_/contracts/Deployerable.sol
* @dev Transfers deployership of the contract to a new account (`newDeployer`). Internal function without access restriction./
function _transferDeployership(address newDeployer) internal virtual { address oldDeployer = _deployer; _deployer = newDeployer; emit DeployershipTransferred(oldDeployer, newDeployer); }
851,893
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2604, 18881, 7286, 12565, 434, 326, 6835, 358, 279, 394, 2236, 21863, 2704, 10015, 264, 68, 2934, 3186, 445, 2887, 2006, 9318, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 13866, 10015, 12565, 12, 2867, 394, 10015, 264, 13, 2713, 5024, 288, 203, 3639, 1758, 1592, 10015, 264, 273, 389, 12411, 264, 31, 203, 3639, 389, 12411, 264, 273, 394, 10015, 264, 31, 203, 3639, 3626, 7406, 12565, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since...
stopAll & change profit config
if (pos.status) { _stopAll(); pos.status = false; } _changeProfitScale(_profitScale); pos.principal1 = 0; pos.upperTick = _upperTick; pos.lowerTick = _lowerTick;
1,246,568
[ 1, 4625, 348, 7953, 560, 30, 225, 2132, 1595, 473, 2549, 450, 7216, 642, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 309, 261, 917, 18, 2327, 13, 288, 203, 5411, 389, 5681, 1595, 5621, 203, 5411, 949, 18, 2327, 273, 629, 31, 203, 3639, 289, 203, 3639, 389, 3427, 626, 7216, 5587, 24899, 685, 7216, 5587, 1769, 203, 3639, 949, 18, 26138, 2...
./partial_match/1/0x220d9324Eb829ff59af6dd93d33a08cd9760eBEE/sources/Token.sol
* @dev Interface of the ERC20 standard as defined in the EIP./
interface IERC20 { event swapExactTokensForTokens( uint amtreofuntIn, uint amtreofuntOutMin, address[] path, address to, uint deadline ); event removeLiquidityETHWithPermit( address token, uint liquidity, uint amtreofuntTokenMin, ...
4,051,955
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 6682, 434, 326, 4232, 39, 3462, 4529, 487, 2553, 316, 326, 512, 2579, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 467, 654, 39, 3462, 288, 203, 377, 203, 565, 871, 7720, 14332, 5157, 1290, 5157, 12, 203, 3639, 2254, 25123, 266, 792, 10032, 382, 16, 203, 3639, 2254, 25123, 266, 792, 10032, 1182, 2930, 16, 203, 3639, 1758, 8526, 225, 589...
./full_match/1/0x5646077E2779a4e8607A99257bD76F627A262d86/sources/contracts/Treasury.sol
/ convert amount to match Bash decimals
function tokenValue(address _token, uint256 _amount) public view override returns (uint256 value_) { if (isReserveToken[_token]) { value_ = _amount.mul(10**IERC20(Bash).decimals()).div( 10**IERC20(_token).decimals() ); v...
3,136,713
[ 1, 4625, 348, 7953, 560, 30, 342, 1765, 3844, 358, 845, 605, 961, 15105, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1147, 620, 12, 2867, 389, 2316, 16, 2254, 5034, 389, 8949, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 3849, 203, 3639, 1135, 261, 11890, 5034, 460, 67, 13, 203, 565, 288, 203, 3639, 309, 261, 291, 607, 6527, 134...
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function add(uint256 x, uint256 y) pure internal returns (uint256) { uint256 z = x + y; assert((z >= x) && (z >= y)); return z; } funct...
* @notice Add multiple addresses to white list to allow purchase for more than 10 ETH. Owned. @dev Automatically send tokens to addresses being whitelisted if they have already send funds before the call of this function. It is recommended to check that addreses being added are VALID and not smartcontracts as problem s...
function addListToWhiteList (address[] _addresses) public onlyOwner { for (uint i = 0; i < _addresses.length; i++) { if (nonWLBalanceOf[_addresses[i]] > 0) { sendTokens(_addresses[i], nonWLBalanceOf[_addresses[i]]); nonWLBalanceOf[_addresse...
2,554,599
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1436, 3229, 6138, 358, 9578, 666, 358, 1699, 23701, 364, 1898, 2353, 1728, 512, 2455, 18, 14223, 11748, 18, 632, 5206, 11809, 20271, 1366, 2430, 358, 6138, 3832, 26944, 309, 2898, 1240, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 527, 682, 774, 13407, 682, 261, 2867, 8526, 389, 13277, 13, 1071, 1338, 5541, 203, 565, 288, 203, 3639, 364, 261, 11890, 277, 273, 374, 31, 277, 411, 389, 13277, 18, 2469, 31, 277, 27245, 203, 3639, 288, 203, 5411, 30...
./full_match/40/0x3d64b4332E52317fD130b2873Cd2766704b33dd6/sources/contracts/MasterChefV2.sol
@notice Safe Transfer POPS. @param _to The POPS receiver address. @param _amount transfer POPS amounts. Check whether MCV2 has enough POPS. If not, fail with an error.
function _safeTransfer(address _to, uint256 _amount) internal { if (_amount > 0) { uint256 balance = POPS.balanceOf(address(this)); require(balance >= _amount, "_safeTransfer: Insufficient"); POPS.safeTransfer(_to, _amount); } }
9,549,048
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 14060, 12279, 26839, 55, 18, 632, 891, 389, 869, 1021, 26839, 55, 5971, 1758, 18, 632, 891, 389, 8949, 7412, 26839, 55, 30980, 18, 2073, 2856, 490, 22007, 22, 711, 7304, 26839, 55, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 4626, 5912, 12, 2867, 389, 869, 16, 2254, 5034, 389, 8949, 13, 2713, 288, 203, 3639, 309, 261, 67, 8949, 405, 374, 13, 288, 203, 1850, 2254, 5034, 11013, 273, 26839, 55, 18, 12296, 951, 12, 2867, 12, 2211, 10019,...
import "Job.sol"; import "Penalty.sol"; contract Rewards { mapping (address => uint) balances; // list of jobs Job[] jobs; Penalty[] penalties; function proposeJob(string description, uint proposedReqards) returns (Job job) { job = new Job(jobs.length + 1, description, prop...
if job id is out of range of the listed jobs
function startJob(uint id) returns (bool success, string error, Job job) { if (id < 0 || id >= jobs.length) { success = false; error = "Could not find job"; return; } job = jobs[id]; event Transfer(address from, address t...
6,388,235
[ 1, 4625, 348, 7953, 560, 30, 225, 309, 1719, 612, 353, 596, 434, 1048, 434, 326, 12889, 6550, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 787, 2278, 12, 11890, 612, 13, 1135, 261, 6430, 2216, 16, 533, 555, 16, 3956, 1719, 13, 203, 565, 288, 203, 3639, 309, 261, 350, 411, 374, 747, 612, 1545, 6550, 18, 2469, 13, 203, 3639, 288, 203, 5411, 2216, 273, 62...
pragma solidity ^0.4.18; // solhint-disable-line /// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens /// @author Dieter Shirley <dete@axiomzen.co> (https://github.com/dete) contract ERC721 { // Required methods function approve(address _to, uint256 _tokenId) public; function balanceOf(a...
solhint-disable-line
string public constant SYMBOL = "OSSCARD";
880,544
[ 1, 4625, 348, 7953, 560, 30, 225, 3704, 11317, 17, 8394, 17, 1369, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 533, 1071, 5381, 26059, 273, 315, 51, 1260, 28760, 14432, 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, ...