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/1/0x0E4131226C931B6D1fEb8bbD5174A7b39c8dfe26/sources/CosmicCritters.sol
metadata supply and phases presale whitelist price limits
contract CosmicCritters is ERC721, Ownable { using Address for address; using Strings for uint256; bool public metadataLocked = false; string public baseURI = ""; mapping(uint256 => uint256) public supplyForPhase; mapping(uint256 => uint256) public reserveForPhase; mapping(uint256 => u...
2,929,632
[ 1, 4625, 348, 7953, 560, 30, 225, 1982, 14467, 471, 24642, 4075, 5349, 10734, 6205, 8181, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 385, 538, 27593, 39, 583, 5432, 353, 4232, 39, 27, 5340, 16, 14223, 6914, 288, 203, 565, 1450, 5267, 364, 1758, 31, 203, 565, 1450, 8139, 364, 2254, 5034, 31, 203, 377, 203, 565, 1426, 1071, 1982, 8966, 273, 629, 31, 203...
/** *Submitted for verification at Etherscan.io on 2021-03-31 */ /** Copyright 2020 PoolTogether Inc. This file is part of PoolTogether. PoolTogether is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation under versio...
* Allows the associated PoolToken to withdraw for a user; useful when redeeming through the token. @param _from The user to withdraw from @param _amount The amount to withdraw/
function withdrawCommittedDepositFrom( address _from, uint256 _amount ) external onlyToken notLocked returns (bool) { return _withdrawCommittedDepositAndEmit(_from, _amount); }
8,015,420
[ 1, 4625, 348, 7953, 560, 30, 380, 25619, 326, 3627, 8828, 1345, 358, 598, 9446, 364, 279, 729, 31, 5301, 1347, 283, 24903, 310, 3059, 326, 1147, 18, 632, 891, 389, 2080, 1021, 729, 358, 598, 9446, 628, 632, 891, 389, 8949, 1021, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 598, 9446, 27813, 758, 1724, 1265, 12, 203, 565, 1758, 389, 2080, 16, 203, 565, 2254, 5034, 389, 8949, 203, 225, 262, 3903, 1338, 1345, 486, 8966, 1135, 261, 6430, 13, 225, 288, 203, 565, 327, 389, 1918, 9446, 27813, ...
//SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.11; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./ITheSpace.sol"; import "./ITheSpaceRegistry.sol"; contra...
@inheritdoc ITheSpaceRegistry
function setTreasuryRecord( uint256 accumulatedUBI_, uint256 accumulatedTreasury_, uint256 treasuryWithdrawn_ ) external onlyOwner { treasuryRecord = TreasuryRecord(accumulatedUBI_, accumulatedTreasury_, treasuryWithdrawn_); }
12,728,645
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 10093, 467, 1986, 3819, 4243, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 56, 266, 345, 22498, 2115, 12, 203, 3639, 2254, 5034, 24893, 3457, 45, 67, 16, 203, 3639, 2254, 5034, 24893, 56, 266, 345, 22498, 67, 16, 203, 3639, 2254, 5034, 9787, 345, 22498, 1190, 9446, 82, 67, 203, 565, 262...
./partial_match/1/0x527e80008D212E2891C737Ba8a2768a7337D7Fd2/sources/BribeSplitter.sol
Pass in any gauges that were voted for by vl-yCRV, so that we don't double count them Increase usedVotes by any votes that were made to disregarded gauges. For instance, we don't count votes on the yCRV gauge
usedVotes = usedVotes + _disregardedVotes(vlGauges, vlVotes);
3,958,214
[ 1, 4625, 348, 7953, 560, 30, 225, 10311, 316, 1281, 314, 6480, 281, 716, 4591, 331, 16474, 364, 635, 19755, 17, 93, 5093, 58, 16, 1427, 716, 732, 2727, 1404, 1645, 1056, 2182, 657, 11908, 1399, 29637, 635, 1281, 19588, 716, 4591, 71...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 3639, 1399, 29637, 273, 1399, 29637, 397, 389, 2251, 1574, 17212, 29637, 12, 10872, 43, 6480, 281, 16, 19755, 29637, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// _ _ __ __ _____ _ _ _ // | | | | | \/ | / ____| | | (_) // | | __ _ ___| |_ | \ / | __ _ _ __ | (___ | |_ __ _ _ __ __| |_ _ __ __ _ // | | / _` / __| __| | |\/| |/ _` | '_ \ \__...
_ _ __ __ _____ _ _ _ | | | | | \/ | / ____| | | (_) | | __ _ ___| |_ | \ / | __ _ _ __ | (___ | |_ __ _ _ __ __| |_ _ __ __ _ | | / _` / __| __| | |\/| |/ _` | '_ \ \___ \| __/ _` | '_ \ / _` | | '_ \ / _`...
contract LMSG is ERC20Detailed { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowed; string constant tokenName = "Last Man Standing Game"; string constant tokenSymbol = "LMSG"; uint8 constant tokenDecimals = 0; ...
220,451
[ 1, 4625, 348, 7953, 560, 30, 282, 389, 9079, 389, 377, 1001, 225, 1001, 7734, 389, 7198, 389, 5375, 389, 389, 571, 571, 2398, 571, 571, 282, 571, 225, 18368, 225, 571, 2868, 342, 19608, 67, 96, 571, 7734, 571, 261, 67, 13, 571, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 511, 11210, 353, 4232, 39, 3462, 40, 6372, 288, 203, 203, 225, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 225, 2874, 261, 2867, 516, 2254, 5034, 13, 3238, 389, 70, 26488, 31, 203, 225, 2874, 261, 2867, 516, 2874, 261, ...
./full_match/1/0x84fE05f541cee93d0B02e03cD4319c29BA0030A2/sources/src/rollup/RollupCore.sol
* @notice Remove the given staker @param stakerAddress Address of the staker to remove/
function deleteStaker(address stakerAddress) private { Staker storage staker = _stakerMap[stakerAddress]; require(staker.isStaked, "NOT_STAKED"); uint64 stakerIndex = staker.index; _stakerList[stakerIndex] = _stakerList[_stakerList.length - 1]; _stakerMap[_stakerList[stakerIn...
3,877,398
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 3581, 326, 864, 384, 6388, 632, 891, 384, 6388, 1887, 5267, 434, 326, 384, 6388, 358, 1206, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1430, 510, 6388, 12, 2867, 384, 6388, 1887, 13, 3238, 288, 203, 3639, 934, 6388, 2502, 384, 6388, 273, 389, 334, 6388, 863, 63, 334, 6388, 1887, 15533, 203, 3639, 2583, 12, 334, 6388, 18, 291, 510, 9477, 16, 315, 4400...
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity =0.7.6; pragma experimental ABIEncoderV2; import "./IBondingCurve.sol"; import "../refs/OracleRef.sol"; import "../pcv/PCVSplitter.sol"; import "../utils/Timed.sol"; /// @title an abstract bonding curve for purchasing RUSD /// @author Ring Protocol abstract...
@title a PCV Deposit interface @author Ring Protocol ----------- Events ----------- ----------- State changing api ----------- ----------- PCV Controller only state changing api ----------- ----------- Getters -----------
interface IPCVDeposit { event Deposit(address indexed _from, uint256 _amount); event Collect(address indexed _from, uint256 _amount0, uint256 _amount1); event Withdrawal( address indexed _caller, address indexed _to, uint256 _amount ); function deposit() external payable; ...
1,154,626
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 279, 453, 22007, 4019, 538, 305, 1560, 632, 4161, 25463, 4547, 300, 15392, 9043, 300, 15392, 300, 15392, 3287, 12770, 1536, 300, 15392, 300, 15392, 453, 22007, 6629, 1338, 919, 12770, 1536, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 2971, 22007, 758, 1724, 288, 203, 565, 871, 4019, 538, 305, 12, 2867, 8808, 389, 2080, 16, 2254, 5034, 389, 8949, 1769, 203, 565, 871, 9302, 12, 2867, 8808, 389, 2080, 16, 2254, 5034, 389, 8949, 20, 16, 2254, 5034, 389, 8...
// Holyelon.com // Telegram: @holyelon // Twitter: @holyelontoken // SPDX-License-Identifier: MIT pragma solidity ^0.7.5; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes call...
Anti-bot and anti-whale mappings and variables exlcude from fees and max transaction amount store addresses that a automatic market maker pairs. Any transfer *to* these addresses could be subject to a maximum transfer amount
contract HolyElon is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool private swapping; bool private um = true; address public marketingWallet; address public devWallet; uint256 public maxTransactionAmount;...
6,964,076
[ 1, 4625, 348, 7953, 560, 30, 225, 18830, 77, 17, 4819, 471, 30959, 17, 3350, 5349, 7990, 471, 3152, 431, 17704, 1317, 628, 1656, 281, 471, 943, 2492, 3844, 1707, 6138, 716, 279, 5859, 13667, 312, 6388, 5574, 18, 5502, 7412, 380, 869...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16351, 670, 355, 93, 4958, 265, 353, 4232, 39, 3462, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 1071, 640, 291, 91, 438, 58, 22, 8259, 3...
./full_match/1/0x85Ff72ef23C559881589Daa5C8Ed9698124eDE72/sources/lib/seaport-types/src/helpers/PointerLibraries.sol
@dev Reads the bytes11 at `mPtr` in memory.
function readBytes11( MemoryPointer mPtr ) internal pure returns (bytes11 value) { assembly ("memory-safe") { value := mload(mPtr) } }
8,452,023
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 29185, 326, 1731, 2499, 622, 1375, 81, 5263, 68, 316, 3778, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 25825, 2499, 12, 203, 3639, 9251, 4926, 312, 5263, 203, 565, 262, 2713, 16618, 1135, 261, 3890, 2499, 460, 13, 288, 203, 3639, 19931, 7566, 7858, 17, 4626, 7923, 288, 203, 5411, 460, 519, 312, 945, 12, 81, 5263, 13, 2...
pragma solidity ^0.4.0; import "./Bits.sol"; import "./ByteUtils.sol"; import "./ECRecovery.sol"; import "./Eip712StructHash.sol"; import "./Math.sol"; import "./Merkle.sol"; import "./PlasmaCore.sol"; import "./PriorityQueue.sol"; import "./PriorityQueueFactory.sol"; import "./RLP.sol"; import "./ERC20.sol"; /** ...
* @dev Checks that a given transaction was included in a block and created a specified output. @param _tx RLP encoded transaction to verify. @param _transactionPos Transaction position for the encoded transaction. @param _txInclusionProof Proof that the transaction was in a block. @return True if the transaction was in...
function _transactionIncluded(bytes _tx, uint256 _transactionPos, bytes _txInclusionProof) internal view returns (bool) { uint256 blknum = _transactionPos.getBlknum(); uint256 txindex = _transactionPos.getTxIndex(); bytes32 blockRoot = blocks[blknum].root; ...
6,432,328
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 13074, 716, 279, 864, 2492, 1703, 5849, 316, 279, 1203, 471, 2522, 279, 1269, 876, 18, 632, 891, 389, 978, 534, 14461, 3749, 2492, 358, 3929, 18, 632, 891, 389, 7958, 1616, 5947, 1754, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7958, 19323, 12, 3890, 389, 978, 16, 2254, 5034, 389, 7958, 1616, 16, 1731, 389, 978, 382, 15335, 20439, 13, 203, 3639, 2713, 203, 3639, 1476, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 2254, 5034, ...
pragma solidity 0.5.17; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "./lib/AddressHelper.sol"; import "./lib/XNum.sol"; import "./interfaces/IERC20.sol"; contract XHalfLife is ReentrancyGuard { using SafeMath for uint256; using Addres...
Enlarged due to mu divided by kBlock
uint256 onesubmu = ONE.sub(mu);
2,509,017
[ 1, 4625, 348, 7953, 560, 30, 225, 1374, 7901, 2423, 6541, 358, 4129, 26057, 635, 417, 1768, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 5945, 373, 13297, 273, 15623, 18, 1717, 12, 13297, 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, ...
pragma solidity >=0.5.0 <0.6.0; import "zos-lib/contracts/Initializable.sol"; import "../installed_contracts/lifecycle/Pausable.sol"; /** @title ProofOfExistence * @author David Minarsch * @notice A contract to register hashes of data as a proof of existence of the data at a given point in time. */ contract Proo...
* @dev Pausable function to register hash @param _hash The IPFS hash./
function registerHash(bytes32 _hash) external whenNotPaused() { require(isNotRegistered(_hash), "This hash is already registered."); count += 1; uint _id = count; hashToId[_hash] = _id; registrantToIds[msg.sender].push(_id); idToRegistration[_id] ...
7,246,591
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 21800, 16665, 445, 358, 1744, 1651, 632, 891, 389, 2816, 1021, 2971, 4931, 1651, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1744, 2310, 12, 3890, 1578, 389, 2816, 13, 7010, 3639, 3903, 203, 3639, 1347, 1248, 28590, 1435, 203, 565, 288, 203, 3639, 2583, 12, 291, 1248, 10868, 24899, 2816, 3631, 315, 2503, 1651, 353, 1818, 4104, 1199, 1769, 203, ...
// File: node_modules\openzeppelin-solidity\contracts\ownership\Ownable.sol pragma solidity ^0.5.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used thr...
* @dev Owner could redeem surplus tokens from the crowdsale contract address/
function redeem() public onlyOwner { IERC20 token = token(); uint256 balance = token.balanceOf(address(this)); require(balance > 0, "JarvisPlusTokenCrowdsale: no tokens to redeem"); token.safeTransfer(owner(), balance); }
6,471,561
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 16837, 3377, 283, 24903, 5056, 10103, 2430, 628, 326, 276, 492, 2377, 5349, 6835, 1758, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 283, 24903, 1435, 1071, 1338, 5541, 203, 225, 288, 203, 565, 467, 654, 39, 3462, 1147, 273, 1147, 5621, 203, 565, 2254, 5034, 11013, 273, 1147, 18, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 565, 2583, 12, 12296, 405, ...
./partial_match/1/0x44d13160094b45f39b712843d887939027513129/sources/BEP20Token.sol
* @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. This is internal function is equivalent to `approve`, and can be used to e.g. set automatic allowances for certain subsystems, etc. Emits an {Approval} event. Requirements: - `owner` cannot be the zero address. - `spender` cannot be the zero a...
function _approve(address owner, address spender, uint256 amount) internal { require(owner != address(0), "BEP20: approve from the zero address"); require(spender != address(0), "BEP20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); }
9,252,696
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11511, 1375, 8949, 68, 487, 326, 1699, 1359, 434, 1375, 87, 1302, 264, 68, 1879, 326, 1375, 8443, 68, 87, 2430, 18, 1220, 353, 2713, 445, 353, 7680, 358, 1375, 12908, 537, 9191, 471, 84...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12908, 537, 12, 2867, 3410, 16, 1758, 17571, 264, 16, 2254, 5034, 3844, 13, 2713, 288, 203, 565, 2583, 12, 8443, 480, 1758, 12, 20, 3631, 315, 5948, 52, 3462, 30, 6617, 537, 628, 326, 3634, 1758, 8863, 203, 565, ...
pragma solidity ^0.4.24; import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol"; import "openzeppelin-solidity/contracts/math/SafeMath.sol"; import "openzeppelin-solidity/contracts/AddressUtils.sol"; import "./CvcEscrowInterface.sol"; import "../pricing/CvcPricingInterface.sol"; import "../upgradeability/Initi...
* @dev Contract initialization method. @param _token CVC Token contract address @param _platform Platform address to send retained fee to @param _pricing Pricing contract address to lookup for escrow amount before placing @param _owner Owner address, used for release/ Ensure contracts. timeoutThreshold = 5800; platform...
function initialize(address _token, address _platform, address _pricing, address _owner) public initializes { require(AddressUtils.isContract(_token), "Initialization error: no contract code at token contract address"); require(AddressUtils.isContract(_pricing), "Initialization e...
6,411,402
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 13456, 10313, 707, 18, 632, 891, 389, 2316, 385, 13464, 3155, 6835, 1758, 632, 891, 389, 9898, 11810, 1758, 358, 1366, 25227, 14036, 358, 632, 891, 389, 683, 14774, 453, 1512, 310, 6835, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4046, 12, 2867, 389, 2316, 16, 1758, 389, 9898, 16, 1758, 389, 683, 14774, 16, 1758, 389, 8443, 13, 203, 3639, 1071, 203, 3639, 11643, 203, 565, 288, 203, 3639, 2583, 12, 1887, 1989, 18, 291, 8924, 24899, 2316, 3631, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "./strategies/CreamFtmTombStrategy.sol"; //The deposit contract for Djinn Finance contract DjinnBottleUSDC is ERC20 { IERC20 public us...
deployer address used to perform basic admin features
address private admin;
5,513,306
[ 1, 4625, 348, 7953, 560, 30, 7286, 264, 1758, 1399, 358, 3073, 5337, 3981, 4467, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 2867, 3238, 3981, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/** *Submitted for verification at Etherscan.io on 2021-04-25 */ pragma solidity ^0.4.23; // ---------------------------------------------------------------------------- // // Moon Pets (Moon Pets) token public sale contract ERC20 Version // // For details, please visit: http://moonpets.org // // // Written by Moon ...
8-MAY-2021 09:00 GMT +0
uint public dateMainEnd = 1620464400;
2,275,971
[ 1, 4625, 348, 7953, 560, 30, 225, 1725, 17, 49, 5255, 17, 18212, 21, 21058, 30, 713, 21706, 397, 20, 7010, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 1071, 1509, 6376, 1638, 282, 273, 2872, 21573, 1105, 16010, 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, ...
pragma ton-solidity >= 0.43.0; pragma AbiHeader expire; pragma AbiHeader time; import './interfaces/IFarmContract.sol'; import './libraries/FarmContractCostConstants.sol'; import './libraries/FarmContractErrorCodes.sol'; import '../UserAccount/UserAccount.sol'; import '../UserAccount/interfaces/IUserAccount.sol'; i...
* @param userAccountOwner Address of user account owner, used for address calculation @param tokensToWithdraw How much tokens user want to withdraw from stacking @param originalTokensAmount How much tokens were stacked before withdrawing @param pendingReward Reward already obtained by user @param rewardPerTokenSum Last...
function withdrawWithPendingReward( address userAccountOwner, uint128 tokensToWithdraw, uint128 originalTokensAmount, uint128 pendingReward, uint256 rewardPerTokenSum ) external override onlyValidUserAccount(userAccountOwner) { tvm.rawReserve(msg.value, 2); ...
13,091,494
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 891, 729, 3032, 5541, 5267, 434, 729, 2236, 3410, 16, 1399, 364, 1758, 11096, 632, 891, 2430, 774, 1190, 9446, 9017, 9816, 2430, 729, 2545, 358, 598, 9446, 628, 2110, 310, 632, 891, 2282, 5157,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1190, 8579, 17631, 1060, 12, 203, 3639, 1758, 729, 3032, 5541, 16, 7010, 3639, 2254, 10392, 2430, 774, 1190, 9446, 16, 7010, 3639, 2254, 10392, 2282, 5157, 6275, 16, 7010, 3639, 2254, 10392, 4634, 17631, 1060, ...
./partial_match/42/0x5a045650Adcc8FCcb123bCb2a39414Bb7DEF7db4/sources/RewardEscrowV2.sol
Note: use public visibility so that it can be invoked in a subclass
function resolverAddressesRequired() public view returns (bytes32[] memory addresses) { addresses = new bytes32[](3); addresses[0] = CONTRACT_PYNTHETIX; addresses[1] = CONTRACT_FEEPOOL; addresses[2] = CONTRACT_ISSUER; }
8,874,840
[ 1, 4625, 348, 7953, 560, 30, 225, 3609, 30, 999, 1071, 9478, 1427, 716, 518, 848, 506, 8187, 316, 279, 10177, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5039, 7148, 3705, 1435, 1071, 1476, 1135, 261, 3890, 1578, 8526, 3778, 6138, 13, 288, 203, 3639, 6138, 273, 394, 1731, 1578, 8526, 12, 23, 1769, 203, 3639, 6138, 63, 20, 65, 273, 8020, 2849, 1268, 67, 16235, 1784, 44, ...
./full_match/100/0xC740046C8FdA017636FF155B8cFa4cF30f72907D/sources/_balancer-labs/v2-pool-weighted/contracts/managed/ManagedPoolSettings.sol
@inheritdoc IManagedPool
function removeAllowedAddress(address member) external override authenticate whenNotPaused { _require(isAddressOnAllowlist(member), Errors.ADDRESS_NOT_ALLOWLISTED); delete _allowedAddresses[member]; emit AllowlistAddressRemoved(member); }
14,270,308
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 10093, 6246, 4184, 2864, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1206, 5042, 1887, 12, 2867, 3140, 13, 3903, 3849, 8929, 1347, 1248, 28590, 288, 203, 3639, 389, 6528, 12, 291, 1887, 1398, 7009, 1098, 12, 5990, 3631, 9372, 18, 15140, 67, 4400, 67, 13511, 7085, 2056, 1769, 203, 203, 36...
./partial_match/1/0x5926E0C0CA9e240FA7F2668dABC6491920951BDF/sources/CreateNewToken.sol
* @dev Sets the values for {name} and {symbol}. The default value of {decimals} is 18. To select a different value for {decimals} you should overload it. All two of these values are immutable: they can only be set once during construction./ IPancakeRouter _router = IPancakeRouter(0x1f9cDE0C9364883B2546DaD437c263886c200...
constructor() { _mint(msg.sender, _initSupply); address _taxAddress = 0x693429bF4b02dF67910087Da175FB7448e1C588f; address _tax2Address = 0x44E8bA40327d697FAF80db045322Ab40b89F5BEF; taxAddress = payable(_taxAddress); taxBuyAddress = payable(_taxAddress); tax2Address =...
15,504,505
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11511, 326, 924, 364, 288, 529, 97, 471, 288, 7175, 5496, 1021, 805, 460, 434, 288, 31734, 97, 353, 6549, 18, 2974, 2027, 279, 3775, 460, 364, 288, 31734, 97, 1846, 1410, 30402, 518, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 3885, 1435, 288, 203, 3639, 389, 81, 474, 12, 3576, 18, 15330, 16, 389, 2738, 3088, 1283, 1769, 203, 3639, 1758, 389, 8066, 1887, 273, 374, 92, 8148, 5026, 5540, 70, 42, 24, 70, 3103, 72, 42, 26, 7235, 6625, 11035, 40, 6...
pragma solidity ^0.4.23; /// @title Listing /// @dev An indiviual O2OProtocol Listing representing an offer for booking/purchase import "./Purchase.sol"; import "./PurchaseLibrary.sol"; contract Listing { uint public DEFAULT_EXPIRATION = 60 days; /* * Events */ event ListingPurchased(Purchase _purcha...
ListingRegistry(msg.sender);
listingRegistry = msg.sender;
12,737,845
[ 1, 4625, 348, 7953, 560, 30, 225, 987, 310, 4243, 12, 3576, 18, 15330, 1769, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1377, 11591, 4243, 273, 1234, 18, 15330, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/80001/0x2A2EF928A5ce8a9A5A8615E3EE5f9ac4BBBB14Ec/sources/contracts/flashloan.sol
Note: CallBack function executed by DODOV2(DPP) flashLoan pool
function DPPFlashLoanCall(address sender, uint256 baseAmount, uint256 quoteAmount, bytes calldata data) external { _flashLoanCallBack(sender,baseAmount,quoteAmount,data); }
835,243
[ 1, 4625, 348, 7953, 560, 30, 3609, 30, 3049, 2711, 445, 7120, 635, 463, 2311, 58, 22, 12, 40, 6584, 13, 9563, 1504, 304, 2845, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 463, 6584, 11353, 1504, 304, 1477, 12, 2867, 5793, 16, 2254, 5034, 1026, 6275, 16, 2254, 5034, 3862, 6275, 16, 1731, 745, 892, 501, 13, 3903, 288, 203, 3639, 389, 13440, 1504, 304, 30008, 12, 15330, 16, 1969, 6275, 16, ...
// 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...
* @dev Returns the total amount of rewards that can be claimed by user until block.timestamp. It can be seen as minimum amount of reward tokens should be buffered in the gauge controller./
function claimable() external view returns (uint256) { return totalReward() - totalClaimed; }
958,278
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 2078, 3844, 434, 283, 6397, 716, 848, 506, 7516, 329, 635, 729, 3180, 1203, 18, 5508, 18, 2597, 848, 506, 5881, 487, 5224, 3844, 434, 19890, 2430, 1410, 506, 11445, 316, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7516, 429, 1435, 3903, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 2078, 17631, 1060, 1435, 300, 2078, 9762, 329, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.4.4; contract Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balan...
Set the name for display purposes (CHANGE THIS)
name = "TowerImagesCoin";
1,511,974
[ 1, 4625, 348, 7953, 560, 30, 225, 1000, 326, 508, 364, 2562, 13694, 261, 14473, 20676, 13, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 508, 273, 315, 56, 2085, 8946, 27055, 14432, 4766, 565, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity 0.5.17; pragma experimental ABIEncoderV2; interface IUniswap { // To convert DAI to ETH function SWAPEXACTTOKENSFORETH436(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[]...
inject NONSTANDARD NAMING
function BALANCECOMPOUNDINTOKEN294() public view returns (uint256) {
977,205
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 605, 1013, 4722, 4208, 2419, 5240, 3217, 6239, 5540, 24, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity =0.6.6; interface IMulanV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) externa...
**** ADD LIQUIDITY **** create the pair if it doesn't exist yet
function _addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin ) internal virtual returns (uint amountA, uint amountB) { if (IMulanV2Factory(factory).getPair(tokenA, tokenB) == address(0)) { IMulanV2Factory(factory).createPair(tokenA, tokenB); } (uint ...
13,696,627
[ 1, 4625, 348, 7953, 560, 30, 225, 380, 14465, 11689, 8961, 53, 3060, 4107, 380, 14465, 752, 326, 3082, 309, 518, 3302, 1404, 1005, 4671, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 915, 389, 1289, 48, 18988, 24237, 12, 203, 2867, 1147, 37, 16, 203, 2867, 1147, 38, 16, 203, 11890, 3844, 1880, 281, 2921, 16, 203, 11890, 3844, 38, 25683, 16, 203, 11890, 3844, 2192, 267, 16, 203, 11890, 3844, 38, 2930, 203, 1...
//Address: 0xfbd592011527e69d86961f6d70f9169195f17ca5 //Contract name: TheMoveToken //Balance: 0 Ether //Verification Date: 11/13/2017 //Transacion Count: 1 // CODE STARTS HERE /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ pragma solid...
First case if PRE-ICO is happening Bonus depends on the amount of tokens sold. 100% bonus for stage1 80% bonus for stage2 60% bonus for stage2 40% bonus for stage2 Second case if ICO is happening Bonus depends on the week of the ICO and the bonus supply 20% bonus week 1 10% bonus week 2 5% bonus week 3 Bonus supply li...
function getBonus(uint256 _tokens) public returns (uint256) { require(_tokens != 0); uint256 bonuses = 0; uint256 multiplier = 0; if (isPREICO()) { if (tokensSold < stage1) { multiplier = 100; multiplier = 80; multiplier = ...
1,834,925
[ 1, 4625, 348, 7953, 560, 30, 225, 5783, 648, 309, 7071, 17, 2871, 51, 353, 5865, 310, 605, 22889, 10935, 603, 326, 3844, 434, 2430, 272, 1673, 18, 2130, 9, 324, 22889, 364, 6009, 21, 8958, 9, 324, 22889, 364, 6009, 22, 4752, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 2882, 22889, 12, 11890, 5034, 389, 7860, 13, 1071, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2583, 24899, 7860, 480, 374, 1769, 203, 3639, 2254, 5034, 324, 265, 6117, 273, 374, 31, 203, 3639, 2254, 5034, 15027, 273, 3...
./partial_match/1/0xD9fDd86ecc03e34DAf9c645C40DF670406836816/sources/contracts/usdb/bonds/TradFiBondDepository.sol
* @notice debt ratio in same terms for reserve or liquidity bonds @return uint/
function standardizedDebtRatio() external view returns ( uint ) { return debtRatio(); }
4,218,687
[ 1, 4625, 348, 7953, 560, 30, 380, 225, 632, 20392, 18202, 88, 7169, 316, 1967, 6548, 364, 20501, 578, 4501, 372, 24237, 15692, 225, 632, 2463, 2254, 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, 4529, 1235, 758, 23602, 8541, 1435, 3903, 1476, 1135, 261, 2254, 262, 288, 203, 3639, 327, 18202, 88, 8541, 5621, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/5/0x61b3E0fcEF001A8bcBd216c72bd78902ef8EA325/sources/project_/contracts/MetawinCollectibleRewardsSale.sol
* @dev Send reward to account./
function _sendReward( address account, address targetCompetitionContract, uint256 id, uint256 entries, uint256 credits ) private { if (entries > 0) { ICompetition(targetCompetitionContract).createFreeEntriesFromExternalContract({ _compe...
1,920,201
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2479, 19890, 358, 2236, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 4661, 17631, 1060, 12, 203, 3639, 1758, 2236, 16, 203, 3639, 1758, 1018, 2945, 278, 608, 8924, 16, 203, 3639, 2254, 5034, 612, 16, 203, 3639, 2254, 5034, 3222, 16, 203, 3639, 2254, 5034, 6197, 1282, 203, 565, 262, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "./openzeppelin/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol"; import "./openzeppelin/access/OwnableUpgradeable.sol"; import "./openzeppelin/security/PausableUpgradeable.sol"; import "./abstract/Generator.sol"; import "./abstract/Whitelist.sol"...
Setup serum claim for token
serum.initializeClaim(_tokenId);
6,147,280
[ 1, 4625, 348, 7953, 560, 30, 225, 10939, 703, 379, 7516, 364, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 202, 550, 379, 18, 11160, 9762, 24899, 2316, 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, -100, ...
./partial_match/42220/0x56E44A9f86C2e3a53e816335cBE6deaE440b0856/sources/WitnetPriceFeedBypass.sol
Ensures we access an existing index in an array
modifier withinRange(uint index, uint _range) { if (index > _range) { revert IndexOutOfBounds(index, _range); } _; }
3,498,177
[ 1, 4625, 348, 7953, 560, 30, 225, 1374, 8421, 732, 2006, 392, 2062, 770, 316, 392, 526, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 9606, 3470, 2655, 12, 11890, 770, 16, 2254, 389, 3676, 13, 288, 203, 565, 309, 261, 1615, 405, 389, 3676, 13, 288, 203, 1377, 15226, 3340, 11224, 5694, 12, 1615, 16, 389, 3676, 1769, 203, 565, 289, 203, 565, 389, 31, 203, ...
/* Copyright 2019-2021 StarkWare Industries Ltd. Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.starkware.co/open-source-license/ Unless required by applicable law or agre...
2 * address + 6 * uint256 + 1 * bool = 288 bytes.
uint256 constant INITIALIZER_SIZE = 9 * 32;
13,383,460
[ 1, 4625, 348, 7953, 560, 30, 225, 576, 380, 1758, 397, 1666, 380, 2254, 5034, 397, 404, 380, 1426, 273, 576, 5482, 1731, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 5381, 12584, 15154, 654, 67, 4574, 273, 2468, 380, 3847, 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, -...
./full_match/10/0x91ba8A14D2CC851aBb69212c09f59e06e1e7f0a5/sources/project_/contracts/presets/ERC721EnviousDynamicPreset.sol
* @dev See {_baseURI}./
function baseURI() external view virtual returns (string memory) { return _baseURI(); }
3,784,387
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 67, 1969, 3098, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1026, 3098, 1435, 3903, 1476, 5024, 1135, 261, 1080, 3778, 13, 288, 203, 202, 202, 2463, 389, 1969, 3098, 5621, 203, 202, 97, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.4.24; // produced by the Solididy File Flattener (c) David Appleton 2018 // contact : dave@akomba.com // released under Apache 2.0 licence // input D:\MDZA-TESTNET1\solidity-flattener\SolidityFlatteryGo\contract\MDZAToken.sol // flattened : Sunday, 30-Dec-18 09:30:12 UTC contract ApproveAndCa...
Get status of global transaction lock
function transactionLockStatus() public onlyOwner view returns (bool response){ return transactionLock; }
14,064,817
[ 1, 4625, 348, 7953, 560, 30, 225, 968, 1267, 434, 2552, 2492, 2176, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2492, 2531, 1482, 1435, 1071, 1338, 5541, 1476, 1135, 261, 6430, 766, 15329, 203, 3639, 327, 2492, 2531, 31, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/40/0x76569fbe7B45Aa83723F590a95807BA94849a5c2/sources/omnidex/nft-marketplace/ERC721NFTMarketV1.sol
trading fee (100 = 1%, 500 = 5%, 5 = 0.05%)
uint256 tradingFee;
9,543,076
[ 1, 4625, 348, 7953, 560, 30, 225, 1284, 7459, 14036, 261, 6625, 273, 404, 9, 16, 6604, 273, 1381, 9, 16, 1381, 273, 374, 18, 6260, 9, 13, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 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, 4202, 2254, 5034, 1284, 7459, 14667, 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/1/0x6B39Ce8211Bc60Bf3cd346a184C75D3cEA3A4985/sources/contracts/unibot_lp_locker.sol
@dev Extends token lock
function extendLiquidityLock(address lpTokenAddress, uint newUnlockEpochTime) external onlyOwner { require(newUnlockEpochTime > lpUnlockTime[lpTokenAddress], "LP is still locked"); require(lpUnlockTime[lpTokenAddress] != 0, "LP does not have a set unlock time"); lpUnlockTime[lpTokenAddress]...
4,895,966
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 6419, 5839, 1147, 2176, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2133, 48, 18988, 24237, 2531, 12, 2867, 12423, 1345, 1887, 16, 2254, 394, 7087, 14638, 950, 13, 3903, 1338, 5541, 288, 203, 3639, 2583, 12, 2704, 7087, 14638, 950, 405, 12423, 7087, 950, 63, 9953, 1345, 1887, 6487, 315, ...
./full_match/56/0xab84Cd8946F4589c2342B733C908cc84d2eCEd1e/sources/contracts/E-RON.sol
@notice method which checks if the token supports force transfers
function isForceTransferAllowed() public view returns (bool) { return configProps._isForceTransferAllowed; }
3,252,262
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 707, 1492, 4271, 309, 326, 1147, 6146, 2944, 29375, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 353, 10997, 5912, 5042, 1435, 1071, 1476, 1135, 261, 6430, 13, 288, 203, 565, 327, 642, 5047, 6315, 291, 10997, 5912, 5042, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity 0.6.10; /// #invariant {:msg "Low.P0"} x > 0; /// #invariant {:msg "Medium.P1"} x == 0; /// #invariant {:msg "Critical.P2"} x < 0; contract Foo { uint x; constructor (uint _x) public { x = _x; } /// #if_succeeds {:msg "Critical.P4"} b == a + 1; function foo(uint256 a) publ...
#invariant {:msg "Low.P0"} x > 0; #invariant {:msg "Medium.P1"} x == 0; #invariant {:msg "Critical.P2"} x < 0;
contract Foo { uint x; constructor (uint _x) public { x = _x; } function foo(uint256 a) public returns (uint256 b) { return a + 1; } }
15,810,237
[ 1, 4625, 348, 7953, 560, 30, 225, 468, 267, 8688, 16201, 3576, 315, 10520, 18, 52, 20, 6, 97, 619, 405, 374, 31, 468, 267, 8688, 16201, 3576, 315, 25599, 18, 52, 21, 6, 97, 619, 422, 374, 31, 468, 267, 8688, 16201, 3576, 315, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 23077, 288, 203, 565, 2254, 619, 31, 203, 203, 565, 3885, 261, 11890, 389, 92, 13, 1071, 288, 203, 3639, 619, 273, 389, 92, 31, 203, 565, 289, 203, 203, 565, 445, 8431, 12, 11890, 5034, 279, 13, 1071, 1135, 261, 11890, ...
./full_match/5/0xA6296a81F8A9359229f3729542e27BAb5D020cA9/sources/src/Forward.sol
Ensure the bid is non-criteria-based
function fill(FillDetails calldata details) external { ItemKind itemKind = details.bid.itemKind; if (itemKind != ItemKind.ERC721 && itemKind != ItemKind.ERC1155) { revert InvalidBid(); } _fill(details, details.bid.identifierOrCriteria); }
1,872,288
[ 1, 4625, 348, 7953, 560, 30, 225, 7693, 326, 9949, 353, 1661, 17, 9714, 17, 12261, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3636, 12, 8026, 3790, 745, 892, 3189, 13, 3903, 288, 203, 3639, 4342, 5677, 761, 5677, 273, 3189, 18, 19773, 18, 1726, 5677, 31, 203, 3639, 309, 261, 1726, 5677, 480, 4342, 5677, 18, 654, 39, 27, 5340, 597, 761, 5677,...
/** *Submitted for verification at Etherscan.io on 2021-10-18 */ // File: contracts/ERC721/utils/Context.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are...
************************* CryptoTulip https:cryptotulip.co *************************
contract CryptoTulip is ERC721, Ownable { constructor() ERC721("CryptoTulip", "TULIP") { } struct Tulip { bytes32 genome; uint64 block; uint64 foundation; uint64 inspiration; uint64 generation; } Tulip[] tulips; mapping(address => string) public userna...
10,840,049
[ 1, 4625, 348, 7953, 560, 30, 380, 19482, 15629, 56, 332, 625, 4766, 4202, 2333, 30, 22784, 352, 332, 625, 18, 2894, 225, 380, 19482, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 15629, 56, 332, 625, 353, 4232, 39, 27, 5340, 16, 14223, 6914, 288, 203, 203, 203, 565, 3885, 1435, 4232, 39, 27, 5340, 2932, 18048, 56, 332, 625, 3113, 315, 56, 1506, 2579, 7923, 288, 203, 565, 289, 203, 203, 565, 1958,...
./full_match/1/0xBA627f3d081cc97ac0eDc40591eda7053AC63532/sources/src/BoredAndDangerous.sol
@notice The address which can set royalties
function owner() external view returns (address) { return royaltyOwner; }
9,779,920
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1021, 1758, 1492, 848, 444, 721, 93, 2390, 606, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3410, 1435, 3903, 1476, 1135, 261, 2867, 13, 288, 203, 3639, 327, 721, 93, 15006, 5541, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./partial_match/28/0xB7092f6ED01f56BA19d78D225E26aDfa9974F9d5/sources/Users/falconfree/Projects/Curio/capital-dex-core/contracts/uniswap-v2/UniswapV2Router03.sol
XXX: only swap whitelisted
modifier onlySwapWhitelisted() { address whitelist = IUniswapV2Factory(factory).whitelist(); if (whitelist != address(0)) { require(IDexWhitelist(whitelist).isSwapAddressActive(msg.sender), 'UniswapV2Router: WL PERMISSION DENIED'); } _; }
3,502,633
[ 1, 4625, 348, 7953, 560, 30, 225, 11329, 30, 1338, 7720, 26944, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9606, 1338, 12521, 18927, 329, 1435, 288, 203, 3639, 1758, 10734, 273, 467, 984, 291, 91, 438, 58, 22, 1733, 12, 6848, 2934, 20409, 5621, 203, 3639, 309, 261, 20409, 480, 1758, 12, 20, 3719, 288, 203, 5411, 2583, 12, 734, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, s...
enables safeTransferFrom function to send ERC721 tokens to this contract (used in staking)
function onERC721Received( address operator, address from, uint256 tId, bytes calldata data ) external pure returns (bytes4) { return bytes4(keccak256("onERC721Received(address,address,uint256,bytes)")); }
13,679,482
[ 1, 4625, 348, 7953, 560, 30, 225, 19808, 4183, 5912, 1265, 445, 358, 1366, 4232, 39, 27, 5340, 2430, 358, 333, 6835, 261, 3668, 316, 384, 6159, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 603, 654, 39, 27, 5340, 8872, 12, 203, 3639, 1758, 3726, 16, 203, 3639, 1758, 628, 16, 203, 3639, 2254, 5034, 268, 548, 16, 203, 3639, 1731, 745, 892, 501, 203, 565, 262, 3903, 16618, 1135, 261, 3890, 24, 13, 288, 2...
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; import "./ERC721.sol"; import "./ERC721Enumerable.sol"; import "./Ownable.sol"; import "./Address.sol"; import "./Strings.sol"; interface CryptoMonkeyKing { function balanceOf(address _owner) external view returns (uint256); } contract PunkMonkey is Own...
***********************************struct********************************/
enum NFTType { Black, White }
1,354,402
[ 1, 4625, 348, 7953, 560, 30, 20210, 636, 1697, 5021, 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, 2792, 423, 4464, 559, 288, 203, 3639, 22467, 16, 203, 3639, 30233, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./partial_match/56/0x4aaAcE98e3053853D5093c9D746Ad5c0DD7a8c78/sources/MasterChef.sol
CofeToken with Governance.
contract CofeToken is BEP20('CoffeeSwap Token', 'COFE') { function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); _moveDelegates(address(0), _delegates[_to], _amount); } mapping (address => address) internal _delegates; struct Checkpoint { uint32 fr...
11,079,414
[ 1, 4625, 348, 7953, 560, 30, 225, 385, 792, 73, 1345, 598, 611, 1643, 82, 1359, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 385, 792, 73, 1345, 353, 9722, 52, 3462, 2668, 39, 3674, 1340, 12521, 3155, 2187, 296, 3865, 8090, 6134, 288, 203, 565, 445, 312, 474, 12, 2867, 389, 869, 16, 2254, 5034, 389, 8949, 13, 1071, 1338, 5541, 288, 203, 3639, ...
pragma solidity 0.4.20; // <ORACLIZE_API> /* Copyright (c) 2015-2016 Oraclize SRL Copyright (c) 2016 Oraclize LTD Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including ...
Release funds if invalid result 48 hours later
uint public constant BET_RELEASE_DATE = BETTING_CLOSES + 66000;
6,915,152
[ 1, 4625, 348, 7953, 560, 30, 225, 10819, 284, 19156, 309, 2057, 563, 9934, 7507, 5137, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 2254, 1071, 5381, 605, 1584, 67, 30762, 67, 4594, 273, 9722, 12239, 67, 13384, 55, 397, 22342, 3784, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
// File: @openzeppelin/contracts/math/SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually...
Zero out the callers account record
Account storage account = accounts[msg.sender];
6,070,115
[ 1, 4625, 348, 7953, 560, 30, 225, 12744, 596, 326, 19932, 2236, 1409, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6590, 2502, 2236, 273, 9484, 63, 3576, 18, 15330, 15533, 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, ...
./partial_match/4/0x9AbAD2DC77Ad084A94F0F9032FAfbf2a2FcF18a8/sources/GSwapAudit.sol
wethIWeth constant internal weth = IWeth(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2);chi手续费比例控制器
contract GSwapAudit is Ownable{ using SafeMath for uint256; using ERC20Lib for IERC20; using Array for IERC20[]; uint256 internal constant FLAG_ENABLE_CHI_BURN = 0x10000000000; uint256 internal constant FLAG_ENABLE_CHI_BURN_BY_ORIGIN = 0x4000000000000000; uint256 internal constant FLAG_ENABLE_R...
16,990,058
[ 1, 4625, 348, 7953, 560, 30, 341, 546, 45, 59, 546, 5381, 2713, 341, 546, 273, 467, 59, 546, 12, 20, 14626, 3103, 7598, 37, 5520, 70, 3787, 23, 8090, 28, 40, 20, 37, 20, 73, 25, 39, 24, 42, 5324, 73, 1880, 29, 6840, 23, 39, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 611, 12521, 10832, 353, 14223, 6914, 95, 203, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 4232, 39, 3462, 5664, 364, 467, 654, 39, 3462, 31, 203, 565, 1450, 1510, 364, 467, 654, 39, 3462, 8526, 31, ...
pragma solidity ^0.5.17; library SafeMath { function ADD171(uint256 a, uint256 b) internal pure returns (uint256) { //inject NONSTANDARD NAMING uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; ...
inject NONSTANDARD NAMING
function VIEWUSERREWARDS680(address _user, address _token) public view returns(uint256) {
15,849,283
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 21794, 4714, 862, 16777, 3948, 26, 3672, 12, 2867, 389, 1355, 16, 1758, 389, 2316, 13, 1071, 1476, 1135, 12, 11890, 5034, 13, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.4.18; import "zeppelin-solidity/contracts/token/SafeERC20.sol"; import "zeppelin-solidity/contracts/ownership/Ownable.sol"; import "zeppelin-solidity/contracts/math/SafeMath.sol"; import "./AkropolisToken.sol"; /** * @title LinearTokenVesting * @dev A token holder contract that can release its to...
* @title LinearTokenVesting @dev A token holder contract that can release its tokens pro-rata with the passing time starting after the cliff period/ AKT token that is under vesting beneficiary of tokens after they are released start of the vesting period duration of the vesting period time after which tokens begin to v...
contract LinearTokenVesting is Ownable { using SafeMath for uint256; using SafeERC20 for AkropolisToken; event Released(uint256 amount); AkropolisToken public token; address public beneficiary; uint256 public start; uint256 public duration; uint256 public cliff; uint256 public...
15,817,246
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 13921, 1345, 58, 10100, 632, 5206, 432, 1147, 10438, 6835, 716, 848, 3992, 2097, 2430, 450, 17, 86, 396, 598, 326, 9588, 813, 5023, 1839, 326, 927, 3048, 3879, 19, 432, 47, 56, 1147, 71...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 13921, 1345, 58, 10100, 353, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 14060, 654, 39, 3462, 364, 432, 79, 1764, 355, 291, 1345, 31, 203, 203, 565, 871, 10819, 72, 12, 11890, 5034...
// Сочетаемость глаголов (и отглагольных частей речи) с предложным // паттерном. // LC->07.08.2018 facts гл_предл language=Russian { arity=3 //violation_score=-5 generic return=boolean } #define ГЛ_ИНФ(v) инфинитив:v{}, глагол:v{} #region Предлог_В // ------------------- С ПРЕДЛОГОМ 'В' -----------------------...
засинхронизировать с эталонным генератором
rus_verbs:засинхронизировать{},
5,486,653
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 145, 120, 145, 113, 146, 228, 145, 121, 145, 126, 146, 232, 146, 227, 145, 127, 145, 126, 145, 121, 145, 120, 145, 121, 146, 227, 145, 127, 145, 115, 145, 113, 146, 229, 146, 239, 225, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 8010, 67, 502, 2038, 30, 145, 120, 145, 113, 146, 228, 145, 121, 145, 126, 146, 232, 146, 227, 145, 127, 145, 126, 145, 121, 145, 120, 145, 121, 146, 227, 145, 127, 145, 115, 145, 113, 146, 229, 146, 239, 2916, 16, 225, 2, ...
./full_match/5/0x998bf0Eb2ee683020eC906FAF16f81Fc22641435/sources/contracts/core/connext/helpers/BridgeToken.sol
* @dev See {IERC20-balanceOf}./
function balanceOf(address _account) public view override(IBridgeToken, ERC20) returns (uint256) { return ERC20.balanceOf(_account); }
1,904,050
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 45, 654, 39, 3462, 17, 12296, 951, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 11013, 951, 12, 2867, 389, 4631, 13, 1071, 1476, 3849, 12, 13450, 5404, 1345, 16, 4232, 39, 3462, 13, 1135, 261, 11890, 5034, 13, 288, 203, 565, 327, 4232, 39, 3462, 18, 12296, 951, 24899, 4631, 1769, 203, 225, 289, 2...
./partial_match/1/0x2c196bD817134696F23eBF6A7368527cc59B658F/sources/MasterChefChili.sol
ChiliToken with Governance.
contract ChiliToken is ERC20("ChiliToken", "CHILI"), Ownable { function mint(address _to, uint256 _amount) public onlyOwner { require( totalSupply().add(_amount) <= maxSupply, "CHILI::mint: cannot exceed max supply" ); _mint(_to, _amount); _moveDelegates(add...
3,974,373
[ 1, 4625, 348, 7953, 560, 30, 225, 1680, 15700, 1345, 598, 611, 1643, 82, 1359, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1680, 15700, 1345, 353, 4232, 39, 3462, 2932, 782, 15700, 1345, 3113, 315, 1792, 45, 2053, 6, 3631, 14223, 6914, 288, 203, 203, 203, 565, 445, 312, 474, 12, 2867, 389, 869, 16, 2254, 5034, 389, 8949, 13, 1071, 1338, 5541, ...
./full_match/5/0xb93278af83Ab7FC2A9d08EF096f49EE8616C95A2/sources/contracts/Miratashi.sol
* @notice Allows the owner to set active status of whitelist phase./
function setWhitelistActive(bool _isActive) external onlyOwner { isWhitelistActive = _isActive; }
11,588,459
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 25619, 326, 3410, 358, 444, 2695, 1267, 434, 10734, 6855, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 18927, 3896, 12, 6430, 389, 291, 3896, 13, 3903, 1338, 5541, 288, 203, 3639, 353, 18927, 3896, 273, 389, 291, 3896, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// `interface` would make a nice keyword ;) contract TheDaoHardForkOracle { // `ran()` manually verified true on both ETH and ETC chains function forked() constant returns (bool); } // demostrates calling own function in a "reversible" manner /* important lines are marked by multi-line comments */ contract Rev...
external: increments stack height */ onlyThis: prevent actual external calling */ guaranteed `true`: enough has been withdrawn already three million ------> 3'000'000
function sendIfNotForked() external onlyThis returns (bool) { numcallsinternal++; if (withdrawdaoaddr.balance < 3000000 ether) { owner.send(42); }
12,981,314
[ 1, 4625, 348, 7953, 560, 30, 225, 3903, 30, 17071, 2110, 2072, 1195, 1338, 2503, 30, 5309, 3214, 3903, 4440, 1195, 15403, 1375, 3767, 68, 30, 7304, 711, 2118, 598, 9446, 82, 1818, 377, 8925, 312, 737, 285, 9135, 2122, 890, 11, 3784,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1366, 10288, 22662, 329, 1435, 3903, 1338, 2503, 1135, 261, 6430, 13, 288, 203, 3639, 818, 12550, 7236, 9904, 31, 203, 203, 3639, 309, 261, 1918, 9446, 2414, 83, 4793, 18, 12296, 411, 890, 9449, 225, 2437, 13, 288, 203,...
pragma solidity >=0.4.24 <0.6.0; import "./HRC721.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/roles/MinterRole.sol"; contract HRC721Auction is Minter...
when address makes bid they can set / update their name
mapping(address => string) private names;
12,591,993
[ 1, 4625, 348, 7953, 560, 30, 1347, 1758, 7297, 9949, 2898, 848, 444, 342, 1089, 3675, 508, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 6770, 12, 2867, 516, 533, 13, 3238, 1257, 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...
// We will be using Solidity version 0.5.4 pragma solidity ^0.5.4; pragma experimental ABIEncoderV2; // Importing OpenZeppelin's SafeMath Implementation import './SafeMath.sol'; contract CrowdFunding { using SafeMath for uint256; enum State { Fundraising, Fundraised, Success, ...
Project newProject = new Project(msg.sender, title, description, raiseUntil, amountToRaise); projects.push(newProject);
function AddProject( string calldata title, string calldata description, uint durationInDays, uint amountToRaise, uint initp, uint mile_count ) external { uint raiseUntil = now.mul(1000); raiseUntil = raiseUntil.add(durationInDays.m...
7,294,624
[ 1, 4625, 348, 7953, 560, 30, 225, 5420, 394, 4109, 273, 394, 5420, 12, 3576, 18, 15330, 16, 2077, 16, 2477, 16, 1002, 9716, 16, 3844, 774, 30570, 1769, 10137, 18, 6206, 12, 2704, 4109, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 1436, 4109, 12, 203, 1850, 533, 745, 892, 2077, 16, 203, 1850, 533, 745, 892, 2477, 16, 203, 1850, 2254, 3734, 382, 9384, 16, 203, 1850, 2254, 3844, 774, 30570, 16, 203, 1850, 2254, 1208, 84, 16, 203, 1850, 2254, 312,...
pragma solidity ^0.5.0; contract addRawMaterials{ constructor() public payable { } struct Item{ address payable added_by; uint itemId ; string itemName; uint fat; uint calories; uint protein; uint carbohydrate; uint rate; uint...
mapping of all items added
mapping(uint=>Item) public itemList;
945,264
[ 1, 4625, 348, 7953, 560, 30, 225, 2874, 434, 777, 1516, 3096, 7010, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2874, 12, 11890, 9207, 1180, 13, 1071, 761, 682, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the on...
/ Get a reference to the project's ERC20 tickets. Get a reference to the staked amount. Get a reference to the number of tickets there are. There must be enough tickets. Prevent potential overflow by not relying on addition. The amount of tickets to redeem. If there's no balance, redeem no tickets If prefer converted, ...
function redeem( address _holder, uint256 _projectId, uint256 _amount, bool _preferUnstaked ) external override onlyTerminal(_projectId) { ITickets _tickets = ticketsOf[_projectId]; uint256 _unlockedStakedBalance = stakedBalanceOf[_holder][_projectId] - ...
1,585,173
[ 1, 4625, 348, 7953, 560, 30, 342, 968, 279, 2114, 358, 326, 1984, 1807, 4232, 39, 3462, 24475, 18, 968, 279, 2114, 358, 326, 384, 9477, 3844, 18, 968, 279, 2114, 358, 326, 1300, 434, 24475, 1915, 854, 18, 6149, 1297, 506, 7304, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 283, 24903, 12, 203, 3639, 1758, 389, 4505, 16, 203, 3639, 2254, 5034, 389, 4406, 548, 16, 203, 3639, 2254, 5034, 389, 8949, 16, 203, 3639, 1426, 389, 1484, 586, 984, 334, 9477, 203, 565, 262, 3903, 3849, 1338, 11336, ...
pragma solidity ^0.5.0; import "./Marmo.sol"; import "./commons/Bytes.sol"; // MarmoStork creates all Marmo wallets // every address has a designated marmo wallet // and can send transactions by signing Meta-Tx (Intents) // // All wallets are proxies pointing to a single // source contract, to make deployment costs v...
MarmoStork creates all Marmo wallets every address has a designated marmo wallet and can send transactions by signing Meta-Tx (Intents) All wallets are proxies pointing to a single source contract, to make deployment costs viable Minimal proxy contract by Agusx1211 Bytecode to deploy marmo wallets Hash of the bytecode...
contract MarmoStork { using Bytes for address; using Bytes for bytes1; using Bytes for bytes; bytes1 constant BASE_SIZE = 0x1d; bytes1 constant PUSH_1 = 0x60; bytes1 constant BASE_RETURN_JUMP = 0x1b; bytes public bytecode; bytes32 public hash; address public marmo; construc...
12,673,255
[ 1, 4625, 348, 7953, 560, 30, 225, 490, 4610, 83, 510, 778, 3414, 777, 490, 4610, 83, 17662, 2413, 3614, 1758, 711, 279, 25264, 312, 4610, 83, 9230, 471, 848, 1366, 8938, 635, 10611, 6565, 17, 4188, 261, 1702, 4877, 13, 4826, 17662, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 490, 4610, 83, 510, 778, 288, 203, 565, 1450, 5985, 364, 1758, 31, 203, 565, 1450, 5985, 364, 1731, 21, 31, 203, 565, 1450, 5985, 364, 1731, 31, 203, 203, 203, 565, 1731, 21, 5381, 10250, 67, 4574, 273, 374, 92, 21, 72...
./full_match/7700/0x9B2a63F27661A468E2da22226b64A4914144f195/sources/contracts/libraries/CurveRoll.sol
@notice Moves a curve to a pre-determined price target, and calculates the flows as necessary to reach the target. The final curve will end at exactly that price and the flows are set to guarantee incremental collateral safety. @dev Note that this function does NOT check whether the curve is liquidity stable thr...
function rollPrice (CurveMath.CurveState memory curve, uint128 price, bool inBaseQty, bool isBuy, uint128 swapQty) internal pure returns (int128, int128, uint128) { (uint128 flow, uint128 counterFlow) = deriveDemand(curve, price, inBaseQty); (int128 paidFlow, int128 ...
4,651,816
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 490, 10829, 279, 8882, 358, 279, 675, 17, 72, 4443, 329, 6205, 1018, 16, 471, 17264, 326, 22465, 282, 487, 4573, 358, 9287, 326, 1018, 18, 1021, 727, 8882, 903, 679, 622, 8950, 716, 62...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5824, 5147, 261, 9423, 10477, 18, 9423, 1119, 3778, 8882, 16, 2254, 10392, 6205, 16, 203, 13491, 1426, 316, 2171, 53, 4098, 16, 1426, 27057, 9835, 16, 2254, 10392, 7720, 53, 4098, 13, 203, 3639, 2713, 16618, 1135, 261, ...
pragma solidity ^0.4.24; import "./TOTToken.sol"; import "./SafeMath.sol"; import "./Ownable.sol"; contract Distribute is Ownable{ using SafeMath for uint256; // Token distribution, must sumup to 1000 uint256 public constant SHARE_PURCHASERS = 75; uint256 public constant SHARE_FOUNDATION = 5; uint256 publi...
ignore (totalSupply mod 617) ~= 616e-8,
uint256 total = token.totalSupply().mul(100).div(SHARE_PURCHASERS);
1,795,803
[ 1, 4625, 348, 7953, 560, 30, 2305, 261, 4963, 3088, 1283, 681, 1666, 4033, 13, 4871, 33, 1666, 2313, 73, 17, 28, 16, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2078, 273, 1147, 18, 4963, 3088, 1283, 7675, 16411, 12, 6625, 2934, 2892, 12, 8325, 862, 67, 52, 1099, 1792, 37, 2123, 55, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "@openzeppelin/contracts-upgradeable/utils/math/MathUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; import "@openzeppelin/cont...
* @dev Updates the mint paused state of the underlying token. @param _paused Whether minting with that token is paused./
function setMintPaused(bool _paused) external onlyStrategist { require(mintPaused != _paused, "no change"); mintPaused = _paused; emit MintPausedUpdated(token, _paused); }
435,247
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 15419, 326, 312, 474, 17781, 919, 434, 326, 6808, 1147, 18, 632, 891, 389, 8774, 3668, 17403, 312, 474, 310, 598, 716, 1147, 353, 17781, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 15430, 474, 28590, 12, 6430, 389, 8774, 3668, 13, 3903, 1338, 1585, 1287, 376, 288, 203, 3639, 2583, 12, 81, 474, 28590, 480, 389, 8774, 3668, 16, 315, 2135, 2549, 8863, 203, 203, 3639, 312, 474, 28590, 273, 389, 8774, ...
./partial_match/1/0x0E17Cb7Bf27D06614c06F882B2D492C9403cC7a6/sources/Testnet.sol
07/11/2020 @ 1:30pm (UTC)
uint256 public unixtimelock = 1594474200;
4,353,915
[ 1, 4625, 348, 7953, 560, 30, 225, 10934, 19, 2499, 19, 18212, 20, 632, 404, 30, 5082, 7755, 261, 11471, 13, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 225, 202, 482, 9753, 8584, 292, 975, 225, 202, 33, 4711, 29, 6334, 5608, 6976, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract ERC721I { string public name; string public symbol; string internal baseTokenURI; string internal baseTokenURI_EXT; constructor(string memory name_, string memory symbol_) { name = name_; symbol = symbol_; } uint256 public totalSupply; ...
send contract eth to msg.sender
_sendETH( payable(msg.sender), address(this).balance);
10,060,363
[ 1, 4625, 348, 7953, 560, 30, 225, 1366, 6835, 13750, 358, 1234, 18, 15330, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 389, 4661, 1584, 44, 12, 8843, 429, 12, 3576, 18, 15330, 3631, 1758, 12, 2211, 2934, 12296, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/3/0x179DC0cFa58de8F7c9D321eABd219DD85b95D99E/sources/What.sol
(4% liquidityAddition + 8% rewardsDistribution + 2% marketing)
uint256 public _liquidityFee = 14;
8,105,898
[ 1, 4625, 348, 7953, 560, 30, 261, 24, 9, 4501, 372, 24237, 30296, 397, 1725, 9, 283, 6397, 9003, 397, 576, 9, 13667, 310, 13, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 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, 2254, 5034, 1071, 389, 549, 372, 24237, 14667, 273, 5045, 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, ...
./full_match/1/0x5537f945D8c3FCFDc1b8DECEEBD220FAD26aFdA8/sources/contracts/ComposableStablePool.sol
* @dev Proportional join. Pays no swap fees./
function _joinAllTokensInForExactBptOut( uint256 actualSupply, uint256[] memory balances, bytes memory userData ) private pure returns (uint256, uint256[] memory) { uint256 bptAmountOut = userData.allTokensInForExactBptOut(); uint256[] memory amountsIn = StableMath._compu...
4,901,443
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1186, 17564, 287, 1233, 18, 453, 8271, 1158, 7720, 1656, 281, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 5701, 1595, 5157, 382, 1290, 14332, 38, 337, 1182, 12, 203, 3639, 2254, 5034, 3214, 3088, 1283, 16, 203, 3639, 2254, 5034, 8526, 3778, 324, 26488, 16, 203, 3639, 1731, 3778, 13530, 203, 565, 262, 3238, 16618, 1135, ...
pragma solidity ^0.4.24; import "./ITransferManager.sol"; import "openzeppelin-solidity/contracts/math/SafeMath.sol"; ///////////////////// // Module permissions ///////////////////// // Owner TRANSFER_APPROVAL // addManualApproval X ...
* @title Transfer Manager module for manually approving or blocking transactions between accounts/Address from which issuances comeAddress which can sign whitelist changesManual approval is an allowance (that has been approved) with an expiry time
contract ManualApprovalTransferManager is ITransferManager { using SafeMath for uint256; address public issuanceAddress = address(0); address public signingAddress = address(0); bytes32 public constant TRANSFER_APPROVAL = "TRANSFER_APPROVAL"; struct ManualApproval { uint256 allowance; ...
7,281,335
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 12279, 8558, 1605, 364, 10036, 6617, 6282, 578, 9445, 8938, 3086, 9484, 19, 1887, 628, 1492, 3385, 89, 6872, 12404, 1887, 1492, 848, 1573, 10734, 3478, 25139, 23556, 353, 392, 1699, 1359, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 8660, 1462, 23461, 5912, 1318, 353, 467, 5912, 1318, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 1758, 1071, 3385, 89, 1359, 1887, 273, 1758, 12, 20, 1769, 203, 203, 565, 1758, 1071, 10611, 1887, ...
./full_match/80001/0x8f12e8dfE0b4251b67896366410bB5521d709b61/sources/@tsb/exchange/contracts/OrderValidator.sol
@notice verifies order @param order order to be validated @param signature signature of order @param sender order sender if maker is contract checking ERC1271 signature if maker is not contract then checking ECDSA signature
function validate(LibOrder.Order memory order, bytes memory signature, address sender) public view { if (order.makeAsset.assetType.assetClass != LibAsset.ETH_ASSET_CLASS) { address makeToken = abi.decode(order.makeAsset.assetType.data, (address)); verifyWhiteList(makeToken); ...
5,619,155
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 20761, 1353, 632, 891, 1353, 1353, 358, 506, 10266, 632, 891, 3372, 3372, 434, 1353, 632, 891, 5793, 1353, 5793, 309, 312, 6388, 353, 6835, 6728, 4232, 39, 2138, 11212, 3372, 309, 312, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1954, 12, 5664, 2448, 18, 2448, 3778, 1353, 16, 1731, 3778, 3372, 16, 1758, 5793, 13, 1071, 1476, 288, 203, 3639, 309, 261, 1019, 18, 6540, 6672, 18, 9406, 559, 18, 9406, 797, 480, 10560, 6672, 18, 1584, 44, 67, 3033,...
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/token/ERC20/IERC20.sol 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 retu...
-------------------- Recover trapped tokens --------------------
function startRecoverStuckTokens(address _token, uint256 _amount) external onlyGovernance { require(safetyMode == true, "Cannot execute this function unless safety mode active"); _timelockStart = now; _timelockType = 7; _timelock_address = _token; _timelock_data[0] = _a...
6,170,957
[ 1, 4625, 348, 7953, 560, 30, 225, 12146, 6062, 868, 3165, 23034, 1845, 2430, 12146, 6062, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 787, 27622, 510, 9031, 5157, 12, 2867, 389, 2316, 16, 2254, 5034, 389, 8949, 13, 3903, 1338, 43, 1643, 82, 1359, 288, 203, 3639, 2583, 12, 87, 1727, 14369, 2309, 422, 638, 16, 315, 4515, 1836, 333, 445, 3308, 24179, 1...
/** *Submitted for verification at Etherscan.io on 2022-04-11 */ // Sources flattened with hardhat v2.2.1 https://hardhat.org // File contracts/bridge/IRootBridge.sol // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; interface IRootBridge { function feeRate() external view returns (uint256); ...
@param item RLP encoded list in bytes/
function toList(RLPItem memory item) internal pure returns (RLPItem[] memory) { require(isList(item), "RLPReader: ITEM_NOT_LIST"); uint256 items = numItems(item); RLPItem[] memory result = new RLPItem[](items); uint256 listLength = _itemLength(item.memPtr); r...
6,828,192
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 891, 761, 534, 14461, 3749, 666, 316, 1731, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 12277, 12, 54, 48, 1102, 874, 3778, 761, 13, 203, 565, 2713, 203, 565, 16618, 203, 565, 1135, 261, 54, 48, 1102, 874, 8526, 3778, 13, 203, 565, 288, 203, 3639, 2583, 12, 291, 682, 12, 1726, 3631, 315, 54, 14461, 251...
pragma solidity ^0.5.1; //TODO: // //test - contributions, reclaims, fallback function, multiple loans //do we need a true start time? // allow people to contribute more than 99 million on the app // make it clear that 1 period is 60 seconds // Add UCASH address to HTML contract ERC20Basic { function totalSupply() ...
shift the loop back by one interval, shorten loop by one interval. Number of loops remains the same.
i--; j--;
6,709,037
[ 1, 4625, 348, 7953, 560, 30, 4654, 326, 2798, 1473, 635, 1245, 3673, 16, 19651, 2798, 635, 1245, 3673, 18, 225, 3588, 434, 14075, 22632, 326, 1967, 18, 203, 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, 5411, 277, 413, 31, 525, 413, 31, 18701, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity ^0.5.16; // Inheritance import "./Owned.sol"; import "./MixinResolver.sol"; import "./MixinSystemSettings.sol"; import "./interfaces/IIssuer.sol"; // Libraries import "./SafeDecimalMath.sol"; // Internal references import "./interfaces/IPynth.sol"; import "./interfaces/IPeriFin.sol"; import "./interf...
Remove its contribution from the debt pool snapshot, and invalidate the cache to force a new snapshot.
function removePynth(bytes32 currencyKey) external onlyOwner { IIssuerInternalDebtCache cache = debtCache(); cache.updateCachedPynthDebtWithRate(currencyKey, 0); cache.updateDebtCacheValidity(true); _removePynth(currencyKey); }
1,089,741
[ 1, 4625, 348, 7953, 560, 30, 225, 3581, 2097, 24880, 628, 326, 18202, 88, 2845, 4439, 16, 471, 11587, 326, 1247, 358, 2944, 279, 394, 4439, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1206, 52, 878, 451, 12, 3890, 1578, 5462, 653, 13, 3903, 1338, 5541, 288, 203, 3639, 467, 16667, 3061, 758, 23602, 1649, 1247, 273, 18202, 88, 1649, 5621, 203, 3639, 1247, 18, 2725, 9839, 52, 878, 451, 758, 23602, 1190,...
./partial_match/1/0xAF5078bCEE5B9DE9Bb9394207Ca48ac32648C45f/sources/Workspace.sol
* @title TalaoMarketplace @dev This contract is allowing users to buy or sell Talao tokens at a price set by the owner @author Blockchain Partner/
contract TalaoMarketplace is Ownable { using SafeMath for uint256; TalaoToken public token; struct MarketplaceData { uint buyPrice; uint sellPrice; uint unitPrice; } MarketplaceData public marketplace; event SellingPrice(uint sellingPrice); event TalaoBought(address buyer, uint amount, uin...
3,939,084
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 399, 287, 6033, 3882, 24577, 632, 5206, 1220, 6835, 353, 15632, 3677, 358, 30143, 578, 357, 80, 399, 287, 6033, 2430, 622, 279, 6205, 444, 635, 326, 3410, 632, 4161, 3914, 5639, 6393, 122...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 399, 287, 6033, 3882, 24577, 353, 14223, 6914, 288, 203, 225, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 225, 399, 287, 6033, 1345, 1071, 1147, 31, 203, 203, 225, 1958, 6622, 24577, 751, 288, 203, 565, 2254, 30143, ...
/* Copyright 2017-2018 RigoBlock, Rigo Investment Sagl. 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 a...
@dev Returns decimals of Rigo token @return Number of decimals
function getDecimals() external view returns (uint) { return decimals; }
12,657,183
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2860, 15105, 434, 534, 17626, 1147, 632, 2463, 3588, 434, 15105, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 336, 31809, 1435, 3903, 1476, 1135, 261, 11890, 13, 288, 203, 3639, 327, 15105, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/56/0x4d2FA1E81661ecaF1FABdB9FF08c582F1ACEf003/sources/contracts/Token.sol
* @dev Function allows admin to exclude an address from transaction fees/
function setFeeExemptAddress(address address_, bool flag) external onlyOwner { isFeeExempt[address_] = flag; }
3,254,986
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4284, 5360, 3981, 358, 4433, 392, 1758, 628, 2492, 1656, 281, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 444, 14667, 424, 5744, 1887, 12, 2867, 1758, 67, 16, 1426, 2982, 13, 3903, 1338, 5541, 288, 203, 565, 353, 14667, 424, 5744, 63, 2867, 67, 65, 273, 2982, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, ...
./partial_match/40/0xafEEf07A24Bfe445eBBd3e82642D6ae979B0D87A/sources/contracts/WAGFarm.sol
Update reward variables of the given pool to be up-to-date.
function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.timestamp <= pool.lastRewardTimestamp) { return; } uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (lpSupply == 0) { pool.lastRewardTimestamp = bl...
8,826,511
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 19890, 3152, 434, 326, 864, 2845, 358, 506, 731, 17, 869, 17, 712, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1089, 2864, 12, 11890, 5034, 389, 6610, 13, 1071, 288, 203, 3639, 8828, 966, 2502, 2845, 273, 2845, 966, 63, 67, 6610, 15533, 203, 3639, 309, 261, 2629, 18, 5508, 1648, 2845, 18, 2722, 17631, 1060, 4921, 13, 288, 203, ...
./partial_match/8453/0x4e30112363A4a047002E93FAf1ee99b30DeDA666/sources/contracts/zCloakSBT.sol
* @notice Used to set the key ralation stored on chain. Eth => assertionMethod/prettier-ignore
function setAssertionMethod(address assertionMethod) public payable { if (_assertionMethodMapping[msg.sender] != address(0)) { revert AlreadySetKey(); } _assertionMethodMapping[msg.sender] = assertionMethod; emit AssertionMethodAdd(msg.sender, assertionMethod); }
16,737,508
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 10286, 358, 444, 326, 498, 436, 287, 367, 4041, 603, 2687, 18, 512, 451, 516, 11240, 1305, 19, 1484, 748, 2453, 17, 6185, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14979, 1305, 12, 2867, 11240, 1305, 13, 1071, 8843, 429, 288, 203, 3639, 309, 261, 67, 29104, 1305, 3233, 63, 3576, 18, 15330, 65, 480, 1758, 12, 20, 3719, 288, 203, 5411, 15226, 17009, 30267, 5621, 203, 3639, 289,...
/** *Submitted for verification at Etherscan.io on 2022-01-26 */ // Sources flattened with hardhat v2.4.0 https://hardhat.org // File @openzeppelin/contracts/utils/[email protected] // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, includi...
dividend amount so far
uint256 public increasedDividends;
10,821,512
[ 1, 4625, 348, 7953, 560, 30, 225, 31945, 3844, 1427, 10247, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 31383, 7244, 350, 5839, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x0DDe6F6e345bfd23f3F419F0DFe04E93143b44FB/sources/SotaToken.sol
* @dev Constructor function of SotaToken @dev set name, symbol and decimal of token @dev mint totalSupply (cap) to deployer/
) ERC20(name, symbol) ERC20Capped(cap) { _setupDecimals(decimals); _mint(0x077EdcC92337eD87C5D8f975F955A25465a5D950, cap); whiteListTransfer[0x077EdcC92337eD87C5D8f975F955A25465a5D950] = true; }
15,701,245
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11417, 445, 434, 348, 25441, 1345, 632, 5206, 444, 508, 16, 3273, 471, 6970, 434, 1147, 632, 5206, 312, 474, 2078, 3088, 1283, 261, 5909, 13, 358, 7286, 264, 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, 262, 4232, 39, 3462, 12, 529, 16, 3273, 13, 4232, 39, 3462, 4664, 1845, 12, 5909, 13, 288, 203, 3639, 389, 8401, 31809, 12, 31734, 1769, 203, 3639, 389, 81, 474, 12, 20, 92, 20, 4700, 2671, 71, 39, 9975, 3707, 27, 73, ...
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'DogePoo' token contract // // Deployed to : 0x91a405EC43B9b56D75D253F13a3DBBa395BA01E4 // Symbol : DPOO // Name : DogePoo // Total supply: 1000000000000000 // Decimals : 18 // // https://t.me/Dog...
---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Con...
contract DogePoo is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; function DogePoo() public { symbol = "DPOO"; ...
9,982,999
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 13849, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16351, 463, 717, 73, 52, 5161, 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...
//Address: 0xe896236391edf23c2f159219884372472ad0b106 //Contract name: PATTokenSale //Balance: 0 Ether //Verification Date: 3/25/2018 //Transacion Count: 1013 // CODE STARTS HERE /* * Safe Math Smart Contract. Copyright © 2016–2017 by ABDK Consulting. * Author: Mikhail Vladimirov <mikhail.vladimirov@gmail.com> *...
Integer part of log_2
int256 result = (int256 (msb) - 128) << 128;
980,881
[ 1, 4625, 348, 7953, 560, 30, 225, 2144, 1087, 434, 613, 67, 22, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 509, 5034, 563, 273, 261, 474, 5034, 261, 959, 70, 13, 300, 8038, 13, 2296, 8038, 31, 225, 2, -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/0xbc446fA602Ece8A4fD163cD356B598ef1C8aaE4E/sources/src/settled-cash/CrossMarginCashLib.sol
@dev Remove the amount of long call or put held by the account@param account CrossMarginAccount storage that will be updated in-place
function removeOption(CrossMarginAccount storage account, uint256 tokenId, uint64 amount) external { (bool found, Position memory position, uint256 index) = account.longs.find(tokenId); if (!found) revert CM_InvalidToken(); uint64 newLongAmount = position.amount - amount; if (newLo...
4,192,616
[ 1, 4625, 348, 7953, 560, 30, 632, 5206, 3581, 326, 3844, 434, 1525, 745, 578, 1378, 15770, 635, 326, 2236, 36, 891, 2236, 19742, 9524, 3032, 2502, 716, 903, 506, 3526, 316, 17, 964, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1206, 1895, 12, 13941, 9524, 3032, 2502, 2236, 16, 2254, 5034, 1147, 548, 16, 2254, 1105, 3844, 13, 3903, 288, 203, 3639, 261, 6430, 1392, 16, 11010, 3778, 1754, 16, 2254, 5034, 770, 13, 273, 2236, 18, 80, 7260, 18, 4...
/** *Submitted for verification at Etherscan.io on 2021-06-25 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() externa...
* @dev Check if the contract ownership is expired. @return True if the contract ownership is expired./
function isOwnershipExpired() public view returns (bool) { return block.timestamp > getOwnershipExpiryTimestamp(); }
2,134,333
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2073, 309, 326, 6835, 23178, 353, 7708, 18, 632, 2463, 1053, 309, 326, 6835, 23178, 353, 7708, 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,...
[ 1, 1, 1, 1, 1, 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, 353, 5460, 12565, 10556, 1435, 1071, 1476, 1135, 261, 6430, 13, 288, 203, 4202, 327, 1203, 18, 5508, 405, 336, 5460, 12565, 14633, 4921, 5621, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x6edD07B0B8e8C025072dEf2925D7E7a9ff7350cE/sources/powersurge/powersurgenft.sol
* @dev disable presale minting/
function disablePresaleMinting() external onlyOwner { isPresaleMintEnabled = false; }
3,847,522
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4056, 4075, 5349, 312, 474, 310, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4056, 12236, 5349, 49, 474, 310, 1435, 3903, 1338, 5541, 288, 203, 3639, 353, 12236, 5349, 49, 474, 1526, 273, 629, 31, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.11; //Interface import { ITokenERC20 } from "../interfaces/token/ITokenERC20.sol"; // Token import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20BurnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/E...
@dev Resolves 'stack too deep' error in `recoverAddress`.
function _encodeRequest(MintRequest calldata _req) internal pure returns (bytes memory) { return abi.encode( TYPEHASH, _req.to, _req.primarySaleRecipient, _req.quantity, _req.price, _req.currency, ...
409,472
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 26353, 3324, 296, 3772, 4885, 4608, 11, 555, 316, 1375, 266, 3165, 1887, 8338, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 3015, 691, 12, 49, 474, 691, 745, 892, 389, 3658, 13, 2713, 16618, 1135, 261, 3890, 3778, 13, 288, 203, 3639, 327, 203, 5411, 24126, 18, 3015, 12, 203, 7734, 3463, 15920, 16, 203, 7734, 389, 3658, 18, 869, 16, ...
pragma solidity ^0.4.24; interface ERC721TokenReceiver { function onERC721Received(address _operator, address _from, uint256 _tokenId, bytes _data) external returns(bytes4); } contract Astroglyphs { event Generated(uint indexed index, address indexed a, string value); /// @dev This emits when ownershi...
XX000X>..............%0A..................+X0#/............/0#0+............%0A..................X##X..............+X#X+...........%0A.................+##X................./#0>..........%0A.................|##/..................##/..........%0A.................+##/..................##/..........%0A..................X#X...
output="data:text/plain;charset=utf-8,....................................................%0A..........................++>||>++..................%0A.....................+X00XX
5,723,853
[ 1, 4625, 348, 7953, 560, 30, 1139, 60, 3784, 60, 34, 10879, 6265, 838, 9, 20, 37, 18509, 838, 15, 60, 20, 7, 19, 10879, 838, 6216, 20, 7, 20, 15, 10879, 6265, 9, 20, 37, 18509, 838, 60, 1189, 60, 10879, 6265, 838, 15, 60, 7,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 876, 1546, 892, 30, 955, 19, 7446, 31, 9999, 33, 3158, 17, 28, 16, 18509, 18509, 18509, 6265, 9, 20, 37, 18509, 10879, 838, 9904, 34, 20081, 34, 9904, 18509, 838, 9, 20, 37, 18509, 838, 2777, 15, 60, 713, 5619, 2, -100,...
pragma solidity ^0.4.19; /* taking ideas from OpenZeppelin, thanks*/ contract SafeMath { function safeAdd(uint256 x, uint256 y) internal pure returns (uint256) { uint256 z = x + y; assert((z >= x) && (z >= y)); return z; } function safeSub(uint256 x, uint256 y) internal p...
ERC 20 token */ prvent from the ERC20 short address attack
contract StandardToken is Token, SafeMath { mapping(address => uint256) public balances; mapping(address => mapping(address => uint256)) allowed; modifier onlyPayloadSize(uint size) { require(msg.data.length >= size + 4); _; } function transfer(address _to, uint256 _value) public o...
910,210
[ 1, 4625, 348, 7953, 560, 30, 225, 4232, 39, 4200, 1147, 1195, 846, 616, 628, 326, 4232, 39, 3462, 3025, 1758, 13843, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8263, 1345, 353, 3155, 16, 14060, 10477, 288, 203, 565, 2874, 12, 2867, 516, 2254, 5034, 13, 1071, 324, 26488, 31, 203, 565, 2874, 12, 2867, 516, 2874, 12, 2867, 516, 2254, 5034, 3719, 2935, 31, 203, 203, 565, 9606, 1338, ...
./full_match/97/0x7e4F5B85Ffc92601480a78632F3489eBEF9B869f/sources/project_/contracts/Orderbook.sol
* @notice Place buy order./* @notice if has order in sell book, and price >= min sell price/
function placeBuyOrder(uint256 amountOfBaseToken) external { IERC20Upgradeable(baseToken).safeTransferFrom( msg.sender, address(this), amountOfBaseToken ); uint256 mxstToSend = busdToMxst(amountOfBaseToken); uint256 orderId = ++buyCount; b...
3,273,791
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 13022, 30143, 1353, 18, 20308, 632, 20392, 309, 711, 1353, 316, 357, 80, 6978, 16, 471, 6205, 1545, 1131, 357, 80, 6205, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3166, 38, 9835, 2448, 12, 11890, 5034, 3844, 951, 2171, 1345, 13, 3903, 288, 203, 3639, 467, 654, 39, 3462, 10784, 429, 12, 1969, 1345, 2934, 4626, 5912, 1265, 12, 203, 5411, 1234, 18, 15330, 16, 203, 5411, 1758, 12, ...
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; ///////////////////////////////////////////////////////////////////////// // __ ___ __ _ __ ___ __ __ // // / |/ /__ _____/ /_(_)__ ____ / |/ /__ _____/ /_____ / /_ // // / /|_/ / _ `/ __/ __/ / _ `/ _ \ / ...
For Access Control For Price Controller For Token Controller
interface IMartianMarket { function isAuthorized(address contract_, address operator_) external view returns (bool); function getFixedPriceOfItem(address contract_, uint256 index_) external view returns (uint256); function getDefaultTokenOfContract(address contract_) external view returns (...
6,088,251
[ 1, 4625, 348, 7953, 560, 30, 225, 2457, 5016, 8888, 2457, 20137, 6629, 2457, 3155, 6629, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5831, 6246, 485, 2779, 3882, 278, 288, 203, 565, 445, 353, 15341, 12, 2867, 6835, 67, 16, 1758, 3726, 67, 13, 3903, 7010, 565, 1476, 1135, 261, 6430, 1769, 203, 203, 565, 445, 2812, 3960, 5147, 951, 1180, 12, 2867, 6835, 67, 16...
./partial_match/1/0x74911b2B9192c0DA4171C7a7Bb48b02Af9365797/sources/WOLFYINU.sol
* @dev Initializes the contract setting the deployer as the initial owner./
constructor () { address msgSender = _msgSender(); _owner = 0x8807d23d6CD4A32e3a7148104471407Cf780586B; emit OwnershipTransferred(address(0), msgSender); }
4,395,520
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10188, 3128, 326, 6835, 3637, 326, 7286, 264, 487, 326, 2172, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1832, 288, 203, 3639, 1758, 1234, 12021, 273, 389, 3576, 12021, 5621, 203, 3639, 389, 8443, 273, 374, 92, 28, 3672, 27, 72, 4366, 72, 26, 10160, 24, 37, 1578, 73, 23, 69, 27, 25005, 2163, 6334, 27, 3461, 8642, 39, ...
pragma solidity ^0.4.18; // File: contracts\configs\FabricTokenConfig.sol /** * @title FabricTokenConfig * * @dev The static configuration for the Fabric Token. */ contract FabricTokenConfig { // The name of the token. string constant NAME = "Fabric Token"; // The symbol of ...
* @dev Overrides the original ERC20Token implementation by adding whenNotFrozen modifier. @param _to The target address to which the `_value` number of tokens will be sent. @param _value The number of tokens to send. @return Whether the transfer was successful or not./
function transfer(address _to, uint _value) public requireNotFrozen returns (bool success) { return super.transfer(_to, _value); }
12,626,715
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 531, 9857, 326, 2282, 4232, 39, 3462, 1345, 4471, 635, 6534, 1347, 1248, 42, 9808, 9606, 18, 632, 891, 389, 869, 1021, 1018, 1758, 358, 1492, 326, 1375, 67, 1132, 68, 1300, 434, 2430, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 7412, 12, 2867, 389, 869, 16, 2254, 389, 1132, 13, 1071, 2583, 1248, 42, 9808, 1135, 261, 6430, 2216, 13, 288, 203, 203, 3639, 327, 2240, 18, 13866, 24899, 869, 16, 389, 1132, 1769, 203, 203, 565, 289, 203, 203, 203, ...
/** *Submitted for verification at Etherscan.io on 2021-06-22 */ //SPDX-License-Identifier: UNLICENSED pragma solidity 0.6.12; library SafeMaths { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. */ function add(uint256 a, uint256 b) internal pure returns (ui...
@notice Create a new LPT pool by whitelisting a new ERC20 token. @dev Can only be called by the contract owner @param _allocPoint Governs what percentage of the total LPT rewards this pool and other pools will get @param _tokenContract Address of the staking token being whitelisted @param _withUpdate Set to true for u...
function add(uint256 _allocPoint, IERC20 _tokenContract, bool _withUpdate) public onlyOwner { require(block.number < endBlock, "add: must be before end"); address tokenContractAddress = address(_tokenContract); require(tokenContractAddress != address(0), "add: _tokenConctract must not be zer...
15,449,944
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1788, 279, 394, 511, 1856, 2845, 635, 10734, 310, 279, 394, 4232, 39, 3462, 1147, 18, 632, 5206, 4480, 1338, 506, 2566, 635, 326, 6835, 3410, 632, 891, 389, 9853, 2148, 611, 1643, 2387, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 527, 12, 11890, 5034, 389, 9853, 2148, 16, 467, 654, 39, 3462, 389, 2316, 8924, 16, 1426, 389, 1918, 1891, 13, 1071, 1338, 5541, 288, 203, 3639, 2583, 12, 2629, 18, 2696, 411, 679, 1768, 16, 315, 1289, 30, 1297, 506, ...
./full_match/44787/0x0913Ee6847C6225C836431B8bDC16172fb2a52Df/sources/home/boyd/git/keyko/celo-ubi-contract/contracts/UBIController.sol
* @notice Retrieves the authorized balance of a UBI beneficiary @param _userId user identifier @return uint256 authorized balance/
function authBalanceOfUBIBeneficiary(bytes32 _userId) public view returns (uint256) { address ubiBeneficiaryAddress = ubiBeneficiaries.get(uint256(_userId)); IUBIBeneficiary user = IUBIBeneficiary(ubiBeneficiaryAddress); return user.authorizationBalance(); }
13,241,502
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 20507, 326, 10799, 11013, 434, 279, 587, 31558, 27641, 74, 14463, 814, 632, 891, 389, 18991, 729, 2756, 632, 2463, 2254, 5034, 10799, 11013, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 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, 1357, 13937, 951, 3457, 13450, 4009, 74, 14463, 814, 12, 3890, 1578, 389, 18991, 13, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 1758, 13910, 17632, 4009, 74, 14463, 814, 1887, 273, 13910, 17632, 4009, 74, 144...
./full_match/5/0x30F9AedcCfE7D6D41e4B94EDa3edc96d860297Ef/sources/contracts/extension/DropSinglePhase.sol
//*/ @dev The active conditions for claiming tokens. @dev The ID for the active claim condition.//*/* @dev Map from a claim condition uid and account to supply claimed by account./ @dev Map of the number of NFTs claimed for free my account.//*/ @dev Lets an account claim tokens. Update contract state. If there's a pri...
) public payable virtual override { _beforeClaim(_receiver,_quantity,_currency, _pricePerToken,_allowlistProof, ""); bytes32 activeConditionId = conditionId; bool isActiveOverride; uint256 claimLimit; ( ,isActiveOverride, claimLimit) = verifyClaim( _dropMsgSen...
1,940,485
[ 1, 4625, 348, 7953, 560, 30, 368, 5549, 632, 5206, 1021, 2695, 4636, 364, 7516, 310, 2430, 18, 632, 5206, 1021, 1599, 364, 326, 2695, 7516, 2269, 18, 759, 5549, 14, 225, 632, 5206, 1635, 628, 279, 7516, 2269, 4555, 471, 2236, 358, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 262, 1071, 8843, 429, 5024, 3849, 288, 203, 203, 3639, 389, 5771, 9762, 24899, 24454, 16, 67, 16172, 16, 67, 7095, 16, 389, 8694, 2173, 1345, 16, 67, 5965, 1098, 20439, 16, 1408, 1769, 203, 203, 3639, 1731, 1578, 2695, 3418,...
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; pragma experimental ABIEncoderV2; import "./interfaces/ILockManager.sol"; import "./lib/SafeMath.sol"; import "./lib/SafeERC20.sol"; import "./lib/ReentrancyGuard.sol"; /** * @title MasterYak * @dev Controls rewards distribution for network */ contract Master...
* @notice Safe reward transfer function, just in case if rounding error causes pool to not have enough reward token. @param to account that is receiving rewards @param amount amount of rewards to send/
function _safeRewardsTransfer(address payable to, uint256 amount) internal { uint256 rewardTokenBalance = address(this).balance; if (amount > rewardTokenBalance) { to.transfer(rewardTokenBalance); to.transfer(amount); } }
1,818,772
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 14060, 19890, 7412, 445, 16, 2537, 316, 648, 309, 13885, 555, 14119, 2845, 358, 486, 1240, 7304, 19890, 1147, 18, 632, 891, 358, 2236, 716, 353, 15847, 283, 6397, 632, 891, 3844, 3844, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 4626, 17631, 14727, 5912, 12, 2867, 8843, 429, 358, 16, 2254, 5034, 3844, 13, 2713, 288, 203, 3639, 2254, 5034, 19890, 1345, 13937, 273, 1758, 12, 2211, 2934, 12296, 31, 203, 3639, 309, 261, 8949, 405, 19890, 1345, ...
./full_match/42/0x5503CDeab2fe4b67CE2Ec8Ec73d200B24189C808/sources/uniswap-solidity-example/flatten/Flattened.sol
File: contracts\DoBasis.sol
contract DoBasis is AccessControl { IUniswapV2Router02 public uniswapRouter; IERC20 public wethToken; IERC20 public daiToken; IERC20 public basToken; IERC20 public bacToken; IBoardroom public boardRoom; address public wethAddress; address public daiAddress; address public basAddress;...
16,233,418
[ 1, 4625, 348, 7953, 560, 30, 225, 1387, 30, 20092, 64, 3244, 11494, 291, 18, 18281, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2256, 11494, 291, 353, 24349, 288, 203, 565, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 1071, 640, 291, 91, 438, 8259, 31, 203, 565, 467, 654, 39, 3462, 1071, 341, 546, 1345, 31, 203, 565, 467, 654, 39, 3462, 1071, 52...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "./L1_Bridge.sol"; /** * @dev A L1_Bridge that uses an ETH as the canonical token */ contract L1_ETH_Bridge is L1_Bridge { constructor (address[] memory bonders, address _governance) public L1_Bridge(bonders, _gov...
* @dev Get the hash that represents an individual Transfer. @param chainId The id of the destination chain @param recipient The address receiving the Transfer @param amount The amount being transferred including the `_bonderFee` @param transferNonce Used to avoid transferId collisions @param bonderFee The amount paid t...
function getTransferId( uint256 chainId, address recipient, uint256 amount, bytes32 transferNonce, uint256 bonderFee, uint256 amountOutMin, uint256 deadline ) public pure returns (bytes32) { return keccak256(abi.encode( ...
580,463
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 968, 326, 1651, 716, 8686, 392, 7327, 12279, 18, 632, 891, 2687, 548, 1021, 612, 434, 326, 2929, 2687, 632, 891, 8027, 1021, 1758, 15847, 326, 12279, 632, 891, 3844, 1021, 3844, 3832, 906...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 336, 5912, 548, 12, 203, 3639, 2254, 5034, 2687, 548, 16, 203, 3639, 1758, 8027, 16, 203, 3639, 2254, 5034, 3844, 16, 203, 3639, 1731, 1578, 7412, 13611, 16, 203, 3639, 2254, 5034, 324, 265, 765, 14667, 16, 203, 3639, ...
pragma solidity ^0.5.0; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v2.5.0/contracts/drafts/Counters.sol"; import "./ICryptoRight.sol"; contract CryptoRight is ICryptoRight { using Counters for Counters.Counter; Counters.Counter copyright_ids; struct Work { addre...
Re-maps a given copyright_id to the 0x0000000000000000000000000000000000000000
function renounceCopyrightOwnership(uint copyright_id) public onlyCopyrightOwner(copyright_id) { transferCopyrightOwnership(copyright_id, address(0)); emit OpenSource(copyright_id, copyrights[copyright_id].uri); }
1,785,884
[ 1, 4625, 348, 7953, 560, 30, 225, 868, 17, 10711, 279, 864, 22245, 67, 350, 358, 326, 374, 92, 12648, 12648, 12648, 12648, 12648, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1654, 8386, 2951, 4083, 5460, 12565, 12, 11890, 22245, 67, 350, 13, 1071, 1338, 2951, 4083, 5541, 12, 29187, 67, 350, 13, 288, 203, 3639, 7412, 2951, 4083, 5460, 12565, 12, 29187, 67, 350, 16, 1758, 12, 20, 10019, 203, ...