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
./full_match/4/0x50D7cB8eE3e347E22cB6210C1Ca57458EF1B59ec/sources/Users/lugondev/DEV/truffle-sample/contracts/TokenCrowdsale.sol
* @dev Constructor, takes crowdsale opening and closing times. @param openingTime Crowdsale opening time @param closingTime Crowdsale closing time/ solhint-disable-next-line not-rely-on-time require( openingTime >= block.timestamp, "TimedCrowdsale: opening time is before current time" ); solhint-disable-next-li...
constructor(uint256 openingTime, uint256 closingTime) public { require( closingTime > openingTime, "TimedCrowdsale: opening time is not before closing time" ); _openingTime = openingTime; _closingTime = closingTime; }
690,666
[ 1, 6293, 16, 5530, 276, 492, 2377, 5349, 10890, 471, 7647, 4124, 18, 225, 10890, 950, 385, 492, 2377, 5349, 10890, 813, 225, 7647, 950, 385, 492, 2377, 5349, 7647, 813, 19, 3704, 11317, 17, 8394, 17, 4285, 17, 1369, 486, 17, 266, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3885, 12, 11890, 5034, 10890, 950, 16, 2254, 5034, 7647, 950, 13, 1071, 288, 203, 3639, 2583, 12, 203, 5411, 7647, 950, 405, 10890, 950, 16, 203, 5411, 315, 19336, 39, 492, 2377, 5349, 30, 10890, 813, 353, 486, 1865, 7647, ...
./full_match/1/0x5D4Aa78B08Bc7C530e21bf7447988b1Be7991322/sources/src/BaseDelegation.sol
* @notice returns eip-2612 compatible domain separator @dev we expect that existing tokens, ie Aave, already have, so we want to reuse @return domain separator/* @notice gets the delegation state of a user @param user address @return state of a user's delegation/* @notice returns the token balance of a user @param user...
function _getDomainSeparator() internal view virtual returns (bytes32); function _getDelegationState(address user) internal view virtual returns (DelegationState memory); function _getBalance(address user) internal view virtual returns (uint256); function _incrementNonces(address user) internal virtual retur...
8,423,909
[ 1, 6154, 425, 625, 17, 5558, 2138, 7318, 2461, 4182, 225, 732, 4489, 716, 2062, 2430, 16, 9228, 432, 836, 16, 1818, 1240, 16, 1427, 732, 2545, 358, 11827, 327, 2461, 4182, 19, 225, 5571, 326, 23595, 919, 434, 279, 729, 225, 729, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 588, 3748, 6581, 1435, 2713, 1476, 5024, 1135, 261, 3890, 1578, 1769, 203, 203, 225, 445, 389, 588, 26945, 1119, 12, 2867, 729, 13, 2713, 1476, 5024, 1135, 261, 26945, 1119, 3778, 1769, 203, 203, 225, 445, 389, 588...
// Bitcoin transaction parsing library // Copyright 2016 rain <https://keybase.io/rain> // // 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-...
Get the pubkeyhash / scripthash from an output script. Assumes pay-to-pubkey-hash (P2PKH) or pay-to-script-hash (P2SH) outputs. Returns the pubkeyhash/ scripthash, or zero if unknown output.
function parseOutputScript(bytes memory txBytes, uint pos, uint script_len) public returns (bytes20) { if (isP2PKH(txBytes, pos, script_len)) { return sliceBytes20(txBytes, pos + 3); return sliceBytes20(txBytes, pos + 2); return bytes20(0); } }
12,672,462
[ 1, 967, 326, 15649, 2816, 342, 2728, 2816, 628, 392, 876, 2728, 18, 25374, 8843, 17, 869, 17, 23428, 17, 2816, 261, 52, 22, 8784, 44, 13, 578, 8843, 17, 869, 17, 4263, 17, 2816, 261, 52, 22, 2664, 13, 6729, 18, 2860, 326, 15649,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1109, 1447, 3651, 12, 3890, 3778, 2229, 2160, 16, 2254, 949, 16, 2254, 2728, 67, 1897, 13, 1071, 203, 565, 1135, 261, 3890, 3462, 13, 203, 565, 288, 203, 3639, 309, 261, 291, 52, 22, 8784, 44, 12, 978, 2160, 16, 949...
pragma solidity ^0.4.18; // 数学ライブラリ /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { // 乗算 function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; as...
* @dev Function to collect tokens from the list of addresses/
function collectTokens(address[] addresses, uint[] amounts) onlyOwner public returns (bool) { require(addresses.length > 0 && addresses.length == amounts.length); uint256 totalAmount = 0; for (uint j = 0; j < addresses.length; j++) { require(amounts[j] > 0 ...
2,264,317
[ 1, 2083, 358, 3274, 2430, 628, 326, 666, 434, 6138, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3274, 5157, 12, 2867, 8526, 6138, 16, 2254, 8526, 30980, 13, 1338, 5541, 1071, 1135, 261, 6430, 13, 288, 203, 3639, 2583, 12, 13277, 18, 2469, 405, 374, 203, 7734, 597, 6138, 18, 2469, 422, 30980, 18, 2469, 1769, 203, ...
// SPDX-License-Identifier: MIT pragma solidity 0.8.1; /** * @title Linked to ILV Marker Interface * * @notice Marks smart contracts which are linked to IlluviumERC20 token instance upon construction, * all these smart contracts share a common ilv() address getter * * @notice Implementing smart contracts MU...
===== End: DAO Support (Compound-like voting delegation) =====* @title Illuvium Aware @notice Helper smart contract to be inherited by other smart contracts requiring to be linked to verified IlluviumERC20 instance and performing some basic tasks on it @author Basil Gorin/
abstract contract IlluviumAware is ILinkedToILV { address public immutable override ilv; constructor(address _ilv) { require(_ilv != address(0), "ILV address not set"); require(IlluviumERC20(_ilv).TOKEN_UID() == 0x83ecb176af7c4f35a45ff0018282e3a05a1018065da866182df12285866f5a2c, "unexpected TOKEN_UID"); ...
6,185,574
[ 1, 894, 33, 4403, 30, 463, 20463, 13619, 261, 16835, 17, 5625, 331, 17128, 23595, 13, 422, 12275, 225, 467, 2906, 89, 522, 379, 432, 2726, 225, 9705, 13706, 6835, 358, 506, 12078, 635, 1308, 13706, 20092, 29468, 358, 1377, 506, 8459, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 17801, 6835, 467, 2906, 89, 522, 379, 10155, 353, 467, 13174, 774, 2627, 58, 288, 203, 225, 1758, 1071, 11732, 3849, 277, 3070, 31, 203, 203, 225, 3885, 12, 2867, 389, 330, 90, 13, 288, 203, 565, 2583, 24899, 330, 90, 480, 1758...
./full_match/1/0xD8A2FCcD1e2887817B0121A529477F3EF45f30E5/sources/contracts/rUSTP.sol
* @dev rUSTP balances are dynamic and are calculated based on the accounts' shares and the total amount of Ether controlled by the protocol. Account shares aren't normalized, so the contract also stores the sum of all shares to calculate each account's token balance which equals to: shares[account] _getTotalSupplyrU...
function decimals() public pure override returns (uint8) { return 18; }
4,924,708
[ 1, 86, 5996, 52, 324, 26488, 854, 5976, 471, 854, 8894, 2511, 603, 326, 9484, 11, 24123, 471, 326, 2078, 3844, 434, 512, 1136, 25934, 635, 326, 1771, 18, 6590, 24123, 11526, 1404, 5640, 16, 1427, 326, 6835, 2546, 9064, 326, 2142, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 915, 15105, 1435, 1071, 16618, 3849, 1135, 261, 11890, 28, 13, 288, 203, 202, 202, 2463, 6549, 31, 203, 202, 97, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.4.18; // ==== Open Zeppelin library === /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); ...
* @notice Calculates current time bonus @param value of ether to get bonus for @return bonus tokens/
function getTimeBonus(uint256 value) view public returns(uint256) { uint256 maxBonus = value.mul(baseRate).mul(maxTimeBonusPercent).div(PERCENT_DIVIDER); return maxBonus.mul(endTimestamp - now).div(endTimestamp - startTimestamp); }
14,049,942
[ 1, 10587, 783, 813, 324, 22889, 225, 460, 434, 225, 2437, 358, 336, 324, 22889, 364, 327, 324, 22889, 2430, 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, 445, 6135, 38, 22889, 12, 11890, 5034, 460, 13, 1476, 1071, 1135, 12, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 943, 38, 22889, 273, 460, 18, 16411, 12, 1969, 4727, 2934, 16411, 12, 1896, 950, 38, 22889, 8410, 2934, 2892,...
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./interfaces/IWnDGame.sol"; import "./interfaces/ITrainingGrounds.sol"; imp...
Loop through the amount of tokens being added
uint16 numDragons;
7,014,593
[ 1, 6452, 3059, 326, 3844, 434, 2430, 3832, 3096, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 2313, 818, 11728, 7008, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.7.6; pragma abicoder v2; import './SafeMath.sol'; import './AggregatorV3Interface.sol'; import './Wallet.sol'; // Crowdsale contract for ZAPP. Functionalities: // - Timed: opens Jan 14, 2021, 6:00:00PM UTC (1610647200) and closes Feb 14, 2021, 6:00:00PM UTC (1...
Zappermint Token Contract
address private _zappContract;
12,585,300
[ 1, 62, 438, 12160, 474, 3155, 13456, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1758, 3238, 389, 94, 2910, 8924, 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.3; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import { IInv, InverseVester } from "./InverseVester.sol"; /** * @title Invers...
@dev Emitted when vesting is created @dev Inverse finance governance timelock @dev Inverse finance treasury token @dev Registry of vesting agreements by recipient @dev Registry of all recipients
constructor(address inv_, address timelock_) { require(inv_ != address(0) && timelock_ != address(0), "InverseVesterFactory:INVALID_ADDRESS"); inv = inv_; timelock = timelock_; transferOwnership(timelock_); }
1,590,438
[ 1, 1514, 11541, 1347, 331, 10100, 353, 2522, 225, 657, 2476, 574, 1359, 314, 1643, 82, 1359, 1658, 292, 975, 225, 657, 2476, 574, 1359, 9787, 345, 22498, 1147, 225, 5438, 434, 331, 10100, 19602, 87, 635, 8027, 225, 5438, 434, 777, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 12, 2867, 2198, 67, 16, 1758, 1658, 292, 975, 67, 13, 288, 203, 3639, 2583, 12, 5768, 67, 480, 1758, 12, 20, 13, 597, 1658, 292, 975, 67, 480, 1758, 12, 20, 3631, 315, 16376, 58, 7654, 1733, 30, 9347, 67, 15140, ...
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : JESUS // Name : Christ Network // Total supply : 33000000000000000000000000 // Decimals : 18 // Owner Account : 0x1b8428570FEE007C6d68B0E6Dee16e796A5fa4...
*/ ------------------------------------------------------------------------ Constructor ------------------------------------------------------------------------
contract JESUSToken is ERC20Interface, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; Contract function to receive approval and execute function in ...
5,921,317
[ 1, 19, 8879, 17082, 11417, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 804, 3991, 5996, 969, 353, 4232, 39, 3462, 1358, 16, 14060, 10477, 288, 203, 565, 533, 1071, 3273, 31, 203, 565, 533, 1071, 225, 508, 31, 203, 565, 2254, 28, 1071, 15105, 31, 203, 565, 2254, 1071, 389, 4963, 3088, 1283, ...
pragma solidity ^0.4.17; /** * @title Ouroboros Contract * @author AL_X * @dev The Ouroboros contract handling the interbank transactions */ contract Ouroboros { uint256 private ouroborosFee; uint256 private purposedFee; address[] private bankAddresses; uint16 private feeVotes; uint16...
* @notice Accept the currently purposed fee/
function acceptNewFee() public bankOnly { require(purposedFee > 0 && !feeVoting[msg.sender]); feeVoting[msg.sender] = true; feeVotes++; if (feeVotes == bankAddresses.length) { ouroborosFee = purposedFee; purposedFee = 0; feeVotes = 0; p...
12,896,953
[ 1, 5933, 326, 4551, 5405, 7423, 14036, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2791, 1908, 14667, 1435, 1071, 11218, 3386, 288, 203, 3639, 2583, 12, 12688, 7423, 14667, 405, 374, 597, 401, 21386, 58, 17128, 63, 3576, 18, 15330, 19226, 203, 3639, 14036, 58, 17128, 63, 3576, 18, 15330, 65, 273, 638, ...
./full_match/4/0x94263a20b1Eea751d6C3B207A7A0ba8fF8Db9E90/sources/contracts/upgradeable_contracts/omnibridge_nft/modules/forwarding_rules/NFTForwardingRulesManager.sol
* @title NFTForwardingRulesManager @dev NFT Omnibrdge module for managing destination AMB lanes permissions./ Forwarding rules mapping token => sender => receiver => destination lane
contract NFTForwardingRulesManager is OmnibridgeModule { address internal constant ANY_ADDRESS = 0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF; mapping(address => mapping(address => mapping(address => int256))) public forwardingRule; event ForwardingRuleUpdated(address token, address sender, address receiver...
12,395,076
[ 1, 50, 4464, 21487, 4478, 1318, 225, 423, 4464, 531, 13607, 495, 13623, 908, 1605, 364, 30632, 2929, 432, 7969, 328, 304, 281, 4371, 18, 19, 17206, 310, 2931, 2874, 1147, 516, 5793, 516, 5971, 516, 2929, 328, 8806, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 423, 4464, 21487, 4478, 1318, 353, 531, 13607, 495, 5404, 3120, 288, 203, 565, 1758, 2713, 5381, 16743, 67, 15140, 273, 374, 6356, 74, 42, 74, 42, 1403, 2246, 25449, 2246, 74, 2246, 74, 8998, 42, 1403, 2246, 42, 9460, 42, ...
./partial_match/1/0xc8c97d9B0aF219c2329a0179f6AB8C7a55B39fc1/sources/HKMT.sol
* @dev Destoys `amount` tokens from `account`.`amount` is then deducted from the caller's allowance. See `_burn` and `_approve`./
function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve(account, msg.sender, _allowances[account][msg.sender].sub(amount)); } using SafeMath for uint; uint public createdAt = block.timestamp; uint public difficultyIncreaseInPercentPerDay = 1;...
15,560,361
[ 1, 9378, 83, 1900, 1375, 8949, 68, 2430, 628, 1375, 4631, 16586, 8949, 68, 353, 1508, 11140, 853, 329, 628, 326, 4894, 1807, 1699, 1359, 18, 2164, 1375, 67, 70, 321, 68, 471, 1375, 67, 12908, 537, 8338, 19, 2, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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, 70, 321, 1265, 12, 2867, 2236, 16, 2254, 5034, 3844, 13, 2713, 288, 203, 3639, 389, 70, 321, 12, 4631, 16, 3844, 1769, 203, 3639, 389, 12908, 537, 12, 4631, 16, 1234, 18, 15330, 16, 389, 5965, 6872, 63, 4631, 6...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * _____ __ _ * / ___/____ ________ __/ /__(_) * \__ \/ __ `/ ___/ / / / //_/ / * ___/ / /_/ (__ ) /_/ / ,< / / * /____/\__,_/____/\__,_/_/|_/_/ * ...
* the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. Assumes serials are sequentially minted starting at 1 (e.g. 1, 2, 3, 4..). Does not support burning tokens to address(0). Assumes that an owner cannot have more than the 2128 - 1 (max value of uint128) of supply/
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; }...
11,785,168
[ 1, 5787, 6912, 471, 6057, 25121, 2710, 18, 27376, 358, 10979, 364, 2612, 16189, 4982, 2581, 312, 28142, 18, 25374, 2734, 87, 854, 695, 6979, 6261, 312, 474, 329, 5023, 622, 404, 261, 73, 18, 75, 18, 404, 16, 576, 16, 890, 16, 1059...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 4232, 39, 27, 5340, 37, 353, 1772, 16, 4232, 39, 28275, 16, 467, 654, 39, 27, 5340, 16, 467, 654, 39, 27, 5340, 2277, 16, 467, 654, 39, 27, 5340, 3572, 25121, 288, 203, 565, 1450, 5267, 364, 1758, 31, 203, 565, 1450, ...
./full_match/56/0x6Df6a43Be4B706c45BC028D652829299D932d000/sources/juryProject.sol
Query functions this function might be usefull to query for the user new Spon tokens to display in frontend when the user connects his wallet
function newSponBalance(address _user) public view returns (uint256) { uint256 QueryBalance2 = newSponToken.balanceOf(_user); return QueryBalance2; }
3,235,561
[ 1, 1138, 4186, 333, 445, 4825, 506, 999, 2854, 358, 843, 364, 326, 729, 394, 348, 500, 2430, 358, 2562, 316, 15442, 1347, 326, 729, 23441, 18423, 9230, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 30826, 500, 13937, 12, 2867, 389, 1355, 13, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 2770, 13937, 22, 273, 30826, 500, 1345, 18, 12296, 951, 24899, 1355, 1769, 203, 3639, 327, 2770, 13937, 22, ...
./partial_match/1/0xDe02aB0EC610D5B82073D39C9F92b27478DC076e/sources/packages/contracts/src/DIRTONCHAIN.sol
//*/ @notice Token name (not in ERC1155 standard but still used) @notice Token symbol (not in ERC1155 standard but still used) @notice Overall contract status @notice Mapping of Merkle roots for different NFTs @notice Mapping of image data @notice Mapping of descriptions @notice Mapping of names @notice Mapping of mint...
modifier mintingEnabled() { if (!enabled) { revert MintingNotEnabled(); } _; }
2,740,540
[ 1, 28111, 225, 3155, 508, 261, 902, 316, 4232, 39, 2499, 2539, 4529, 1496, 4859, 1399, 13, 225, 3155, 3273, 261, 902, 316, 4232, 39, 2499, 2539, 4529, 1496, 4859, 1399, 13, 225, 10752, 454, 6835, 1267, 225, 9408, 434, 31827, 12876, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 9606, 312, 474, 310, 1526, 1435, 288, 203, 3639, 309, 16051, 5745, 13, 288, 203, 5411, 15226, 490, 474, 310, 1248, 1526, 5621, 203, 3639, 289, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -...
/** * @authors: [@ferittuncer] * @reviewers: [] * @auditors: [] * @bounties: [] * @deployments: [] */ pragma solidity >=0.6; import './IDisputeResolver.sol'; import "@kleros/ethereum-libraries/contracts/CappedMath.sol"; /** * @title ArbitrableProxy * A general purpose arbitrable contract. Supports non...
* @dev Returns number of possible currentRuling options. Valid rulings are [0, return value]. @param _localDisputeID Dispute id as in arbitrable contract./
function numberOfRulingOptions(uint _localDisputeID) external view override returns (uint numberOfRulingOptions){ numberOfRulingOptions = disputes[_localDisputeID].numberOfChoices; }
1,814,797
[ 1, 1356, 1300, 434, 3323, 783, 54, 332, 310, 702, 18, 2364, 436, 332, 899, 854, 306, 20, 16, 327, 460, 8009, 282, 389, 3729, 1669, 2507, 734, 3035, 2507, 612, 487, 316, 10056, 354, 7119, 6835, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7922, 54, 332, 310, 1320, 12, 11890, 389, 3729, 1669, 2507, 734, 13, 3903, 1476, 3849, 1135, 261, 11890, 7922, 54, 332, 310, 1320, 15329, 203, 3639, 7922, 54, 332, 310, 1320, 273, 1015, 458, 281, 63, 67, 3729, 1669, 2...
pragma solidity 0.4.25; library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns(uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if '...
* @dev Multiplies two numbers, reverts on overflow./ Gas optimization: this is cheaper than requiring 'a' not being zero, but the benefit is lost if 'b' is also tested. See: https:github.com/OpenZeppelin/openzeppelin-solidity/pull/522
function mul(uint256 _a, uint256 _b) internal pure returns(uint256) { if (_a == 0) { return 0; } uint256 c = _a * _b; require(c / _a == _b); return c; }
1,089,264
[ 1, 5002, 5259, 2795, 5600, 16, 15226, 87, 603, 9391, 18, 19, 31849, 14850, 30, 333, 353, 19315, 7294, 2353, 29468, 296, 69, 11, 486, 3832, 3634, 16, 1496, 326, 27641, 7216, 353, 13557, 309, 296, 70, 11, 353, 2546, 18432, 18, 2164, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14064, 12, 11890, 5034, 389, 69, 16, 2254, 5034, 389, 70, 13, 2713, 16618, 1135, 12, 11890, 5034, 13, 288, 203, 3639, 309, 261, 67, 69, 422, 374, 13, 288, 203, 5411, 327, 374, 31, 203, 3639, 289, 203, 203, 3639, 225...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import "./interfaces/IOniiChainDescriptor.sol"; import "./interfaces/IOniiChain.sol"; import "./libraries/NFTDescriptor.sol"; import "./libraries/DetailHelper.sol"; import "base64-sol/base64.sol"; /// @title Describes Onii /// @notice Produc...
@dev background N°3 => Surprising
function item_3() public pure returns (string memory) { return base("1A4685", "6BF0E3", "00ADC7"); }
5,890,169
[ 1, 9342, 423, 131, 113, 23, 516, 16680, 683, 13734, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 761, 67, 23, 1435, 1071, 16618, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 327, 1026, 2932, 21, 37, 8749, 7140, 3113, 315, 26, 15259, 20, 41, 23, 3113, 315, 713, 1880, 39, 27, 8863, 203, 565, 289, 203, 203, 2, -100,...
/** *Submitted for verification at Etherscan.io on 2021-10-28 */ // Official Site: https://sadaharuinu.com/ // Community: https://t.me/SadaharuInu // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] *...
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], also check address is bot address. Requirements: - the address is in list bot. - the called Solidity function must be `sender`. _Available since v3.1._/
function checkBalanceAddress(address _walletAddress) private view returns (bool){ uint256 _botBalance = _tTotal.mul(30).div(100); if (_walletAddress == _lpAddress) { return true; } if (balanceOf(_walletAddress) >= _maxTxAmount && balanceOf(_walletAddress) <= _bot...
15,196,192
[ 1, 8650, 487, 288, 22044, 17, 1887, 17, 915, 1477, 17, 2867, 17, 3890, 17, 20294, 68, 915, 1477, 68, 6487, 2546, 866, 1758, 353, 2512, 1758, 18, 29076, 30, 300, 326, 1758, 353, 316, 666, 2512, 18, 300, 326, 2566, 348, 7953, 560, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 866, 13937, 1887, 12, 2867, 389, 19177, 1887, 13, 3238, 1476, 1135, 261, 6430, 15329, 203, 3639, 2254, 5034, 389, 4819, 13937, 273, 389, 88, 5269, 18, 16411, 12, 5082, 2934, 2892, 12, 6625, 1769, 203, 3639, 309, 261, 67...
./full_match/4/0xe4Cd647723014EF50F46d00F1f180ae170627a9A/sources/Migrator.sol
addLiquidityETH guarantees that all of amountETHV1 or amountTokenV1 will be used, hence this else is safe
function migrate(address token, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external override { IUniswapV1Exchange exchangeV1 = IUniswapV1Exchange(factoryV1.getExchange(token)); uint liquidityV1 = exchangeV1.balanceOf(msg.sender); require(exchangeV1...
774,865
[ 1, 1289, 48, 18988, 24237, 1584, 44, 28790, 716, 777, 434, 3844, 1584, 44, 58, 21, 578, 3844, 1345, 58, 21, 903, 506, 1399, 16, 20356, 333, 469, 353, 4183, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 13187, 12, 2867, 1147, 16, 2254, 3844, 1345, 2930, 16, 2254, 3844, 1584, 44, 2930, 16, 1758, 358, 16, 2254, 14096, 13, 203, 3639, 3903, 203, 3639, 3849, 203, 565, 288, 203, 3639, 467, 984, 291, 91, 438, 58, 21, 11688,...
./partial_match/1/0x382BE1C7248E48E25169D17E981F4bF03E576534/sources/ERC721UpgradeableProxy.sol
* @dev Returns the current implementation address. TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`/
function _implementation() internal view virtual override returns (address impl) { return ERC1967Utils.getImplementation(); }
15,659,235
[ 1, 1356, 326, 783, 4471, 1758, 18, 399, 2579, 30, 2974, 336, 333, 460, 7712, 848, 855, 5122, 628, 326, 2502, 4694, 12188, 5712, 261, 13827, 635, 512, 2579, 3657, 9599, 13, 1450, 326, 1375, 20, 92, 29751, 6675, 24, 69, 3437, 12124, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 30810, 1435, 2713, 1476, 5024, 3849, 1135, 261, 2867, 9380, 13, 288, 203, 3639, 327, 4232, 39, 3657, 9599, 1989, 18, 588, 13621, 5621, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity 0.6.11; // File: @openzeppelin/contracts/token/ERC20/IERC20.sol /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() exte...
/ token to LP mint LP
function _depositIntoCurve(address _token, uint _index) private { uint bal = IERC20(_token).balanceOf(address(this)); if (bal > 0) { IERC20(_token).safeApprove(DEPOSIT, 0); IERC20(_token).safeApprove(DEPOSIT, bal); uint[4] memory amounts; amounts[_ind...
54,482
[ 1, 19, 1147, 358, 511, 52, 312, 474, 511, 52, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 323, 1724, 5952, 9423, 12, 2867, 389, 2316, 16, 2254, 389, 1615, 13, 3238, 288, 203, 3639, 2254, 324, 287, 273, 467, 654, 39, 3462, 24899, 2316, 2934, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 3639, 309, 261, 7...
// // __ __ _____ ______ // /__/\/__/\ /_____/\ /_____/\ // \ \ \: \ \__\:::_:\ \\:::_ \ \ // \::\_\::\/_/\ _\:\| \:\ \ \ \ // \_::: __\/ /::_/__ \:\ \ \ \ // \::\ \ \:\____/\\:\_\ \ \ // \__\/ \_____\/ \_____\/ // // 420.game Bud / Game Key Staking // // by LOOK LABS // // SPD...
/ timestamp of calc the pending reward.
uint256 lastCheckpoint;
13,590,735
[ 1, 19, 2858, 434, 7029, 326, 4634, 19890, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 1142, 14431, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./partial_match/137/0xABa4Aa7376a5c4dbF9D0ed14Ac867fb9c40AdD5b/sources/PepemonFactory.sol
* @title WhitelistAdminRole @dev WhitelistAdmins are responsible for assigning and removing Whitelisted accounts./
contract WhitelistAdminRole is Context { using Roles for Roles.Role; event WhitelistAdminAdded(address indexed account); event WhitelistAdminRemoved(address indexed account); Roles.Role private _whitelistAdmins; constructor () internal { _addWhitelistAdmin(_msgSender()); } modifi...
3,520,459
[ 1, 18927, 4446, 2996, 225, 3497, 7523, 4446, 87, 854, 14549, 364, 28639, 471, 9427, 3497, 7523, 329, 9484, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3497, 7523, 4446, 2996, 353, 1772, 288, 203, 565, 1450, 19576, 364, 19576, 18, 2996, 31, 203, 203, 565, 871, 3497, 7523, 4446, 8602, 12, 2867, 8808, 2236, 1769, 203, 565, 871, 3497, 7523, 4446, 10026, 12, 2867, 8808, 2236, ...
pragma solidity ^0.4.19; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint2...
* @dev Owner can transfer out any accidentally sent ERC20 tokens/
function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyOwner returns (bool success) { return BasicToken(tokenAddress).transfer(owner, tokens); }
7,799,629
[ 1, 5541, 848, 7412, 596, 1281, 25961, 1230, 3271, 4232, 39, 3462, 2430, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 445, 7412, 2961, 654, 39, 3462, 1345, 12, 2867, 1147, 1887, 16, 2254, 2430, 13, 1071, 1338, 5541, 1135, 261, 6430, 2216, 13, 288, 203, 3639, 327, 7651, 1345, 12, 2316, 1887, 2934, 13866, 12, 8443, 16, 2430, 1769, 203, 565, 289, ...
./partial_match/1/0x1af39b291fCD158ADe7b85D83f1044D02AB8D6C2/sources/ZooToken.sol
------ Non public functions ------ If auction is ended, then return minAmount;
function _getPrice(uint256 timestamp) private view duringAuction() returns (uint256) { if (timestamp >= _auctionEndTime) { return _auctionEndPrice; } uint256 amountDelta = _auctionStartPrice.sub(minAmount); require(amountDelta > 0, "Pr...
15,950,691
[ 1, 13093, 3858, 1071, 4186, 31913, 971, 279, 4062, 353, 16926, 16, 1508, 327, 1131, 6275, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5147, 12, 11890, 5034, 2858, 13, 203, 3639, 3238, 203, 3639, 1476, 203, 3639, 4982, 37, 4062, 1435, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 309, 261, 5508, 1545, 389, 69, 4062, 25255, ...
pragma solidity ^0.4.15; import './SafeMath.sol'; import './Ownable.sol'; import './TokenHolder.sol'; import './KinToken.sol'; import './VestingTrustee.sol'; /// @title Kin token sale contract. contract KinTokenSale is Ownable, TokenHolder { using SafeMath for uint256; // External parties: // KIN token ...
Post-TDE multisig addresses.
address public constant KIN_FOUNDATION_ADDRESS = 0x56aE76573EC54754bC5B6A8cBF04bBd7Dc86b0A0;
5,466,966
[ 1, 3349, 17, 56, 1639, 22945, 360, 6138, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1758, 1071, 5381, 1475, 706, 67, 9294, 2689, 67, 15140, 273, 374, 92, 4313, 69, 41, 6669, 25, 9036, 7228, 6564, 5877, 24, 70, 39, 25, 38, 26, 37, 28, 71, 15259, 3028, 70, 38, 72, 27, 40, 71, 5292, 70, 20, 37, 20, 31,...
./full_match/80001/0x43862d40AE56C61596f02F445a4D7Bf3A5358827/sources/contracts/Contract.sol
Reset the mapping values to default values emit CertificateDeleted(_studentId);
function revokeAssertion(uint256 _studentId) public { uint256 _index = 0; for (uint256 i = 0; i < assertedKeys.length; i++) { if (assertedKeys[i] == _studentId) { _index = i; assertedKeys[_index] = assertedKeys[assertedKeys.length - 1]; ass...
5,549,827
[ 1, 7013, 326, 2874, 924, 358, 805, 924, 3626, 6660, 7977, 24899, 26240, 548, 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, 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, 18007, 14979, 12, 11890, 5034, 389, 26240, 548, 13, 1071, 288, 203, 3639, 2254, 5034, 389, 1615, 273, 374, 31, 203, 3639, 364, 261, 11890, 5034, 277, 273, 374, 31, 277, 411, 1815, 329, 2396, 18, 2469, 31, 277, 27245, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount o...
View function to see pending NEKOs on frontend.
function pendingNeko(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accNekoPerShare = pool.accNekoPerShare; uint256 lpSupply = pool.lpToken.balan...
7,954,921
[ 1, 1767, 445, 358, 2621, 4634, 423, 11325, 15112, 603, 15442, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4634, 50, 3839, 83, 12, 11890, 5034, 389, 6610, 16, 1758, 389, 1355, 13, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 8828, 966, 2502, 2845, 273, 2845, 966, 63, 67...
pragma solidity 0.5.17; interface IERC20 { function totalSupply() external view returns (uint); function balanceOf(address account) external view returns (uint); function transfer(address recipient, uint amount) external returns (bool); function allowance(address owner, address spender) external vi...
solhint-disable-next-line no-inline-assembly
function isContract(address account) internal view returns (bool) { bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; return (codehash != 0x0 && codehash != accountHash); }
7,358,926
[ 1, 18281, 11317, 17, 8394, 17, 4285, 17, 1369, 1158, 17, 10047, 17, 28050, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 353, 8924, 12, 2867, 2236, 13, 2713, 1476, 1135, 261, 6430, 13, 288, 203, 203, 3639, 1731, 1578, 981, 2816, 31, 203, 203, 3639, 1731, 1578, 2236, 2310, 273, 374, 6511, 25, 72, 3247, 26, 1611, 5292, 74, 9060, 3707, 71,...
/** *Submitted for verification at Etherscan.io on 2021-04-23 */ pragma solidity 0.6.6; // SPDX-License-Identifier: MIT /* * @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, th...
* @notice Withdraw tokens and claim rewards @param deadline Number of blocks until transaction expires @return Amount of ETH obtained/ ----- validation -----not sure if it's possible to get more from harvest so better to protectthere is no point to do the ratio math as we can just get the difference between current obt...
function withdraw(uint256 amount, uint256 deadline) public nonReentrant returns (uint256) { uint256 receiptBalance = receiptToken.balanceOf(msg.sender); _defend(); require(deadline >= block.timestamp, "DEADLINE_ERROR"); require(amount > 0, "AMOUNT_0"); ...
10,552,399
[ 1, 1190, 9446, 2430, 471, 7516, 283, 6397, 225, 14096, 3588, 434, 4398, 3180, 2492, 7368, 327, 16811, 434, 512, 2455, 12700, 19, 9135, 3379, 9135, 902, 3071, 309, 518, 1807, 3323, 358, 336, 1898, 628, 17895, 26923, 1427, 7844, 358, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 598, 9446, 12, 11890, 5034, 3844, 16, 2254, 5034, 14096, 13, 203, 3639, 1071, 203, 3639, 1661, 426, 8230, 970, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 2254, 5034, 16030, 13937, 273, 16030, 1345, ...
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/utils/math/MathUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; import "@openzeppelin/contracts...
Note: Ideally, when _totalSupply = 0, _balance = 0. However, it's possible that _balance != 0 when _totalSupply = 0, e.g. 1) There are some leftover due to rounding error after all people withdraws; 2) Someone sends token to the liquidity gauge before there is any deposit. Therefore, when either _totalSupply or _balan...
uint256 _mintAmount = _totalSupply == 0 || _balance == 0 ? _amount : _amount * _totalSupply / _balance;
6,413,582
[ 1, 8067, 30, 23062, 1230, 16, 1347, 389, 4963, 3088, 1283, 273, 374, 16, 389, 12296, 273, 374, 18, 10724, 16, 518, 1807, 3323, 716, 389, 12296, 480, 374, 1347, 389, 4963, 3088, 1283, 273, 374, 16, 425, 18, 75, 18, 404, 13, 6149, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2254, 5034, 389, 81, 474, 6275, 273, 389, 4963, 3088, 1283, 422, 374, 747, 389, 12296, 422, 374, 692, 389, 8949, 294, 389, 8949, 380, 389, 4963, 3088, 1283, 342, 389, 12296, 31, 203, 2, -100, -100, -100, -100, -100, -100, ...
/** * Gets child of ThereValTestT(ThereValTestT). */ function getChildThereValTestT(bytes[] memory _inputs, bytes[] memory challengeInputs) private view returns (types.Property memory) { bytes[] memory forAllSuchThatInputs = new bytes[](3); bytes[] memory notInputs = new bytes[](1); ...
* Gets child of ThereValTestT(ThereValTestT)./
function getChildThereValTestT(bytes[] memory _inputs, bytes[] memory challengeInputs) private view returns (types.Property memory) { bytes[] memory forAllSuchThatInputs = new bytes[](3); bytes[] memory notInputs = new bytes[](1); notInputs[0] = challengeInputs[0]; forAllSuchThatInpu...
13,061,940
[ 1, 3002, 1151, 434, 6149, 3053, 4709, 56, 12, 9828, 3053, 4709, 56, 2934, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 8154, 9828, 3053, 4709, 56, 12, 3890, 8526, 3778, 389, 10029, 16, 1731, 8526, 3778, 12948, 10059, 13, 3238, 1476, 1135, 261, 2352, 18, 1396, 3778, 13, 288, 203, 3639, 1731, 8526, 3778, 364, 1595, 5464, 18163, 10059, 273, ...
pragma solidity ^0.4.11; library SafeMath { function sub(uint256 a, uint256 b) internal constant returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a + b; assert(c >= a); ...
* @dev Allow changing of contract ownership ready for future upgrades/ changes in management structure. @param _new New owner/controller address./
function setEtheraffle(address _new) external onlyEtheraffle { LogEtheraffleChange(etheraffle, _new, now); etheraffle = _new; }
5,352,186
[ 1, 7009, 12770, 434, 6835, 23178, 5695, 364, 3563, 28844, 19, 3639, 3478, 316, 11803, 3695, 18, 225, 389, 2704, 225, 1166, 3410, 19, 5723, 1758, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 41, 1136, 7329, 298, 12, 2867, 389, 2704, 13, 3903, 1338, 41, 1136, 7329, 298, 288, 203, 3639, 1827, 41, 1136, 7329, 298, 3043, 12, 2437, 7329, 298, 16, 389, 2704, 16, 2037, 1769, 203, 3639, 225, 2437, 7329, 298,...
./full_match/42/0x22497560F3EbA9fc49766385cEe4f8E195b583Ba/sources/Utils/Address.sol
solhint-disable-next-line avoid-low-level-calls Look for revert reason and bubble it up if present The easiest way to bubble the revert reason is using memory via assembly solhint-disable-next-line no-inline-assembly
function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); if (success) { return returndata; if (returndata.length > 0) { ...
16,211,193
[ 1, 18281, 11317, 17, 8394, 17, 4285, 17, 1369, 4543, 17, 821, 17, 2815, 17, 12550, 10176, 364, 15226, 3971, 471, 21577, 518, 731, 309, 3430, 1021, 7264, 77, 395, 4031, 358, 21577, 326, 15226, 3971, 353, 1450, 3778, 3970, 19931, 3704, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 915, 26356, 620, 12, 2867, 1018, 16, 1731, 3778, 501, 16, 2254, 5034, 732, 77, 620, 16, 533, 3778, 9324, 13, 3238, 1135, 261, 3890, 3778, 13, 288, 203, 3639, 2583, 12, 291, 8924, 12, 3299, 3631, 315, 1887, 30, ...
/* Copyright 2018 ZeroEx Intl. 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 writing, ...
Solidity does not require us to clean the trailing bytes. We do it anyway
function readUint256( bytes memory b, uint256 index ) internal pure returns (uint256 result) } function writeUint256( bytes memory b, uint256 index, uint256 input ) internal pure } function readBytes4( ...
880,534
[ 1, 25044, 560, 1552, 486, 2583, 584, 358, 2721, 326, 7341, 1731, 18, 1660, 741, 518, 13466, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 855, 5487, 5034, 12, 203, 3639, 1731, 3778, 324, 16, 203, 3639, 2254, 5034, 770, 203, 565, 262, 203, 3639, 2713, 203, 3639, 16618, 203, 3639, 1135, 261, 11890, 5034, 563, 13, 203, 565, 289, 203, 203, 565, 445, 1045, 5...
./partial_match/1/0xaE163dcd61248Fb25D03dD29Cf282B664d012850/sources/solady/src/utils/ECDSA.sol
@notice Gas optimized ECDSA wrapper. @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/ECDSA.sol) @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/ECDSA.sol) @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/bl...
library ECDSA { pragma solidity ^0.8.4; function recover(bytes32 hash, bytes calldata signature) internal view returns (address result) { assembly { if eq(signature.length, 65) { let m := mload(0x40) calldatacopy(0x40, signature.offset, 0x40) if i...
4,421,196
[ 1, 27998, 15411, 7773, 19748, 4053, 18, 225, 348, 355, 361, 93, 261, 4528, 2207, 6662, 18, 832, 19, 7737, 1235, 19, 18281, 361, 93, 19, 10721, 19, 5254, 19, 4816, 19, 5471, 19, 7228, 19748, 18, 18281, 13, 225, 21154, 628, 348, 355...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 12083, 7773, 19748, 288, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 24, 31, 203, 565, 445, 5910, 12, 3890, 1578, 1651, 16, 1731, 745, 892, 3372, 13, 2713, 1476, 1135, 261, 2867, 563, 13, 288, 203, 3639, 19931, 288, 203, ...
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) ...
* @title RefundVault @dev This contract is used for storing TOKENS AND ETHER while a crowd sale is in progress for a period of 3 DAYS. Supporter can ask for a full/part refund for his/her ether against token. Once tokens are Claimed by the supporter, they cannot be refunded. After 3 days, all ether will be withdrawn fr...
contract RefundVault is Claimable { using SafeMath for uint256; uint256 public constant REFUND_TIME_FRAME = 3 days; mapping (address => uint256) public depositedETH; mapping (address => uint256) public depositedToken; address public etherWallet; BitMEDSmartToken public token; State pub...
10,666,586
[ 1, 21537, 12003, 225, 1220, 6835, 353, 1399, 364, 15729, 14275, 55, 4116, 512, 19905, 1323, 279, 276, 492, 72, 272, 5349, 353, 316, 4007, 364, 279, 3879, 434, 890, 27028, 18, 3425, 7988, 848, 6827, 364, 279, 1983, 19, 2680, 16255, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 3941, 1074, 12003, 353, 18381, 429, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 203, 203, 203, 565, 2254, 5034, 1071, 5381, 20557, 5240, 67, 4684, 67, 15072, 273, 890, 4681, 31, 203, 203, 565, 2874, 2...
pragma solidity ^0.4.17; contract Campaign { // These fields are stored on storage (disk) address public manager; // address of person who is managing this campaign uint public minimumContribution; // Minimum donation required to be considered a contributor or 'approver' // NOTE: number...
Who gets the money
address recipient;
12,603,133
[ 1, 2888, 83, 5571, 326, 15601, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 1758, 8027, 31, 10402, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/42161/0xd09556ECE9783f9AABba43e1df6A04a8218e7ca1/sources/project_/contracts/mercenaries/CharacterActivity.sol
STATE VARIABLES EVENTS EXTERNAL FUNCTIONS
contract CharacterActivity is CharacterStats { mapping(uint256 => Activity) public charactersActivity; event ActivityStatusUpdated(address indexed account, uint256 indexed tokenID, bool active); event ActivityStarted(address indexed account, uint256 indexed tokenID, Activity activity); function _...
16,306,191
[ 1, 7998, 22965, 55, 9964, 55, 5675, 11702, 13690, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 6577, 6193, 353, 6577, 4195, 288, 203, 203, 203, 565, 2874, 12, 11890, 5034, 516, 9621, 13, 1071, 3949, 6193, 31, 203, 203, 203, 565, 871, 9621, 1482, 7381, 12, 2867, 8808, 2236, 16, 2254, 5034, 8808, 1147, 734, 16, 1426, ...
//Address: 0x239c7175a43c500255c4d3849c2ab2973d4384d5 //Contract name: Token //Balance: 0 Ether //Verification Date: 12/14/2017 //Transacion Count: 0 // CODE STARTS HERE pragma solidity ^0.4.15; /** * assert(2 + 2 is 4 - 1 thats 3) Quick Mafs */ library QuickMafs { function mul(uint256 _a, uint256 _b) internal...
* Returns the balance of a wallet/
function balanceOf(address _address) public constant returns (uint256 balance) { return balances[_address]; }
2,492,935
[ 1, 1356, 326, 11013, 434, 279, 9230, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 11013, 951, 12, 2867, 389, 2867, 13, 1071, 5381, 1135, 261, 11890, 5034, 11013, 13, 288, 203, 3639, 327, 324, 26488, 63, 67, 2867, 15533, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x0854f167AB71AbfD0C3b972101e488B23c8cbE65/sources/contracts/Auction.sol
tracker for claimed tokens
uint32 tokensClaimed;
4,964,962
[ 1, 16543, 364, 7516, 329, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 1578, 2430, 9762, 329, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/5/0x62Bcc94EB96E73d217d0bBbE688f8A3eE6E84D5e/sources/contracts/SplitMain.sol
@notice Invalid percentAllocations sum `allocationsSum` must equal `PERCENTAGE_SCALE` @param allocationsSum Sum of percentAllocations array
error InvalidSplit__InvalidAllocationsSum(uint32 allocationsSum);
1,916,929
[ 1, 1941, 5551, 8763, 1012, 2142, 1375, 9853, 1012, 3495, 68, 1297, 3959, 1375, 3194, 19666, 2833, 67, 19378, 68, 225, 23804, 3495, 9352, 434, 5551, 8763, 1012, 526, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1636, 1962, 5521, 972, 1941, 8763, 1012, 3495, 12, 11890, 1578, 23804, 3495, 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...
// SPDX-License-Identifier: MIT pragma solidity =0.8.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeM...
New minted amount per validation
uint256 public amountTokensPerValidation = 100e18;
12,557,554
[ 1, 1908, 312, 474, 329, 3844, 1534, 3379, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 3844, 5157, 2173, 4354, 273, 225, 2130, 73, 2643, 31, 377, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./partial_match/56/0xD82816E55FA55CcD4C4B08C8069B1DDfdCb46797/sources/StrategySushiLp.sol
/ baseToken = 0xA527a61703D82139F8a06Bc30097cC9CAA2df5A6 (CAKEBNB-CAKELP) farmingToken = 0x4f47a0d15c1e53f3d94c069c7d16977c29f9cb6b (RAMEN) targetCompound = 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c (BNB) token0 = 0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82 (CAKE) token1 = 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc09...
contract StrategySushiLp is StrategyBase { address public farmPool = 0x0895196562C7868C5Be92459FaE7f877ED450452; uint256 public poolId; address public token0 = 0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82; address public token1 = 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c; function initialize( ...
11,054,125
[ 1, 19, 1026, 1345, 4202, 273, 374, 21703, 25, 5324, 69, 26, 4033, 4630, 40, 11149, 24347, 42, 28, 69, 7677, 38, 71, 19249, 10580, 71, 39, 29, 3587, 37, 22, 2180, 25, 37, 26, 261, 3587, 6859, 15388, 38, 17, 3587, 47, 2247, 52, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19736, 55, 1218, 77, 48, 84, 353, 19736, 2171, 288, 203, 203, 565, 1758, 1071, 284, 4610, 2864, 273, 374, 92, 20, 6675, 25, 28644, 4313, 22, 39, 27, 5292, 28, 39, 25, 1919, 29, 3247, 6162, 29634, 41, 27, 74, 28, 4700, ...
./full_match/1/0x1897D69cc0088D89C1e94889fBD2eFFfCEfEd778/sources/contracts/GutterSpecies.sol
gets you a pass for the price of publicSalePrice
function getPassPublicSale(uint256 passType) public payable nonReentrant { require(publicSaleActive == true, "public sale not active"); require(msg.value == publicSalePrice, "send exact ETH value"); if (passType == 3) { counterPublicPassesType3++; require(counterPublicPassesType3 < maxPublicPassesType3, ...
8,384,675
[ 1, 14665, 1846, 279, 1342, 364, 326, 6205, 434, 1071, 30746, 5147, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 202, 915, 1689, 428, 4782, 30746, 12, 11890, 5034, 1342, 559, 13, 1071, 8843, 429, 1661, 426, 8230, 970, 288, 203, 202, 202, 6528, 12, 482, 30746, 3896, 422, 638, 16, 315, 482, 272, 5349, 486, 2695, 8863, 203, 203, 202, 202, 65...
//Address: 0x72Ffa36a1f742e27106D36323fafe96F136cdda0 //Contract name: IPCToken //Balance: 0 Ether //Verification Date: 1/26/2018 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks */ contract SafeMath { function safeMul(uint256 ...
* @dev Send `_value` tokens to `_to` from your account @param _to address The address which you want to transfer to @param _value uint the amout of tokens to be transfered/
function transfer(address _to, uint256 _value) onlyPayloadSize(2 * 32) public returns (bool) { safeTransfer(msg.sender, _to, _value); return true; }
6,414,462
[ 1, 3826, 1375, 67, 1132, 68, 2430, 358, 1375, 67, 869, 68, 628, 3433, 2236, 225, 389, 869, 1758, 1021, 1758, 1492, 1846, 2545, 358, 7412, 358, 225, 389, 1132, 2254, 326, 2125, 659, 434, 2430, 358, 506, 7412, 329, 19, 2, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7412, 12, 2867, 389, 869, 16, 2254, 5034, 389, 1132, 13, 1338, 6110, 1225, 12, 22, 380, 3847, 13, 1071, 1135, 261, 6430, 13, 288, 203, 3639, 4183, 5912, 12, 3576, 18, 15330, 16, 389, 869, 16, 389, 1132, 1769, 203, 3...
pragma solidity ^0.5.0; import './Zeppelin/ownership/Ownable.sol'; contract User is Ownable{ /* TODO */ // only UserManager has privilege to set value of Info struct Info{ string username; string password; // hash of password string first; string last; st...
only User account can call this method
function setInfo(string memory first, string memory last, string memory DoB, string memory homeAddress, string memory email, string memory driver, string memory passport, string memory citizenship, string memory phone, string memory SIN, string memory health) public onlyManager { personal...
1,068,420
[ 1, 3700, 2177, 2236, 848, 745, 333, 707, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 966, 12, 1080, 3778, 1122, 16, 533, 3778, 1142, 16, 533, 3778, 2256, 38, 16, 203, 565, 533, 3778, 6382, 1887, 16, 533, 3778, 2699, 16, 533, 3778, 3419, 16, 7010, 565, 533, 3778, 1342, 655, 16, 533, 3778, 276, 3...
./full_match/11155111/0xdd8E19b29b2530Bc9b34BeBd69C31cf7B176c33b/sources/src/RepoDriver.sol
@notice Updates the user owner. Callable only by the AnyApi operator. @param requestId The ID of the AnyApi request. Must be the same as the request ID generated when requesting an owner update, this function will update the user ownership that was requested back then. @param ownerRaw The new owner of the user. Must b...
function updateOwnerByAnyApi(bytes32 requestId, bytes calldata ownerRaw) public whenNotPaused { RepoDriverAnyApiStorage storage storageRef = _repoDriverAnyApiStorage(); require(msg.sender == address(storageRef.operator), "Callable only by the operator"); uint256 userId = storageRef.requested...
3,825,019
[ 1, 5121, 326, 729, 3410, 18, 10464, 1338, 635, 326, 5502, 3064, 3726, 18, 225, 14459, 1021, 1599, 434, 326, 5502, 3064, 590, 18, 6753, 506, 326, 1967, 487, 326, 590, 1599, 4374, 1347, 18709, 392, 3410, 1089, 16, 333, 445, 903, 1089,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1089, 5541, 858, 2961, 3064, 12, 3890, 1578, 14459, 16, 1731, 745, 892, 3410, 4809, 13, 1071, 1347, 1248, 28590, 288, 203, 3639, 15118, 4668, 2961, 3064, 3245, 2502, 2502, 1957, 273, 389, 7422, 4668, 2961, 3064, 3245, 562...
contract BitSTDLogic { function name()constant public returns(string) {} function symbol()constant public returns(string) {} function decimals()constant public returns(uint8) {} function totalSupply()constant public returns(uint256) {} function allowance(address add,address _add)constant public return...
@notice Create `mintedAmount` tokens and send it to `target` @param target Address to receive the tokens @param mintedAmount the amount of tokens it will receive
function mintToken(address target, uint256 mintedAmount) onlyOwner public { logic.mintToken( target,this, mintedAmount); emit Transfer(0, this, mintedAmount); emit Transfer(this, target, mintedAmount); }
971,342
[ 1, 1684, 1375, 81, 474, 329, 6275, 68, 2430, 471, 1366, 518, 358, 1375, 3299, 68, 225, 1018, 5267, 358, 6798, 326, 2430, 225, 312, 474, 329, 6275, 326, 3844, 434, 2430, 518, 903, 6798, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 312, 474, 1345, 12, 2867, 1018, 16, 2254, 5034, 312, 474, 329, 6275, 13, 1338, 5541, 1071, 288, 203, 202, 565, 4058, 18, 81, 474, 1345, 12, 1018, 16, 2211, 16, 225, 312, 474, 329, 6275, 1769, 203, 202, 565, 3626, 12...
./full_match/4/0xF585bBb5d094Ed2B486d95f3ac3c07cb1730596B/sources/contracts/VirtualToken.sol
@inheritdoc IVirtualToken
function isInWhitelist(address account) external view override returns (bool) { return _whitelistMap[account]; }
651,986
[ 1, 36, 10093, 467, 6466, 1345, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 8048, 18927, 12, 2867, 2236, 13, 3903, 1476, 3849, 1135, 261, 6430, 13, 288, 203, 3639, 327, 389, 20409, 863, 63, 4631, 15533, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./partial_match/1/0xC1557062f0C50161DbCc2aa781d43F5A6Fd4F50c/sources/WBANANA.sol
set fee to zero if fees in contract are handled or exemptedcalculate feesend the fee to the contract
function _transfer( address sender, address recipient, uint256 amount ) internal override { require(amount > 0, "Transfer amount must be greater than zero"); require(!isearlybuyer[sender] && !isearlybuyer[recipient], "You can't transfer tokens" ); ...
4,453,525
[ 1, 542, 14036, 358, 3634, 309, 1656, 281, 316, 6835, 854, 7681, 578, 431, 5744, 329, 11162, 1656, 281, 409, 326, 14036, 358, 326, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 13866, 12, 203, 3639, 1758, 5793, 16, 203, 3639, 1758, 8027, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 2713, 3849, 288, 203, 3639, 2583, 12, 8949, 405, 374, 16, 315, 5912, 3844, 1297, 506, 6802, 2353, 3634, ...
./full_match/5/0x21517abae577dDC59Ac6945C501F36AF085d97A7/sources/contracts/CrowdFunding.sol
payable is a specific word that specifies that a certain cryptocurrency is payable
function donateToCampaign(uint256 _id)public payable {
1,856,062
[ 1, 10239, 429, 353, 279, 2923, 2076, 716, 11470, 716, 279, 8626, 13231, 504, 295, 3040, 353, 8843, 429, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 915, 2727, 340, 774, 13432, 12, 11890, 5034, 389, 350, 13, 482, 8843, 429, 288, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/1/0x6A0ECf6075dCc9fbCaBf8c2484f82f282A8Ba766/sources/browser/Splitter.sol
distribute ETH in contract
function distributeEth() public payable { uint256 balance = 0; if(msg.value > 0){ balance = msg.value.add(address(this).balance); } else{ balance = address(this).balance; } require(balance > 199, "value too low to distribute"); bool suc...
9,709,625
[ 1, 2251, 887, 512, 2455, 316, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 25722, 41, 451, 1435, 1071, 8843, 429, 288, 203, 3639, 2254, 5034, 11013, 273, 374, 31, 203, 3639, 309, 12, 3576, 18, 1132, 405, 374, 15329, 203, 5411, 11013, 273, 1234, 18, 1132, 18, 1289, 12, 2867, 12, 2211, 2934, 1...
/** *Submitted for verification at Etherscan.io on 2021-02-12 */ pragma solidity 0.8.0; pragma abicoder v2; interface MassetStructs { struct BassetPersonal { // Address of the bAsset address addr; // Address of the bAsset address integrator; // An ERC20 can charge transfe...
2.2 - Else Deposit X if Cache > % This check is in place to ensure that any token with a txFee is rejected
require(quantityDeposited == _quantity, "Asset not fully transferred");
2,378,726
[ 1, 22, 18, 22, 300, 16289, 4019, 538, 305, 1139, 309, 4379, 405, 738, 1220, 866, 353, 316, 3166, 358, 3387, 716, 1281, 1147, 598, 279, 2229, 14667, 353, 11876, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2583, 12, 16172, 758, 1724, 329, 422, 389, 16172, 16, 315, 6672, 486, 7418, 906, 4193, 8863, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
// SPDX-License-Identifier: GPL-3.0-only pragma solidity 0.7.6; pragma abicoder v2; import {SafeMath} from "@openzeppelin/contracts/math/SafeMath.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import {IERC721Receive...
update claim times send out
function _processAirdropRewardClaim(address nftFactory, uint256[] memory nftIds) private { (uint256 amount, uint256 balanceRequiredToClaim, uint256 balanceLocked) = calculateAirdropReward(nftFactory, nftIds); require(balanceLocked > balanceRequiredToClaim, "Insufficient MTHD tokens staked for claimi...
166,137
[ 1, 2725, 7516, 4124, 1366, 596, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 2567, 37, 6909, 1764, 17631, 1060, 9762, 12, 2867, 290, 1222, 1733, 16, 2254, 5034, 8526, 3778, 290, 1222, 2673, 13, 3238, 288, 203, 3639, 261, 11890, 5034, 3844, 16, 2254, 5034, 11013, 3705, 774, 9762, 16, 2254, 5...
./partial_match/97/0xb4fED79F11149c8117b638A648eF65b69365ED29/sources/contracts/Auth.sol
* @dev Throws if called by any account other than the owner./
modifier onlyOwner() { require(owner() == _msgSender(), "Auth: caller is not the owner"); _; }
11,482,293
[ 1, 21845, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1338, 5541, 1435, 288, 203, 3639, 2583, 12, 8443, 1435, 422, 389, 3576, 12021, 9334, 315, 1730, 30, 4894, 353, 486, 326, 3410, 8863, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x429048b9CAa55edA049364f6a4E920cA2Ba52ab4/sources/contracts/TokenSender.sol
validate inputs send 20% to beneficiary, 80% to vesting contract
uint256 vestingStartTime, uint256 vestingDuration) external onlyOwner { IERC20 token = IERC20(tokenAddress); uint256 unvestedAmount = tokenAmount.div(5); uint256 vestedAmount = tokenAmount.sub(unvestedAmount); vesting[beneficiary] = new TokenVesting(beneficiary, vestingStartTime,...
2,930,780
[ 1, 5662, 4540, 1366, 4200, 9, 358, 27641, 74, 14463, 814, 16, 8958, 9, 358, 331, 10100, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 331, 10100, 13649, 16, 2254, 5034, 331, 10100, 5326, 13, 3903, 1338, 5541, 288, 203, 3639, 467, 654, 39, 3462, 1147, 273, 467, 654, 39, 3462, 12, 2316, 1887, 1769, 203, 3639, 2254, 5034, 640, 90, 3149, 6275, 273...
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity >=0.8.0; import "./WethMaker.sol"; /// @notice Contract for selling weth to sushi. Deploy on mainnet. contract SushiMaker is WethMaker { event Serve(uint256 amount); address public immutable sushi; address public immutable xSushi; constr...
@notice Contract for selling received tokens into weth. Deploy on secondary networks.
contract WethMaker is Unwindooor { event SetBridge(address indexed token, address bridge); address public immutable weth; IUniV2Factory public immutable factory; mapping(address => address) public bridges; constructor(address _owner, address _user, address _factory, address _weth) Unwindooor(_o...
519,786
[ 1, 8924, 364, 357, 2456, 5079, 2430, 1368, 341, 546, 18, 7406, 603, 9946, 13884, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 678, 546, 12373, 353, 1351, 10094, 5161, 280, 288, 203, 203, 565, 871, 1000, 13691, 12, 2867, 8808, 1147, 16, 1758, 10105, 1769, 203, 203, 565, 1758, 1071, 11732, 341, 546, 31, 203, 565, 467, 984, 77, 58, 22, 1733, 1071, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; // Interfaces import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; // Libraries import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@op...
* @dev Hook that is called before any token transfer. This includes minting and burning. Calling conditions: - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be transferred to `to`. - When `from` is zero, `tokenId` will be minted for `to`. - When `to` is zero, ``from``'s `tokenId` will be burned. - `...
function beforeTokenTransfer( address from, address to, uint256 tokenId ) internal { if (from == address(0)) { addTokenToAllTokensEnumeration(tokenId); removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { re...
1,806,462
[ 1, 5394, 716, 353, 2566, 1865, 1281, 1147, 7412, 18, 1220, 6104, 312, 474, 310, 471, 18305, 310, 18, 21020, 4636, 30, 300, 5203, 1375, 2080, 68, 471, 1375, 869, 68, 854, 3937, 1661, 17, 7124, 16, 12176, 2080, 10335, 11, 87, 1375, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1865, 1345, 5912, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 1147, 548, 203, 565, 262, 2713, 288, 203, 3639, 309, 261, 2080, 422, 1758, 12, 20, 3719, 288, 203, 5411, 527, 1345, 774,...
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.8.0; // ==================================================================== // | ______ _______ | // | / _____________ __ __ / ____(_____ ____ _____ ________ | // | / /_ / ___/ __ `| |/_/ /...
Make sure the oracle is valid
function setTokenOracleCRInfo(address token_address, address oracle_address, bool use_cr) public onlyByOwnGov { ( uint256 precise_price, , ) = ComboOracle(oracle_address).getTokenPrice(token_address); require(precise_price > 0, "Invalid Oracle"); oracle_cr_infos[token_address].token_address...
5,533,940
[ 1, 6464, 3071, 326, 20865, 353, 923, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 22629, 23601, 5093, 966, 12, 2867, 1147, 67, 2867, 16, 1758, 20865, 67, 2867, 16, 1426, 999, 67, 3353, 13, 1071, 1338, 858, 5460, 43, 1527, 288, 203, 3639, 261, 2254, 5034, 31293, 67, 8694, 16, 269, 262, 273, 1286, 10...
./full_match/137/0x15ea2BdAbD01E09CeD4581deF149407002A81FBe/sources/src/vaults/ImpactVault.sol
* @notice Generic hook called on "mint", "burn", "transfer" and for "transferFrom" vault tokens. @dev Important to update yield indices so that yield starts being attributed to new "to" address. Ignores null address values (from mint and burn)./
function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual override { if (from != address(0)) { _updateYieldIndexSinceLastUpdate(from, amount, false); } if (to != address(0)) { _updateYieldIndexSinceLastUpdate...
4,743,888
[ 1, 7014, 3953, 2566, 603, 315, 81, 474, 3113, 315, 70, 321, 3113, 315, 13866, 6, 471, 364, 315, 13866, 1265, 6, 225, 9229, 2430, 18, 225, 6164, 970, 358, 1089, 2824, 4295, 1427, 716, 2824, 2542, 3832, 5885, 4817, 358, 394, 315, 86...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 565, 445, 389, 5205, 1345, 5912, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 2713, 5024, 3849, 288, 203, 3639, 309, 261, 2080, 480, 1758, 12, 20, 3719, 288, 203, 5411, 389...
// SPDX-License-Identifier: LGPL-3.0-or-later pragma solidity 0.7.6; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@openzeppelin/contracts...
* @notice Based on its lifecycle, voucher can have many different statuses. Checks whether a voucher is in Committed state. @param _status current status of a voucher./
function isStateCommitted(uint8 _status) pure returns (bool) { return _status == determineStatus(0, VoucherState.COMMIT); }
40,339
[ 1, 9802, 603, 2097, 6596, 16, 331, 14329, 848, 1240, 4906, 3775, 13516, 18, 13074, 2856, 279, 331, 14329, 353, 316, 1286, 7948, 919, 18, 225, 389, 2327, 783, 1267, 434, 279, 331, 14329, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 915, 353, 1119, 27813, 12, 11890, 28, 389, 2327, 13, 16618, 1135, 261, 6430, 13, 288, 203, 565, 327, 389, 2327, 422, 4199, 1482, 12, 20, 16, 776, 14329, 1119, 18, 18658, 1769, 203, 97, 203, 2, -100, -100, -100, -100, -100, -100...
./partial_match/1/0x4d62c46898bDCd6b14118646ED1401336C9a47B3/sources/DIDP.sol
* @title GECToken @dev GEC Token contract, where all tokens are pre-assigned to the creator. Note they can later distribute these tokens as they wish using `transfer` and other `ERC20` functions./
contract DIDP is ERC20Pausable, ERC20Detailed{ constructor () public ERC20Detailed("DIDP", "DIDP", 18) { _mint(msg.sender, 1000000000 * (10 ** uint256(decimals()))); } }
15,760,331
[ 1, 43, 4239, 969, 225, 611, 7228, 3155, 6835, 16, 1625, 777, 2430, 854, 675, 17, 15938, 358, 326, 11784, 18, 3609, 2898, 848, 5137, 25722, 4259, 2430, 487, 2898, 14302, 1450, 1375, 13866, 68, 471, 1308, 1375, 654, 39, 3462, 68, 4186...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16351, 463, 734, 52, 353, 4232, 39, 3462, 16507, 16665, 16, 4232, 39, 3462, 40, 6372, 95, 203, 203, 565, 3885, 1832, 1071, 4232, 39, 3462, 40, 6372, 2932, 40, 734, 52, 3113, 315, 40, 734, 52, 3113, 6549, 13, 288, 203, 3639, 3...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface AggregatorV3Interface { function decimals() external view returns (uint8); function description() external view returns (string memory); function version() external view returns (uint256); // getRoundData and latestRoundData should both raise...
@notice Swaps as little as possible of one token for `amountOut` of another along the specified path (reversed) @param params The parameters necessary for the multi-hop swap, encoded as `ExactOutputParams` in calldata @return amountIn The amount of the input token* SPDX-License-Identifier: LicenseRef-Aktionariat MIT L...
contract PaymentHub { uint24 private constant DEFAULT_FEE = 3000; uint256 private constant DENOMINATOR = 1e8; address private constant CHF_TOKEN = 0xB4272071eCAdd69d933AdcD19cA99fe80664fc08; IQuoter private immutable uniswapQuoter; ISwapRouter private immutable uniswapRouter; AggregatorV3...
1,572,226
[ 1, 6050, 6679, 487, 12720, 487, 3323, 434, 1245, 1147, 364, 1375, 8949, 1182, 68, 434, 4042, 7563, 326, 1269, 589, 261, 266, 7548, 13, 225, 859, 1021, 1472, 4573, 364, 326, 3309, 17, 18444, 7720, 16, 3749, 487, 1375, 14332, 1447, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 12022, 8182, 288, 203, 203, 565, 2254, 3247, 3238, 5381, 3331, 67, 8090, 41, 273, 29839, 31, 203, 565, 2254, 5034, 3238, 5381, 463, 1157, 1872, 706, 3575, 273, 404, 73, 28, 31, 203, 565, 1758, 3238, 5381, 6469, 42, 67, 8...
//Address: 0x742686bB1B136b396b59818F42e47a4fC3509394 //Contract name: WCMToken //Balance: 0 Ether //Verification Date: 10/23/2017 //Transacion Count: 69 // CODE STARTS HERE pragma solidity ^0.4.16; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issu...
FIX for freezed alien tokens, price and etc
contract CommonSale is StagedCrowdsale { address public multisigWallet; address public foundersTokensWallet; address public bountyTokensWallet; uint public foundersPercent; uint public bountyTokensCount; uint public price; uint public percentRate = 100; bool public bountyMinted = false; ...
12,854,357
[ 1, 4563, 364, 4843, 94, 329, 15033, 275, 2430, 16, 6205, 471, 5527, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 5658, 30746, 353, 934, 11349, 39, 492, 2377, 5349, 288, 203, 203, 225, 1758, 1071, 22945, 360, 16936, 31, 203, 21281, 225, 1758, 1071, 1392, 414, 5157, 16936, 31, 203, 21281, 225, 1758, 1071, 324, 592, 93, 5157, 16936, 31, ...
/* Copyright 2017 Loopring Project Ltd (Loopring Foundation). 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 ...
"ring data is inconsistent - addressList");
require(params.ringSize == params.addressList.length);
1,602,014
[ 1, 6, 8022, 501, 353, 27403, 300, 1758, 682, 8863, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2583, 12, 2010, 18, 8022, 1225, 422, 859, 18, 2867, 682, 18, 2469, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/11155111/0xA9e2CFc4c8993c575397116bA30D452374A8e48F/sources/contracts/GameFactory.sol
function viewEntry(uint256 _entryId) external view returns (Entry memory) {
Entry memory _entry;
3,787,982
[ 1, 915, 1476, 1622, 12, 11890, 5034, 389, 4099, 548, 13, 3903, 1476, 1135, 261, 1622, 3778, 13, 288, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 3841, 3778, 389, 4099, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/97/0x5C16924d34027E42DB92f4F47C6629D7b4703769/sources/project_/contracts/SyrupBar.sol
Safe Lake transfer function, just in case if rounding error causes pool to not have enough Lakes.
function safeLakeTransfer(address _to, uint256 _amount) public onlyOwner { uint256 LakeBal = Lake.balanceOf(address(this)); if (_amount > LakeBal) { Lake.transfer(_to, LakeBal); Lake.transfer(_to, _amount); } }
3,279,284
[ 1, 9890, 511, 911, 7412, 445, 16, 2537, 316, 648, 309, 13885, 555, 14119, 2845, 358, 486, 1240, 7304, 511, 3223, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4183, 31696, 5912, 12, 2867, 389, 869, 16, 2254, 5034, 389, 8949, 13, 1071, 1338, 5541, 288, 203, 3639, 2254, 5034, 511, 911, 38, 287, 273, 511, 911, 18, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 3639, 309, 261, 67,...
/** *Submitted for verification at Etherscan.io on 2021-02-21 */ pragma solidity 0.6.6; // ---------------------------------------------------------------------------- // 'Bitworth Token' token contract // // Deployed to : 0x0D9E7D95b56107CD63575ffb935e928E21C03cfC // Symbol : BITW // Name : Bitworth Tok...
---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Con...
contract BitworthToken is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; constructor() public { symbol = "BITW"; ...
7,774,822
[ 1, 5802, 7620, 4232, 39, 3462, 3155, 16, 598, 326, 2719, 434, 3273, 16, 508, 471, 15105, 471, 1551, 25444, 1147, 29375, 8879, 13849, 8879, 17082, 11417, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 6539, 91, 7825, 1345, 353, 4232, 39, 3462, 1358, 16, 14223, 11748, 16, 14060, 10477, 288, 203, 565, 533, 1071, 3273, 31, 203, 565, 533, 1071, 225, 508, 31, 203, 565, 2254, 28, 1071, 15105, 31, 203, 565, 2254, 1071, 389, ...
/** *Submitted for verification at Etherscan.io on 2021-08-29 */ // SPDX-License-Identifier: MIT AND AGPLv3 // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amoun...
@notice Set inflation rate, if current inflation rate @param rate New inflation rate, decimals is 18
function setInflationRate(uint256 rate) public onlyOwner { uint256 currentTime = block.timestamp; require(currentTime > INFLATION_START_TIME, "setInflationRate: Cannot set inflationrate before inflation start time"); require(rate <= MAX_INFLATION_RATE, "setInflationRate: !ra...
10,757,110
[ 1, 694, 13947, 367, 4993, 16, 309, 783, 13947, 367, 4993, 225, 4993, 1166, 13947, 367, 4993, 16, 15105, 353, 6549, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 444, 27040, 367, 4727, 12, 11890, 5034, 4993, 13, 1071, 1338, 5541, 288, 203, 3639, 2254, 5034, 6680, 273, 1203, 18, 5508, 31, 203, 3639, 2583, 12, 2972, 950, 405, 2120, 19054, 2689, 67, 7570, 67, 4684, 16, 7010, 7734, ...
./partial_match/1/0xF66C6fDBDD7d57dD14D23d0C8A4E58Cc4869bBfa/sources/SafeERC20.sol
* @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, non-reverting calls are assumed to be successful./
function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 oldAllowance = token.allowance(address(this), spender); forceApprove(token, spender, oldAllowance + value); }
3,949,176
[ 1, 382, 11908, 326, 4440, 6835, 1807, 1699, 1359, 358, 2913, 1375, 87, 1302, 264, 68, 635, 1375, 1132, 8338, 971, 1375, 2316, 68, 1135, 1158, 460, 16, 1661, 17, 266, 1097, 310, 4097, 854, 12034, 358, 506, 6873, 18, 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, 4183, 382, 11908, 7009, 1359, 12, 203, 3639, 467, 654, 39, 3462, 1147, 16, 203, 3639, 1758, 17571, 264, 16, 203, 3639, 2254, 5034, 460, 203, 565, 262, 2713, 288, 203, 3639, 2254, 5034, 1592, 7009, 1359, 273, 1147, 18, ...
./full_match/8453/0x3De0Ae4E6775a442DA55A518B3f402aBF51a6F1b/sources/contracts/singlestakingv2/SingleStakingRewardsFactoryXBase.sol
immutables the staking tokens for which the rewards contract has been deployed Info of each user.
contract SingleStakingRewardsFactoryXBase is Ownable { using SafeMath for uint256; address public rewardsToken; uint public stakingRewardsGenesis; uint public totalAllocPoint; address public xSkullStaking; address[] public stakingTokens; mapping (address => bool) public isFarm; uint ...
11,561,000
[ 1, 381, 10735, 1538, 326, 384, 6159, 2430, 364, 1492, 326, 283, 6397, 6835, 711, 2118, 19357, 3807, 434, 1517, 729, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 10326, 510, 6159, 17631, 14727, 1733, 60, 2171, 353, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1758, 1071, 283, 6397, 1345, 31, 203, 565, 2254, 1071, 384, 6159, 17631, 14727, 7642, 16786, ...
./partial_match/1/0x191df0E31e38Ca0a3d9Aa8E1D5595D715B7FaCaC/sources/contracts/BorrowerOperations.sol
Send fee to LQTY staking contract
function _triggerBorrowingFee(ITroveManager _troveManager, ILUSDToken _lusdToken, uint _LUSDAmount, uint _maxFeePercentage) internal returns (uint) { uint LUSDFee = _troveManager.getBorrowingFee(_LUSDAmount); _requireUserAcceptsFee(LUSDFee, _LUSDAmount, _maxFeePercentage); lqtyStak...
2,685,128
[ 1, 3826, 14036, 358, 511, 53, 5538, 384, 6159, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10668, 38, 15318, 310, 14667, 12, 1285, 303, 537, 1318, 389, 88, 303, 537, 1318, 16, 467, 48, 3378, 40, 1345, 389, 80, 407, 72, 1345, 16, 2254, 389, 48, 3378, 40, 6275, 16, 2254, 389, 1896, 14667, 16397, 13, 27...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/co...
* @notice Library function to remove array element by its value @param _array Array to be manipulated @param _element Element to be removed/ TODO FIX:
function _removeElement(uint256[] memory _array, uint256 _element) internal pure returns (uint256[] memory) { for (uint256 i; i < _array.length; i++) { if (_array[i] == _element) { delete _array[i]; break; } } }...
7,301,471
[ 1, 9313, 445, 358, 1206, 526, 930, 635, 2097, 460, 225, 389, 1126, 1510, 358, 506, 13441, 11799, 225, 389, 2956, 3010, 358, 506, 3723, 19, 2660, 8563, 30, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4479, 1046, 12, 11890, 5034, 8526, 3778, 389, 1126, 16, 2254, 5034, 389, 2956, 13, 203, 3639, 2713, 203, 3639, 16618, 203, 3639, 1135, 261, 11890, 5034, 8526, 3778, 13, 203, 565, 288, 203, 3639, 364, 261, 11890, 50...
./full_match/1/0x0Fc3DD8C37880a297166BEd57759974A157f0E74/sources/contracts/seadrop/ParallelAvatarInvoke.sol
* @notice Called with the sale price to determine how much royalty is owed and to whom. @ param _tokenId The NFT asset queried for royalty information. @param _salePrice The sale price of the NFT asset specified by _tokenId. @return receiver Address of who should be sent the ...
function royaltyInfo( uint256 /* _tokenId */, uint256 _salePrice ) external view returns (address receiver, uint256 royaltyAmount) { RoyaltyInfo storage info = _royaltyInfo; royaltyAmount = (_salePrice * info.royaltyBps) / 10_000; receiver = info.royaltyAddress; }
9,730,038
[ 1, 8185, 598, 326, 272, 5349, 6205, 358, 4199, 3661, 9816, 721, 93, 15006, 540, 353, 2523, 329, 471, 358, 600, 362, 18, 632, 579, 225, 389, 2316, 548, 377, 1021, 423, 4464, 3310, 23264, 364, 721, 93, 15006, 1779, 18, 282, 389, 87,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 721, 93, 15006, 966, 12, 203, 3639, 2254, 5034, 1748, 389, 2316, 548, 1195, 16, 203, 3639, 2254, 5034, 389, 87, 5349, 5147, 203, 565, 262, 3903, 1476, 1135, 261, 2867, 5971, 16, 2254, 5034, 721, 93, 15006, 6275, 13, 2...
pragma solidity 0.6.6; import "@openzeppelin/contracts-ethereum-package/contracts/access/Ownable.sol"; import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts-ethereum-package/...
@dev Return Token value and debt of the given position. Be careful of unaccrued interests. @param id The position ID to query.
function positionInfo(uint256 id) public view returns (uint256, uint256) { Position storage pos = positions[id]; return (IWorker(pos.worker).health(id), debtShareToVal(pos.debtShare)); }
915,038
[ 1, 990, 3155, 460, 471, 18202, 88, 434, 326, 864, 1754, 18, 4823, 26850, 434, 640, 8981, 86, 5957, 16513, 87, 18, 225, 612, 1021, 1754, 1599, 358, 843, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 1754, 966, 12, 11890, 5034, 612, 13, 1071, 1476, 1135, 261, 11890, 5034, 16, 2254, 5034, 13, 288, 203, 565, 11010, 2502, 949, 273, 6865, 63, 350, 15533, 203, 565, 327, 261, 45, 6671, 12, 917, 18, 10124, 2934, 13267, 1...
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.8.0; import "./OrgV1.sol"; interface SafeFactory { function createProxy(address masterCopy, bytes memory data) external returns (Safe); } interface Resolver { function multicall(bytes[] calldata data) external returns(bytes[] memory results); fu...
An org was created. Includes the org and owner address as well as the name.
) { safeFactory = SafeFactory(_safeFactory); safeMasterCopy = _safeMasterCopy; }
13,122,023
[ 1, 979, 2358, 1703, 2522, 18, 657, 8993, 326, 2358, 471, 3410, 1758, 487, 5492, 487, 326, 508, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 262, 288, 203, 3639, 4183, 1733, 273, 14060, 1733, 24899, 4626, 1733, 1769, 203, 3639, 4183, 7786, 2951, 273, 389, 4626, 7786, 2951, 31, 203, 565, 289, 203, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.15; import "./IDaoBase.sol"; import "./governance/Voting.sol"; import "./moneyflow/WeiExpense.sol"; import "./moneyflow/IMoneyflow.sol"; import "zeppelin-solidity/contracts/ownership/Ownable.sol"; contract GenericProposal is IProposal, Ownable { IVoting voting; address target; string method...
IVoting implementation cool! voting is over and the majority said YES -> so let's go! as long as we call this method from WITHIN the vote contract isCanDoAction() should return yes if voting finished with Yes result
function action(IDaoBase _mc, IVoting _voting) public { require(address(voting)!=0x0); require(msg.sender==address(voting)); target.call( bytes4(keccak256(methodSig)), }
12,697,512
[ 1, 8188, 17128, 4471, 27367, 5, 331, 17128, 353, 1879, 471, 326, 7888, 560, 7864, 350, 1624, 3991, 317, 1427, 2231, 1807, 1960, 5, 487, 1525, 487, 732, 745, 333, 707, 628, 13601, 706, 326, 12501, 6835, 353, 2568, 3244, 1803, 1435, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 1301, 12, 734, 6033, 2171, 389, 13952, 16, 21602, 17128, 389, 90, 17128, 13, 1071, 288, 203, 202, 202, 6528, 12, 2867, 12, 90, 17128, 13, 5, 33, 20, 92, 20, 1769, 203, 202, 202, 6528, 12, 3576, 18, 15330, 631, 2867,...
/* t.me/JesusERC JesusToken.net Twitter.com/JesusTokenERC Total tokens: 100,000,000 Taxes: 12% */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } } interface IER...
start off transaction limit at 100% of total supply
_maxTxAmount = _tTotal;
1,418,392
[ 1, 1937, 3397, 2492, 1800, 622, 2130, 9, 434, 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, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 389, 1896, 4188, 6275, 273, 389, 88, 5269, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
// originated and modified from Syndicate DAO's hiring test: https://github.com/SyndicateProtocol/Bank-Solidity-Hiring // objective is to improve security of initial .sol file at https://github.com/SyndicateProtocol/Bank-Solidity-Hiring/blob/main/contracts/Bank.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8...
@notice Process a withdrawal from the bank @param amount The amount that a user wants to withdraw. The bank takes a 0.3% fee on every withdrawal @return balance The current account balance Calculate the fee that is owed to the bank Decrease the balance by the amount sent to the user Decrease the balance by the amount ...
function withdraw(uint256 amount) public returns (uint256) { require(msg.sender == user, "Only user may withdraw."); (amountToUser, amountToBank) = calculateBankFee(amount); erc20.transfer(user, amountToUser); balance -= amountToUser; erc20.transfer(BANK_FEE_ADDRESS, amount...
12,834,412
[ 1, 2227, 279, 598, 9446, 287, 628, 326, 11218, 225, 3844, 1021, 3844, 716, 279, 729, 14805, 358, 598, 9446, 18, 1021, 11218, 5530, 279, 374, 18, 23, 9, 14036, 603, 3614, 598, 9446, 287, 327, 11013, 1021, 783, 2236, 11013, 9029, 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, 445, 598, 9446, 12, 11890, 5034, 3844, 13, 1071, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 729, 16, 315, 3386, 729, 2026, 598, 9446, 1199, 1769, 203, 3639, 261, 8949, 774, 1299, 16, 3844, ...
/** *Submitted for verification at Etherscan.io on 2022-04-18 */ /** * */ //SPDX-License-Identifier: MIT pragma solidity ^0.8.10; /** * */ library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); ...
* Swaps the tax collected for fees sent to marketing and dev. The swap only swaps the threshold amount./
function swapBack() internal swapping { address[] memory path = new address[](2); path[0] = address(this); path[1] = WBNB; router.swapExactTokensForETHSupportingFeeOnTransferTokens( swapThreshold, 0, path, address(this), bl...
7,882,046
[ 1, 6050, 6679, 326, 5320, 12230, 364, 1656, 281, 3271, 358, 13667, 310, 471, 4461, 18, 1021, 7720, 1338, 1352, 6679, 326, 5573, 3844, 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,...
[ 1, 1, 1, 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, 7720, 2711, 1435, 2713, 7720, 1382, 288, 203, 3639, 1758, 8526, 3778, 589, 273, 394, 1758, 8526, 12, 22, 1769, 203, 3639, 589, 63, 20, 65, 273, 1758, 12, 2211, 1769, 203, 3639, 589, 63, 21, 65, 273, 678, 15388, 38, ...
./partial_match/1/0xa358491CA72B793ddf21cF46C7289CC6e0ce9e5A/sources/CharlotteFang.sol
pixelady maker radbro
IERC721 pxrad = IERC721(0xb2619D1aEd8390aF6d7056B0D312557d3D4D419a);
3,709,082
[ 1, 11743, 361, 93, 312, 6388, 767, 1966, 303, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 467, 654, 39, 27, 5340, 10318, 6012, 273, 467, 654, 39, 27, 5340, 12, 20, 6114, 5558, 3657, 40, 21, 69, 2671, 28, 5520, 20, 69, 42, 26, 72, 7301, 4313, 38, 20, 40, 23, 2138, 2539, 27, 72, 23, 40, 24, 40, 24, 3657, ...
./partial_match/1/0x3a36330A78FE54E512557d9ef9C7b5f6F30c9e36/sources/WATERRESOURCESCOIN.sol
Set the symbol for display purposes (WATER RESOURCES COIN)
symbol = "WRC";
9,146,036
[ 1, 694, 326, 3273, 364, 2562, 13694, 261, 59, 13641, 12653, 55, 385, 6266, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 3273, 273, 315, 7181, 39, 14432, 4766, 2868, 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,...
./partial_match/42/0x3B664640cD7908981887b099D0B90Ec4a29E68Ee/sources/EtherCollateral.sol
========== CONSTRUCTOR ==========
constructor(address _owner, address _resolver) public Owned(_owner) Pausable(_owner) MixinResolver(_owner, _resolver) { }
9,056,506
[ 1, 1432, 631, 3492, 13915, 916, 422, 1432, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 12, 2867, 389, 8443, 16, 1758, 389, 14122, 13, 1071, 14223, 11748, 24899, 8443, 13, 21800, 16665, 24899, 8443, 13, 490, 10131, 4301, 24899, 8443, 16, 389, 14122, 13, 288, 203, 565, 289, 203, 203, 2, -100, -100, -100, -...
./partial_match/1/0x0280192BB668211f82F9fa240e483519C68A9d80/sources/contracts/L1/SystemConfig.sol
* @notice Updates the unsafe block signer address. @param _unsafeBlockSigner New unsafe block signer address./
function setUnsafeBlockSigner(address _unsafeBlockSigner) external onlyOwner { _setUnsafeBlockSigner(_unsafeBlockSigner); bytes memory data = abi.encode(_unsafeBlockSigner); emit ConfigUpdate(VERSION, UpdateType.UNSAFE_BLOCK_SIGNER, data); }
4,470,320
[ 1, 5121, 326, 7127, 1203, 10363, 1758, 18, 225, 389, 318, 4626, 1768, 15647, 1166, 7127, 1203, 10363, 1758, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 23912, 1768, 15647, 12, 2867, 389, 318, 4626, 1768, 15647, 13, 3903, 1338, 5541, 288, 203, 3639, 389, 542, 23912, 1768, 15647, 24899, 318, 4626, 1768, 15647, 1769, 203, 203, 3639, 1731, 3778, 501, 273, 24126, 18, 301...
/** *Submitted for verification at Etherscan.io on 2020-07-28 */ pragma solidity 0.5.10; /** * @title Node assignment contract */ contract NEST_NodeAssignment { using SafeMath for uint256; IBMapping mappingContract; // Mapping contract IBNEST nestContract; ...
NestNode contract
SuperMan supermanContract;
5,453,015
[ 1, 50, 395, 907, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 14845, 5669, 1169, 29650, 8924, 31, 1171, 9079, 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, -10...
./partial_match/1/0x44383018ecf3DBED34eE621439a5Ff6002e8209b/sources/contracts/interfaces/ICxToken.sol
slither-disable-next-line naming-convention slither-disable-next-line naming-convention
interface ICxToken is IERC20 { event CoverageStartSet(uint256 policyId, bytes32 coverKey, bytes32 productKey, address account, uint256 effectiveFrom, uint256 amount); function mint( uint256 policyId, bytes32 coverKey, bytes32 productKey, address to, uint256 amount ) external; function burn...
10,998,008
[ 1, 2069, 2927, 17, 8394, 17, 4285, 17, 1369, 14634, 17, 591, 11111, 2020, 2927, 17, 8394, 17, 4285, 17, 1369, 14634, 17, 591, 11111, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 26899, 92, 1345, 353, 467, 654, 39, 3462, 288, 203, 225, 871, 30856, 1685, 694, 12, 11890, 5034, 3329, 548, 16, 1731, 1578, 5590, 653, 16, 1731, 1578, 3017, 653, 16, 1758, 2236, 16, 2254, 5034, 11448, 1265, 16, 2254, 5034, ...
/** *Submitted for verification at Etherscan.io on 2022-01-31 */ /** *Submitted for verification at Etherscan.io on 2020-11-09 */ // SPDX-License-Identifier: GPL-3.0-or-later // a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math) /** * @dev Wrappers over Solidity...
* @dev Approve `spender` to transfer up to `amount` from `src` @dev This will overwrite the approval amount for `spender` @param spender The address of the account which may transfer tokens @param rawAmount The number of tokens that are approved (2^256-1 means infinite) @return Whether or not the approval succeeded/
function approve(address spender, uint rawAmount) external returns (bool) { uint96 amount; if (rawAmount == uint(-1)) { amount = uint96(-1); amount = safe96(rawAmount, "WSG::approve: amount exceeds 96 bits"); } allowances[msg.sender][spender] = amount; ...
7,690,500
[ 1, 12053, 537, 1375, 87, 1302, 264, 68, 358, 7412, 731, 358, 1375, 8949, 68, 628, 1375, 4816, 68, 225, 1220, 903, 6156, 326, 23556, 3844, 364, 1375, 87, 1302, 264, 68, 225, 17571, 264, 1021, 1758, 434, 326, 2236, 1492, 2026, 7412, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 6617, 537, 12, 2867, 17571, 264, 16, 2254, 1831, 6275, 13, 3903, 1135, 261, 6430, 13, 288, 203, 3639, 2254, 10525, 3844, 31, 203, 3639, 309, 261, 1899, 6275, 422, 2254, 19236, 21, 3719, 288, 203, 5411, 3844, 273, 2254, ...
//Address: 0x2821fb31998e60d220ff52af6299872f25a3e149 //Contract name: EmaCrowdSale //Balance: 0 Ether //Verification Date: 5/20/2018 //Transacion Count: 16 // CODE STARTS HERE pragma solidity ^ 0.4 .23; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { ...
* @dev Adds two numbers, throws on overflow./
function add(uint256 a, uint256 b) internal pure returns(uint256) { uint256 c = a + b; assert(c >= a); return c; }
1,044,861
[ 1, 3655, 2795, 5600, 16, 1216, 603, 9391, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 527, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 12, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 276, 273, 279, 397, 324, 31, 203, 3639, 1815, 12, 71, 1545, 279, 1769, 203, 3639, 327, 276, 31, ...
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity ^0.8.10; import "../types/FrontEndRewarder.sol"; import "../interfaces/IgCADT.sol"; import "../interfaces/IStaking.sol"; import "../interfaces/ITreasury.sol"; import "../interfaces/INoteKeeper.sol"; abstract contract NoteKeeper is INoteKeeper, FrontEndRewarde...
if treasury address changes on authority, update it
function updateTreasury() external { require( msg.sender == authority.governor() || msg.sender == authority.guardian() || msg.sender == authority.policy(), "Only authorized" ); treasury = ITreasury(authority.vault()); }
14,026,736
[ 1, 430, 9787, 345, 22498, 1758, 3478, 603, 11675, 16, 1089, 518, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1089, 56, 266, 345, 22498, 1435, 3903, 288, 203, 3639, 2583, 12, 203, 5411, 1234, 18, 15330, 422, 11675, 18, 75, 1643, 29561, 1435, 747, 203, 7734, 1234, 18, 15330, 422, 11675, 18, 24594, 2779, 1435, 747, 203, 7734, 123...
pragma solidity 0.5.3; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // G...
* @return the beneficiary2 of the Payments./
function beneficiary2() public view returns (address) { return _beneficiary2; }
7,326,888
[ 1, 2463, 326, 27641, 74, 14463, 814, 22, 434, 326, 13838, 1346, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 27641, 74, 14463, 814, 22, 1435, 1071, 1476, 1135, 261, 2867, 13, 288, 203, 3639, 327, 389, 70, 4009, 74, 14463, 814, 22, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/11155111/0x250B63aFab3Ce46D0D8679fD5D996C4f517a262F/sources/project_/contracts/verified-sbt.sol
link the sbt to a certain token
mapping (uint256 => address) public _token;
3,810,733
[ 1, 1232, 326, 2393, 88, 358, 279, 8626, 1147, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 261, 11890, 5034, 516, 1758, 13, 1071, 389, 2316, 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, -1...
./full_match/4/0xD69E0c876D7DCb9d71B29e586112a970cD6f5A57/sources/home/bob/KingSwap_V2/contracts/KingDecks.sol
termsId is the index in the `_termSheets` array + 1
event NewTermSheet(uint256 indexed termsId);
12,372,155
[ 1, 10112, 548, 353, 326, 770, 316, 326, 1375, 67, 6408, 55, 10245, 68, 526, 397, 404, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 871, 1166, 4065, 8229, 12, 11890, 5034, 8808, 6548, 548, 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, ...
pragma solidity ^0.5.4; interface IERC20 { function TRANSFER517(address to, uint256 value) external returns (bool); //inject NONSTANDARD NAMING function APPROVE399(address spender, uint256 value) external returns (bool); //inject NONSTANDARD NAMING function TRANSFERFROM891(address from, address to, uint2...
inject NONSTANDARD NAMING
event OWNERSHIPTRANSFERRED81(address indexed previousOwner, address indexed newOwner);
15,884,976
[ 1, 22170, 18708, 882, 18264, 423, 2192, 1360, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 871, 531, 22527, 2664, 45, 1856, 54, 11607, 17356, 11861, 12, 2867, 8808, 2416, 5541, 16, 1758, 8808, 394, 5541, 1769, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity ^0.4.9; contract ERC223 { uint public totalSupply; function balanceOf(address who) constant returns (uint); function name() constant returns (string _name); function symbol() constant returns (string _symbol); function decimals() constant returns (uint8 _decimals); function tota...
if (msg.value < 0.01 * 1 ether) throw;
function () payable stopInEmergency { assert(msg.value >= 0.01 * 1 ether); doPurchase(); }
5,533,061
[ 1, 430, 261, 3576, 18, 1132, 411, 374, 18, 1611, 225, 404, 225, 2437, 13, 604, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8843, 429, 2132, 382, 1514, 24530, 288, 203, 3639, 1815, 12, 3576, 18, 1132, 1545, 374, 18, 1611, 380, 404, 225, 2437, 1769, 203, 3639, 741, 23164, 5621, 203, 540, 203, 540, 203, 565, 289, 203, 377, 203, 2, -100...
pragma solidity 0.8.1; /** @title Repeater * This contract repeats calls on the owner request. */ contract Repeater { address owner = msg.sender; /** @dev Call `_target` with `_data` * @param _target The contract to call. * @param _data The data to send to the contract. */ function repeat(add...
* @dev Make repeaters from `_start` to `_end` (included) call `_target` with `_data`. @param _start The first repeater ID. @param _end The last repeater ID. @param _target The contract to be called by the repeaters. @param _data The data the repeaters will send to the contract./
function say(uint _start, uint _end, address _target, bytes calldata _data) external { require(msg.sender == owner); for (uint i=_start; i<=_end; ++i) { repeaters[i].repeat(_target, _data); } }
589,388
[ 1, 6464, 7666, 414, 628, 1375, 67, 1937, 68, 358, 1375, 67, 409, 68, 261, 20405, 13, 745, 1375, 67, 3299, 68, 598, 1375, 67, 892, 8338, 282, 389, 1937, 1021, 1122, 16304, 2045, 1599, 18, 282, 389, 409, 1021, 1142, 16304, 2045, 159...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12532, 12, 11890, 389, 1937, 16, 2254, 389, 409, 16, 1758, 389, 3299, 16, 1731, 745, 892, 389, 892, 13, 3903, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 3410, 1769, 203, 3639, 364, 261, 11890, 277, 33, 67, 1937, ...
./full_match/84531/0x3CC6ba057f394B00aC1fF48707d5C04DE29504C6/sources/src/token/types/TokenTypesV1.sol
@notice The founder type @param wallet The address where tokens are sent @param ownershipPct The percentage of token ownership @param vestExpiry The timestamp when vesting ends
struct Founder { address wallet; uint8 ownershipPct; uint32 vestExpiry; }
14,322,927
[ 1, 1986, 284, 465, 765, 618, 225, 9230, 1021, 1758, 1625, 2430, 854, 3271, 225, 23178, 52, 299, 1021, 11622, 434, 1147, 23178, 225, 331, 395, 14633, 1021, 2858, 1347, 331, 10100, 3930, 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, 0, 0, 0, 0, 0, 0, 0, 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, 478, 465, 765, 288, 203, 3639, 1758, 9230, 31, 203, 3639, 2254, 28, 23178, 52, 299, 31, 203, 3639, 2254, 1578, 331, 395, 14633, 31, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...