file_name
stringlengths
71
779k
comments
stringlengths
20
182k
code_string
stringlengths
20
36.9M
__index_level_0__
int64
0
17.2M
input_ids
list
attention_mask
list
labels
list
./partial_match/97/0x052D64ECD1C8c30DDb7D91fa86b45de0CE86a9e1/sources/Comptroller.sol
* @notice Validates repayBorrow and reverts on rejection. May emit logs. @param vToken Asset being repaid @param payer The address repaying the borrow @param borrower The address of the borrower @param repayAmount The amount of underlying being repaid/ Shh - currently unused Shh - we don't ever want this hook to be mar...
function repayBorrowVerify( address vToken, address payer, address borrower, uint repayAmount, uint borrowerIndex) external { vToken; payer; borrower; repayAmount; borrowerIndex; if (false) { maxAssets = maxAssets; ...
11,472,231
[ 1, 9594, 2071, 528, 38, 15318, 471, 15226, 87, 603, 283, 3710, 18, 16734, 3626, 5963, 18, 225, 331, 1345, 10494, 3832, 2071, 20736, 225, 293, 1773, 1021, 1758, 2071, 528, 310, 326, 29759, 225, 29759, 264, 1021, 1758, 434, 326, 29759, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2071, 528, 38, 15318, 8097, 12, 203, 3639, 1758, 331, 1345, 16, 203, 3639, 1758, 293, 1773, 16, 203, 3639, 1758, 29759, 264, 16, 203, 3639, 2254, 2071, 528, 6275, 16, 203, 3639, 2254, 29759, 264, 1016, 13, 3903, 288, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev samples of imports using brownie and npm style (useful for remix) * Khronus utilizes brownie as its development framework so all imports in sample contracts, test and auxiliary scripts keep Brownie-eth convensions. * Brownie style import * ...
Get a day Timestamp from a full date object expressed as an array of 3 integers Year, Month, Day, to make it a Unix Timestamp multiply by number of seconds in day or solidity (1 days)
function getDateObjectShort(uint _timestampDays, uint _direction) external pure returns (uint[3] memory _result) { _result = KhronusTimeCog.getDateObjectShort(_timestampDays, _direction); }
14,102,448
[ 1, 967, 279, 2548, 8159, 628, 279, 1983, 1509, 733, 26863, 487, 392, 526, 434, 890, 12321, 16666, 16, 10337, 16, 13735, 16, 358, 1221, 518, 279, 9480, 8159, 10194, 635, 1300, 434, 3974, 316, 2548, 578, 18035, 560, 261, 21, 4681, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 10713, 921, 4897, 12, 11890, 389, 5508, 9384, 16, 2254, 389, 9855, 13, 3903, 16618, 1135, 261, 11890, 63, 23, 65, 3778, 389, 2088, 13, 288, 203, 3639, 389, 2088, 273, 1475, 76, 1949, 407, 950, 39, 717, 18, 588, 1626, ...
./partial_match/1/0xcc3C54B95f3f1867A43009B80ed4DD930E3cE2F7/sources/lib/solidity-utils/src/contracts/create3/Create3Factory.sol
@inheritdoc ICreate3Factory hash salt with the deployer address to give each deployer its own namespace
function predictAddress( address deployer, bytes32 salt ) external view returns (address) { salt = keccak256(abi.encodePacked(deployer, salt)); return Create3.addressOf(salt); }
2,800,839
[ 1, 36, 10093, 202, 45, 1684, 23, 1733, 1651, 4286, 598, 326, 7286, 264, 1758, 358, 8492, 1517, 7286, 264, 2097, 4953, 1981, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 445, 7810, 1887, 12, 203, 565, 1758, 7286, 264, 16, 203, 565, 1731, 1578, 4286, 203, 225, 262, 3903, 1476, 1135, 261, 2867, 13, 288, 203, 565, 4286, 273, 417, 24410, 581, 5034, 12, 21457, 18, 3015, 4420, 329, 12, 12411, 26...
./full_match/42/0xEe627d343015DDffAdd5b33FFE84F70Ed5d064B8/sources/Vibra.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./
constructor (string memory, string memory) { _name = "TESTING"; _symbol = "TTC"; _totalSupply = 270000000 * 10**18; _balances[msg.sender] = _totalSupply; }
16,284,729
[ 1, 2785, 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, 4826, 2795, 434, 4259, 924, 854, 11732, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 377, 3885, 261, 1080, 3778, 16, 533, 3778, 13, 288, 203, 3639, 389, 529, 273, 315, 16961, 1360, 14432, 203, 3639, 389, 7175, 273, 315, 1470, 39, 14432, 7010, 3639, 389, 4963, 3088, 1283, 273, 12732, 17877, 380, 1728, 636, 2643, 3...
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.6.12; interface IERC20 { function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Mov...
this method is responsible for taking all fee, if takeFee is true
function _tokenTransfer(address sender, address recipient, uint256 amount,bool takeFee) private { if(!takeFee) removeAllFee(); _transferStandard(sender, recipient, amount); if (!_isExcludedFromFee[recipient] && (recipient != uniswapV2Pair)) require(balanceOf(recipient) < _maxWalletHolding, "...
5,856,275
[ 1, 2211, 707, 353, 14549, 364, 13763, 777, 14036, 16, 309, 4862, 14667, 353, 638, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2316, 5912, 12, 2867, 5793, 16, 1758, 8027, 16, 2254, 5034, 3844, 16, 6430, 4862, 14667, 13, 3238, 288, 203, 3639, 309, 12, 5, 22188, 14667, 13, 12787, 14667, 5621, 203, 3639, 389, 13866, 8336, 12, 15330, 16, 8027,...
./partial_match/1/0xe12cB2D1cFB370A245A2A34DE3dbC845C341bD92/sources/RoosCoin.sol
Addresses excluded from receiving rewards
mapping(address => bool) private _excludedFromRewards;
2,862,959
[ 1, 7148, 8845, 628, 15847, 283, 6397, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 2867, 516, 1426, 13, 3238, 389, 24602, 1265, 17631, 14727, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity 0.5.7; pragma experimental ABIEncoderV2; import "./Ownable.sol"; import "./SafeMath.sol"; /** * @dev Contract module which provides an authorisation control mechanism, where * there is an 'owner' that can grant access to a specific 'reader'. * The 'reader' can request access to an 'owner'. */ con...
* @dev Check authorisation of the '_reader' for the '_owner'./
function isAuthorised(address _owner, address _reader) public view returns (bool) { return _isAuthorised(_owner, _reader); }
6,394,164
[ 1, 1564, 2869, 10742, 434, 326, 2070, 10530, 11, 364, 326, 2070, 8443, 10332, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3594, 5918, 12, 2867, 389, 8443, 16, 1758, 389, 10530, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 327, 389, 291, 3594, 5918, 24899, 8443, 16, 389, 10530, 1769, ...
pragma solidity ^0.7.0; pragma experimental ABIEncoderV2; import "../library/LibSafeMath.sol"; import "../ERC1155Mintable.sol"; import "../mixin/MixinOwnable.sol"; import "../mixin/MixinPausable.sol"; import "../HashRegistry.sol"; contract SagaHistoricMinter is Ownable, MixinPausable { using LibSafeMath for uint256...
@dev Returns true if input is a non-fungible token A base type has the NF bit but does has an index.
function isNonFungibleItem(uint256 id) public pure returns(bool) { return (id & TYPE_NF_BIT == TYPE_NF_BIT) && (id & NF_INDEX_MASK != 0); }
63,671
[ 1, 1356, 638, 309, 810, 353, 279, 1661, 17, 12125, 75, 1523, 1147, 432, 1026, 618, 711, 326, 423, 42, 2831, 1496, 1552, 711, 392, 770, 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, ...
[ 1, 1, 1, 1, 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, 353, 3989, 42, 20651, 1523, 1180, 12, 11890, 5034, 612, 13, 1071, 16618, 1135, 12, 6430, 13, 288, 203, 3639, 327, 261, 350, 473, 3463, 67, 26473, 67, 15650, 422, 3463, 67, 26473, 67, 15650, 13, 597, 261, 350, 473, 423...
// SPDX-License-Identifier: agpl-3.0 pragma solidity 0.7.5; pragma abicoder v2; import './TimelockExecutorBase.sol'; contract ArcTimelock is TimelockExecutorBase { address private _ethereumGovernanceExecutor; event EthereumGovernanceExecutorUpdate( address previousEthereumGovernanceExecutor, address newE...
@inheritdoc ITimelockExecutor
function getMaximumDelay() external view override returns (uint256) { return _maximumDelay; }
148,736
[ 1, 36, 10093, 467, 10178, 292, 975, 6325, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 25194, 6763, 1435, 3903, 1476, 3849, 1135, 261, 11890, 5034, 13, 288, 203, 565, 327, 389, 15724, 6763, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.0; // taken from https://medium.com/coinmonks/math-in-solidity-part-3-percents-and-proportions-4db014e080b1 // license is CC-BY-4.0 library FullMath { function fullMul(uint256 x, uint256 y) internal pure returns (uint256 l, uint256 h) { uint...
taken from https:medium.com/coinmonks/math-in-solidity-part-3-percents-and-proportions-4db014e080b1 license is CC-BY-4.0
library FullMath { pragma solidity ^0.8.0; function fullMul(uint256 x, uint256 y) internal pure returns (uint256 l, uint256 h) { uint256 mm = mulmod(x, y, 2**256 - 1); l = x * y; h = mm - l; if (mm < l) h -= 1; } function fullDiv(uint256 l, uint256 h, uint256 d) private pure...
14,107,130
[ 1, 29113, 628, 2333, 30, 19011, 18, 832, 19, 12645, 2586, 7904, 19, 15949, 17, 267, 17, 30205, 560, 17, 2680, 17, 23, 17, 8849, 87, 17, 464, 17, 685, 655, 1115, 17, 24, 1966, 1611, 24, 73, 20, 3672, 70, 21, 8630, 353, 16525, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12083, 11692, 10477, 288, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 20, 31, 203, 565, 445, 1983, 27860, 12, 11890, 5034, 619, 16, 2254, 5034, 677, 13, 2713, 16618, 1135, 261, 11890, 5034, 328, 16, 2254, 5034, 366, 13, 2...
/** *Submitted for verification at Etherscan.io on 2020-11-05 */ /* website: bns.finance This project is freshly written to change the way ICO is done. BBBBBBBBBBBBBBBBB NNNNNNNN NNNNNNNN SSSSSSSSSSSSSSS DDDDDDDDDDDDD EEEEEEEEEEEEEEEEEEEEEEFFFFFFFFFFFFFFFFFFFFFFIIIIIIIIII B:::::::::...
To store list of all reserve addresses for a sale
mapping (uint256 => address[]) public listReserveAddresses;
1,045,255
[ 1, 774, 1707, 666, 434, 777, 20501, 6138, 364, 279, 272, 5349, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2874, 261, 11890, 5034, 516, 225, 1758, 63, 5717, 1071, 666, 607, 6527, 7148, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
/* _____ ____ _____ ______ _______ ____ _____ ______ _____ ____|\ \ ____|\ \ ___|\ \ | \/ \ | ||\ \ |\ \ ___|\ \ | | ...
stake visibility is public as overriding LPTokenWrapper's stake() function
function stake(uint256 amount) public updateReward(msg.sender) checkhalve checkStart{ require(amount > 0, "Cannot stake 0"); super.stake(amount); emit Staked(msg.sender, amount); }
491,785
[ 1, 334, 911, 9478, 353, 1071, 487, 19488, 511, 52, 1345, 3611, 1807, 384, 911, 1435, 445, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 384, 911, 12, 11890, 5034, 3844, 13, 1071, 1089, 17631, 1060, 12, 3576, 18, 15330, 13, 866, 22314, 537, 866, 1685, 95, 203, 3639, 2583, 12, 8949, 405, 374, 16, 315, 4515, 384, 911, 374, 8863, 203, 3639, 2240, 18, 334,...
./full_match/1/0xd920556b0f3522bB1257923292A256F1e3023e07/sources/TokenWrapper.sol
* @dev Returns total amount of staked tokens/
{ return _totalStaked; }
9,746,345
[ 1, 1356, 2078, 3844, 434, 384, 9477, 2430, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 288, 203, 3639, 327, 389, 4963, 510, 9477, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: agpl-3.0 pragma solidity 0.6.12; import "./PodPut.sol"; import "../interfaces/IWETH.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "../lib/Conversion.sol"; /** * @title WPodPut * @author Pods Finance * * @notice Represents a tokenized Put option series for ETH. Inter...
* @dev Modifier with the conditions to be able to withdraw based on exerciseType./
modifier withdrawWindow() { require(_isWithdrawWindow(), "PodOption: option has not expired yet"); _; }
527,992
[ 1, 9829, 598, 326, 4636, 358, 506, 7752, 358, 598, 9446, 2511, 603, 24165, 559, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 598, 9446, 3829, 1435, 288, 203, 3639, 2583, 24899, 291, 1190, 9446, 3829, 9334, 315, 5800, 1895, 30, 1456, 711, 486, 7708, 4671, 8863, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100...
pragma solidity ^0.4.13; /** * Overflow aware uint math functions. * * Inspired by https://github.com/MakerDAO/maker-otc/blob/master/contracts/simple_market.sol */ contract SafeMath { //internals function safeMul(uint a, uint b) internal returns (uint) { uint c = a * b; require...
USD raised during days 3-10
uint public raiseDay3 = 0;
1,809,755
[ 1, 3378, 40, 11531, 4982, 4681, 890, 17, 2163, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 1071, 1002, 4245, 23, 273, 374, 31, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.4.23; contract DSAuthority { function canCall( address src, address dst, bytes4 sig ) public view returns (bool); } contract DSAuthEvents { event LogSetAuthority (address indexed authority); event LogSetOwner (address indexed owner); } contract DSAuth is DSAuthEvents { ...
uint never less than 0. The negative number will become to a big positive number
function approve(address guy, uint value) public stoppable returns (bool) { require(value < supply); approvals[msg.sender][guy] = value; emit Approval(msg.sender, guy, value); return true; }
7,847,244
[ 1, 11890, 5903, 5242, 2353, 374, 18, 1021, 6092, 1300, 903, 12561, 358, 279, 5446, 6895, 1300, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6617, 537, 12, 2867, 3058, 93, 16, 2254, 460, 13, 1071, 2132, 19586, 1135, 261, 6430, 13, 288, 203, 3639, 2583, 12, 1132, 411, 14467, 1769, 203, 203, 3639, 6617, 4524, 63, 3576, 18, 15330, 6362, 6891, 93, 65, 273, 460...
./partial_match/1/0xc8024fB5C7beD98CcE0e498E54B7D89816B3521B/sources/GenesisLiquidityPool.sol
@dev Apply the change in the GEX oracle address proposed using the requestAddressChange() function. This function can only be called 30 days after the request of the change.
function applyOracleChange() external onlyOwner { changeRequests[address(oracleGeminon)].changeRequested = false; oracleGeminon = IGeminonOracle(changeRequests[address(oracleGeminon)].newAddressRequested); oracleAge = uint64(block.timestamp); }
3,668,724
[ 1, 7001, 326, 2549, 316, 326, 611, 2294, 20865, 1758, 20084, 1450, 326, 590, 1887, 3043, 1435, 445, 18, 1220, 445, 848, 1338, 506, 2566, 5196, 4681, 1839, 326, 590, 434, 326, 2549, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2230, 23601, 3043, 1435, 3903, 1338, 5541, 288, 203, 203, 3639, 2549, 6421, 63, 2867, 12, 280, 16066, 43, 351, 267, 265, 13, 8009, 3427, 11244, 273, 629, 31, 203, 3639, 20865, 43, 351, 267, 265, 273, 13102, 351, 267, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./interfaces/IGatewayTokenController.sol"; import "./interfaces/IFlagsStorage.sol"; import "./library/BitMask.sol"; /** * @dev FlagsSto...
* @dev Triggers to transfer ownership of this contract to new DAO Controller, reverts on zero address and wallet addresses @param _newDAOController New DAO Controller contract address @notice Only executed by existing DAO Manager/
function updateDAOManager(address _newDAOController) onlyDAOController public override { require(_newDAOController != address(0), "NEW DAO CONTROLLER IS ZERO ADDRESS"); require(_newDAOController.isContract(), "NEW DAO CONTROLLER IS NOT A CONTRACT"); emit DAOControllerUpdated(daoController, ...
6,458,344
[ 1, 15114, 358, 7412, 23178, 434, 333, 6835, 358, 394, 463, 20463, 6629, 16, 15226, 87, 603, 3634, 1758, 471, 9230, 6138, 225, 389, 2704, 18485, 2933, 1166, 463, 20463, 6629, 6835, 1758, 225, 5098, 7120, 635, 2062, 463, 20463, 8558, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1089, 18485, 1318, 12, 2867, 389, 2704, 18485, 2933, 13, 1338, 18485, 2933, 1071, 3849, 288, 203, 3639, 2583, 24899, 2704, 18485, 2933, 480, 1758, 12, 20, 3631, 315, 12917, 463, 20463, 8020, 25353, 4437, 18449, 11689, 10203...
/** *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...
* @dev Redeems tokens for the underlying asset. @param operator address operator requesting the operation @param from address token holder address @param amount uint256 amount of tokens to redeem @param data bytes extra information provided by the token holder @param operatorData bytes extra information provided by the...
function _redeem( address operator, address from, uint256 amount, bytes memory data, bytes memory operatorData ) private { require(from != address(0), "PoolToken/from-zero"); _callTokensToSend(operator, from, address(0), amount, data, operatorData); _pool.wi...
8,015,357
[ 1, 426, 323, 7424, 2430, 364, 326, 6808, 3310, 18, 225, 3726, 1758, 3726, 18709, 326, 1674, 225, 628, 1758, 1147, 10438, 1758, 225, 3844, 2254, 5034, 3844, 434, 2430, 358, 283, 24903, 225, 501, 1731, 2870, 1779, 2112, 635, 326, 1147, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 266, 24903, 12, 203, 1377, 1758, 3726, 16, 203, 1377, 1758, 628, 16, 203, 1377, 2254, 5034, 3844, 16, 203, 1377, 1731, 3778, 501, 16, 203, 1377, 1731, 3778, 3726, 751, 203, 225, 262, 203, 1377, 3238, 203, 225, 28...
./full_match/1149/0x8A270C025F4350ae59E9878910063f45f1F403Fa/sources/Projects/Plex-F/TokenLogic/contracts/OwnableUpgradable.sol
* @dev Initializes the contract setting the deployer as the initial owner./
function _Ownable_init () internal { _transferOwnership(_msgSender()); }
4,664,602
[ 1, 9685, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 5460, 429, 67, 2738, 1832, 2713, 288, 203, 202, 67, 13866, 5460, 12565, 24899, 3576, 12021, 10663, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./partial_match/1/0xfD6E4978ECf03fc98bB7bDAB75ecE0F9b57ddC6B/sources/PutinKaput.sol
* @dev Throws if called by any account other than the owner./
modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; }
3,883,853
[ 1, 21845, 309, 2566, 635, 1281, 2236, 1308, 2353, 326, 3410, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1377, 9606, 1338, 5541, 1435, 288, 203, 1850, 2583, 24899, 8443, 422, 389, 3576, 12021, 9334, 315, 5460, 429, 30, 4894, 353, 486, 326, 3410, 8863, 203, 1850, 389, 31, 203, 1377, 289, 203, 21281, 2, -100, -100, -100, -100, -100, -...
pragma solidity ^0.5.0; import "./BackedToken.sol"; import "openzeppelin-solidity/contracts/math/SafeMath.sol"; /** * @title BackingContract * @author Rosco Kalis <roscokalis@gmail.com> */ contract BackingContract { using SafeMath for uint256; BackedToken public backedToken; uint256 public balanceForB...
* @notice Sets the backed token and backs it. @param backedTokenAddress The address of the deployed backed token./
constructor(address payable backedTokenAddress) public { backedToken = BackedToken(backedTokenAddress); backedToken.back(address(this)); }
12,948,904
[ 1, 2785, 326, 20732, 1147, 471, 1473, 87, 518, 18, 225, 20732, 1345, 1887, 1021, 1758, 434, 326, 19357, 20732, 1147, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 12, 2867, 8843, 429, 20732, 1345, 1887, 13, 1071, 288, 203, 3639, 20732, 1345, 273, 4297, 329, 1345, 12, 823, 329, 1345, 1887, 1769, 203, 3639, 20732, 1345, 18, 823, 12, 2867, 12, 2211, 10019, 203, 565, 289, 203, 203, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./uniswapv2/interfaces/IUniswapV2ERC20.sol"; import "./uniswapv2/interfaces/IUniswapV...
Convert the rest to the original tokens
pair.transfer(address(pair), pairBalance);
13,019,140
[ 1, 2723, 326, 3127, 358, 326, 2282, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3082, 18, 13866, 12, 2867, 12, 6017, 3631, 3082, 13937, 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, ...
// SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.9; import { FixedPoint128 } from '@uniswap/v3-core-0.8-support/contracts/libraries/FixedPoint128.sol'; import { SafeCast } from '@uniswap/v3-core-0.8-support/contracts/libraries/SafeCast.sol'; import { FullMath } from '@uniswap/v3-core-0.8-support/contracts/li...
@notice swaps tokens (Long and Short) with input in token amount / vQuote amount @param set VTokenPositionSet @param poolId id of the rage trade pool @param swapParams parameters for swap @param wrapper VPoolWrapper to override the set wrapper @param protocol platform constants @return vTokenAmountOut - token amount c...
function swapToken( VTokenPosition.Set storage set, uint256 accountId, uint32 poolId, IClearingHouseStructures.SwapParams memory swapParams, IVPoolWrapper wrapper, Protocol.Info storage protocol ) internal returns (int256 vTokenAmountOut, int256 vQuoteAmountOut) {...
14,079,356
[ 1, 5328, 6679, 2430, 261, 3708, 471, 7925, 13, 598, 810, 316, 1147, 3844, 342, 331, 10257, 3844, 225, 444, 776, 1345, 2555, 694, 225, 2845, 548, 612, 434, 326, 436, 410, 18542, 2845, 225, 7720, 1370, 1472, 364, 7720, 225, 4053, 776,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7720, 1345, 12, 203, 3639, 776, 1345, 2555, 18, 694, 2502, 444, 16, 203, 3639, 2254, 5034, 17398, 16, 203, 3639, 2254, 1578, 2845, 548, 16, 203, 3639, 467, 4756, 5968, 44, 3793, 3823, 1823, 18, 12521, 1370, 3778, 7720, ...
pragma solidity >=0.4.22 <0.7.0; contract CReg { // Contract creator address i.e the commissioner address commissioner; // Candidate information. This contains the name, mobile, nid, // partyId(which contains all the party information) and the votes he/she gains. struct Candidate { ...
Get all the candidates
function getCandidates() public view returns(bytes20[] memory) { return nids; }
14,123,610
[ 1, 967, 777, 326, 7965, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1927, 12794, 1435, 1071, 1476, 1135, 12, 3890, 3462, 8526, 3778, 13, 288, 203, 3639, 327, 290, 2232, 31, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./partial_match/1/0x7D0E69c4Dc9463241281Ac8FABA245E1E6fDe53B/sources/SHIB2NFTS.sol
Minting Checks Minting Mint for caller Split cost
function mint(uint256 _mintAmount) public payable { require(!paused, "Minting has not started yet"); require(_mintAmount > 0, "You have to mint at least one"); require( _mintAmount <= maxMintAmount, "You can only mint 10 at a time" ); require( ...
3,599,750
[ 1, 49, 474, 310, 13074, 490, 474, 310, 490, 474, 364, 4894, 5385, 6991, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 312, 474, 12, 11890, 5034, 389, 81, 474, 6275, 13, 1071, 8843, 429, 288, 203, 3639, 2583, 12, 5, 8774, 3668, 16, 315, 49, 474, 310, 711, 486, 5746, 4671, 8863, 203, 3639, 2583, 24899, 81, 474, 6275, 405, 374, 16, 31...
./full_match/80001/0xa46E47fB2847927a695e3110D5a0C88F1860422B/sources/contracts/coinexchange.sol
address public admin_address;
contract CoinExchange is Ownable { mapping(address => bool) public whitelist; event Exchange(address _user, uint256 _amount); address _admin_address pragma solidity ^0.8.9; ) { admin_address = _admin_address; }*/ function inCoins(address coin_contract, uint256 _amount) external {...
860,964
[ 1, 2867, 1071, 3981, 67, 2867, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 28932, 11688, 353, 14223, 6914, 288, 203, 203, 565, 2874, 12, 2867, 516, 1426, 13, 1071, 10734, 31, 203, 203, 565, 871, 18903, 12, 2867, 389, 1355, 16, 2254, 5034, 389, 8949, 1769, 203, 203, 3639, 1758, 389, 3666, 67, 2867...
./full_match/1/0x57eFab8d8b62c890FBC56087D28240fe9549E42B/sources/contracts/BabylonCore.sol
listing ids start from 1st, not 0 collection address -> tokenId -> id of a listing id of a listing -> a listing info id of a listing -> a listing restrictions id of a listing -> participant address -> num of mint passes
contract BabylonCore is Initializable, IBabylonCore, OwnableUpgradeable, ReentrancyGuardUpgradeable { ITokensController internal _tokensController; IRandomProvider internal _randomProvider; IEditionsExtension internal _editionsExtension; string internal _mintPassBaseURI; uint256 internal _lastListin...
16,479,213
[ 1, 21228, 3258, 787, 628, 404, 334, 16, 486, 374, 1849, 1758, 317, 1147, 548, 317, 612, 434, 279, 11591, 612, 434, 279, 11591, 317, 279, 11591, 1123, 612, 434, 279, 11591, 317, 279, 11591, 17499, 612, 434, 279, 11591, 317, 14188, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 605, 24383, 9379, 4670, 353, 10188, 6934, 16, 23450, 24383, 9379, 4670, 16, 14223, 6914, 10784, 429, 16, 868, 8230, 12514, 16709, 10784, 429, 288, 203, 565, 467, 5157, 2933, 2713, 389, 7860, 2933, 31, 203, 565, 467, 8529, 22...
./partial_match/1/0xcFaa739f30a82041664C72569f4eFfC812dadd44/sources/RollToken.sol
Approve the max amount for the Dice Game contract
_approve(user, diceGameAddress, type(uint256).max);
15,498,095
[ 1, 12053, 537, 326, 943, 3844, 364, 326, 463, 1812, 14121, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12908, 537, 12, 1355, 16, 302, 1812, 12496, 1887, 16, 618, 12, 11890, 5034, 2934, 1896, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity >=0.7.0 <0.8.0; pragma experimental ABIEncoderV2; // SPDX-License-Identifier: MIT; contract SupplyChain { uint256 pid = 0; // SRUCTS // Participant Struct struct Participant { string username; string password; string fullname; string role; stri...
productId -> Trace array
mapping(uint256 => Trace[]) productTrace;
12,635,265
[ 1, 5896, 548, 317, 2677, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 11890, 5034, 516, 2677, 63, 5717, 3017, 3448, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ER...
"Caller not minter";
string constant SENDER_MUST_BE_MINTER = "";
6,439,849
[ 1, 6, 11095, 486, 1131, 387, 14432, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 533, 5381, 348, 22457, 67, 49, 5996, 67, 5948, 67, 6236, 2560, 273, 1408, 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, ...
pragma solidity 0.6.6; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@kyber.network/utils-sc/contracts/Utils.sol"; import "../IKyberFeeHandler.sol"; import "../IKyberDao.sol"; import "./WithdrawableNoModifiers.sol"; import "./IKyberNetwo...
new src amounts are used only when all of them aren't greater then current srcAmounts
reservesData.srcAmounts = newSrcAmounts;
5,532,836
[ 1, 2704, 1705, 30980, 854, 1399, 1338, 1347, 777, 434, 2182, 11526, 1404, 6802, 1508, 783, 1705, 6275, 87, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 400, 264, 3324, 751, 18, 4816, 6275, 87, 273, 394, 7740, 6275, 87, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/* Copyright 2020 Freq Set Dollar <freqsetdollar@gmail.com> 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 ap...
all remaining supply to bond
newBondRedeemable = newBondRedeemable > newSupply ? newSupply : newBondRedeemable;
981,007
[ 1, 454, 4463, 14467, 358, 8427, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 10792, 394, 9807, 426, 24903, 429, 273, 394, 9807, 426, 24903, 429, 405, 394, 3088, 1283, 692, 394, 3088, 1283, 294, 394, 9807, 426, 24903, 429, 31, 6647, 2, -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 swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); // To convert ETH to YELD and burn it function s...
Take a portion of the profits for the buy and burn and retirement yeld Convert half the DAI earned into ETH for the protocol algorithms
uint256 stakingProfits = daiToETH(onePercent);
5,949,602
[ 1, 13391, 279, 14769, 434, 326, 9214, 1282, 364, 326, 30143, 471, 18305, 471, 325, 577, 475, 677, 488, 4037, 8816, 326, 463, 18194, 425, 1303, 329, 1368, 512, 2455, 364, 326, 1771, 20032, 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, 1377, 2254, 5034, 384, 6159, 626, 18352, 273, 5248, 77, 774, 1584, 44, 12, 476, 8410, 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,...
./partial_match/1/0x46d81377EDA197f24ea58C636336569216b58D1f/sources/contracts/POPS_teamWallet_shares.sol
Flag the address as a shareholder
isShareholder[newShareholder]=true;
16,033,984
[ 1, 4678, 326, 1758, 487, 279, 7433, 4505, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5411, 353, 9535, 4505, 63, 2704, 9535, 4505, 65, 33, 3767, 31, 4766, 21821, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./partial_match/42220/0xf6b5F7a885CBc57d739aDBEe76E52A70Bc04D795/sources/project_/contracts/token/ERC677.sol
* @dev transfer token to a contract address with additional data if the recipient is a contact. @param _to The address to transfer to. @param _value The amount to be transferred. @param _data The extra data to be passed to the receiving contract. @return true if transfer is successful/
) internal returns (bool) { bool res = transfer(_to, _value); emit Transfer(msg.sender, _to, _value, _data); if (isContract(_to)) { require(contractFallback(_to, _value, _data), "Contract fallback failed"); } return res; }
3,497,443
[ 1, 13866, 1147, 358, 279, 6835, 1758, 598, 3312, 501, 309, 326, 8027, 353, 279, 5388, 18, 225, 389, 869, 1021, 1758, 358, 7412, 358, 18, 225, 389, 1132, 1021, 3844, 358, 506, 906, 4193, 18, 225, 389, 892, 1021, 2870, 501, 358, 506...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 202, 13, 2713, 1135, 261, 6430, 13, 288, 203, 202, 202, 6430, 400, 273, 7412, 24899, 869, 16, 389, 1132, 1769, 203, 202, 202, 18356, 12279, 12, 3576, 18, 15330, 16, 389, 869, 16, 389, 1132, 16, 389, 892, 1769, 203, 203, 202, ...
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.4; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {SafeERC20} from "./libs/SafeERC20.sol"; import { ReentrancyGuardUpgradeable } from "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol"; import {...
we're keeping the withdrawal amount in the money market
withdrawnStablecoinAmount = withdrawAmount;
6,479,273
[ 1, 1814, 4565, 19966, 326, 598, 9446, 287, 3844, 316, 326, 15601, 13667, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5411, 598, 9446, 82, 30915, 12645, 6275, 273, 598, 9446, 6275, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
//SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol"; import "./library/Ownable.sol"; /** * @title dForce's lending StatusOracle Contract * @author dForce */ contract StatusOracle is Ownable { using SafeMathUpgradeable for uint256; ...
@dev Emitted when `pauseTime` is changed.
event SetPauseTime(uint256 oldPauseTime, uint256 newPauseTime);
5,542,052
[ 1, 1514, 11541, 1347, 1375, 19476, 950, 68, 353, 3550, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 871, 1000, 19205, 950, 12, 11890, 5034, 1592, 19205, 950, 16, 2254, 5034, 394, 19205, 950, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
/* .'''''''''''.. ..''''''''''''''''.. ..'''''''''''''''.. .;;;;;;;;;;;'. .';;;;;;;;;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;,. .;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;,. .;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;;;,. .;;;;;;;;;;;;;;;;;;;;,. ';;;;;;;;'. .';;;;;;;;;;;;;;;;;;...
allow pausing of deposits
bool public pauseStatus;
11,985,966
[ 1, 5965, 6790, 9940, 434, 443, 917, 1282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1426, 1071, 11722, 1482, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity ^0.4.24; /** * This utility library was forked from https://github.com/o0ragman0o/LibCLL */ library LinkedListLib { uint256 constant NULL = 0; uint256 constant HEAD = 0; bool constant PREV = false; bool constant NEXT = true; struct LinkedList { mapping (uint256 => mappin...
* @dev Push vendor info to the vendor list @param _name The name of vendor @param _vendor The vendor address @param _direction direction to step in/
function pushVendor(string _name, address _vendor, bool _direction) public onlyOwnerOrAuthorizedContract returns(uint256) { uint256 id = vendorList.push(_direction); vendorIds[_vendor] = id; vendors[id] = Vendor(_name, _vendor, uint256(now), true, LinkedListLib.Link...
1,978,850
[ 1, 7621, 8556, 1123, 358, 326, 8556, 666, 225, 389, 529, 1021, 508, 434, 8556, 225, 389, 10645, 1021, 8556, 1758, 225, 389, 9855, 4068, 358, 2235, 316, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1817, 14786, 12, 1080, 389, 529, 16, 1758, 389, 10645, 16, 1426, 389, 9855, 13, 203, 3639, 1071, 7010, 3639, 1338, 5541, 1162, 15341, 8924, 7010, 3639, 1135, 12, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 612, 273, 85...
./partial_match/1/0xfdc8eCB8B79C400217A2a524AECB2c5E310cE0B4/sources/lib/solady/src/utils/SignatureCheckerLib.sol
@solidity memory-safe-assembly Clean the upper 96 bits of `signer` in case they are dirty. `returndatasize()` will be `0x20` upon success, and `0x00` otherwise.
function isValidSignatureNowCalldata(address signer, bytes32 hash, bytes calldata signature) internal view returns (bool isValid) assembly { let m := mload(0x40) if eq(signature.length, 65) { mstore(m, hash) pop(...
9,225,690
[ 1, 36, 30205, 560, 3778, 17, 4626, 17, 28050, 9645, 326, 3854, 19332, 4125, 434, 1375, 2977, 264, 68, 316, 648, 2898, 854, 9603, 18, 1375, 2463, 13178, 554, 20338, 903, 506, 1375, 20, 92, 3462, 68, 12318, 2216, 16, 471, 1375, 20, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4908, 5374, 8674, 1477, 892, 12, 2867, 10363, 16, 1731, 1578, 1651, 16, 1731, 745, 892, 3372, 13, 203, 3639, 2713, 203, 3639, 1476, 203, 3639, 1135, 261, 6430, 4908, 13, 203, 3639, 19931, 288, 203, 7734, 2231, 312, 519,...
./partial_match/1/0x94c491e298625b1226a89DDA091B3932c59FAbc1/sources/FraxUnifiedFarm_ERC20_Convex_FRAXBP_Volatile.sol
-------------------- COMMON -------------------- -------------------- VARIES -------------------- Convex stkcvxFPIFRAX, stkcvxFRAXBP, etc ICurvefrxETHETHPool public curvePool; Fraxswap IFraxswapPair public stakingToken; Fraxlend IFraxlendPair public stakingToken; G-UNI IGUniPool public stakingToken; mStable IFeederPoo...
contract FraxUnifiedFarm_ERC20 is FraxUnifiedFarmTemplate { bool internal frax_is_token0; IConvexStakingWrapperFrax public stakingToken; I2poolToken public curveToken; I2pool public curvePool; mapping(address => LockedStake[]) public lockedStakes; } struct Locke...
3,975,277
[ 1, 1271, 553, 5423, 17667, 12146, 6062, 12146, 6062, 8350, 8805, 12146, 6062, 18263, 338, 384, 79, 19774, 16275, 1102, 9981, 2501, 16, 384, 79, 19774, 92, 9981, 2501, 30573, 16, 5527, 467, 9423, 4840, 92, 1584, 44, 1584, 2500, 1371, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 478, 354, 92, 984, 939, 42, 4610, 67, 654, 39, 3462, 353, 478, 354, 92, 984, 939, 42, 4610, 2283, 288, 203, 203, 203, 565, 1426, 2713, 284, 354, 92, 67, 291, 67, 2316, 20, 31, 203, 203, 203, 565, 467, 17467, 338, 510...
./full_match/11155111/0xDf01A4040493B514605392620B3a0a05Eb8Cd295/sources/contracts/ExquisiteGraphics.sol
@notice A way to say "Thank You"
function ty(string memory message) external payable { ThankYou._ty(message); }
3,797,340
[ 1, 37, 4031, 358, 12532, 315, 1315, 2304, 4554, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 13806, 12, 1080, 3778, 883, 13, 3903, 8843, 429, 288, 203, 565, 935, 2304, 6225, 6315, 4098, 12, 2150, 1769, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/1/0x46b13E7E8f1aEF156973AE3eD975E738cAFB08C8/sources/contracts/interfaces/IPool.sol
* @notice Pool interface/
interface IPool is IPauseable, IGovernable { function debtFloorInUsd() external view returns (uint256); function depositFee() external view returns (uint256); function issueFee() external view returns (uint256); function withdrawFee() external view returns (uint256); function repayFee() external...
3,134,117
[ 1, 2864, 1560, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 467, 2864, 353, 2971, 1579, 429, 16, 13102, 1643, 6914, 288, 203, 565, 445, 18202, 88, 42, 5807, 382, 3477, 72, 1435, 3903, 1476, 1135, 261, 11890, 5034, 1769, 203, 203, 565, 445, 443, 1724, 14667, 1435, 3903, 1476, 1135, 2...
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155Holder.sol"; import '@openzeppelin/contracts/utils/ReentrancyGuard.sol'; import "./IEulerBeats....
* @dev Function to mint prints from an existing seed. Msg.value must be sufficient. @param seed The NFT id to mint print of @param _owner The current on-chain owner of the seed/ Record initial balance minus msg.value (difference to be refunded to user post-print) Test that seed is valid Verify owner of seed & ensure ro...
function mintPrint(uint256 seed, address payable _owner) public payable nonReentrant returns (uint256) { require(printEnabled, "Printing is disabled"); uint preCallBalance = address(this).balance.sub(msg.value); require(seedToPrintId[seed] > 0, "Seed doe...
7,222,764
[ 1, 2083, 358, 312, 474, 14971, 628, 392, 2062, 5009, 18, 8671, 18, 1132, 1297, 506, 18662, 18, 225, 5009, 1021, 423, 4464, 612, 358, 312, 474, 1172, 434, 225, 389, 8443, 1021, 783, 603, 17, 5639, 3410, 434, 326, 5009, 19, 5059, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 312, 474, 5108, 12, 11890, 5034, 5009, 16, 1758, 8843, 429, 389, 8443, 13, 203, 3639, 1071, 203, 3639, 8843, 429, 203, 3639, 1661, 426, 8230, 970, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 2583, ...
pragma solidity >=0.8.2; // to enable certain compiler features import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract CyberPigs is ERC721, Ownable { using Strings for uint256; //amount of tokens that have been minted so far, in total and in p...
see the total amount of tokens that have been minted
function totalSupply() public view returns (uint256) { return numberOfTotalTokens + tokensBreeded; }
6,113,930
[ 1, 5946, 326, 2078, 3844, 434, 2430, 716, 1240, 2118, 312, 474, 329, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2078, 3088, 1283, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 7922, 5269, 5157, 397, 2430, 38, 992, 785, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity ^0.5.0; //Importing OpenZeppelin's SafeMath Implementation import "./SafeMath.sol"; contract CrowdfundingCampaign { using SafeMath for uint256; address payable public creator; mapping(address => bool) contributors; //bool to check if contributor supported a campaign string public titl...
* @dev Creator creates a withdrawl request to withdrawl funds from raised crowdfund/
function createWithdrawlRequest(string memory withdrawalDescription, uint value, address payable recipient) public isCreator { Withdrawal memory newWithdrawal = Withdrawal ({ description: withdrawalDescription, value: value, recipient: recipient, complete: fal...
12,864,156
[ 1, 10636, 3414, 279, 598, 9446, 80, 590, 358, 598, 9446, 80, 284, 19156, 628, 11531, 276, 492, 2180, 1074, 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, 752, 1190, 9446, 80, 691, 12, 1080, 3778, 598, 9446, 287, 3291, 16, 2254, 460, 16, 1758, 8843, 429, 8027, 13, 1071, 353, 10636, 288, 203, 3639, 3423, 9446, 287, 3778, 394, 1190, 9446, 287, 273, 3423, 9446, 287, 10797, ...
/** ****************************************************************************************************************************************************************************************** $$$$$$$\ $$\ $$\ $...
* @dev check user is ticket buyer in a round? @param _indexNo round's index no @param _addr ticket buyer account @return _result is ticket buyer or not/
function checkTicketBuyerInRd(uint256 _indexNo, address _addr) public view returns(bool _result) { require(checkRdExist(_indexNo)); if(rdTckBuyers[_indexNo][_addr].ticketNum > 0) return true; return false; }
13,123,145
[ 1, 1893, 729, 353, 9322, 27037, 316, 279, 3643, 35, 225, 389, 1615, 2279, 225, 3643, 1807, 770, 1158, 225, 389, 4793, 225, 9322, 27037, 2236, 327, 389, 2088, 225, 353, 9322, 27037, 578, 486, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 866, 13614, 38, 16213, 382, 54, 72, 12, 11890, 5034, 389, 1615, 2279, 16, 1758, 389, 4793, 13, 7010, 225, 1071, 7010, 225, 1476, 7010, 225, 1135, 12, 6430, 389, 2088, 13, 7010, 225, 288, 203, 565, 2583, 12, 1893, 54, ...
pragma solidity 0.5.0; import "./IStorage.sol"; import "./checkingContract.sol"; contract RegistrarMain is checkingContract{ uint256 public registrarFees; uint256 public safleIdFees; address public contractOwner; address payable public walletAddress; bool public storageContractAddress; bool p...
* @dev Update the safleId of a user Can be called only if safleId registration is not paused and storage contract is set This method is payable. @param _userAddress address of a user @param _newSafleId new safleId of the user to update/
function updateSafleId(address _userAddress, string memory _newSafleId) public safleIdChecks(_newSafleId) checkRegistrationStatus checkStorageContractAddress payable { string memory lower = toLower(_newSafleId); walletAddress.transfer(msg.value); require(registrarSto...
1,039,796
[ 1, 1891, 326, 11029, 298, 548, 434, 279, 729, 4480, 506, 2566, 1338, 309, 11029, 298, 548, 7914, 353, 486, 17781, 471, 2502, 6835, 353, 444, 1220, 707, 353, 8843, 429, 18, 225, 389, 1355, 1887, 1758, 434, 279, 729, 225, 389, 2704, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1089, 26946, 298, 548, 12, 2867, 389, 1355, 1887, 16, 533, 3778, 389, 2704, 26946, 298, 548, 13, 203, 565, 1071, 203, 565, 11029, 298, 548, 4081, 24899, 2704, 26946, 298, 548, 13, 203, 565, 866, 7843, 1482, 203, 565, ...
./full_match/1/0xee415688D294C2956B5d5e4220db281DB2cF4076/sources/browser/Arbitrage22.sol
ERC20Interface(tokenAddress).approve(uniExchange, amount);
if (task == 32) { address uniExchange = UniswapFactory(uniFactoryAddress).getExchange(tokenAddress); if(Uniswap(uniExchange).getTokenToEthInputPrice(amount) >= min){ tokenAddress.call(abi.encodeWithSignature("approve(address,uint256)", uniExchange, uint(-1))); ...
3,179,584
[ 1, 654, 39, 3462, 1358, 12, 2316, 1887, 2934, 12908, 537, 12, 318, 77, 11688, 16, 3844, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 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, 309, 261, 4146, 422, 3847, 13, 288, 203, 5411, 1758, 7738, 11688, 273, 1351, 291, 91, 438, 1733, 12, 318, 77, 1733, 1887, 2934, 588, 11688, 12, 2316, 1887, 1769, 203, 5411, 309, 12, 984, 291, 91, 438, 12, 318, 77, 11688, ...
// pragma solidity ^0.4.24; pragma solidity ^0.4.19; //for Ethereum Classic import "./dependencies/SafeMath.sol"; import "./dependencies/Ownable.sol"; import "./dependencies/RLP.sol"; import "./dependencies/BytesLib.sol"; import "./dependencies/ERC721Basic.sol"; import "./dependencies/ERC721BasicToken.sol"; import "./...
TODO: Double check if hash is secure, no chance of collision
function transferFrom( address _from, address _to, uint256 _tokenId, uint256 _declaredNonce ) public { require(isApprovedOrOwner(msg.sender, _tokenId)); require(_from != address(0)); require(_to != address(0)); require(_declaredNonce == transferNonce[_tokenId]); clearAppro...
7,283,675
[ 1, 6241, 30, 3698, 866, 309, 1651, 353, 8177, 16, 1158, 17920, 434, 17740, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7412, 1265, 12, 203, 565, 1758, 389, 2080, 16, 203, 565, 1758, 389, 869, 16, 203, 565, 2254, 5034, 389, 2316, 548, 16, 203, 565, 2254, 5034, 389, 16571, 13611, 203, 225, 262, 203, 565, 1071, 203, 225, 288, 203, 565, ...
./full_match/137/0x4E2D021Dd1b6e8F723aEd274bb05Ebec56aF8FF8/sources/contracts/Reserve/Reserve.sol
* @inheritdoc IReserve/
function initialize(IPrimexDNS _dns, address _registry) external override initializer { _require( IERC165Upgradeable(address(_dns)).supportsInterface(type(IPrimexDNS).interfaceId) && IERC165Upgradeable(_registry).supportsInterface(type(IAccessControl).interfaceId), Er...
4,746,855
[ 1, 36, 10093, 467, 607, 6527, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4046, 12, 45, 2050, 381, 338, 11602, 389, 14926, 16, 1758, 389, 9893, 13, 3903, 3849, 12562, 288, 203, 3639, 389, 6528, 12, 203, 5411, 467, 654, 39, 28275, 10784, 429, 12, 2867, 24899, 14926, 13, 2934, 28064, 1358, 12, ...
// Partial License: MIT pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint2...
should be bigger than 1
uint256 max_players;
12,950,860
[ 1, 13139, 506, 18983, 2353, 404, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 943, 67, 1601, 414, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// SPDX-License-Identifier: MIT pragma solidity =0.7.6; pragma abicoder v2; import "./interfaces.sol"; import "./helpers.sol"; contract Resolver is Helpers { /** * @dev Sort token address * @param _token0: token0 Address * @param _token1: token1 Address */ function sort(address _token0, add...
* @dev Get Last NFT Index @param user: User address/
function getLastNftId(address user) internal view returns (uint256 tokenId) { uint256 len = nftManager.balanceOf(user); tokenId = nftManager.tokenOfOwnerByIndex(user, len - 1); }
480,249
[ 1, 967, 6825, 423, 4464, 3340, 225, 729, 30, 2177, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7595, 50, 1222, 548, 12, 2867, 729, 13, 2713, 1476, 1135, 261, 11890, 5034, 1147, 548, 13, 288, 203, 3639, 2254, 5034, 562, 273, 290, 1222, 1318, 18, 12296, 951, 12, 1355, 1769, 203, 3639, 1147, 548, 273, 290, 1222, 1...
./full_match/100/0x87926e4dCB09bE44B54b9863322c43DfdA98b687/sources/contracts/LSP20CallVerification/LSP20CallVerification.sol
Look for revert reason and bubble it up if present The easiest way to bubble the revert reason is using memory via assembly solhint-disable no-inline-assembly @solidity memory-safe-assembly
function _revert(bool postCall, bytes memory returnedData) internal pure { if (returnedData.length > 0) { assembly { let returndata_size := mload(returnedData) revert(add(32, returnedData), returndata_size) } revert LSP20CallingVerifierFail...
14,285,087
[ 1, 9794, 364, 15226, 3971, 471, 21577, 518, 731, 309, 3430, 1021, 7264, 77, 395, 4031, 358, 21577, 326, 15226, 3971, 353, 1450, 3778, 3970, 19931, 3704, 11317, 17, 8394, 1158, 17, 10047, 17, 28050, 632, 30205, 560, 3778, 17, 4626, 17,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 266, 1097, 12, 6430, 1603, 1477, 16, 1731, 3778, 2106, 751, 13, 2713, 16618, 288, 203, 3639, 309, 261, 2463, 329, 751, 18, 2469, 405, 374, 13, 288, 203, 5411, 19931, 288, 203, 7734, 2231, 327, 892, 67, 1467, 519,...
pragma solidity 0.5.2; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); ...
* @param _holder address of token holder to check @return bool - status of freezing and group/
function isFreezed (address _holder) public view returns(bool, uint) { while (i < groups) { if (index == 0) { if (checkZeroIndex(_holder, i)) { freezed = true; i++; continue; } else ...
2,503,584
[ 1, 67, 4505, 1758, 434, 1147, 10438, 358, 866, 327, 1426, 300, 1267, 434, 4843, 94, 310, 471, 1041, 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, 565, 445, 353, 9194, 94, 329, 261, 2867, 389, 4505, 13, 1071, 1476, 1135, 12, 6430, 16, 2254, 13, 288, 203, 203, 203, 3639, 1323, 261, 77, 411, 3252, 13, 288, 203, 203, 203, 5411, 309, 261, 1615, 422, 374, 13, 288, 203, 7734,...
./partial_match/42/0x171F02BAa6213Dc4aDdb259257b495F8BF42eA59/sources/Pool.sol
member selection duration for round robin, default 60 mins
uint public selectionDuration = 60 minutes;
3,481,923
[ 1, 5990, 4421, 3734, 364, 3643, 721, 4757, 16, 805, 4752, 26381, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1071, 4421, 5326, 273, 4752, 6824, 31, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/3/0x476556fAb1E5B7111740BFdAfC7c8809118B800f/sources/Token.sol
* @dev Creates `amount` tokens and assigns them to owner, increasing the total supply. Emits a {Transfer} event with `from` set to the zero address. Requirements - `to` cannot be the zero address./
function _mint(address payable account, uint256 amount) internal { require(!_minted); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); }
5,114,599
[ 1, 2729, 1375, 8949, 68, 2430, 471, 22698, 2182, 358, 3410, 16, 21006, 326, 2078, 14467, 18, 7377, 1282, 279, 288, 5912, 97, 871, 598, 1375, 2080, 68, 444, 358, 326, 3634, 1758, 18, 29076, 300, 1375, 869, 68, 2780, 506, 326, 3634, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 81, 474, 12, 2867, 8843, 429, 2236, 16, 2254, 5034, 3844, 13, 2713, 288, 203, 3639, 2583, 12, 5, 67, 81, 474, 329, 1769, 203, 3639, 389, 4963, 3088, 1283, 273, 389, 4963, 3088, 1283, 18, 1289, 12, 8949, 1769, 2...
//Address: 0x2399e275a35b9562f7fc93869abe9948e7b509bb //Contract name: SKToken //Balance: 0 Ether //Verification Date: 5/14/2018 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^0.4.21; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** ...
Check if the targeted balance is enough
require(balanceOf[_from] >= _value);
5,449,083
[ 1, 1564, 309, 326, 20715, 11013, 353, 7304, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2583, 12, 12296, 951, 63, 67, 2080, 65, 1545, 389, 1132, 1769, 9079, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/1/0x077E10AF63dA2B0459cd9002202dFc4552365605/sources/contracts/PaymentsProcessor.sol
Function to add a new ERC20 token to mapping of available tokens Returns true on success
function addERC20Token(address token_address) public onlyOwner returns (bool) { require(!available_tokens[token_address].exists, "Token address already exists"); available_tokens[token_address] = TokenData(ERC20(token_address), true); return true; }
4,837,038
[ 1, 2083, 358, 527, 279, 394, 4232, 39, 3462, 1147, 358, 2874, 434, 2319, 2430, 2860, 638, 603, 2216, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 527, 654, 39, 3462, 1345, 12, 2867, 1147, 67, 2867, 13, 1071, 1338, 5541, 1135, 261, 6430, 13, 288, 203, 565, 2583, 12, 5, 5699, 67, 7860, 63, 2316, 67, 2867, 8009, 1808, 16, 315, 1345, 1758, 1818, 1704, 8863, 203, ...
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.4; import "./abstract/HasSecondarySaleFees.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.sol"; import "@openzeppelin/contracts/token/E...
* @dev Registers the contract as an implementer of the interface defined by `interfaceId`. Support of the actual ERC165 interface is automatic and registering its interface id is not required. See {IERC165-supportsInterface}. Requirements: - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)./
function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } uint256[49] private __gap;
62,589
[ 1, 10277, 326, 6835, 487, 392, 2348, 264, 434, 326, 1560, 2553, 635, 1375, 5831, 548, 8338, 13619, 434, 326, 3214, 4232, 39, 28275, 1560, 353, 5859, 471, 22845, 2097, 1560, 612, 353, 486, 1931, 18, 2164, 288, 45, 654, 39, 28275, 17,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 4861, 1358, 12, 3890, 24, 1560, 548, 13, 2713, 5024, 288, 203, 3639, 2583, 12, 5831, 548, 480, 374, 28857, 16, 315, 654, 39, 28275, 30, 2057, 1560, 612, 8863, 203, 3639, 389, 4127, 10273, 63, 5831, 548, 65, 273, ...
./full_match/80001/0xF120b7f6d7D9E57A905FFe5D6d6d92bd0cbDE0a8/sources/project_/con2/SyntheticToken/MintableBurnableERC20.sol
* @notice Self renounce the address calling the function from admin role/
function renounceAdmin() public virtual override { renounceRole(DEFAULT_ADMIN_ROLE, msg.sender); }
5,619,820
[ 1, 10084, 1654, 8386, 326, 1758, 4440, 326, 445, 628, 3981, 2478, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4446, 1435, 1071, 5024, 3849, 288, 203, 3639, 1654, 8386, 2996, 12, 5280, 67, 15468, 67, 16256, 16, 1234, 18, 15330, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.7; import "./TradeableERC721Token.sol"; /** * @title ClockAuction * ClockAuction - a contract for my non-fungible creatures. */ contract ClockAuction is ERC721Tradable{ uint256 public constant maxSupply = 6400; uint256 public constant MAX_PREMINT = ...
-------------------- phase toggling: --------------------* @dev public launch/
function setPublicLive() external onlyOwner { yeeYee = true; emit SaleMode(yeeYee); }
5,988,050
[ 1, 1271, 553, 6855, 6316, 75, 2456, 30, 12146, 6062, 225, 1071, 8037, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 27467, 12328, 1435, 3903, 1338, 5541, 288, 203, 3639, 677, 1340, 61, 1340, 273, 638, 31, 203, 3639, 3626, 348, 5349, 2309, 12, 93, 1340, 61, 1340, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0xEe9c34E6D0A835BbB4dF1Db902D6F1B923481fC3/sources/browser/XDef.sol
* @dev Decrease the amount of tokens that an owner has allowed to a spender. @param spender The address which will spend the funds. @param subtractedValue The amount of tokens to decrease the allowance by./
function decreaseAllowance(address spender, uint256 subtractedValue) public override returns (bool) { require( !transfersPaused || transferPauseExemptList[msg.sender], "paused" ); uint256 oldValue = _allowedXdef[msg.sender][spender]; ...
8,449,930
[ 1, 23326, 448, 326, 3844, 434, 2430, 716, 392, 3410, 711, 2935, 358, 279, 17571, 264, 18, 225, 17571, 264, 1021, 1758, 1492, 903, 17571, 326, 284, 19156, 18, 225, 10418, 329, 620, 1021, 3844, 434, 2430, 358, 20467, 326, 1699, 1359, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20467, 7009, 1359, 12, 2867, 17571, 264, 16, 2254, 5034, 10418, 329, 620, 13, 203, 3639, 1071, 203, 3639, 3849, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 2583, 12, 203, 5411, 401, 2338, 18881, 28590, 747...
pragma solidity ^0.5.0; // AggregatorInterface specifies ChainLink aggregator interface. import "./AggregatorInterface.sol"; // ChainLinkPriceReferenceAggregator implements aggregation for set of ChainLink // reference price oracles redirecting price requests to their target price // oracle based on the denomination ...
address of the token (unique identifier)
address addr;
1,060,170
[ 1, 2867, 434, 326, 1147, 261, 6270, 2756, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 1758, 3091, 31, 3639, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity 0.4.25; // * Samurai Quest - Levelling game that pay ether. Version 1. // // * Developer - Studio California // "You can check out any time you like, but you can never leave" // // * Uses Linked List to store player level // // * Refer to https://samurai-quest.hostedwiki...
Distribute the last samurai pot to winner when no joining after 24 hours Distribute the fund to corresponding accounts _samuraiId - Id of the samurai to be retreat When the remaining time is over again, prevent re-entrancy
function distributeTheLastSamuraiPot() public { require(theLastSamuraiPot <= address(this).balance, "not enough fund"); if (theLastSamuraiEndTime <= now) { uint256 samuraiId = currentSamuraiId.sub(1); Samurai storage samurai = idToSamurai[samuraiId]; uint256 tot...
13,088,937
[ 1, 1669, 887, 326, 1142, 16260, 295, 10658, 5974, 358, 5657, 1224, 1347, 1158, 21239, 1839, 4248, 7507, 3035, 887, 326, 284, 1074, 358, 4656, 9484, 389, 20353, 295, 10658, 548, 300, 3124, 434, 326, 16260, 295, 10658, 358, 506, 325, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 25722, 1986, 3024, 55, 301, 295, 10658, 18411, 1435, 1071, 288, 203, 3639, 2583, 12, 5787, 3024, 55, 301, 295, 10658, 18411, 1648, 1758, 12, 2211, 2934, 12296, 16, 315, 902, 7304, 284, 1074, 8863, 203, 203, 3639, 309, 2...
./full_match/3/0x002Fd2C8fD1C55Ce157684Ed2121346a32CB18F5/sources/contracts/bhnk.sol
SPDX-License-Identifier: MIT* @dev Wrappers over Solidity's arithmetic operations with added overflow checks. Arithmetic operations in Solidity wrap on overflow. This can easily result in bugs, because programmers usually assume that an overflow raises an error, which is the standard behavior in high level programming...
library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtracti...
8,144,883
[ 1, 3118, 28826, 17, 13211, 17, 3004, 30, 490, 1285, 225, 4266, 10422, 1879, 348, 7953, 560, 1807, 30828, 5295, 598, 3096, 9391, 4271, 18, 27443, 5295, 316, 348, 7953, 560, 2193, 603, 9391, 18, 1220, 848, 17997, 563, 316, 22398, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 12083, 14060, 10477, 288, 203, 203, 565, 445, 527, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 276, 273, 279, 397, 324, 31, 203, 3639, 2583, 12, 71, 1545, ...
// Copyright 2019 Cartesi Pte. Ltd. // SPDX-License-Identifier: Apache-2.0 // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at http://www.apache.org/licenses/LICENSE-2.0 // Unless required by ...
JAL (i.e Jump and Link). JImmediate encondes a signed offset in multiples of 2 bytes. The offset is added to pc and JAL stores the address of the jump (pc + 4) to the rd register. Reference: riscv-spec-v2.2.pdf - Section 2.5 - page 16return raiseMisalignedFetchException(mi, newPc);
function executeJal( MemoryInteractor mi, uint32 insn, uint64 pc ) public returns (bool, uint64) { uint64 newPc = pc + uint64(RiscVDecoder.insnJImm(insn)); if ((newPc & 3) != 0) { return (false, newPc); } uint32 rd = RiscVDecoder.insnR...
2,575,689
[ 1, 46, 1013, 261, 77, 18, 73, 804, 2801, 471, 4048, 2934, 804, 22651, 570, 591, 5489, 279, 6726, 1384, 316, 3309, 6089, 434, 576, 1731, 18, 1021, 1384, 353, 3096, 358, 6125, 471, 804, 1013, 9064, 326, 1758, 434, 326, 11833, 261, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 1836, 46, 287, 12, 203, 3639, 9251, 2465, 3362, 12837, 16, 203, 3639, 2254, 1578, 29821, 16, 203, 3639, 2254, 1105, 6125, 203, 565, 262, 203, 565, 1071, 1135, 261, 6430, 16, 2254, 1105, 13, 203, 565, 288, 203, 3639, 2...
pragma solidity >=0.4.25 < 0.7.0; contract FlightSuretyData { /********************************************************************************************/ /* DATA VARIABLES */ /******************************************************...
* @dev To check that the airline to be a new one/
function isAirline ( address airline ) external view returns(bool) { bytes memory name = bytes(airlines[airline].name); return name.length > 0; }
12,764,296
[ 1, 774, 866, 716, 326, 23350, 1369, 358, 506, 279, 394, 1245, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 25997, 481, 1369, 203, 565, 261, 203, 3639, 1758, 23350, 1369, 203, 565, 262, 203, 565, 3903, 203, 565, 1476, 203, 565, 1135, 12, 6430, 13, 203, 565, 288, 203, 3639, 1731, 3778, 508, 273, 1731, 12, 1826, 3548, 63, 182...
/** *Submitted for verification at Etherscan.io on 2020-11-14 */ pragma solidity ^0.7.2; /** * @dev Provides data about the current execution setting, including the * sender of the exchange and its information. While these are commonly accessible * through msg.sender and msg.data, they ought not be gotten to in su...
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on overflow (when the result is negative). Counterpart to Solidity's `-` operator. Requirements: - Subtraction cannot overflow./
function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); uint256 c = a - b; return c; }
2,367,132
[ 1, 1356, 326, 720, 25693, 434, 2795, 9088, 12321, 16, 15226, 310, 598, 1679, 883, 603, 9391, 261, 13723, 326, 563, 353, 6092, 2934, 9354, 2680, 358, 348, 7953, 560, 1807, 1375, 17, 68, 3726, 18, 29076, 30, 300, 2592, 25693, 2780, 93...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 720, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2583, 12, 70, 1648, 279, 16, 315, 9890, 10477, 30, 720, 25693, 9391, 8863, 203, 3639, 2254, 5034, 276, 273, ...
./full_match/43113/0xcd46bAEC69BEB8F125274A18a5Cc88Fa14Ec4757/sources/AmaCLClient.sol
bytes32 _ethaddressHash = keccakHash(_ethaddress);
function claimCustomSubDomain( string calldata _differentLabel) external { Response memory _response = results[msg.sender]; require(_response.verifiedOnChain, "Address is not yet verified onChain"); (,string memory nameOnTwitter, string memory pr...
13,194,681
[ 1, 3890, 1578, 389, 546, 2867, 2310, 273, 417, 24410, 581, 2310, 24899, 546, 2867, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7516, 3802, 1676, 3748, 12, 7010, 10792, 533, 745, 892, 389, 30738, 2224, 13, 203, 10792, 3903, 225, 288, 203, 203, 3639, 2306, 3778, 389, 2740, 273, 1686, 63, 3576, 18, 15330, 15533, 203, 3639, 2583, 24899, 2740, 18, 1...
./full_match/1/0xe261B138cfd46FdC12A039cF6690645f35DCFA37/sources/contracts/DropFactory/DropFactory.sol
* ____________________________________________________________________________________________________________________ -->MODULES @dev (function) updateAntiSybilOffOnModules Allow platform admin to turn off an...
function updateAntiSybilOffOnModules( address[] calldata moduleAddresses_ ) external onlyPlatformAdmin { for (uint256 i = 0; i < moduleAddresses_.length; i++) { IPrimarySaleModule(moduleAddresses_[i]).setAntiSybilOff(); } emit ModuleAntiSybilOff(moduleAddresses_); }
3,107,458
[ 1, 21157, 21157, 21157, 21157, 21157, 21157, 21157, 7198, 28524, 4766, 5411, 15431, 12194, 55, 225, 261, 915, 13, 1089, 14925, 77, 10876, 70, 330, 7210, 1398, 7782, 377, 7852, 4072, 3981, 358, 7005, 3397, 30959, 17, 9009, 70, 330, 17862...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 1089, 14925, 77, 10876, 70, 330, 7210, 1398, 7782, 12, 203, 565, 1758, 8526, 745, 892, 1605, 7148, 67, 203, 225, 262, 3903, 1338, 8201, 4446, 288, 203, 565, 364, 261, 11890, 5034, 277, 273, 374, 31, 277, 411, 1605, 71...
./partial_match/1/0x4cBf4E44FFf323890c16d4fecB00B1105a7ffA5b/sources/BoostCoin.sol
exclude from paying fees or having max transaction amount
constructor() ERC20("Boost", "BOOST") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUn...
15,708,355
[ 1, 10157, 628, 8843, 310, 1656, 281, 578, 7999, 943, 2492, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 4232, 39, 3462, 2932, 26653, 3113, 315, 5315, 4005, 7923, 288, 203, 540, 203, 3639, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 389, 318, 291, 91, 438, 58, 22, 8259, 273, 467, 984, 291, 91, 438, 58, 22, 8259,...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface IBeethovenxMasterChef { struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 r...
this is the masterchef pool id
uint256 private immutable pid = 37;
925,250
[ 1, 2211, 353, 326, 4171, 343, 10241, 2845, 612, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 3238, 11732, 4231, 273, 18091, 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,...
//SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ICryptoMonks.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/utils/ERC115...
* @dev These functions deal with verification of Merkle Trees proofs. The proofs can be generated using the JavaScript library Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. See `test/utils/cryptography/MerkleProof.test.js` for some examples./
library MerkleProof { function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHas...
26,744
[ 1, 29690, 4186, 10490, 598, 11805, 434, 31827, 399, 5312, 14601, 87, 18, 1021, 14601, 87, 848, 506, 4374, 1450, 326, 11905, 5313, 3609, 30, 326, 24641, 4886, 1410, 506, 417, 24410, 581, 5034, 471, 3082, 9602, 1410, 506, 3696, 18, 2164...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 12083, 31827, 20439, 288, 203, 565, 445, 3929, 12, 203, 3639, 1731, 1578, 8526, 3778, 14601, 16, 203, 3639, 1731, 1578, 1365, 16, 203, 3639, 1731, 1578, 7839, 203, 203, 565, 262, 2713, 16618, 1135, 261, 6430, 13, 288, 203, 3639, ...
//SPDX-License-Identifier: Unlicense pragma solidity ^0.7.0; import "./libs/LibAccess.sol"; import "./libs/LibStorage.sol"; import "./Types.sol"; import "hardhat/console.sol"; abstract contract BaseAccess { using LibAccess for Types.AccessControl; //bytes32 public constant ADMIN_ROLE = keccak256("ADMI...
* Withdraw fully thawed funds./
function withdrawGas(uint112 amount) external nonReentrant { require(amount > 0, "Cannot withdraw 0 amount"); LibStorage.getGasStorage().withdraw(_msgSender(), amount); _msgSender().transfer(amount); }
5,969,288
[ 1, 1190, 9446, 7418, 286, 2219, 329, 284, 19156, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 598, 9446, 27998, 12, 11890, 17666, 3844, 13, 3903, 1661, 426, 8230, 970, 288, 203, 3639, 2583, 12, 8949, 405, 374, 16, 315, 4515, 598, 9446, 374, 3844, 8863, 203, 3639, 10560, 3245, 18, 588, 27998, 3245, 7675, 1918, 94...
/** * @title The facet of the CryptoKitties core contract that manages ownership, ERC-721 (draft) compliant. * @author Axiom Zen (https://www.axiomzen.co) * This code was taken from https://github.com/dapperlabs at * https://github.com/dapperlabs/cryptokitties-bounty and is NOT kleros code. */ pragma solidity ...
@notice Returns the nth Kitty assigned to an address, with n specified by the _index argument. @param _owner The owner whose Kitties we are interested in. @param _index The zero-based index of the cat within the owner's list of cats. Must be less than balanceOf(_owner). @dev This method MUST NEVER be called by smart...
function tokensOfOwnerByIndex(address _owner, uint256 _index) external view returns (uint256 tokenId) { uint256 count = 0; for (uint256 i = 1; i <= totalSupply(); i++) { if (kittyIndexToOwner[i] == _owner) { if (count == _index) { ...
5,503,045
[ 1, 1356, 326, 20196, 1475, 305, 4098, 6958, 358, 392, 1758, 16, 598, 290, 1269, 635, 326, 225, 389, 1615, 1237, 18, 225, 389, 8443, 1021, 3410, 8272, 1475, 305, 88, 606, 732, 854, 20506, 316, 18, 225, 389, 1615, 1021, 3634, 17, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2430, 951, 5541, 21268, 12, 2867, 389, 8443, 16, 2254, 5034, 389, 1615, 13, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 1135, 261, 11890, 5034, 1147, 548, 13, 203, 565, 288, 203, 3639, 2254, 5034, 1056, 273, 374, 31, ...
./partial_match/1/0x30ac79B557973771c931D8d765E0728261A742a0/sources/Comptroller.sol
* @notice Transfer WPC to the user, if they are above the threshold @dev Note: If there is not enough WPC, we do not perform the transfer all. @param user The address of the user to transfer WPC to @param userAccrued The amount of WPC to (possibly) transfer @return The amount of WPC which was NOT transferred to the use...
function transferWpc(address user, uint userAccrued, uint threshold) internal returns (uint) { if (userAccrued >= threshold && userAccrued > 0) { uint wpcRemaining = piggy.balanceOf(address(this)); if (userAccrued <= wpcRemaining) { piggy.transfer(user, userAccrued); ...
3,604,204
[ 1, 5912, 678, 3513, 358, 326, 729, 16, 309, 2898, 854, 5721, 326, 5573, 225, 3609, 30, 971, 1915, 353, 486, 7304, 678, 3513, 16, 732, 741, 486, 3073, 326, 7412, 777, 18, 225, 729, 1021, 1758, 434, 326, 729, 358, 7412, 678, 3513, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 59, 2436, 12, 2867, 729, 16, 2254, 729, 8973, 86, 5957, 16, 2254, 5573, 13, 2713, 1135, 261, 11890, 13, 288, 203, 3639, 309, 261, 1355, 8973, 86, 5957, 1545, 5573, 597, 729, 8973, 86, 5957, 405, 374, 13, 288, ...
./partial_match/1/0x00000000000006c7676171937C444f6BDe3D6282/sources/contracts/lib/ConsiderationErrors.sol
Store left-padded selector with push4 (reduces bytecode), mem[28:32] = selector Store arguments. revert(abi.encodeWithSignature( "InvalidTime(uint256,uint256)", startTime, endTime ))
assembly { mstore(0, InvalidTime_error_selector) mstore(InvalidTime_error_startTime_ptr, startTime) mstore(InvalidTime_error_endTime_ptr, endTime) revert(Error_selector_offset, InvalidTime_error_length) }
4,301,444
[ 1, 2257, 2002, 17, 6982, 785, 3451, 598, 1817, 24, 261, 1118, 89, 764, 22801, 3631, 1663, 63, 6030, 30, 1578, 65, 273, 3451, 4994, 1775, 18, 15226, 12, 21457, 18, 3015, 1190, 5374, 12, 377, 315, 1941, 950, 12, 11890, 5034, 16, 118...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 19931, 288, 203, 3639, 312, 2233, 12, 20, 16, 1962, 950, 67, 1636, 67, 9663, 13, 203, 203, 3639, 312, 2233, 12, 1941, 950, 67, 1636, 67, 1937, 950, 67, 6723, 16, 8657, 13, 203, 3639, 312, 2233, 12, 1941, 950, 67, 1636, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; pragma experimental ABIEncoderV2; import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol"; //BlackJack.sol //Ricardo Peinado //BlackJack smart contract //03.13.2022 //RULES:...
Your subscription ID. Rinkeby coordinator. For other networks, see https:docs.chain.link/docs/vrf-contracts/#configurations The gas lane to use, which specifies the maximum gas price to bump to. For a list of available gas lanes on each network, see https:docs.chain.link/docs/vrf-contracts/#configurations Depends on t...
contract BlackJack is VRFConsumerBaseV2{ VRFCoordinatorV2Interface COORDINATOR; uint64 s_subscriptionId; address vrfCoordinator = 0x6168499c0cFfCaCD319c818142124B7A15E857ab; bytes32 keyHash = 0xd89b2bf150e3b9e13446986e571fb9cab24b13cea0a43ea20a6049a85cc807cc; uint32 callbackGasLimit = 100000; ...
12,791,913
[ 1, 15446, 4915, 1599, 18, 534, 754, 73, 1637, 24794, 18, 2457, 1308, 13884, 16, 2621, 2333, 30, 8532, 18, 5639, 18, 1232, 19, 8532, 19, 16825, 17, 16351, 87, 19, 25856, 1021, 16189, 328, 8806, 358, 999, 16, 1492, 11470, 326, 4207, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22467, 46, 484, 353, 776, 12918, 5869, 2171, 58, 22, 95, 203, 565, 776, 12918, 25307, 58, 22, 1358, 7910, 916, 21329, 3575, 31, 203, 203, 565, 2254, 1105, 272, 67, 25218, 31, 203, 203, 565, 1758, 20466, 25307, 273, 374, ...
./full_match/421611/0x19103d0bC54c4934807e3a51F44ff77C726076B3/sources/_aave/core-v3/contracts/protocol/libraries/logic/BridgeLogic.sol
* @notice Mint unbacked aTokens to a user and updates the unbacked for the reserve. @dev Essentially a supply without transferring the underlying. @param reserve The reserve to mint to @param userConfig The user configuration to update @param asset The address of the asset @param amount The amount to mint @param onBeha...
) external { DataTypes.ReserveCache memory reserveCache = reserve.cache(); reserve.updateState(reserveCache); ValidationLogic.validateSupply(reserveCache, amount); uint256 unbackedMintCap = reserveCache.reserveConfiguration.getUnbackedMintCap(); uint256 reserveDecimals = reserveCache.reserveCon...
13,220,383
[ 1, 49, 474, 640, 823, 329, 279, 5157, 358, 279, 729, 471, 4533, 326, 640, 823, 329, 364, 326, 20501, 18, 225, 512, 1049, 11220, 279, 14467, 2887, 906, 74, 20245, 326, 6808, 18, 225, 20501, 1021, 20501, 358, 312, 474, 358, 225, 729...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 262, 3903, 288, 203, 565, 1910, 2016, 18, 607, 6527, 1649, 3778, 20501, 1649, 273, 20501, 18, 2493, 5621, 203, 203, 565, 20501, 18, 2725, 1119, 12, 455, 6527, 1649, 1769, 203, 203, 565, 5684, 20556, 18, 5662, 3088, 1283, 12,...
pragma solidity ^0.4.19; // last compiled with v0.4.19+commit.c4cbbb05; contract SafeMath { //internals function safeMul(uint a, uint b) internal pure returns (uint) { uint c = a * b; require(a == 0 || c / a == b); return c; } function safeSub(uint a, uint b) internal pure returns (ui...
mapping of requestNum to array of yes voters
mapping(uint => address[]) public juryYesVoters;
1,754,834
[ 1, 6770, 434, 590, 2578, 358, 526, 434, 12465, 331, 352, 414, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 2874, 12, 11890, 516, 1758, 63, 5717, 1071, 525, 22498, 22352, 58, 352, 414, 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,...
./partial_match/1/0x1201FAa7258A48b820619dD57Cd8FdEb25D49b2c/sources/contracts/managed/vendor/BasePool.sol
Set immutable state variables - these cannot be read from during construction
{ _poolId = poolId; _protocolFeesCollector = vault.getProtocolFeesCollector(); }
4,227,927
[ 1, 694, 11732, 919, 3152, 300, 4259, 2780, 506, 855, 628, 4982, 16171, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 288, 203, 3639, 389, 6011, 548, 273, 2845, 548, 31, 203, 3639, 389, 8373, 2954, 281, 7134, 273, 9229, 18, 588, 5752, 2954, 281, 7134, 5621, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.7.6; import "@openzeppelin/contracts/access/Ownable.sol"; //@notice Ce contrat gère un système de vote pour une petite communauté. L'administrateur qui //@notice déploie le contrat, est en charge d'ajouter les participants, et de démarrer et terminer //@notice c...
pour compter le nb de votes
uint votesCount;
1,020,455
[ 1, 84, 477, 532, 337, 264, 884, 4264, 443, 19588, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 19588, 1380, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/1/0xdbE5a8BBac5b3ba4e05BB9b9Ca51A6741bc81Bd1/sources/contracts/brokers/BrokersSignatureUtils.sol
----------------------------------------------------------------------- Errors -----------------------------------------------------------------------
enum BrokerSignatureUtilsErrorCodes { INVALID_ASSET_INFO_SIGNATURE } error BrokerSignatureUtilsError(BrokerSignatureUtilsErrorCodes code); bytes32 private immutable ASSET_DATA_TYPE_HASH; bytes32 private immutable ASSETS_TYPE_HASH; bytes32 private immutable FEES_TYPE_HASH; bytes32 ...
17,074,762
[ 1, 5802, 17082, 9372, 24796, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2792, 20438, 5374, 1989, 668, 6295, 288, 203, 3639, 10071, 67, 3033, 4043, 67, 5923, 67, 26587, 203, 565, 289, 203, 203, 565, 555, 20438, 5374, 1989, 668, 12, 11194, 5374, 1989, 668, 6295, 981, 1769, 203, 203, 203, 565, 1731...
pragma solidity 0.6.12; // SPDX-License-Identifier: MIT /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount o...
SPDX-License-Identifier: MIT governance flags
contract ProxyTreasury is ITreasury { address public operator; bool public initialized = false; address public treasury = address(0x15A90e6157a870CD335AF03c6df776d0B1ebf94F); event Initialized(address indexed executor, uint256 at); function initialize() public notInitialized { timelock =...
13,015,861
[ 1, 3118, 28826, 17, 13211, 17, 3004, 30, 490, 1285, 314, 1643, 82, 1359, 2943, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 7659, 56, 266, 345, 22498, 353, 24142, 266, 345, 22498, 288, 203, 565, 1758, 1071, 3726, 31, 203, 203, 565, 1426, 1071, 6454, 273, 629, 31, 203, 203, 565, 1758, 1071, 9787, 345, 22498, 273, 1758, 12, 20, 92, 3600, 37, 93...
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.3; import "../contracts/libraries/Authorizable.sol"; import "../contracts/libraries/MerkleRewards.sol"; // A merkle rewards contract with an expiration time contract Airdrop is MerkleRewards, Authorizable { // The time after which the token cannot be cl...
@notice Constructs the contract and sets state and immutable variables @param _governance The address which can withdraw funds when the drop expires @param _merkleRoot The root a keccak256 merkle tree with leaves which are address amount pairs @param _token The erc20 contract which will be sent to the people with clai...
) MerkleRewards(_merkleRoot, _token, _lockingVault) { expiration = _expiration; setOwner(_governance); }
5,367,540
[ 1, 13262, 326, 6835, 471, 1678, 919, 471, 11732, 3152, 225, 389, 75, 1643, 82, 1359, 1021, 1758, 1492, 848, 598, 9446, 284, 19156, 1347, 326, 3640, 7368, 225, 389, 6592, 15609, 2375, 1021, 1365, 279, 417, 24410, 581, 5034, 30235, 2151...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31827, 17631, 14727, 24899, 6592, 15609, 2375, 16, 389, 2316, 16, 389, 739, 310, 12003, 13, 288, 203, 3639, 7686, 273, 389, 19519, 31, 203, 3639, 31309, 24899, 75, 1643, 82, 1359, 1769, 203, 565, 289, 203, 203, 2, -100,...
./full_match/1/0xF54b8AF506fcF09EDd0EC0673F6AadC7Df4EC3e6/sources/contracts/SeJoin.sol
2 years from contract deployment
return block.timestamp + 730 days;
3,100,623
[ 1, 22, 11387, 628, 6835, 6314, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 327, 1203, 18, 5508, 397, 2371, 5082, 4681, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/43113/0x4b2b37788c21F054A7B3AD33d3d544E60eAD9E56/sources/Copy_Woolf.sol
* mint a token - 90% Sheep, 10% Wolves The first 20% are free to claim, the remaining cost $WOOL Due to buffer considerations, staking is not possible immediately Minter has to wait for 10 mints/ - MAX_PER_MINT, because the last MAX_PER_MINT are mintable by an admin
function mint(uint256 amount) external payable whenNotPaused { require(tx.origin == _msgSender(), "Only EOA"); require( minted + amount <= MAX_TOKENS - MAX_PER_MINT, "All tokens minted" ); require(amount > 0 && amount <= MAX_PER_MINT, "Invalid mint amount"); ...
7,153,805
[ 1, 81, 474, 279, 1147, 300, 8566, 9, 348, 580, 881, 16, 1728, 9, 678, 355, 3324, 1021, 1122, 4200, 9, 854, 4843, 358, 7516, 16, 326, 4463, 6991, 271, 59, 51, 1741, 463, 344, 358, 1613, 5260, 1012, 16, 384, 6159, 353, 486, 3323, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 312, 474, 12, 11890, 5034, 3844, 13, 3903, 8843, 429, 1347, 1248, 28590, 288, 203, 3639, 2583, 12, 978, 18, 10012, 422, 389, 3576, 12021, 9334, 315, 3386, 512, 28202, 8863, 203, 3639, 2583, 12, 203, 5411, 312, 474, 329,...
./full_match/80001/0x14e39aDc79A7610c685143c4cd891F94dB3B40cD/sources/@aragon/osx/framework/dao/DAOFactory.sol
@title DAOFactory @author Aragon Association - 2022-2023 @notice This contract is used to create a DAO.
contract DAOFactory is ERC165, ProtocolVersion { address public immutable daoBase; DAORegistry public immutable daoRegistry; PluginSetupProcessor public immutable pluginSetupProcessor; import {ERC165} from "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import {IProtocolVersion} from "../../ut...
5,569,320
[ 1, 18485, 1733, 225, 1201, 346, 265, 18400, 300, 26599, 22, 17, 18212, 23, 225, 1220, 6835, 353, 1399, 358, 752, 279, 463, 20463, 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,...
[ 1, 1, 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, 463, 20463, 1733, 353, 4232, 39, 28275, 16, 4547, 1444, 288, 203, 565, 1758, 1071, 11732, 15229, 2171, 31, 203, 203, 565, 463, 20463, 4243, 1071, 11732, 15229, 4243, 31, 203, 203, 565, 6258, 7365, 5164, 1071, 11732, 1909, 73...
pragma ton-solidity >=0.44.0; pragma AbiHeader time; pragma AbiHeader pubkey; pragma AbiHeader expire; //================================================================================ // /// @title DexDebot /// @author Augual.Team /// @notice Debot for Augual.DEX (LiquiSOR) service //===============================...
========================================================================================================================================================================================================
function _addSymbol_1(uint32 index) public { AddressInput.get(tvm.functionId(_addSymbol_2), "Please enter TRC-6 RTW address: "); }
6,478,828
[ 1, 9917, 9917, 22121, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 1289, 5335, 67, 21, 12, 11890, 1578, 770, 13, 1071, 203, 565, 288, 203, 3639, 5267, 1210, 18, 588, 12, 88, 3489, 18, 915, 548, 24899, 1289, 5335, 67, 22, 3631, 315, 8496, 6103, 4235, 39, 17, 26, 13060, 59, 1758...
// @Author: Yuexin Xiang // @Email: yuexin.xiang@cug.edu.cn //Remix Compiler 0.4.24+conmmit.e67f0147 pragma solidity >=0.4.22 <0.7.0; contract Scheme { /************************DEFINE************************/ uint256 Value_Amount;//The amount of the transaction uint256 Value_Deposit;//The deposi of the transact...
Judge if Alice sends the deposit
bool Goal_Deposit = false;
12,768,990
[ 1, 46, 27110, 309, 432, 2008, 9573, 326, 443, 1724, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 6430, 4220, 287, 67, 758, 1724, 273, 629, 31, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/8453/0xf9cFB8a62f50e10AdDE5Aa888B44cF01C5957055/sources/contracts/libraries/helpers/Errors.sol
'There is not enough liquidity available to borrow'
string internal constant LP_NOT_ENOUGH_LIQUIDITY_TO_BORROW = "80";
11,549,341
[ 1, 11, 9828, 353, 486, 7304, 4501, 372, 24237, 2319, 358, 29759, 11, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 533, 2713, 5381, 511, 52, 67, 4400, 67, 1157, 26556, 16715, 67, 2053, 53, 3060, 4107, 67, 4296, 67, 38, 916, 11226, 273, 315, 3672, 14432, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./partial_match/137/0xC71a0306a0A628C616DAC42097bDc21EcDBc5d9d/sources/contracts/ERC721Raffle.sol
solhint-disable-line
constructor(address _renderer, address _usdcToken, address _link, address _vrfV2Wrapper, string memory _name, string memory _ticker) ERC721A(_name, _ticker) VRFV2WrapperConsumerBase(_link, _vrfV2Wrapper) {
3,517,000
[ 1, 18281, 11317, 17, 8394, 17, 1369, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 12, 2867, 389, 14374, 16, 1758, 389, 407, 7201, 1345, 16, 1758, 389, 1232, 16, 1758, 389, 16825, 58, 22, 3611, 16, 533, 3778, 389, 529, 16, 533, 3778, 389, 88, 5448, 13, 4232, 39, 27, 5340, 37, 24899, 529, 16, 389,...
./full_match/5/0x26788a8f60E079356b05e13bfBA2a16AbE03AA05/sources/src/token/ERC1155/extensions/mintable/ERC1155Mintable.sol
* @title Extension of {ERC1155} that allows other facets of the diamond to mint based on arbitrary logic./
abstract contract ERC1155Mintable is IERC1155Mintable, ERC1155BaseInternal { function mintByFacet( address to, uint256 id, uint256 amount, bytes calldata data ) public virtual { if (address(this) != msg.sender) { revert ErrSenderIsNotSelf(); } ...
7,046,001
[ 1, 3625, 434, 288, 654, 39, 2499, 2539, 97, 716, 5360, 1308, 21681, 434, 326, 4314, 301, 1434, 358, 312, 474, 2511, 603, 11078, 4058, 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, ...
[ 1, 1, 1, 1, 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, 17801, 6835, 4232, 39, 2499, 2539, 49, 474, 429, 353, 467, 654, 39, 2499, 2539, 49, 474, 429, 16, 4232, 39, 2499, 2539, 2171, 3061, 288, 203, 565, 445, 312, 474, 858, 11137, 12, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, ...
pragma solidity ^0.4.2; /* * 以太坊上的去中心化竞猜合约 * @Author Leo Ning <windywany@gmail.com> * @Data 2018-07-06 */ contract TrustBet { address public owner;//合约所有者 bool public stop = false;//是否停止竞猜 uint8 public winTeam = 3;//比赛结果:3未开奖;0:1队胜;1:2队胜;2:2队平 uint256 public stopWithdraw...
开奖(发起人调用),team=0时1队赢,team=1时2队赢,team=2时2队打平已经停止竞猜且team正确才能开奖赢的队伍130000个区块之后停止提现(大概开奖后15天内)
function lottery(uint8 team) public owned { require(stop && team < 3); winTeam = team; stopWithdrawBlock = block.number + 130000; }
5,493,003
[ 1, 166, 125, 227, 166, 103, 249, 176, 125, 235, 166, 242, 244, 169, 118, 120, 165, 123, 123, 169, 113, 230, 168, 247, 106, 176, 125, 236, 176, 125, 239, 10035, 33, 20, 167, 250, 119, 21, 170, 251, 258, 169, 118, 100, 176, 125,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17417, 387, 93, 12, 11890, 28, 5927, 13, 1071, 16199, 288, 203, 3639, 2583, 12, 5681, 597, 5927, 411, 890, 1769, 203, 3639, 5657, 8689, 273, 5927, 31, 203, 3639, 2132, 1190, 9446, 1768, 273, 1203, 18, 2696, 397, 5958, ...
./full_match/43113/0xFbA8b6d31ba648CC34247DD3D4282c457293E78C/sources/contracts/WOOFI.sol
[0] = owner, [1] = rewardToken, [2] = marketing wallet, [3] = router
contract WOOFI is ERC20Upgradeable, OwnableUpgradeable, IWOOFIToken { using SafeMath for uint256; uint256 private constant MAX = ~uint256(0); mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => bool) private _isExcluded; boo...
13,167,097
[ 1, 63, 20, 65, 273, 3410, 16, 306, 21, 65, 273, 19890, 1345, 16, 306, 22, 65, 273, 13667, 310, 9230, 16, 306, 23, 65, 273, 4633, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 678, 25148, 1653, 353, 4232, 39, 3462, 10784, 429, 16, 14223, 6914, 10784, 429, 16, 467, 59, 51, 3932, 1285, 969, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 2254, 5034, 3238, 5381, 4552, 273, 48...
// Сочетаемость глаголов (и отглагольных частей речи) с предложным // паттерном. // LC->07.08.2018 facts гл_предл language=Russian { arity=3 //violation_score=-5 generic return=boolean } #define ГЛ_ИНФ(v) инфинитив:v{}, глагол:v{} #region Предлог_В // ------------------- С ПРЕДЛОГОМ 'В' -----------------------...
Характер писателя лучше всего выражается в его произведениях.
rus_verbs:выражаться{},
5,482,599
[ 1, 145, 103, 145, 113, 146, 227, 145, 113, 145, 123, 146, 229, 145, 118, 146, 227, 225, 145, 128, 145, 121, 146, 228, 145, 113, 146, 229, 145, 118, 145, 124, 146, 242, 225, 145, 124, 146, 230, 146, 234, 146, 235, 145, 118, 225...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 436, 407, 67, 502, 2038, 30, 145, 115, 146, 238, 146, 227, 145, 113, 145, 119, 145, 113, 146, 229, 146, 239, 146, 228, 146, 242, 2916, 16, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/** * @title Glofile * @author Jonathan Brown <jbrown@bluedroplet.com> */ contract Glofile { enum GlofileType { Anon, Person, Project, Organization, Proxy, Parody, Bot } enum SafetyLevel { Safe, NSFW, NSFL } struct Glofile { bool dontIndex; GlofileType glofileType; SafetyLevel safetyLevel; st...
* @notice Delete all of your Glofile bio translations @dev Deletes all of the bio translations./ Delete the actual mappings in case a client accesses without checking language key.
function deleteAllBioTranslations() { Glofile glofile = glofiles[msg.sender]; for (uint i = 0; i < glofile.bioLanguages.length; i++) { delete glofile.bioTranslations[glofile.bioLanguages[i]]; } delete glofile.bioLanguages; Update(msg.sender); }
12,551,871
[ 1, 2613, 777, 434, 3433, 611, 383, 768, 25091, 7863, 225, 17973, 777, 434, 326, 25091, 7863, 18, 19, 2504, 326, 3214, 7990, 316, 648, 279, 1004, 2006, 281, 2887, 6728, 2653, 498, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 27283, 38, 1594, 12297, 1435, 288, 203, 565, 611, 383, 768, 314, 383, 768, 273, 314, 383, 2354, 63, 3576, 18, 15330, 15533, 203, 565, 364, 261, 11890, 277, 273, 374, 31, 277, 411, 314, 383, 768, 18, 21010, 12912, 18, ...
./full_match/3/0x044e0465CAdCF1260F7965558356f4f1bbdb317d/sources/contracts/MyAuction.sol
최고 입찰가는 경매 판매자에게 전송 feeBeneficiary는 highestBid (최고 입찰가) 에서 fee (1%) 를 받는다 highestBid(최고 입찰가)는 fee 가격을 제외한 가격 (99%) 으로 전송 된다. 수수료 1% 설정 feeBeneficiary = 0x0d8c1Beae062BDc263B23D4BC8c4BBeeA4a556B5; 계약을 승인하고 낙찰자에게 token 소유권 이전
if(bidsLen == 0){ cancelAuction(_auctionId); Bid memory lastBid = auctionBids[_auctionId][bidsLen - 1]; fee = lastBid.amount / 100; finalBid = lastBid.amount - fee; myAuction.owner.transfer(finalBid); address(uint160(feeBenefi...
8,121,413
[ 1, 173, 118, 255, 171, 116, 259, 225, 173, 257, 232, 173, 113, 113, 171, 113, 227, 172, 237, 247, 225, 171, 115, 126, 172, 105, 102, 225, 174, 239, 243, 172, 105, 102, 173, 257, 243, 173, 250, 243, 171, 115, 239, 225, 173, 259...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 309, 12, 70, 2232, 2891, 422, 374, 15329, 203, 5411, 3755, 37, 4062, 24899, 69, 4062, 548, 1769, 203, 5411, 605, 350, 3778, 1142, 17763, 273, 279, 4062, 38, 2232, 63, 67, 69, 4062, 548, 6362, 70, 2232, 2891, 300, 404, 155...