file_name
stringlengths
71
779k
comments
stringlengths
20
182k
code_string
stringlengths
20
36.9M
__index_level_0__
int64
0
17.2M
input_ids
list
attention_mask
list
labels
list
pragma solidity ^0.5.16; import "./ComptrollerInterface.sol"; import "./CTokenInterfaces.sol"; import "./ErrorReporter.sol"; import "./Exponential.sol"; import "./EIP20Interface.sol"; import "./EIP20NonStandardInterface.sol"; import "./InterestRateModel.sol"; /** * @title Compound's CToken Contract * @notice Abstra...
* @notice accrues interest and sets a new reserve factor for the protocol using _setReserveFactorFresh @dev Admin function to accrue interest and set a new reserve factor @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)/ _setReserveFactorFresh emits reserve-factor-specific logs on errors,...
function _setReserveFactor(uint256 newReserveFactorMantissa) external nonReentrant returns (uint256) { accrueInterest(); return _setReserveFactorFresh(newReserveFactorMantissa); }
333,172
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 4078, 86, 3610, 16513, 471, 1678, 279, 394, 20501, 5578, 364, 326, 1771, 1450, 389, 542, 607, 6527, 6837, 42, 1955, 632, 5206, 7807, 445, 358, 4078, 86, 344, 16513, 471, 444, 279, 394, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 542, 607, 6527, 6837, 12, 11890, 5034, 394, 607, 6527, 6837, 49, 970, 21269, 13, 3903, 1661, 426, 8230, 970, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 4078, 86, 344, 29281, 5621, 203, 3639, 327, 389, 542, 607, ...
// SPDX-License-Identifier: agpl-3.0 pragma solidity ^0.8.0; import { IVault } from "../interfaces/IVault.sol"; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "hardhat/console.sol"; contract Sanctum { address public asset; address public vault; address public reborner; ...
solhint-disable-next-line no-inline-assembly
function deploy(uint256 salt, bytes memory bytecode) public returns (address addr) { assembly { addr := create2(0, add(bytecode, 0x20), mload(bytecode), salt) } require(addr != address(0), "Create2: Failed on deploy"); }
12,550,581
[ 1, 4625, 348, 7953, 560, 30, 225, 3704, 11317, 17, 8394, 17, 4285, 17, 1369, 1158, 17, 10047, 17, 28050, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 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, 7286, 12, 11890, 5034, 4286, 16, 1731, 3778, 22801, 13, 203, 3639, 1071, 203, 3639, 1135, 261, 2867, 3091, 13, 203, 565, 288, 203, 3639, 19931, 288, 203, 5411, 3091, 519, 752, 22, 12, 20, 16, 527, 12, 1637, 16651, 16,...
./full_match/1/0x79544C47AbC1d79F6B878490d5211af5414764d2/sources/contracts/Claimer.sol
* @dev Changes The Seconds Interval For Timelocked Draft Pick Merkle Claims/
function _ChangeSecondsInterval(uint SecondsInterval) external onlyOwner { _Claim._SecondsPerTokenID = SecondsInterval; }
8,422,656
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 17776, 1021, 18301, 10803, 2457, 12652, 292, 975, 329, 463, 5015, 23038, 31827, 28895, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3043, 6762, 4006, 12, 11890, 18301, 4006, 13, 3903, 1338, 5541, 288, 389, 9762, 6315, 6762, 2173, 1345, 734, 273, 18301, 4006, 31, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./IStakingProtocol.sol"; contract StakingProtocol is IStakingProtocol, Ownable { uint256 public poolCount; uint256 public cliff; b...
@dev see {IMtkzStaking-fetchPool}
function fetchPoolInfo(uint256 poolId) external view virtual override returns (PoolInfo memory) { return pool[poolId]; }
12,746,398
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2621, 288, 3445, 16099, 94, 510, 6159, 17, 5754, 2864, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2158, 2864, 966, 12, 11890, 5034, 2845, 548, 13, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 5024, 203, 3639, 3849, 203, 3639, 1135, 261, 2864, 966, 3778, 13, 203, 565, 288, 203, 3639, 327, 2845, 63, 6011, 548, 15533, ...
./partial_match/56/0x97806884E34DE10B8bD1166064028a9572c159c7/sources/MasterChef.sol
Accumulated TAOs per share, times 1e12. See below.
uint256 accTaoPerShare;
11,303,096
[ 1, 4625, 348, 7953, 560, 30, 225, 15980, 5283, 690, 399, 37, 15112, 1534, 7433, 16, 4124, 404, 73, 2138, 18, 2164, 5712, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 4078, 56, 6033, 2173, 9535, 31, 565, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/11297108109/0x4B75bA193755A52F5b6398466CB3e9458610CBaf/sources/contracts/ExchangeCore.sol
@dev Settles an order by transferring assets between counterparties. @param orderInfo The order info struct. @param order Order struct containing order specifications. @param takerAddress Address selling takerAsset and buying makerAsset. pay protocol fees pay royalties
function _settle( LibOrder.OrderInfo memory orderInfo, LibOrder.Order memory order, address takerAddress, Marketplace memory marketplace ) internal returns (uint256 protocolFee, uint256 marketplaceFee) { bytes memory payerAssetData; bytes memor...
16,952,523
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 1000, 88, 1040, 392, 1353, 635, 906, 74, 20245, 7176, 3086, 3895, 2680, 606, 18, 632, 891, 1353, 966, 1021, 1353, 1123, 1958, 18, 632, 891, 1353, 4347, 1958, 4191, 1353, 21950, 18, 632, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 542, 5929, 12, 203, 3639, 10560, 2448, 18, 2448, 966, 3778, 1353, 966, 16, 203, 3639, 10560, 2448, 18, 2448, 3778, 1353, 16, 203, 3639, 1758, 268, 6388, 1887, 16, 203, 3639, 6622, 24577, 3778, 29917, 203, 565, 262,...
./full_match/1/0xFE02E6c7DBFa6f5cD712f3CF068073C5fB2BFb98/sources/contract.sol
@dev Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with GSN meta-transactions the account sending and paying for exe...
abstract contract Context { pragma solidity ^0.6.8; function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { return msg.data; } }
3,083,448
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 28805, 1779, 2973, 326, 783, 4588, 819, 16, 6508, 326, 5793, 434, 326, 2492, 471, 2097, 501, 18, 21572, 4259, 854, 19190, 2319, 3970, 1234, 18, 15330, 471, 1234, 18, 892, 16, 2898, 1410, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 17801, 6835, 1772, 288, 203, 203, 203, 683, 9454, 18035, 560, 3602, 20, 18, 26, 18, 28, 31, 203, 565, 445, 389, 3576, 12021, 1435, 2713, 1476, 5024, 1135, 261, 2867, 8843, 429, 13, 288, 203, 3639, 327, 1234, 18, 15330, 31, 203,...
./partial_match/1/0x2840A0844310Fc22292FE336e96aB1884Bc1e6D0/sources/REDP.sol
* Contract module which allows derived contracts access control over token minting operations. This module is used through inheritance. It will make available the modifier `onlyMinter`, which can be applied to the minting functions of your contract. Those functions will only be accessible to accounts with the minter ro...
contract MinterRole is AccessControl { event MinterAdded(address indexed account); event MinterRemoved(address indexed account); modifier onlyMinter() { require(isMinter(_msgSender()), "MinterRole: caller does not have the Minter role"); _; } constructor () internal { _se...
2,843,833
[ 1, 4625, 348, 7953, 560, 30, 380, 13456, 1605, 1492, 5360, 10379, 20092, 2006, 3325, 1879, 1147, 312, 474, 310, 5295, 18, 1220, 1605, 353, 1399, 3059, 16334, 18, 2597, 903, 1221, 2319, 326, 9606, 1375, 3700, 49, 2761, 9191, 1492, 848,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 490, 2761, 2996, 353, 24349, 288, 203, 203, 565, 871, 490, 2761, 8602, 12, 2867, 8808, 2236, 1769, 203, 565, 871, 490, 2761, 10026, 12, 2867, 8808, 2236, 1769, 203, 203, 203, 565, 9606, 1338, 49, 2761, 1435, 288, 203, 3639...
pragma solidity 0.4.24; library SafeMath { // We use `pure` bbecause it promises that the value for the function depends ONLY // on the function arguments function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; require(a == 0 || c / a == b); return c; ...
@dev Returns the confirmation status of a transaction. @param transactionId Transaction ID. @return Confirmation status.
function isConfirmed(uint256 transactionId) public view returns (bool) { uint8 count = 0; for (uint8 i = 0; i<owners.length; i++) { if (confirmations[transactionId][owners[i]]) { count.add(1); } if (count == required) {...
7,314,319
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2860, 326, 14296, 1267, 434, 279, 2492, 18, 632, 891, 24112, 5947, 1599, 18, 632, 2463, 17580, 367, 1267, 18, 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, 353, 3976, 11222, 12, 11890, 5034, 24112, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 2254, 28, 1056, 273, 374, 31, 203, 3639, 364, 261, 11890, 28, 277, 273, 374, 31...
./full_match/4/0xbF9005A19e347541F7aE273c512969110A339af8/sources/contracts/Workshop.sol
Address where the mint fees are deposited
address public multiSigOwner;
13,293,384
[ 1, 4625, 348, 7953, 560, 30, 225, 5267, 1625, 326, 312, 474, 1656, 281, 854, 443, 1724, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 1758, 1071, 3309, 8267, 5541, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/math/SafeMath.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.4/contracts/GSN/Context.sol"; import "https://github.com/OpenZeppelin/op...
* @dev get swapp price with the discounted fee/
function price( uint256 input_amount, uint256 input_reserve, uint256 output_reserve ) public view returns (uint256) { uint256 input_amount_with_fee = input_amount.mul(uint256(getFee())); uint256 numerator = input_amount_with_fee.mul(output_reserve); uint256 denomi...
14,052,433
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 336, 1352, 2910, 6205, 598, 326, 12137, 329, 14036, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 6205, 12, 203, 3639, 2254, 5034, 810, 67, 8949, 16, 203, 3639, 2254, 5034, 810, 67, 455, 6527, 16, 203, 3639, 2254, 5034, 876, 67, 455, 6527, 203, 565, 262, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2254...
./full_match/5/0x7af17F1fb86F4C20eD89F63B1631aA0590c7BdA4/sources/contracts/CreamPaiToken.sol
//*/ @dev Returns whether contract metadata can be set in the given execution context.
Internal (overrideable) functions function _canSetContractURI() internal view virtual override returns (bool) { return msg.sender == owner(); }
1,874,256
[ 1, 4625, 348, 7953, 560, 30, 368, 5549, 632, 5206, 2860, 2856, 6835, 1982, 848, 506, 444, 316, 326, 864, 4588, 819, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 13491, 3186, 261, 10601, 429, 13, 4186, 203, 203, 565, 445, 389, 4169, 694, 8924, 3098, 1435, 203, 3639, 2713, 203, 3639, 1476, 203, 3639, 5024, 203, 3639, 3849, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 327, 1234...
pragma solidity ^0.5.0; import 'erc1820/contracts/ERC1820Client.sol'; import './IERC777.sol'; import '../lifecycle/Managed.sol'; import '../math/SafeMath.sol'; import '../registry/ERC1820Implementer.sol'; import './SimpleTokenStore.sol'; import './ERC777TokensRecipient.sol'; import './ERC777TokensSender.sol'; /** *...
Store default operators as both list and map
__defaultOperators = _defaultOperators;
1,782,509
[ 1, 4625, 348, 7953, 560, 30, 225, 4994, 805, 12213, 487, 3937, 666, 471, 852, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 1001, 1886, 24473, 273, 389, 1886, 24473, 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,...
./partial_match/3/0xd1502017ddAC247410207420f76EE3Be649165aa/sources/IBaseTokenPresale.sol
* @dev Withdraw tokens only after crowdsale ends./
function withdrawTokens() public withdrawable { require(!withdrawableTokens[_msgSender()]); uint256 amount = _balances[_msgSender()]; require( amount > 0, "PostDeliveryCrowdsale: beneficiary is not due any tokens" ); _deliverTokens(_msgSender(), amoun...
5,094,716
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3423, 9446, 2430, 1338, 1839, 276, 492, 2377, 5349, 3930, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 598, 9446, 5157, 1435, 1071, 598, 9446, 429, 288, 203, 3639, 2583, 12, 5, 1918, 9446, 429, 5157, 63, 67, 3576, 12021, 1435, 19226, 203, 3639, 2254, 5034, 3844, 273, 389, 70, 26488, 63, 67, 3576, 12021, 1435, 15533, 203,...
// Сочетаемость глаголов (и отглагольных частей речи) с предложным // паттерном. // LC->07.08.2018 facts гл_предл language=Russian { arity=3 //violation_score=-5 generic return=boolean } #define ГЛ_ИНФ(v) инфинитив:v{}, глагол:v{} #region Предлог_В // ------------------- С ПРЕДЛОГОМ 'В' -----------------------...
припирать к стенке
rus_verbs:припирать{},
5,488,330
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 145, 128, 146, 227, 145, 121, 145, 128, 145, 121, 146, 227, 145, 113, 146, 229, 146, 239, 225, 145, 123, 225, 146, 228, 146, 229, 145, 118, 145, 126, 145, 123, 145, 118, 203, 2, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 8010, 67, 502, 2038, 30, 145, 128, 146, 227, 145, 121, 145, 128, 145, 121, 146, 227, 145, 113, 146, 229, 146, 239, 2916, 16, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
/** *Submitted for verification at Etherscan.io on 2022-02-24 */ // File: contracts/interface/IERC165.sol /** * @title IERC165 * @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md */ interface IERC165 { /** * @notice Query if a contract implements an interface * @param interfaceId The inte...
* @dev Serves as a gas cost optimized boolean flag to indicate whether the minting process has been concluded for a given 'typeCount', correspinds to the {_getFinalized} and {setFinalized}./* @dev Emitted when tokens are created./* @dev Ultimate instantiation of a Nifty Gateway NFT collection. @param name Of the collec...
address defaultOwner) ERC721(name, symbol, id, baseURI, typeCount, defaultOwner, niftyRegistryContract) { _creator = creator_; }
4,810,588
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1275, 3324, 487, 279, 16189, 6991, 15411, 1250, 2982, 358, 10768, 2856, 326, 312, 474, 310, 1207, 711, 2118, 356, 7908, 364, 279, 864, 296, 723, 1380, 2187, 3973, 84, 15882, 358, 326, 288...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1758, 805, 5541, 13, 4232, 39, 27, 5340, 12, 529, 16, 3273, 16, 612, 16, 1026, 3098, 16, 618, 1380, 16, 805, 5541, 16, 290, 2136, 93, 4243, 8924, 13, 288, 203, 203, 3639, 389, 20394, 273, 11784, 67, 31, 203, 565, 289, ...
pragma solidity ^0.5.12; pragma experimental ABIEncoderV2; import "./OpenOraclePriceData.sol"; import "./OpenOracleView.sol"; /** * @notice The DelFi Price Feed View * @author Compound Labs, Inc. */ contract DelFiPrice is OpenOracleView { /// @notice The event emitted when the median price is updated event...
* @notice Helper to sort an array of uints @param array Array of integers to sort @return The sorted array of integers/
function sort(uint64[] memory array) private pure returns (uint64[] memory) { uint N = array.length; for (uint i = 0; i < N; i++) { for (uint j = i + 1; j < N; j++) { if (array[i] > array[j]) { uint64 tmp = array[i]; array[i] = arra...
12,871,344
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 9705, 358, 1524, 392, 526, 434, 2254, 87, 632, 891, 526, 1510, 434, 12321, 358, 1524, 632, 2463, 1021, 3115, 526, 434, 12321, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1524, 12, 11890, 1105, 8526, 3778, 526, 13, 3238, 16618, 1135, 261, 11890, 1105, 8526, 3778, 13, 288, 203, 3639, 2254, 423, 273, 526, 18, 2469, 31, 203, 3639, 364, 261, 11890, 277, 273, 374, 31, 277, 411, 423, 31, 277...
pragma solidity ^0.5.0; pragma experimental ABIEncoderV2; import "../client/node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol"; /** * @title A digital time capsule for images * @author John Park * @notice This smart contract's main purpose is to store the state for an image time capsule application. Alon...
* @title A digital time capsule for images @author John Park @notice This smart contract's main purpose is to store the state for an image time capsule application. Along with basic inifo like unlock time, title, etc, private key used to encrypt the AES key and the encrypted AES key is stored for each entry/
contract TimeCapsule { using SafeMath for uint256; struct Entry { uint256 id; uint256 unlockTime; address owner; string ipfs; string title; string ec_aes_key; string priv_key; bool isReleased; } mapping(address => Entry[]) private ownerToEntries; bool public contractPaused...
1,072,804
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 432, 25615, 813, 15788, 725, 364, 4602, 632, 4161, 804, 22223, 453, 1313, 632, 20392, 1220, 13706, 6835, 1807, 2774, 13115, 353, 358, 1707, 326, 919, 364, 392, 1316, 813, 15788, 725, 2521, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2647, 24193, 725, 288, 203, 225, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 225, 1958, 3841, 288, 203, 565, 2254, 5034, 612, 31, 203, 565, 2254, 5034, 7186, 950, 31, 203, 565, 1758, 3410, 31, 203, 565, 533, 2359, ...
./partial_match/1/0x6b2C42D2Aa4CB2D859CF7a88546dB12ae294F303/sources/contracts/utils/DesynOwnable.sol
* @notice Returns the address of the current owner @dev external for gas optimization @return address - of the owner (AKA controller)/
function getController() external view returns (address) { return _owner; }
2,714,703
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2860, 326, 1758, 434, 326, 783, 3410, 632, 5206, 3903, 364, 16189, 14850, 632, 2463, 1758, 300, 434, 326, 3410, 261, 14607, 37, 2596, 13176, 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, 13455, 1435, 3903, 1476, 1135, 261, 2867, 13, 288, 203, 3639, 327, 389, 8443, 31, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT /** ∩~~~~∩ ξ ・×・ ξ ξ ~ ξ ξ   ξ ξ   “~~~~〇 ξ       ξ ξ ξ ξ~~~ξ ξ ξ   ξ_ξξ_ξ ξ_ξξ_ξ Alpaca Fin Corporation */ pragma solidity 0.6.6; import "@openzeppelin/contracts-ethereum-package/contracts/access/Ownable.sol"; import "@openzeppelin/contracts-ethereum-package/contr...
Mapping for worker address to its configuration.
mapping(address => WorkerConfig) public workers;
1,794,807
[ 1, 4625, 348, 7953, 560, 30, 225, 9408, 364, 4322, 1758, 358, 2097, 1664, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 2874, 12, 2867, 516, 11016, 809, 13, 1071, 9798, 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, -10...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma abicoder v2; import { ISuperfluid, ISuperToken, ISuperApp, ISuperAgreement, SuperAppDefinitions, BatchOperation } from "./ISuperfluid.sol"; // When you're ready to leave Remix, change imports to follow this pattern: // "@superfluid-f...
returns a new bought token stream based on the old streams, sold token stream and the constant product formula x*y = k or soldTokenStream*BoughtTokenStream = k or oldSoldTokensStream*oldBoughtTokenStream = newSoldTokenStream*newBoughtTokenStream (y') = (x*y)/(x')
function _getyNew(int96 x, int96 y, int96 xNew) private pure returns (int96 yNew){ yNew = (x*y)/xNew; }
1,067,570
[ 1, 4625, 348, 7953, 560, 30, 225, 1135, 279, 394, 800, 9540, 1147, 1407, 2511, 603, 326, 1592, 8205, 16, 272, 1673, 1147, 1407, 471, 326, 5381, 3017, 8013, 619, 14, 93, 273, 417, 578, 272, 1673, 1345, 1228, 14, 13809, 9540, 1345, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 588, 93, 1908, 12, 474, 10525, 619, 16, 509, 10525, 677, 16, 509, 10525, 619, 1908, 13, 3238, 16618, 1135, 261, 474, 10525, 677, 1908, 15329, 203, 3639, 677, 1908, 273, 261, 92, 14, 93, 13176, 92, 1908, 31, 203, ...
// Sources flattened with hardhat v2.8.0 https://hardhat.org pragma solidity ^0.8.0; // File contracts/libraries/SafeTransfer.sol // SPDX-License-Identifier: GPL-3.0-or-later // helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false library TransferHelper { f...
transfer QLT back to staker
redeemedAmount = stakingInfo.stakedAmount;
1,095,622
[ 1, 4625, 348, 7953, 560, 30, 225, 7412, 225, 2024, 56, 1473, 358, 384, 6388, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 283, 24903, 329, 6275, 273, 384, 6159, 966, 18, 334, 9477, 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...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "./IERC900.sol"; import "./RewardStreamer.sol"; import "./StakingLib....
* @notice Will apply a percentage to a number @param number The number to multiply @param percent The percentage to apply @return (uint256) the operation result/
function applyPercent(uint256 number, uint256 percent) public pure returns (uint256) { return number * percent / 100; }
497,259
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 9980, 2230, 279, 11622, 358, 279, 1300, 632, 891, 1300, 1021, 1300, 358, 10194, 632, 891, 5551, 1021, 11622, 358, 2230, 632, 2463, 261, 11890, 5034, 13, 326, 1674, 563, 19, 2, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 2230, 8410, 12, 11890, 5034, 1300, 16, 2254, 5034, 5551, 13, 1071, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 202, 202, 2463, 1300, 380, 5551, 342, 2130, 31, 203, 202, 97, 203, 2, -100, -100, -100, -100, -100, -100, ...
// File: contracts/interfaces/IERC20.sol // SPDX-License-Identifier: agpl-3.0 pragma solidity 0.6.12; /** * @dev Interface of the ERC20 standard as defined in the EIP. * From https://github.com/OpenZeppelin/openzeppelin-contracts */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. *...
* @dev Writes a snapshot before any operation involving transfer of value: _transfer, _mint and _burn - On _transfer, it writes snapshots for both "from" and "to" - On _mint, only for _to - On _burn, only for _from @param from the from address @param to the to address @param amount the amount to transfer/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal override { if (from == to) { return; } if (from != address(0)) { uint256 fromBalance = balanceOf(from); _writeSnapshot(from, uint128(fromBalance), uint128(fromBalance.sub(amo...
340,294
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 30053, 279, 4439, 1865, 1281, 1674, 29876, 6282, 7412, 434, 460, 30, 389, 13866, 16, 389, 81, 474, 471, 389, 70, 321, 300, 2755, 389, 13866, 16, 518, 7262, 12808, 364, 3937, 315, 2080, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5771, 1345, 5912, 12, 2867, 628, 16, 1758, 358, 16, 2254, 5034, 3844, 13, 2713, 3849, 288, 203, 3639, 309, 261, 2080, 422, 358, 13, 288, 203, 5411, 327, 31, 203, 3639, 289, 203, 203, 3639, 309, 261, 2080, 480, ...
./full_match/1/0x97de57eC338AB5d51557DA3434828C5DbFaDA371/sources/contracts/Lybra.sol
* @notice DAO sets RedemptionFee, 100 means 1%/
function setRedemptionFee(uint8 newFee) external onlyGov { require(newFee <= 500, "Max Redemption Fee is 5%"); redemptionFee = newFee; emit RedemptionFeeChanged(newFee); }
3,209,268
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 463, 20463, 1678, 868, 19117, 375, 14667, 16, 2130, 4696, 404, 9, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 426, 19117, 375, 14667, 12, 11890, 28, 394, 14667, 13, 3903, 1338, 43, 1527, 288, 203, 3639, 2583, 12, 2704, 14667, 1648, 6604, 16, 315, 2747, 868, 19117, 375, 30174, 353, 1381, 9, 8863, 203, 3639, 283, 19117, 375,...
/** *Submitted for verification at Etherscan.io on 2022-03-24 */ /* ▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓▓██▓▓▓▓ ▓▓▓▓▓▓██████████ ▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▓...
Buy FeeSell FeeOriginal Fee
contract GILF is Context, IERC20, Ownable { using SafeMath for uint256; uint8 private constant _decimals = 9; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bo...
6,838,335
[ 1, 4625, 348, 7953, 560, 30, 605, 9835, 30174, 55, 1165, 30174, 8176, 30174, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 611, 2627, 42, 353, 1772, 16, 467, 654, 39, 3462, 16, 14223, 6914, 288, 203, 7010, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 7010, 565, 2254, 28, 3238, 5381, 389, 31734, 273, 2468, 31, 203, 7010, 565, 2874, 12, ...
//Address: 0x85eafc29690c6d64c8513499b6bea8864fbeb6d7 //Contract name: Crowdsale //Balance: 565.971979954806504087 Ether //Verification Date: 5/29/2018 //Transacion Count: 902 // CODE STARTS HERE pragma solidity ^0.4.23; // File: contracts/OpenZeppelin/ERC20Basic.sol /** * @title ERC20 * @dev Simpler version of ...
* @dev Determines how ETH is being transfered to owners wallet./
function _withdrawAllFunds() onlyOwner external { wallet.transfer(address(this).balance); }
997,411
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 30778, 3661, 512, 2455, 353, 3832, 7412, 329, 358, 25937, 9230, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 1918, 9446, 1595, 42, 19156, 1435, 1338, 5541, 3903, 288, 203, 565, 9230, 18, 13866, 12, 2867, 12, 2211, 2934, 12296, 1769, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity 0.6.2; pragma experimental ABIEncoderV2; interface Erc1820Registry { function SETINTERFACEIMPLEMENTER302(address _target, bytes32 _interfaceHash, address _implementer) external; //inject NONSTANDARD NAMING } ...
get the index into entries array that this entry lives at
uint256 index = map.index[key];
5,459,495
[ 1, 4625, 348, 7953, 560, 30, 225, 336, 326, 770, 1368, 3222, 526, 716, 333, 1241, 328, 3606, 622, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 202, 202, 11890, 5034, 770, 273, 852, 18, 1615, 63, 856, 15533, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity ^0.4.24; contract ERC721Basic { event Transfer(address indexed _from, address indexed _to, uint256 _tokenId); event Approval(address indexed _owner, address indexed _approved, uint256 _tokenId); event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved); fu...
* @dev Adds two numbers, throws on overflow./
function add(uint32 a, uint32 b) internal pure returns (uint32 c) { c = a + b; assert(c >= a); return c; }
2,522,041
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 15605, 2795, 5600, 16, 1216, 603, 9391, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 527, 12, 11890, 1578, 279, 16, 2254, 1578, 324, 13, 2713, 16618, 1135, 261, 11890, 1578, 276, 13, 288, 203, 3639, 276, 273, 279, 397, 324, 31, 203, 3639, 1815, 12, 71, 1545, 279, 1769, 203, 3639, 327, 276, 31, 203, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Pausable.sol"; import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol"; import "../libs/Strings.sol"; import "../libs/AddressSet.sol"; import "../libs/UInt256Set.sol"; import "../ac...
* @dev add a proxy registry to the list/
function addProxyRegistry(address registry) external override { require( msg.sender == registryManager || _controllers[msg.sender] == true, "UNAUTHORIZED" ); proxyRegistries.insert(registry); }
12,955,921
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 527, 279, 2889, 4023, 358, 326, 666, 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...
[ 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, 527, 3886, 4243, 12, 2867, 4023, 13, 3903, 3849, 288, 203, 3639, 2583, 12, 203, 5411, 1234, 18, 15330, 422, 4023, 1318, 747, 389, 20171, 63, 3576, 18, 15330, 65, 422, 638, 16, 203, 5411, 315, 2124, 28383, 6, 203, 3639...
./partial_match/1/0xF36399Bf8CB0f47e6e79B1F615385e3A94C8473a/sources/contracts/modules/credit/LineOfCredit.sol
logic updated in Spigoted and Escrowed lines
function _canDeclareInsolvent() internal virtual returns (bool) { return true; }
4,128,875
[ 1, 4625, 348, 7953, 560, 30, 225, 4058, 3526, 316, 5878, 360, 16474, 471, 512, 1017, 492, 329, 2362, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 4169, 3456, 834, 5048, 355, 616, 1435, 2713, 5024, 1135, 261, 6430, 13, 288, 203, 3639, 327, 638, 31, 203, 565, 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; import "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol"; import "../../../interfaces/IEscrowTicketer.sol"; import "../../../interfaces/ISeenHausNFT.sol"; import "../../../util/StringUtils.sol"; import "../MarketClientBase.so...
* @title ISeenHausNFT @notice This is the interface for the Seen.Haus ERC-1155 NFT contract. The ERC-165 identifier for this interface is: 0x34d6028b/
interface ISeenHausNFT is IERC2981, IERC1155Upgradeable { function getNextToken() external view returns (uint256 nextToken); function getTokenInfo(uint256 _tokenId) external view returns (SeenTypes.Token memory tokenInfo); function isPhysical(uint256 _tokenId) external returns (bool); function mintP...
1,573,948
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 467, 15160, 44, 69, 407, 50, 4464, 632, 20392, 1220, 353, 326, 1560, 364, 326, 3265, 275, 18, 44, 69, 407, 4232, 39, 17, 2499, 2539, 423, 4464, 6835, 18, 1021, 4232, 39, 17, 28275, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 5831, 467, 15160, 44, 69, 407, 50, 4464, 353, 467, 654, 39, 5540, 11861, 16, 467, 654, 39, 2499, 2539, 10784, 429, 288, 203, 203, 565, 445, 22616, 1435, 3903, 1476, 1135, 261, 11890, 5034, 9617, 1769, 203, 203, 565, 445, 9162, ...
pragma solidity ^0.4.24; contract Pokemon { uint public pokemonCount = 0; uint public wildPokemonCount = 0; uint public tradePokemonCount = 0; constructor () public { _createPokemon("Pikachu", "Lightning", 2, 100); _createPokemon("Charizard", "Fire", 4, 200); _creat...
Transfer the ownership of pokemon to the buyer
_transfer(pokIndexToOwner[_pokId], msg.sender, _pokId);
5,526,873
[ 1, 4625, 348, 7953, 560, 30, 225, 12279, 326, 23178, 434, 293, 601, 4758, 358, 326, 27037, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 389, 13866, 12, 84, 601, 1016, 774, 5541, 63, 67, 84, 601, 548, 6487, 1234, 18, 15330, 16, 389, 84, 601, 548, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/137/0xBc344BA056D5878590c7Eb81693ce954B943146E/sources/contracts/interfaces/liquidity-deployer/IUniProxy.sol
@author Gamma Strategies
interface IUniProxy { function deposit( uint deposit0, uint deposit1, address to, address pos, uint[4] memory minIn ) external returns (uint shares); function getDepositAmount( address pos, address token, uint depositAmount ) external view...
3,766,327
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 4161, 25409, 3978, 15127, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5831, 467, 984, 77, 3886, 288, 203, 565, 445, 443, 1724, 12, 203, 3639, 2254, 443, 1724, 20, 16, 203, 3639, 2254, 443, 1724, 21, 16, 203, 3639, 1758, 358, 16, 203, 3639, 1758, 949, 16, 203, 3639, 2254, 63, 24, 65, 3778, 1131,...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts-ethereum-package/contracts/access/Ownable.sol"; import "./utils/ContractGuard.sol"; import "./utils/ShareWrapper...
========== DATA STRUCTURES ========== */
struct Boardseat { uint256 lastSnapshotIndex; uint256 rewardEarned; uint256 epochTimerStart; }
883,860
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 1432, 8730, 7128, 9749, 4830, 55, 422, 1432, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 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, 1958, 17980, 1060, 307, 270, 288, 203, 3639, 2254, 5034, 1142, 4568, 1016, 31, 203, 3639, 2254, 5034, 19890, 41, 1303, 329, 31, 203, 3639, 2254, 5034, 7632, 6777, 1685, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100,...
./partial_match/1/0xB4eB19AF5771B01b41328cD4F30aa6dA61F074c8/sources/Xoge.sol
exclude from paying fees or having max transaction amount
constructor() ERC20("X-oge", "XOGE") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswa...
3,711,008
[ 1, 4625, 348, 7953, 560, 30, 225, 4433, 628, 8843, 310, 1656, 281, 578, 7999, 943, 2492, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 4232, 39, 3462, 2932, 60, 17, 717, 73, 3113, 315, 60, 51, 7113, 7923, 288, 203, 7010, 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,...
pragma solidity ^0.4.24; /** * @title It holds the storage variables related to ERC20DividendCheckpoint module */ contract ERC20DividendCheckpointStorage { // Mapping to token address for each dividend mapping (uint256 => address) public dividendTokens; } /** * @title Holds the storage varia...
* @notice Called by the owner to pause, triggers stopped state/
function _pause() internal whenNotPaused { paused = true; emit Pause(now);
926,195
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 11782, 635, 326, 3410, 358, 11722, 16, 11752, 9627, 919, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 19476, 1435, 2713, 1347, 1248, 28590, 288, 203, 3639, 17781, 273, 638, 31, 203, 3639, 3626, 31357, 12, 3338, 1769, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity >=0.4.22 <0.6.0; /** * @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 private _owner; event OwnershipTransferred(address...
* Destroy tokens from other account Remove `_value` tokens from the system irreversibly on behalf of `_from`. @param _from the address of the sender @param _value the amount of money to burn/
function burnFrom(address _from, uint256 _value) whenNotPaused public returns (bool success) { emit Burn(_from, _value); return true; }
7,239,483
[ 1, 4625, 348, 7953, 560, 30, 380, 15701, 2430, 628, 1308, 2236, 3581, 1375, 67, 1132, 68, 2430, 628, 326, 2619, 9482, 266, 2496, 24755, 603, 12433, 6186, 434, 1375, 67, 2080, 8338, 632, 891, 389, 2080, 326, 1758, 434, 326, 5793, 632...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 445, 18305, 1265, 12, 2867, 389, 2080, 16, 2254, 5034, 389, 1132, 13, 1347, 1248, 28590, 1071, 1135, 261, 6430, 2216, 13, 288, 203, 3639, 3626, 605, 321, 24899, 2080, 16, 389, 1132, 1769, 203, 3639, 327, 638, 31, 203, 565, ...
pragma solidity >=0.4.21 <0.6.0; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v2.5.0/contracts/token/ERC721/ERC721Full.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v2.5.0/contracts/ownership/Ownable.sol"; /* OR */ //import '../node_modules/openzeppeli...
initiate new auctions
function createAuction(uint tokenId) public onlyOwner { auctions[tokenId] = new MartianAuction(foundationAddress); }
15,883,773
[ 1, 4625, 348, 7953, 560, 30, 225, 18711, 394, 279, 4062, 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, 0, 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, 752, 37, 4062, 12, 11890, 1147, 548, 13, 1071, 1338, 5541, 288, 203, 3639, 279, 4062, 87, 63, 2316, 548, 65, 273, 394, 490, 485, 2779, 37, 4062, 12, 30493, 1887, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -...
./full_match/1/0xDF6e02aa226e69888241e7D8689C1b1FFbA48Ae7/sources/lib/relic-sdk/packages/contracts/interfaces/IReliquary.sol
feeWei = feeWeiMantissa * pow(10, feeWeiExponent)
struct FeeInfo { uint8 flags; uint16 feeCredits; uint8 feeWeiMantissa; uint8 feeWeiExponent; uint32 feeExternalId; }
3,007,693
[ 1, 4625, 348, 7953, 560, 30, 225, 14036, 3218, 77, 273, 14036, 3218, 77, 49, 970, 21269, 380, 7602, 12, 2163, 16, 14036, 3218, 77, 17972, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1958, 30174, 966, 288, 203, 3639, 2254, 28, 2943, 31, 203, 3639, 2254, 2313, 14036, 24201, 1282, 31, 203, 3639, 2254, 28, 14036, 3218, 77, 49, 970, 21269, 31, 203, 3639, 2254, 28, 14036, 3218, 77, 17972, 31, 203, 3639, 2254,...
/// PIRawPerSecondCalculator.sol /** Reflexer PI Controller License 1.0 Definitions Primary License: This license agreement Secondary License: GNU General Public License v2.0 or later Effective Date of Secondary License: May 5, 2023 Licensed Software: Software License Grant: Subject to and dependent upon your adhe...
[EIGHTEEN_DECIMAL_NUMBER]
int Ki;
2,525,232
[ 1, 4625, 348, 7953, 560, 30, 225, 306, 41, 16055, 1448, 1157, 67, 23816, 67, 9931, 65, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 509, 1475, 77, 31, 4766, 4202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.24; import "./ICheckpoint.sol"; import "../../interfaces/ISecurityToken.sol"; import "openzeppelin-solidity/contracts/math/SafeMath.sol"; import "openzeppelin-solidity/contracts/math/Math.sol"; /** * @title Checkpoint module for issuing ether dividends */ contract EtherDividendCheckpoint is ICh...
* @notice Issuer can reclaim remaining unclaimed dividend amounts, for expired dividends @param _dividendIndex Dividend to reclaim/
function reclaimDividend(uint256 _dividendIndex) public onlyOwner { require(_dividendIndex < dividends.length, "Incorrect dividend index"); require(now >= dividends[_dividendIndex].expiry, "Dividend expiry is in the future"); require(!dividends[_dividendIndex].reclaimed, "Dividend already cl...
1,771,803
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 23959, 848, 283, 14784, 4463, 6301, 80, 4581, 329, 31945, 30980, 16, 364, 7708, 3739, 350, 5839, 632, 891, 389, 2892, 26746, 1016, 21411, 26746, 358, 283, 14784, 19, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 283, 14784, 7244, 26746, 12, 11890, 5034, 389, 2892, 26746, 1016, 13, 1071, 1338, 5541, 288, 203, 3639, 2583, 24899, 2892, 26746, 1016, 411, 3739, 350, 5839, 18, 2469, 16, 315, 16268, 31945, 770, 8863, 203, 3639, 2583, 12...
./partial_match/84531/0xDEDE5b84A9F2525A81899DDFEcaB4521078Cb03D/sources/SampleNFT.sol
* @dev Interface of ERC721A./ ============================================================= STRUCTS =============================================================
interface IERC721A { error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); erro...
16,688,540
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 6682, 434, 4232, 39, 27, 5340, 37, 18, 19, 422, 20775, 1432, 12275, 18701, 7128, 9749, 55, 422, 20775, 1432, 12275, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 467, 654, 39, 27, 5340, 37, 288, 203, 565, 555, 1716, 685, 1125, 11095, 1248, 5541, 50, 280, 31639, 5621, 203, 203, 565, 555, 1716, 685, 1125, 1138, 1290, 3989, 19041, 1345, 5621, 203, 203, 565, 555, 30918, 1138, 1290, 7170...
./full_match/137/0x6857D601E199e7dC2Da276bc6E860124948B4F34/sources/project_/contracts/Pool.sol
/ UPDATE - A3 Audit Report safety check this scenario is very tricky to mock and our mock contracts are pretty complex currently so haven't tested this line with unit tests safety check
function _transferFundsSafelyOrFail(address _recepient, uint256 _amount) internal returns (uint256) { if (isTransactionalToken) { if (_amount > address(this).balance) { _amount = address(this).balance; } if (!success) { revert TRANSACTIONAL...
4,741,882
[ 1, 4625, 348, 7953, 560, 30, 342, 11028, 300, 432, 23, 12975, 8706, 24179, 866, 333, 10766, 353, 8572, 433, 13055, 358, 5416, 471, 3134, 5416, 20092, 854, 7517, 7233, 4551, 1427, 15032, 1404, 18432, 333, 980, 598, 2836, 7434, 24179, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 13866, 42, 19156, 26946, 2357, 18492, 12, 2867, 389, 8606, 84, 1979, 16, 2254, 5034, 389, 8949, 13, 2713, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 309, 261, 291, 3342, 287, 1345, 13, 288, 203, 5411, 309, 261, ...
./full_match/4/0xf749B509E209107cee2B013FCC93046F46409EE2/sources/UUUU.sol
CHANGED: added to account for changes in openzeppelin versions
function _baseURI() internal view virtual override returns (string memory) { return baseURI; }
659,445
[ 1, 4625, 348, 7953, 560, 30, 225, 6469, 21095, 30, 3096, 358, 2236, 364, 3478, 316, 1696, 94, 881, 84, 292, 267, 5244, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 1969, 3098, 1435, 2713, 1476, 5024, 3849, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 327, 1026, 3098, 31, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
/* Copyright 2019 mcdexio Copyright 2018 The Hydro Protocol Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 U...
* Check if price asked by maker and price bid by taker are met. Currently, to maker sure the `MINT` action always work, we assume that the trading fee can always cover mint fee. @param takerOrderParam A OrderParam object representing the order from taker. @param takerOrderInfo The OrderInfo object representing the curr...
function getMatchResult( OrderParam memory takerOrderParam, OrderInfo memory takerOrderInfo, OrderParam memory makerOrderParam, OrderInfo memory makerOrderInfo, OrderContext memory orderContext, uint256 posFilledAmount ) internal view retur...
1,000,457
[ 1, 4625, 348, 7953, 560, 30, 380, 2073, 309, 6205, 19279, 635, 312, 6388, 471, 6205, 9949, 635, 268, 6388, 854, 5100, 18, 15212, 16, 358, 312, 6388, 3071, 326, 1375, 49, 3217, 68, 1301, 3712, 1440, 16, 732, 6750, 716, 326, 1284, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 336, 2060, 1253, 12, 203, 3639, 4347, 786, 3778, 268, 6388, 2448, 786, 16, 203, 3639, 4347, 966, 3778, 268, 6388, 2448, 966, 16, 203, 3639, 4347, 786, 3778, 312, 6388, 2448, 786, 16, 203, 3639, 4347, 966, 3778, 312, 6...
./full_match/80001/0x3391E54a77c6fEAaF46e7C272836A402838C91FB/sources/contracts/Erc20MaticP2P.sol
callable by buyertransfer tokens to buyertransfer MATIC to buyer seller
function buy(uint256 dealId) external payable returns (bool) { Deal memory deal = deals[dealId]; require(deal.exists == true, "Deal does not exist. Check deal id"); require( deal.buyer == msg.sender, "Only valid buyer can be participiant of this deal. Yours address i...
862,637
[ 1, 4625, 348, 7953, 560, 30, 4140, 635, 27037, 13866, 2430, 358, 27037, 13866, 490, 11781, 358, 27037, 29804, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 30143, 12, 11890, 5034, 10490, 548, 13, 3903, 8843, 429, 1135, 261, 6430, 13, 288, 203, 3639, 28998, 3778, 10490, 273, 443, 1031, 63, 323, 287, 548, 15533, 203, 203, 3639, 2583, 12, 323, 287, 18, 1808, 422, 638, 16, 3...
./full_match/1/0x7049386F00BB8e1f7c41c8B7124b9DaF539Abc59/sources/contracts/ERC721/FairFellaz.sol
* @dev Return the pre-reveal URI, which is used when there is a reveal experience and the reveal metadata has not been set yet./
function _preRevealURI() public view returns (string memory) { return preRevealURI; }
3,013,197
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2000, 326, 675, 17, 266, 24293, 3699, 16, 1492, 353, 1399, 1347, 1915, 353, 279, 283, 24293, 31207, 471, 326, 283, 24293, 1982, 711, 486, 2118, 444, 4671, 18, 19, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 1484, 426, 24293, 3098, 1435, 1071, 1476, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 327, 675, 426, 24293, 3098, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
// File: contracts/Utils/SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity 0.6.12; /** * @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...
* @title A vault to hold and distribute tokens efficiently./
contract MuteVault { using SafeMath for uint256; address public token; address public geyser; uint256 public rewarded; address public owner; constructor(address _token, address _geyser) public { token = _token; geyser = _geyser; IMute(token).approve(geyser, 0xfffffffff...
12,051,791
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 432, 9229, 358, 6887, 471, 25722, 2430, 14382, 715, 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...
[ 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, 16351, 490, 624, 12003, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 1758, 1071, 1147, 31, 203, 565, 1758, 1071, 314, 402, 550, 31, 203, 565, 2254, 5034, 1071, 283, 11804, 31, 203, 565, 1758, 1071, 3410,...
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract TeamVesting is ...
cliff period when tokens are frozen period of time when tokens are getting available seconds in 1 month tokens that will be delivered
contract TeamVesting is ReentrancyGuard, Ownable { using SafeERC20 for IERC20; uint32 public constant CLIFF_MONTHS = 6; uint32 public constant VESTING_MONTHS_COUNT = 24; uint32 public constant MONTH = 2628000; IERC20 public immutable token; pragma solidity 0.8.4; struct UserInfo { u...
13,381,159
[ 1, 4625, 348, 7953, 560, 30, 225, 927, 3048, 3879, 1347, 2430, 854, 12810, 3879, 434, 813, 1347, 2430, 854, 8742, 2319, 3974, 316, 404, 3138, 2430, 716, 903, 506, 22112, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 10434, 58, 10100, 353, 868, 8230, 12514, 16709, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 203, 565, 2254, 1578, 1071, 5381, 8276, 2246, 67, 13942, 55, 273, 1666, 31, 203,...
/** *Submitted for verification at Etherscan.io on 2022-02-16 */ // SPDX-License-Identifier: AGPL-3.0 pragma solidity 0.8.11; // File: ProxyFactoryInitializable.sol contract ProxyFactoryInitializable { event ProxyCreated(address indexed proxy, bytes returnData); function deployMinimal(address _logic, by...
Get a location of some free memory and store it in tempBytes as Solidity does for memory variables. The first word of the slice result is potentially a partial word read from the original array. To read it, we calculate the length of that partial word and start copying that many bytes into the array. The first word we...
function slice( bytes memory _bytes, uint256 _start, uint256 _length ) internal pure returns (bytes memory) { require(_length + 31 >= _length, "slice_overflow"); require(_start + _length >= _start, "slice_overflow"); require(_bytes.length >= _start + _length, "sli...
10,611,179
[ 1, 4625, 348, 7953, 560, 30, 225, 968, 279, 2117, 434, 2690, 4843, 3778, 471, 1707, 518, 316, 1906, 2160, 487, 348, 7953, 560, 1552, 364, 3778, 3152, 18, 1021, 1122, 2076, 434, 326, 2788, 563, 353, 13935, 279, 4702, 2076, 855, 628, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2788, 12, 203, 3639, 1731, 3778, 389, 3890, 16, 203, 3639, 2254, 5034, 389, 1937, 16, 203, 3639, 2254, 5034, 389, 2469, 203, 565, 262, 2713, 16618, 1135, 261, 3890, 3778, 13, 288, 203, 3639, 2583, 24899, 2469, 397, 8231...
./full_match/1/0xe2b76271315e7Ca59F440E7D0A0b7D27210c6929/sources/BEP20.sol
* @dev Destroys `amount` tokens from `account`.`amount` is then deducted from the caller's allowance. See {_burn} and {_approve}./
function _burnFrom(address account, uint256 amount) internal { _burn(account, amount); _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount)); }
8,333,284
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 28510, 28599, 1375, 8949, 68, 2430, 628, 1375, 4631, 16586, 8949, 68, 353, 1508, 11140, 853, 329, 628, 326, 4894, 1807, 1699, 1359, 18, 2164, 288, 67, 70, 321, 97, 471, 288, 67, 12908, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 70, 321, 1265, 12, 2867, 2236, 16, 2254, 5034, 3844, 13, 2713, 288, 203, 3639, 389, 70, 321, 12, 4631, 16, 3844, 1769, 203, 3639, 389, 12908, 537, 12, 4631, 16, 389, 3576, 12021, 9334, 389, 5965, 6872, 63, 4631, ...
/* @title TonMinter v0.0.1 ________ ________ _______ ________ ___ |\ ____\|\ __ \|\ ___ \ |\ __ \|\ \ \ \ \___|\ \ \|\ \ \ __/|\ \ \|\ \ \ \ \ \ \ \ \ _ _\ \ \_|/_\ \ \\\ \ \ \ \ \ \____\ \ \\ \\ \ \_|\ \ \ \\\ \ \ \____ \ \_______\ \__\\ _\\ \_______\ \_______\ ...
* @dev check whether an account has admin role @param _address Address to check/
function isAdmin(address _address) public virtual view returns (bool) { return hasRole(DEFAULT_ADMIN_ROLE, _address); }
1,823,213
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 866, 2856, 392, 2236, 711, 3981, 2478, 632, 891, 389, 2867, 5267, 358, 866, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 377, 445, 23467, 12, 2867, 389, 2867, 13, 1071, 5024, 1476, 1135, 261, 6430, 13, 288, 203, 540, 327, 28335, 12, 5280, 67, 15468, 67, 16256, 16, 389, 2867, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -1...
./full_match/4/0x0a6f698769FeA121cC0b6197346b77Fc042742dC/sources/imageGen.sol
string [] public buffer = ["-", "-", "-", "-","-","-", "-", "-", "-","-"];
contract OnchainArt{ string public buffer = "??????????blau??????????"; address public nftContractAddress = 0x3b6A71B3B559019084b51C26865a9c6750E08084; constructor(){ } function setNFTContractAddress(address _contractAddress) public { nftContractAddress = _contractA...
12,351,649
[ 1, 4625, 348, 7953, 560, 30, 533, 5378, 1071, 1613, 273, 8247, 17, 3113, 3701, 3113, 3701, 3113, 3701, 15937, 17, 15937, 17, 3113, 3701, 3113, 3701, 3113, 3701, 15937, 10951, 15533, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2755, 5639, 4411, 95, 203, 377, 203, 565, 533, 1071, 1613, 273, 315, 14646, 14646, 14646, 14646, 14646, 3083, 8377, 14646, 14646, 14646, 14646, 35, 7225, 31, 203, 565, 1758, 1071, 290, 1222, 8924, 1887, 273, 374, 92, 23, 70,...
/** *Submitted for verification at Etherscan.io on 2022-04-21 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in ...
* @notice Claim certain amount of reward token based on alloy silver token, the method will burn the silver token of the amount of message sender, and transfer reward token to message sender @param _rewardee the address of rewardee @param _amount the amount of silver tokens used to claim @param _totalSupply total claim...
function claimReward( address _rewardee, uint256 _amount, uint256 _totalSupply, uint256 _percentageFee ) external override fromVault { require( getGFIBalance() >= earningGfiFee, "The GFI in the delegacy is less than the GFI fee collected" ); uint256 amountToReward = _amount.m...
15,056,877
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 18381, 8626, 3844, 434, 19890, 1147, 2511, 603, 524, 2466, 17714, 502, 1147, 16, 326, 707, 903, 18305, 326, 17714, 502, 1147, 434, 326, 3844, 434, 883, 5793, 16, 471, 7412, 19890, 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, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 7516, 17631, 1060, 12, 203, 565, 1758, 389, 266, 905, 20953, 16, 203, 565, 2254, 5034, 389, 8949, 16, 203, 565, 2254, 5034, 389, 4963, 3088, 1283, 16, 203, 565, 2254, 5034, 389, 18687, 14667, 203, 225, 262, 3903, 3849, ...
// Verified using https://dapp.tools // hevm: flattened sources of src/GebProxySaviourActions.sol pragma solidity =0.6.7 >=0.6.7; ////// lib/geb-proxy-registry/lib/ds-proxy/lib/ds-auth/src/auth.sol // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public ...
Exits the COIN amount corresponding to the value of savings
CoinJoinLike_3(coinJoin).exit(msg.sender, multiply(accumulatedRates, savings) / RAY);
13,562,919
[ 1, 4625, 348, 7953, 560, 30, 225, 1312, 1282, 326, 385, 6266, 3844, 4656, 358, 326, 460, 434, 4087, 899, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3639, 28932, 4572, 8804, 67, 23, 12, 12645, 4572, 2934, 8593, 12, 3576, 18, 15330, 16, 10194, 12, 8981, 5283, 690, 20836, 16, 4087, 899, 13, 342, 534, 5255, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
/** *Submitted for verification at Etherscan.io on 2022-02-16 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.11; // Part: IRentable interface IRentable { struct Lease { address paymentTokenAddress; uint256 eta; uint256 qtyToPullRemaining; uint256 feesToPullRemaining; ...
Part: OpenZeppelin/[email protected]/AddressUpgradeable* @dev Collection of functions related to the address type/
library AddressUpgradeable { function currentLeases(address tokenAddress, uint256 tokenId) external view returns (Lease memory); } } function isContract(address account) internal view returns (bool) { uint256 size; assembly { size := extcodesize(account) } return...
14,992,581
[ 1, 4625, 348, 7953, 560, 30, 225, 6393, 30, 3502, 62, 881, 84, 292, 267, 19, 63, 3652, 131, 259, 1117, 18537, 1887, 10784, 429, 14, 632, 5206, 2200, 434, 4186, 3746, 358, 326, 1758, 618, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 12083, 5267, 10784, 429, 288, 203, 565, 445, 783, 1682, 3304, 12, 2867, 1147, 1887, 16, 2254, 5034, 1147, 548, 13, 3903, 1476, 1135, 261, 17746, 3778, 1769, 203, 97, 203, 203, 203, 97, 203, 203, 203, 565, 445, 353, 8924, 12, 28...
./partial_match/1/0xEbdE21C71B54aD2Fe3D2fBD5CFc7569374cEDb30/sources/Future1exchange.sol
_referralFee[_seller][_Tokens[0]].add(msg.value);
_referralFee[_seller][_Tokens[0]] += msg.value;
4,192,348
[ 1, 4625, 348, 7953, 560, 30, 389, 1734, 29084, 14667, 63, 67, 1786, 749, 6362, 67, 5157, 63, 20, 65, 8009, 1289, 12, 3576, 18, 1132, 1769, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5411, 389, 1734, 29084, 14667, 63, 67, 1786, 749, 6362, 67, 5157, 63, 20, 13563, 1011, 1234, 18, 1132, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/11155111/0x545282C657F6AEa559755d44B44FB481afd16752/sources/project_/contracts/InvestorContract.sol
Investor contract end
uint public endDate;
3,807,459
[ 1, 4625, 348, 7953, 560, 30, 225, 5454, 395, 280, 6835, 679, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13202, 31, 2398, 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...
./partial_match/1/0xf908B905CA5De97cde29A48b30DD4D23CA71AA32/sources/GErc20.sol
* @title Gama's GToken Contract @notice Abstract base for CTokens @author gama/
contract GToken is GTokenInterface, Exponential, TokenErrorReporter { function initialize(ComptrollerInterface comptroller_, InterestRateModel interestRateModel_, uint initialExchangeRateMantissa_, string memory name_, string memory symbol_, } uint8 decimals_) public { ...
4,280,911
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 611, 20789, 1807, 611, 1345, 13456, 632, 20392, 4115, 1026, 364, 385, 5157, 632, 4161, 314, 20789, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 611, 1345, 353, 611, 1345, 1358, 16, 29770, 649, 16, 3155, 668, 13289, 288, 203, 565, 445, 4046, 12, 799, 337, 1539, 1358, 532, 337, 1539, 67, 16, 203, 3639, 5294, 395, 4727, 1488, 16513, 4727, 1488, 67, 16, 203, 3639, 2...
./full_match/10200/0x4AE048d208409c3Bd6905316B9cD2E168C2f90C6/sources/src/config/PWNConfig.sol
* @notice Set a LOAN token metadata uri for a specific loan contract. @param loanContract Address of a loan contract. @param metadataUri New value of LOAN token metadata uri for given `loanContract`./
function setLoanMetadataUri(address loanContract, string memory metadataUri) external onlyOwner { loanMetadataUri[loanContract] = metadataUri; emit LoanMetadataUriUpdated(loanContract, metadataUri); }
3,785,462
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1000, 279, 1806, 1258, 1147, 1982, 2003, 364, 279, 2923, 28183, 6835, 18, 632, 891, 28183, 8924, 5267, 434, 279, 28183, 6835, 18, 632, 891, 1982, 3006, 1166, 460, 434, 1806, 1258, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 1504, 304, 2277, 3006, 12, 2867, 28183, 8924, 16, 533, 3778, 1982, 3006, 13, 3903, 1338, 5541, 288, 203, 3639, 28183, 2277, 3006, 63, 383, 304, 8924, 65, 273, 1982, 3006, 31, 203, 3639, 3626, 3176, 304, 2277, 3006,...
./full_match/137/0x0e8a0f5C064341Fc066EFb4f1F3e9db2035BBE2e/sources/src/CurationManager.sol
combines find + removeByIndex internal functions to remove
function removeByValue(address value) internal { uint256 i = find(value); removeByIndex(i); }
3,751,462
[ 1, 4625, 348, 7953, 560, 30, 225, 30933, 1104, 397, 1206, 21268, 2713, 4186, 358, 1206, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1206, 30110, 12, 2867, 460, 13, 2713, 288, 203, 3639, 2254, 5034, 277, 273, 1104, 12, 1132, 1769, 203, 3639, 1206, 21268, 12, 77, 1769, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/43113/0xD866C7cE5A19A0D8233052827c1F59F2aE32e8CA/sources/contracts/GrayBlock/Pools.sol
make sure this goes first before transfer to prevent reentrancy
Investors[msg.sender].Investment = 0;
7,111,613
[ 1, 4625, 348, 7953, 560, 30, 225, 1221, 3071, 333, 13998, 1122, 1865, 7412, 358, 5309, 283, 8230, 12514, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 5454, 395, 1383, 63, 3576, 18, 15330, 8009, 3605, 395, 475, 273, 374, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity 0.5.3; import './ICerticolCA.sol'; import './ICerticolDAOToken.sol'; import 'openzeppelin-solidity/contracts/math/SafeMath.sol'; import 'openzeppelin-solidity/contracts/ownership/Ownable.sol'; import 'openzeppelin-solidity/contracts/token/ERC20/IERC20.sol'; import 'openzeppelin-solidity/contracts/toke...
Boolean that store whether this DAO is currently active
bool private _DAODissolved = false;
13,141,364
[ 1, 4625, 348, 7953, 560, 30, 225, 3411, 716, 1707, 2856, 333, 463, 20463, 353, 4551, 2695, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1426, 3238, 389, 9793, 1212, 1054, 12894, 273, 629, 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, ...
// File: ReentrancyGuard.sol // SPDX-License-Identifier: UNLICENSED pragma solidity 0.6.12; // From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/ReentrancyGuard.sol // Subject to the MIT license. /** * @dev Contract module that helps prevent reentrant calls to a function. * * ...
ensures correct lock is affected
require(lockID == _lockID && transferredLock.owner == msg.sender, 'LOCK MISMATCH');
312,160
[ 1, 4625, 348, 7953, 560, 30, 225, 11932, 3434, 2176, 353, 9844, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2583, 12, 739, 734, 422, 389, 739, 734, 597, 906, 4193, 2531, 18, 8443, 422, 1234, 18, 15330, 16, 296, 6589, 490, 5127, 11793, 8284, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity ^0.4.24; // It's important to avoid vulnerabilities due to numeric overflow bugs // OpenZeppelin's SafeMath library, when used correctly, protects agains such bugs // More info: https://www.nccgroup.trust/us/about-us/newsroom-and-events/blog/2018/november/smart-contract-insecurity-bad-arithmetic/ impo...
Returns array of three non-duplicating integers from 0-9
function generateIndexes(address account) internal returns(uint8[3]) { uint8[3] memory indexes; indexes[0] = getRandomIndex(account); indexes[1] = indexes[0]; while(indexes[1] == indexes[0]) { indexes[1] = getRandomIndex(account); } indexes[2...
12,809,972
[ 1, 4625, 348, 7953, 560, 30, 225, 2860, 526, 434, 8925, 1661, 17, 12262, 1776, 12321, 628, 374, 17, 29, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2103, 8639, 12, 2867, 2236, 13, 2713, 1135, 12, 11890, 28, 63, 23, 5717, 203, 565, 288, 203, 3639, 2254, 28, 63, 23, 65, 3778, 5596, 31, 203, 3639, 5596, 63, 20, 65, 273, 20581, 1016, 12, 4631, 1769, 203, 540, 203, ...
./full_match/44787/0xB1948a9623856f933Ba654CFa5933A0ac73136E2/sources/contracts/microcredit/MicrocreditImplementation.sol
* @notice Returns the length of the tokenList/
function tokenListLength() external view override returns (uint256) { return _tokenList.length(); }
13,245,358
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2860, 326, 769, 434, 326, 1147, 682, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1147, 682, 1782, 1435, 3903, 1476, 3849, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 389, 2316, 682, 18, 2469, 5621, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/97/0x9d8fC978f44A94a91F3ea14d83E34Ee3459d573e/sources/contracts/3_Ballot.sol
Exigir que tenga NFT del juego para que pueda retirar (no hacer esto por ahora que requiere el ID de los TOKENS)
IERC1155 NFT = IERC1155(0xE0f8c680E58A46fD933b94A5f21e9130f8269AFB);
5,025,225
[ 1, 4625, 348, 7953, 560, 30, 1312, 360, 481, 6597, 19572, 15833, 423, 4464, 1464, 525, 344, 3240, 12602, 6597, 293, 5957, 69, 325, 481, 297, 261, 2135, 366, 10598, 4387, 83, 22471, 279, 76, 10610, 6597, 10780, 77, 822, 415, 1599, 44...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3639, 467, 654, 39, 2499, 2539, 423, 4464, 273, 467, 654, 39, 2499, 2539, 12, 20, 17432, 20, 74, 28, 71, 26, 3672, 41, 8204, 37, 8749, 74, 40, 29, 3707, 70, 11290, 37, 25, 74, 5340, 73, 29, 24417, 74, 28, 5558, 29, 6799, ...
pragma solidity ^0.8.6; interface ERC20Base { event Approval(address indexed owner, address indexed spender, uint256 value); event Transfer(address indexed from, address indexed to, uint256 value); function totalSupply() external view returns (uint256); function allowance(address owner, address spender...
Added for testing purposes
function transfer(address dst, uint256 amount) override external returns (bool success) { if (failTransferToAddresses[dst]) { return false; } require(balanceOf[msg.sender] >= amount, "Insufficient balance"); balanceOf[msg.sender] += amount; balanceOf[dst] += amoun...
13,125,443
[ 1, 4625, 348, 7953, 560, 30, 225, 25808, 364, 7769, 13694, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7412, 12, 2867, 3046, 16, 2254, 5034, 3844, 13, 3849, 3903, 1135, 261, 6430, 2216, 13, 288, 203, 3639, 309, 261, 6870, 5912, 774, 7148, 63, 11057, 5717, 288, 203, 5411, 327, 629, 31, 203, 3639, 289, 203, 3639, 2583, 1...
./full_match/71402/0x62AEdB532DBa29a45C36396A84b4D57FAF5766Ec/sources/contracts/aave/AaveLinearPoolFactory.sol
LinearPools have a separate post-construction initialization step: we perform it here to ensure deployment and initialization are atomic.
pool.initialize();
7,092,499
[ 1, 4625, 348, 7953, 560, 30, 225, 13921, 16639, 1240, 279, 9004, 1603, 17, 591, 4549, 10313, 2235, 30, 732, 3073, 518, 2674, 358, 3387, 6314, 471, 10313, 854, 7960, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2845, 18, 11160, 5621, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
/** * SPDX-License-Identifier: MIT * * Copyright (c) 2016-2019 zOS Global Limited * */ pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see `ERC20Detailed`. */ interface IERC20 { // Optional functions functi...
* Payment hub might actually have sent another accepted token, including Ether./
function processIncoming(address token_, address from, uint256 amount, bytes calldata ref) public payable returns (uint256) { require(msg.sender == token_ || msg.sender == base || msg.sender == paymenthub, "invalid calle"); if (token_ == token){ return sell(from, amount, ref); ...
10,330,574
[ 1, 4625, 348, 7953, 560, 30, 380, 12022, 11891, 4825, 6013, 1240, 3271, 4042, 8494, 1147, 16, 6508, 512, 1136, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1207, 20370, 12, 2867, 1147, 67, 16, 1758, 628, 16, 2254, 5034, 3844, 16, 1731, 745, 892, 1278, 13, 1071, 8843, 429, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 1147, 67, 747, 1234, 18,...
// File: contracts\modules\Ownable.sol pragma solidity =0.5.16; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used through inheritance. It will make available the ...
* @dev An auxiliary function, calculate call option price using B_S formulas. @param currentPrice current underlying price. @param strikePrice option's strike price. @param expiration option's expiration left time. Equal option's expiration timestamp - now. @param derta implied volatility value in B-S formulas./S*N(d1)...
function callOptionsPrice(uint256 currentPrice, uint256 strikePrice, uint256 expiration, uint256 derta) internal pure returns (uint256) { (int256 d1, int256 d2) = calculateD1D2(currentPrice, strikePrice, expiration, derta); d1 = SmallNumbers.normsDist(d1); d2 = SmallNumbers.n...
2,173,066
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1922, 9397, 20606, 445, 16, 4604, 745, 1456, 6205, 1450, 605, 67, 55, 646, 24857, 18, 632, 891, 783, 5147, 783, 6808, 6205, 18, 632, 891, 609, 2547, 5147, 1456, 1807, 609, 2547, 6205, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 745, 1320, 5147, 12, 11890, 5034, 783, 5147, 16, 2254, 5034, 609, 2547, 5147, 16, 2254, 5034, 7686, 16, 2254, 5034, 302, 1051, 69, 13, 7010, 7734, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 4202, 261, 474, 5034,...
./full_match/42/0x1C918d87BBD9c270f5Ad943EC98823AE2C66e203/sources/mirin.sol
**** REMOVE LIQUIDITY ****
) external ensure(deadline) lock returns (uint amountA, uint amountB) { (amountA, amountB) = burn(to); require(amountA >= amountAMin, 'Boshi: INSUFFICIENT_A_AMOUNT'); require(amountB >= amountBMin, 'Boshi: INSUFFICIENT_B_AMOUNT'); }
9,592,144
[ 1, 4625, 348, 7953, 560, 30, 225, 380, 14465, 26056, 8961, 53, 3060, 4107, 380, 14465, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 262, 3903, 3387, 12, 22097, 1369, 13, 2176, 1135, 261, 11890, 3844, 37, 16, 2254, 3844, 38, 13, 288, 203, 3639, 261, 8949, 37, 16, 3844, 38, 13, 273, 18305, 12, 869, 1769, 203, 3639, 2583, 12, 8949, 37, 1545, 3844, 2192, ...
./full_match/1/0x5a0731897C4dD6b5feE0d76E57C19F6001dE34b6/sources/src/OpenCollection.sol
OpenZeppelin's Ownable contract for access control
import {Ownable} from "openzeppelin-contracts/contracts/access/Ownable.sol";
5,011,233
[ 1, 4625, 348, 7953, 560, 30, 225, 3502, 62, 881, 84, 292, 267, 1807, 14223, 6914, 6835, 364, 2006, 3325, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5666, 288, 5460, 429, 97, 628, 315, 3190, 94, 881, 84, 292, 267, 17, 16351, 87, 19, 16351, 87, 19, 3860, 19, 5460, 429, 18, 18281, 14432, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/43113/0x28F5c190AE9F6E2C08b5C3ebd26b9d8da0E16c92/sources/Certifications.sol
@dev maping from certification Id => dynamic certification.
mapping(uint256 => DynamicCertification) private m_dynamicCertifications;
13,209,185
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 852, 310, 628, 3320, 1480, 3124, 516, 5976, 3320, 1480, 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...
[ 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, 2874, 12, 11890, 5034, 516, 12208, 5461, 1480, 13, 3238, 312, 67, 14507, 5461, 6640, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/42220/0x28dF0EEE438CBa4eb080A2887a6143BD7bDd1F72/sources/CelofarmsSmartChefFactory.sol
@notice Withdraw staked tokens without caring about rewards rewards @dev Needs to be for emergency./
function emergencyWithdraw() external nonReentrant { UserInfo storage user = userInfo[msg.sender]; require(user.nextWithdrawalUntil <= block.timestamp, "Withdrawal locked"); uint256 amountToTransfer = user.amount; user.amount = 0; user.rewardDebt = 0; user.nextWithdra...
16,350,249
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 3423, 9446, 384, 9477, 2430, 2887, 5926, 310, 2973, 283, 6397, 283, 6397, 632, 5206, 29164, 358, 506, 364, 801, 24530, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 801, 24530, 1190, 9446, 1435, 3903, 1661, 426, 8230, 970, 288, 203, 3639, 25003, 2502, 729, 273, 16753, 63, 3576, 18, 15330, 15533, 203, 3639, 2583, 12, 1355, 18, 4285, 1190, 9446, 287, 9716, 1648, 1203, 18, 5508, 16, 3...
/** *Submitted for verification at Etherscan.io on 2020-02-11 */ // File: @aragon/os/contracts/common/EtherTokenConstant.sol /* * SPDX-License-Identitifer: MIT */ pragma solidity ^0.4.24; // aragonOS and aragon-apps rely on address(0) to denote native ETH, in // contracts where both tokens and ETH are accept...
* @dev Return employee's identifier by their account address @param _accountAddress Employee's address to receive payments @return Employee's identifier/
function getEmployeeIdByAddress(address _accountAddress) public view returns (uint256) { require(employeeIds[_accountAddress] != uint256(0), ERROR_EMPLOYEE_DOESNT_EXIST); return employeeIds[_accountAddress]; }
451,178
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2000, 24539, 1340, 1807, 2756, 635, 3675, 2236, 1758, 632, 891, 389, 4631, 1887, 512, 27520, 1807, 1758, 358, 6798, 25754, 632, 2463, 512, 27520, 1807, 2756, 19, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 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, 4774, 27520, 548, 858, 1887, 12, 2867, 389, 4631, 1887, 13, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2583, 12, 351, 2817, 1340, 2673, 63, 67, 4631, 1887, 65, 480, 2254, 5034, 12, 20, 3631, 5475, 67, 337...
/** *Submitted for verification at Etherscan.io on 2020-10-21 */ // SPDX-License-Identifier: MIT pragma solidity ^0.6.6; // From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol // Subject to the MIT license. /** * @dev Wrappers over Solidity's arithmetic operations with a...
* @notice Implemented by jobs to show that a keeper performend work @param keeper address of the keeper that performed the work @param amount the reward that should be allocated/
function workReceipt(address keeper, uint amount) external { require(jobs[msg.sender], "Keep3r::workReceipt: only jobs can approve work"); gasUsed = gasUsed.sub(gasleft()); require(amount < KPRH.getQuoteLimit(gasUsed), "Keep3r::workReceipt: spending over max limit"); credits[msg.send...
603,486
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 18788, 635, 6550, 358, 2405, 716, 279, 417, 9868, 3073, 409, 1440, 632, 891, 417, 9868, 1758, 434, 326, 417, 9868, 716, 9591, 326, 1440, 632, 891, 3844, 326, 19890, 716, 1410, 506, 11977...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1440, 15636, 12, 2867, 417, 9868, 16, 2254, 3844, 13, 3903, 288, 203, 3639, 2583, 12, 10088, 63, 3576, 18, 15330, 6487, 315, 11523, 23, 86, 2866, 1252, 15636, 30, 1338, 6550, 848, 6617, 537, 1440, 8863, 203, 3639, 16189...
pragma solidity ^0.5.16; pragma experimental ABIEncoderV2; import "./GovernorMikeInterfaces.sol"; contract GovernorMikeDelegate is GovernorMikeDelegateStorageV2, GovernorMikeEvents { /// @notice The name of this contract string public constant name = "Compound Governor Mike"; /// @notice The min...
* @notice Gets actions of a proposal @param proposalId the id of the proposal @return votes of the proposal/
function getVotes(uint proposalId) external view returns (uint[] memory) { return proposals[proposalId].votes; }
1,835,948
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 11881, 4209, 434, 279, 14708, 632, 891, 14708, 548, 326, 612, 434, 326, 14708, 632, 2463, 19588, 434, 326, 14708, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11031, 6366, 12, 11890, 14708, 548, 13, 3903, 1476, 1135, 261, 11890, 8526, 3778, 13, 288, 203, 3639, 327, 450, 22536, 63, 685, 8016, 548, 8009, 27800, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100,...
// File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum...
* Interface to the RoyaltyRegistry responsible for looking payout addresses/
abstract contract RoyaltyRegistryInterface { function getAddress(address custodial) external view virtual returns (address); function getMediaCustomPercentage(uint256 mediaId, address tokenAddress) external view virtual returns(uint16); function getExternalTokenPercentage(uint256 tokenId, address tokenAddre...
640,344
[ 1, 4625, 348, 7953, 560, 30, 380, 6682, 358, 326, 534, 13372, 15006, 4243, 14549, 364, 7849, 293, 2012, 6138, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 17801, 6835, 534, 13372, 15006, 4243, 1358, 288, 203, 565, 445, 14808, 12, 2867, 276, 641, 369, 649, 13, 3903, 1476, 5024, 1135, 261, 2867, 1769, 203, 565, 445, 17438, 3802, 16397, 12, 11890, 5034, 3539, 548, 16, 1758, 1147, 1887, ...
/** *Submitted for verification at Etherscan.io on 2022-04-11 */ /** *Project52.net is a Blockchain project house, developing and implementing blockchain projects. Our Phase 1 launch *includes the listing of a variety of crypto tokens over the coming months which are designed to be trade by crypto day traders. *Our...
get balance of liquidity pair calculate amount to burn
function autoBurnLiquidityPairTokens() internal returns (bool) { lastLpBurnTime = block.timestamp; uint256 liquidityPairBalance = this.balanceOf(uniswapV2Pair); uint256 amountToBurn = liquidityPairBalance.mul(percentForLPBurn).div( 10000 ); if (amountTo...
2,444,534
[ 1, 4625, 348, 7953, 560, 30, 225, 336, 11013, 434, 4501, 372, 24237, 3082, 4604, 3844, 358, 18305, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3656, 38, 321, 48, 18988, 24237, 4154, 5157, 1435, 2713, 1135, 261, 6430, 13, 288, 203, 3639, 1142, 48, 84, 38, 321, 950, 273, 1203, 18, 5508, 31, 203, 203, 3639, 2254, 5034, 4501, 372, 24237, 4154, 13937, 273, 333, 1...
pragma solidity ^0.4.17; /* ICO Syndicate Contract ======================== Buys ICO Tokens for a given ICO known contract address Author: Bogdan */ // ERC20 Interface: https://github.com/ethereum/EIPs/issues/20 contract ERC20 { function transfer(address _to, uint256 _value) public returns (bool ...
Default function. Called when a user sends ETH to the contract. Disallow deposits if kill switch is active. Only allow deposits if the contract hasn't already purchased the tokens. Only allow deposits that won't exceed the contract's ETH cap. Update records of deposited ETH to include the received amount.
function () public payable { require(!kill_switch); require(!bought_tokens); require(this.balance < eth_cap); balances[msg.sender] += msg.value; }
12,871,202
[ 1, 4625, 348, 7953, 560, 30, 225, 2989, 445, 18, 225, 11782, 1347, 279, 729, 9573, 512, 2455, 358, 326, 6835, 18, 3035, 5965, 443, 917, 1282, 309, 8673, 1620, 353, 2695, 18, 5098, 1699, 443, 917, 1282, 309, 326, 6835, 13342, 1404, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1832, 1071, 8843, 429, 288, 203, 3639, 2583, 12, 5, 16418, 67, 9610, 1769, 203, 3639, 2583, 12, 5, 1075, 9540, 67, 7860, 1769, 203, 3639, 2583, 12, 2211, 18, 12296, 411, 13750, 67, 5909, 1769, 203, 3639, 324, 26488, 6...
// SPDX-License-Identifier: MIT /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ...
The number of tokens burned.
uint256 internal _burnCounter;
1,502,534
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 1300, 434, 2430, 18305, 329, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11890, 5034, 2713, 389, 70, 321, 4789, 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, -...
// Sources flattened with hardhat v2.4.3 https://hardhat.org // File @openzeppelin/contracts/token/ERC20/IERC20.sol@v3.1.0 // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of token...
Safe sone transfer function, just in case if rounding error causes pool to not have enough SONEs.
function safeSoneTransfer(address _to, uint256 _amount) internal { uint256 soneBal = sone.balanceOf(address(this)); if (_amount > soneBal) { sone.transfer(_to, soneBal); sone.transfer(_to, _amount); } }
471,564
[ 1, 4625, 348, 7953, 560, 30, 225, 14060, 272, 476, 7412, 445, 16, 2537, 316, 648, 309, 13885, 555, 14119, 2845, 358, 486, 1240, 7304, 348, 5998, 87, 18, 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, 202, 915, 4183, 55, 476, 5912, 12, 2867, 389, 869, 16, 2254, 5034, 389, 8949, 13, 2713, 288, 203, 202, 202, 11890, 5034, 272, 476, 38, 287, 273, 272, 476, 18, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 202, 202, 430, 261, 67...
./full_match/5/0x8Fe4d94ef5fC4c61DDb2c050653b4664Fcfa3C07/sources/project_/contracts/TellorFlex.sol
* @dev Returns the number of values submitted to a specific queryId by a specific reporter address @param _reporter is the address of a reporter @param _queryId is the ID of the specific data feed @return uint256 the number of values submitted by the given reporter to the given queryId/
function getReportsSubmittedByAddressAndQueryId( address _reporter, bytes32 _queryId ) external view returns (uint256) { return stakerDetails[_reporter].reportsSubmittedByQueryId[_queryId]; }
7,079,458
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 1300, 434, 924, 9638, 358, 279, 2923, 843, 548, 635, 279, 2923, 11528, 1758, 632, 891, 389, 266, 7988, 353, 326, 1758, 434, 279, 11528, 632, 891, 389, 2271, 548, 353, 326, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5561, 4363, 28882, 858, 1887, 1876, 1138, 548, 12, 203, 3639, 1758, 389, 266, 7988, 16, 203, 3639, 1731, 1578, 389, 2271, 548, 203, 565, 262, 3903, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 384, 6388, 3790,...
pragma solidity ^0.5.0; import "openzeppelin-solidity/contracts/math/SafeMath.sol"; import "openzeppelin-solidity/contracts/drafts/Counter.sol"; contract BountyApp { using SafeMath for uint256; using Counter for Counter.Counter; address public owner; bool public stopped = false; /** ...
* @dev Work struct It holds all the infos about a work that is submitted to fullfill a bounty/ if the bounty creator refused it If the bounty creator approved this work
struct Work { string workFileHash; string description; bool denied; bool exist; bool approved; address doer; } event NewWork(uint256 workId, uint256 indexed bountyId, address indexed hunter); event WorkApproved(uint256 workId, uint256 indexed ...
12,945,426
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4147, 1958, 2597, 14798, 777, 326, 10626, 2973, 279, 1440, 716, 353, 9638, 358, 1983, 5935, 279, 324, 592, 93, 19, 309, 326, 324, 592, 93, 11784, 1278, 3668, 518, 971, 326, 324, 592, 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, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1958, 4147, 288, 203, 3639, 533, 1440, 812, 2310, 31, 203, 3639, 533, 2477, 31, 203, 3639, 1426, 15338, 31, 203, 3639, 1426, 1005, 31, 203, 3639, 1426, 20412, 31, 203, 3639, 1758, 741, 264, 31, 203, 565, 289, 203, 203, 377...
pragma solidity ^0.5.2; import "./Host.sol"; /// the patent hub will be hosted by one of the innovators contract PatentHub is Host { // ***** STRUCTS ***** // contribution phase struct Share { address shareholder; uint percentage; // denoted in values between 0 and 100 bool accepted; // true ...
contracts between two single parties
struct OneToOneContract { address payable proposerAddress; address approverAddress; string ipfsFileHash; uint payment; bool signed; } event feePaid(); event nationalPatentAccepted(string jurisdiction, string claimsText, str...
12,802,307
[ 1, 4625, 348, 7953, 560, 30, 225, 20092, 3086, 2795, 2202, 1087, 606, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 1697, 6942, 16027, 8924, 288, 203, 202, 565, 1758, 8843, 429, 450, 5607, 1887, 31, 203, 202, 565, 1758, 6617, 502, 1887, 31, 203, 202, 565, 533, 2359, 2556, 812, 2310, 31, 203, 202, 565, 2254, 5184, 31, 203, 202, 565, 1426...
pragma solidity ^0.5.0; import "openzeppelin-solidity/contracts/ownership/Ownable.sol"; ///@title PaySafe ///@author suhailgme ///@notice this contract implements reversable transactions contract PaySafe is Ownable { event LogNewTransaction(address indexed source, address indexed destination, uint value, uint tr...
@dev Allows administrator to pause certain functions
function circuitBreaker() public onlyOwner { }
7,305,365
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 25619, 22330, 358, 11722, 8626, 4186, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12937, 22660, 1435, 1071, 1338, 5541, 288, 203, 565, 289, 203, 377, 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, -1...
./full_match/4/0xA71DaB73FEC64D1C1b1b2b11B9c5a2aacaDe5db8/sources/contracts/FundMe.sol
only want the contract admin/owner
function withdraw() payable public { require(msg.sender == owner, "You don't have access to this function"); msg.sender.transfer(address(this).balance); for (uint256 funderIndex=0; funderIndex < funders.length; funderIndex++){ address funder = funders[funderIndex]; ad...
775,485
[ 1, 4625, 348, 7953, 560, 30, 225, 1338, 2545, 326, 6835, 3981, 19, 8443, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 598, 9446, 1435, 8843, 429, 1071, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 3410, 16, 315, 6225, 2727, 1404, 1240, 2006, 358, 333, 445, 8863, 203, 3639, 1234, 18, 15330, 18, 13866, 12, 2867, 12, 2211, 2934, 12296,...
./full_match/1/0x0d6C6cF99770B5a2036d3Bf32A5E163373cb9077/sources/PriceOracleChainlink.sol
key is the cToken address, value is the priceFeed address
contract PriceOracleChainlink is PriceOracle , Ownable , ReentrancyGuard { using EnumerableSet for EnumerableSet.AddressSet; EnumerableSet.AddressSet private _governors; mapping(address => address) priceFeeds; event NewPriceFeed(address cToken, address oldPriceFeed, address newPriceFeed); eve...
3,142,055
[ 1, 4625, 348, 7953, 560, 30, 225, 498, 353, 326, 276, 1345, 1758, 16, 460, 353, 326, 6205, 8141, 1758, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 16351, 20137, 23601, 3893, 1232, 353, 20137, 23601, 269, 14223, 6914, 269, 868, 8230, 12514, 16709, 288, 203, 203, 565, 1450, 6057, 25121, 694, 364, 6057, 25121, 694, 18, 1887, 694, 31, 203, 565, 6057, 25121, 694, 18, 1887, 694, 32...
./partial_match/1/0x80dDB6404e022fe98961d6CCaf401077DB920824/sources/FlashTokenFactory.sol
@notice Private view function for finding the expected address of the standard eip-1167 minimal proxy created using `CREATE2` with a given logic contract, salt, and initialization calldata payload. @param initCodeHash bytes32 The hash of initCode. @param safeSalt bytes32 A safe salt. Must include the msg.sender addres...
function _computeTargetWithCodeHash( bytes32 initCodeHash, bytes32 safeSalt ) private view returns (address target) { ) ) ) ) ); }
2,732,561
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 8726, 1476, 445, 364, 13727, 326, 2665, 1758, 434, 326, 4529, 425, 625, 17, 20562, 27, 16745, 2889, 2522, 1450, 1375, 9344, 22, 68, 598, 279, 864, 4058, 6835, 16, 4286, 16, 471, 10313, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 389, 9200, 2326, 23973, 2310, 12, 203, 565, 1731, 1578, 1208, 1085, 2310, 16, 203, 565, 1731, 1578, 4183, 19290, 203, 225, 262, 3238, 1476, 1135, 261, 2867, 1018, 13, 288, 203, 5411, 262, 203, 1850, 262, 203, 3639, 262,...
pragma solidity 0.4.15; import "./Tokens/AbstractToken.sol"; /// @title Dutch auction contract - distribution of Gnosis tokens using an auction. /// @author Stefan George - <stefan.george@consensys.net> contract DutchAuction { /* * Events */ event BidSubmission(address indexed sender, uint256 amount); ...
Private functions/ Auction contract transfers all unsold tokens to Gnosis inventory multisig
function finalizeAuction() private { stage = Stages.AuctionEnded; if (totalReceived == ceiling) finalPrice = calcTokenPrice(); else finalPrice = calcStopPrice(); uint soldTokens = totalReceived * 10**18 / finalPrice; gnosisToken.transfer(wallet, MAX_TOKENS_SOLD - soldTokens); e...
7,225,730
[ 1, 4625, 348, 7953, 560, 30, 282, 8726, 4186, 19, 432, 4062, 6835, 29375, 777, 16804, 1673, 2430, 358, 611, 18050, 291, 13086, 22945, 360, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 12409, 37, 4062, 1435, 203, 225, 3238, 203, 225, 288, 203, 565, 6009, 273, 934, 1023, 18, 37, 4062, 28362, 31, 203, 565, 309, 261, 4963, 8872, 422, 5898, 4973, 13, 203, 1377, 727, 5147, 273, 7029, 1345, 5147, 5621, 20...
./partial_match/4/0x91b9dBc41850963CD5195e937f6E924f288B2980/sources/RoseToken.sol
Info of each period.
struct PeriodInfo { uint256 endBlock; uint256 blockReward; } mapping(address => address[]) referreds1; mapping(address => address[]) referreds2; event Deposit1(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw1(address indexed user, uint256 indexed pi...
8,514,046
[ 1, 4625, 348, 7953, 560, 30, 225, 3807, 434, 1517, 3879, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1958, 12698, 966, 288, 203, 3639, 2254, 5034, 679, 1768, 31, 203, 3639, 2254, 5034, 1203, 17631, 1060, 31, 203, 565, 289, 203, 203, 203, 565, 2874, 12, 2867, 516, 1758, 63, 5717, 29230, 87, 21, 31, 203, 565, 2874, 12, 2867...
// File: contracts/handlers/maker/IDSProxy.sol pragma solidity ^0.6.0; interface IDSProxy { function execute(address _target, bytes calldata _data) external payable returns (bytes32 response); function owner() external view returns (address); function setAuthority(address authori...
selector of openLockETHAndDraw(uint256,address,address,bytes32,uint256) and openLockGemAndDraw(address,address,bytes32,uint256,uint256)
function postProcess() external payable override { bytes4 sig = stack.getSig(); function safeLockGem( address gemJoin, uint256 cdp, uint256 wad } IERC20(token).safeApprove(address(proxy), 0); } function freeETH( address ethJoin, uint256 cd...
571,144
[ 1, 4625, 348, 7953, 560, 30, 225, 3451, 434, 1696, 2531, 1584, 44, 1876, 6493, 12, 11890, 5034, 16, 2867, 16, 2867, 16, 3890, 1578, 16, 11890, 5034, 13, 471, 1696, 2531, 43, 351, 1876, 6493, 12, 2867, 16, 2867, 16, 3890, 1578, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1603, 2227, 1435, 3903, 8843, 429, 3849, 288, 203, 3639, 1731, 24, 3553, 273, 2110, 18, 588, 8267, 5621, 203, 565, 445, 4183, 2531, 43, 351, 12, 203, 3639, 1758, 17474, 4572, 16, 203, 3639, 2254, 5034, 7976, 84, 16, 2...
./full_match/5/0xFb2a6C5BAe6D436868775fa096b987F9BfcC61f6/sources/uniswap_test.sol
IERC20(UNISWAP).approve(UNISWAP_ROUTER, output[1]); uint[] memory swap_2 = uniswapRouter.swapExactTokensForTokens(output[1], 0, (new address[UNISWAP, WETH]), address(this), block.timestamp); emit Number(output[1]);
function uniswapTokens() public returns (uint) { return output[1]; }
7,087,245
[ 1, 4625, 348, 7953, 560, 30, 225, 467, 654, 39, 3462, 12, 2124, 5127, 59, 2203, 2934, 12908, 537, 12, 2124, 5127, 59, 2203, 67, 1457, 1693, 654, 16, 876, 63, 21, 19226, 2254, 8526, 3778, 7720, 67, 22, 273, 640, 291, 91, 438, 825...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 291, 91, 438, 5157, 1435, 1071, 1135, 261, 11890, 13, 288, 203, 540, 203, 540, 203, 3639, 327, 876, 63, 21, 15533, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity ^0.4.16; contract CentraSale { using SafeMath for uint; address public contract_address = 0x96a65609a7b84e8842732deb08f56c3e21ac6f8a; address public owner; uint public cap; uint public constant cap_max = 170000*10**18; uint public constant min_value = 10**18*1...
* Math operations with safety checks/
library SafeMath { function mul(uint a, uint b) internal returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint a, uint b) internal returns (uint) { uint c = a / b; return c; } function sub(uint a, uint b) internal returns (uint...
2,136,329
[ 1, 4625, 348, 7953, 560, 30, 380, 2361, 5295, 598, 24179, 4271, 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, 225, 5313, 14060, 10477, 288, 203, 565, 445, 14064, 12, 11890, 279, 16, 2254, 324, 13, 2713, 1135, 261, 11890, 13, 288, 203, 1377, 2254, 276, 273, 279, 380, 324, 31, 203, 1377, 1815, 12, 69, 422, 374, 747, 276, 342, 279, 422, ...
// ███████╗░█████╗░██████╗░██████╗░███████╗██████╗░░░░███████╗██╗ // ╚════██║██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔══██╗░░░██╔════╝██║ // ░░███╔═╝███████║██████╔╝██████╔╝█████╗░░██████╔╝░░░█████╗░░██║ // ██╔══╝░░██╔══██║██╔═══╝░██╔═══╝░██╔══╝░░██╔══██╗░░░██╔══╝░░██║ // ███████╗██║░░██║██║░░░░░██║░░░░░███████╗██║░░██║██╗██...
@notice enableGoodwill should be false if vault contains Curve LP, otherwise true subtract goodwill
function _pullTokens( address token, uint256 amount, address affiliate, bool enableGoodwill ) internal returns (uint256 value) { uint256 totalGoodwillPortion; if (token == address(0)) { require(msg.value > 0, "No eth sent"); totalGoodwill...
571,062
[ 1, 4625, 348, 7953, 560, 30, 632, 20392, 4237, 18195, 20194, 1410, 506, 629, 309, 9229, 1914, 22901, 511, 52, 16, 3541, 638, 10418, 7494, 20194, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 13469, 5157, 12, 203, 3639, 1758, 1147, 16, 203, 3639, 2254, 5034, 3844, 16, 203, 3639, 1758, 7103, 330, 3840, 16, 203, 3639, 1426, 4237, 18195, 20194, 203, 565, 262, 2713, 1135, 261, 11890, 5034, 460, 13, 288, 203...
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return payable(msg.sender); } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability w...
only use to prevent sniper buys in the first blocks. at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.when buywhen sell Buy Sell
function _transfer( address from, address to, uint256 amount ) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater th...
13,696,522
[ 1, 4625, 348, 7953, 560, 30, 225, 1338, 999, 358, 5309, 4556, 77, 457, 25666, 1900, 316, 326, 1122, 4398, 18, 622, 8037, 309, 326, 7412, 4624, 353, 3696, 16, 3387, 326, 1203, 11267, 364, 5405, 343, 345, 414, 353, 444, 1493, 4982, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 13866, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 3238, 288, 203, 3639, 2583, 12, 2080, 480, 1758, 12, 20, 3631, 315, 654, 39, 3462, 30, 7412, 628, 326, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/proxy/utils/Initializable.sol"; import "../interfaces/IRelayEncoder.sol"; import "../interfaces/IxTokens.sol"; import "../interfaces/IXcmTransactor.sol"; import "../interfac...
* @notice Update weights array. Weight updated only if weight = _weight | 1 << 65 @param _weights - weights array/
function setWeights( uint128[] calldata _weights ) external auth(ROLE_CONTROLLER_MANAGER) { require(_weights.length == uint256(type(WEIGHT).max) + 1, "CONTROLLER: WRONG_WEIGHTS_SIZE"); for (uint256 i = 0; i < _weights.length; ++i) { if (weights.length == i) { ...
12,721,939
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2315, 5376, 526, 18, 15437, 3526, 1338, 309, 3119, 273, 389, 4865, 571, 404, 2296, 15892, 632, 891, 389, 9727, 300, 5376, 526, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 16595, 12, 203, 3639, 2254, 10392, 8526, 745, 892, 389, 9727, 203, 565, 262, 3903, 1357, 12, 16256, 67, 6067, 25353, 67, 19402, 13, 288, 203, 3639, 2583, 24899, 9727, 18, 2469, 422, 2254, 5034, 12, 723, 12, 29988, ...
//Address: 0x8f8e5e6515c3e6088c327257bdcf2c973b1530ad //Contract name: ValusCrowdsale //Balance: 0 Ether //Verification Date: 10/13/2017 //Transacion Count: 19 // CODE STARTS HERE pragma solidity ^0.4.17; contract owned { address public owner; function owned() { owner = msg.sender; } ...
Check if all the participants have been reimbursed
if (participantIndex[lastEthReturnIndex] != 0x0) throw;
6,431,255
[ 1, 4625, 348, 7953, 560, 30, 225, 2073, 309, 777, 326, 22346, 1240, 2118, 283, 381, 70, 295, 730, 1377, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 1377, 309, 261, 2680, 14265, 1016, 63, 2722, 41, 451, 990, 1016, 65, 480, 374, 92, 20, 13, 604, 31, 7734, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...