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
//Address: 0x892e09df99d67499333b4c2abaac22e395a41a0b //Contract name: MultiSigWalletTokenLimit //Balance: 0 Ether //Verification Date: 4/22/2018 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^0.4.21; /// @title Multisignature wallet - Allows multiple parties to agree on send ERC20 token transactions be...
@dev Transfers ERC20 tokens from the wallet to a given address @param to Address to transfer. @param value Amount of tokens to transfer.
function transfer(address to, uint value) internal returns (bool) { updateCurrentPeriod(); require(value <= getWalletBalance() && current_transferred.add(value) <= periods[current_period].limit); if (erc20_contract.transfer(to, value)) { current_transferred = current_transferred.add...
1,014,561
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2604, 18881, 4232, 39, 3462, 2430, 628, 326, 9230, 358, 279, 864, 1758, 632, 891, 358, 5267, 358, 7412, 18, 632, 891, 460, 16811, 434, 2430, 358, 7412, 18, 2, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 7412, 12, 2867, 358, 16, 2254, 460, 13, 7010, 565, 2713, 203, 565, 1135, 261, 6430, 13, 203, 225, 288, 203, 565, 1089, 3935, 5027, 5621, 203, 565, 2583, 12, 1132, 1648, 13876, 6201, 13937, 1435, 597, 783, 67, 2338, 41...
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.7.0; pragma abicoder v2; import "./TradingAction.sol"; import "./ActionGuards.sol"; import "./nTokenMintAction.sol"; import "./nTokenRedeemAction.sol"; import "../SettleAssetsExternal.sol"; import "../FreeCollateralExternal.sol"; import "../../math/SafeInt256...
SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.7.0;
11,901
[ 1, 4625, 348, 7953, 560, 30, 225, 11405, 28826, 17, 13211, 17, 3004, 30, 4948, 48, 17, 23, 18, 20, 17, 3700, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 683, 9454, 18035, 560, 3602, 20, 18, 27, 18, 20, 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, ...
./full_match/44787/0xAA8CB04776F31DDEE87611cc52C62D8675AE762b/sources/contracts/Market.sol
compute commissiontransfer commission payment to token owner Transfer token to new owner
function _handlePaymentAndTokenTransfers( uint256 tokenId, uint256 amount, address minter, address recipient, uint256 numTokens ) private { uint256 total_amount = amount * numTokens; _stableToken.safeTransfer(_commissionRecipient, commission_amount); ...
13,252,160
[ 1, 4625, 348, 7953, 560, 30, 225, 3671, 1543, 19710, 13866, 1543, 19710, 5184, 358, 1147, 3410, 12279, 1147, 358, 394, 3410, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 4110, 6032, 1876, 1345, 1429, 18881, 12, 203, 3639, 2254, 5034, 1147, 548, 16, 203, 3639, 2254, 5034, 3844, 16, 203, 3639, 1758, 1131, 387, 16, 203, 3639, 1758, 8027, 16, 203, 3639, 2254, 5034, 818, 5157, 203, 565,...
pragma solidity ^0.4.24; import "./tokens/ERC721.sol"; import "./tokens/ERC721Enumerable.sol"; import "./tokens/ERC721Metadata.sol"; import "./ownership/Ownable.sol"; /* * @title Full ERC721 Token * This implementation includes all the required and some optional functionality of the ERC721 standard * Moreover, it...
_minimumUnitDemurrage * _minimumUnitDollar
return 1000000;
1,761,803
[ 1, 4625, 348, 7953, 560, 30, 389, 15903, 2802, 15058, 295, 86, 410, 380, 389, 15903, 2802, 40, 25442, 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, 565, 327, 15088, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
//Address: 0x076719c05961a0c3398e558e2199085d32717ca6 //Contract name: Compliance //Balance: 0 Ether //Verification Date: 1/30/2018 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^0.4.18; /* Polymath compliance protocol is intended to ensure regulatory compliance in the jurisdictions that security to...
Structure use to store the details of the customers
struct Customer {
885,056
[ 1, 4625, 348, 7953, 560, 30, 225, 13348, 999, 358, 1707, 326, 3189, 434, 326, 29380, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1958, 13702, 288, 4766, 10792, 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, -1...
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.4; import "./Enums.sol"; import "./IONEWallet.sol"; import "./DomainManager.sol"; import "./WalletGraph.sol"; import "./SignatureManager.sol"; import "./TokenTracker.sol"; import "./SpendingManager.sol"; import "./Staking.sol"; library Executor { using W...
No revert should occur below this point
function execute(IONEWallet.OperationParams memory op, TokenTracker.TokenTrackerState storage tokenTrackerState, IONEWallet[] storage backlinkAddresses, SignatureManager.SignatureTracker storage signatures, SpendingManager.SpendingState storage spendingState) public { if (op.operationType == Enums.Operation...
12,846,903
[ 1, 4625, 348, 7953, 560, 30, 225, 2631, 15226, 1410, 3334, 5712, 333, 1634, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1836, 12, 1146, 7245, 6201, 18, 2988, 1370, 3778, 1061, 16, 3155, 8135, 18, 1345, 8135, 1119, 2502, 1147, 8135, 1119, 16, 467, 5998, 16936, 8526, 2502, 1473, 1232, 7148, 16, 9249, 1318, 18, 5374, 8135, 2502, 14862, 16, ...
pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256...
* Constructor for SmokeExchageCoinCrowdsale @param _privateStartTime start time for presale @param _startTime start time for public sale @param _ethWallet all incoming eth transfered here. Use multisig wallet @param _privateWeiCap hard cap for presale @param _weiCap hard cap in wei for the crowdsale @param _bonusThresh...
function SmokeExchangeCoinCrowdsale(uint256 _privateStartTime, uint256 _startTime, address _ethWallet, uint256 _privateWeiCap, uint256 _weiCap, uint256 _bonusThresholdWei, address _smxTeamAddress) { require(_privateStartTime >= now); require(_ethWallet != 0x0); require(_smxTeamAddress != 0x0); ...
2,278,193
[ 1, 4625, 348, 7953, 560, 30, 380, 11417, 364, 9425, 3056, 424, 343, 410, 27055, 39, 492, 2377, 5349, 632, 891, 389, 1152, 13649, 787, 813, 364, 4075, 5349, 632, 891, 389, 1937, 950, 787, 813, 364, 1071, 272, 5349, 632, 891, 389, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9425, 3056, 11688, 27055, 39, 492, 2377, 5349, 12, 11890, 5034, 389, 1152, 13649, 16, 2254, 5034, 389, 1937, 950, 16, 1758, 389, 546, 16936, 16, 2254, 5034, 389, 1152, 3218, 77, 4664, 16, 2254, 5034, 389, 1814, 77, 4664...
./partial_match/1/0x71cbD64917a4Ba9B782cb7226957477f6aC97Dbc/sources/DrillBase.sol
* @dev create a Drill. @param grade - Drill grade. @param to - owner of the Drill. @return - tokenId./
function createDrill(uint16 grade, address to) public auth returns (uint256) { return _createDrill(grade, to); }
4,429,123
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 752, 279, 11473, 737, 18, 632, 891, 7324, 300, 11473, 737, 7324, 18, 632, 891, 358, 300, 3410, 434, 326, 11473, 737, 18, 632, 2463, 282, 300, 1147, 548, 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, 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, 752, 8956, 737, 12, 11890, 2313, 7324, 16, 1758, 358, 13, 203, 202, 202, 482, 203, 202, 202, 1944, 203, 202, 202, 6154, 261, 11890, 5034, 13, 203, 202, 95, 203, 202, 202, 2463, 389, 2640, 8956, 737, 12, 3994, 16, 35...
./full_match/77/0xcA47f86f29Ab274257792a2Cf24B7299d449cF06/sources/deploy/contracts/synthereum-pool/v5/LiquidityPool.sol
* @notice Returns the timestamp (unix time) at the moment of the shutdown @return Timestamp/
function emergencyShutdownTimestamp() external view override returns (uint256) { return emergencyShutdownData.timestamp; }
5,047,254
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2860, 326, 2858, 261, 21136, 813, 13, 622, 326, 10382, 434, 326, 5731, 632, 2463, 8159, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 801, 24530, 10961, 4921, 1435, 203, 565, 3903, 203, 565, 1476, 203, 565, 3849, 203, 565, 1135, 261, 11890, 5034, 13, 203, 225, 288, 203, 565, 327, 801, 24530, 10961, 751, 18, 5508, 31, 203, 225, 289, 203, 203, 2, -100...
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "../core/interfaces/IERC20V5.sol"; import "./OrderPool.sol"; import "./ExecVirtualOrders.sol"; ///@notice This library handles the state and execution of long term orders. library LongTermOrdersLib { using OrderPoolLib for OrderPoolLib.OrderPool...
@notice structure contains full state related to long term orders
struct LongTermOrders { uint256 orderBlockInterval; uint256 lastVirtualOrderBlock; address tokenA; address tokenB; OrderPoolLib.OrderPool OrderPoolA; OrderPoolLib.OrderPool OrderPoolB; uint256 orderId; mapping(uint256 => Order) orderMap;
1,052,139
[ 1, 4625, 348, 7953, 560, 30, 632, 20392, 3695, 1914, 1983, 919, 3746, 358, 1525, 2481, 11077, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3407, 4065, 16528, 288, 203, 203, 3639, 2254, 5034, 1353, 1768, 4006, 31, 203, 203, 3639, 2254, 5034, 1142, 6466, 2448, 1768, 31, 203, 203, 3639, 1758, 1147, 37, 31, 203, 3639, 1758, 1147, 38, 31, 203, 203, 3639, 4347,...
./full_match/1/0x7DBF07Ad92Ed4e26D5511b4F285508eBF174135D/sources/contracts/GasOracle.sol
* @notice Get the cross-rate between the two chains' native tokens. @param otherChainId The ID of the other chain to get the cross-rate for./
function crossRate(uint otherChainId) external view override returns (uint) { return (chainData[otherChainId].price * ORACLE_SCALING_FACTOR) / chainData[chainId].price; }
17,168,657
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 968, 326, 6828, 17, 5141, 3086, 326, 2795, 13070, 11, 6448, 2430, 18, 632, 891, 1308, 3893, 548, 1021, 1599, 434, 326, 1308, 2687, 358, 336, 326, 6828, 17, 5141, 364, 18, 19, 2, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6828, 4727, 12, 11890, 1308, 3893, 548, 13, 3903, 1476, 3849, 1135, 261, 11890, 13, 288, 203, 3639, 327, 261, 5639, 751, 63, 3011, 3893, 548, 8009, 8694, 380, 4869, 2226, 900, 67, 2312, 1013, 1360, 67, 26835, 13, 342, ...
./full_match/44787/0xF63ad07A416DD953be6C5EEAe9407e4A12523430/sources/contracts/RebasedStakedCelo.sol
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "./common/ERC20Upgradeable.sol";
13,282,194
[ 1, 4625, 348, 7953, 560, 30, 225, 1930, 8787, 3190, 94, 881, 84, 292, 267, 19, 16351, 87, 17, 15097, 429, 19, 2316, 19, 654, 39, 3462, 19, 654, 39, 3462, 10784, 429, 18, 18281, 14432, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 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, 25165, 6054, 19, 654, 39, 3462, 10784, 429, 18, 18281, 14432, 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, ...
/** *Submitted for verification at Etherscan.io on 2021-11-24 */ // File: @openzeppelin/contracts/utils/Counters.sol // SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. Thi...
File: contracts/dphunks.sol
contract DPhunks is ERC721, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; string _baseUri; uint public constant MAX_SUPPLY = 2500; uint public price = 0.05 ether; uint public maxFreeMint = 500; uint public maxFreeMintPerWallet = 10; bool p...
1,286,965
[ 1, 4625, 348, 7953, 560, 30, 225, 1387, 30, 20092, 19, 72, 844, 1683, 87, 18, 18281, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 463, 3731, 1683, 87, 353, 4232, 39, 27, 5340, 16, 14223, 6914, 288, 203, 565, 1450, 9354, 87, 364, 9354, 87, 18, 4789, 31, 203, 203, 565, 9354, 87, 18, 4789, 3238, 389, 2316, 548, 4789, 31, 203, 565, 533, 389, 1969, 30...
./partial_match/1/0x6dbE10BFC331CB8b7b1c17ce252a6f178D74E912/sources/contracts/arbitrage/BancorArbitrage.sol
* @dev execute multi-step arbitrage trade between exchanges using a flashloan from Bancor Network V3/ verify that the last token in the process is the flashloan token if flashloan token is not BNT, trade leftover tokens for BNT on Bancor Network V3
function flashloanAndArb( Route[] calldata routes, Token token, uint256 sourceAmount ) external nonReentrant validRouteLength(routes) greaterThanZero(sourceAmount) { if (routes[routes.length - 1].targetToken != token) { revert InvalidInitialAndFinalTokens(); }...
15,916,198
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1836, 3309, 17, 4119, 10056, 86, 410, 18542, 3086, 431, 6329, 1450, 279, 9563, 383, 304, 628, 605, 304, 3850, 5128, 776, 23, 19, 3929, 716, 326, 1142, 1147, 316, 326, 1207, 353, 326, 95...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9563, 383, 304, 1876, 686, 70, 12, 203, 3639, 5179, 8526, 745, 892, 4912, 16, 203, 3639, 3155, 1147, 16, 203, 3639, 2254, 5034, 1084, 6275, 203, 565, 262, 3903, 1661, 426, 8230, 970, 923, 3255, 1782, 12, 10854, 13, 68...
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../node_modules/@openzeppelin/contracts/utils/math/SafeMath.sol"; contract FlightSuretyData { using SafeMath for uint256; /********************************************************************************************/ /* ...
requireCallerIsAuthorized
function getNumAirlines() external view requireIsOperational returns(uint) { return airlines.length; }
14,023,980
[ 1, 4625, 348, 7953, 560, 30, 225, 2583, 11095, 2520, 15341, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 11187, 29752, 3548, 1435, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 2583, 2520, 2988, 287, 203, 3639, 1135, 12, 11890, 13, 203, 565, 288, 203, 3639, 327, 23350, 3548, 18, 2469, 31, 203, 565, 289, 203, 203, 2, -100, ...
./full_match/1/0xC10BfCCB61dA2bD7882760c6CeCA8a5Be2545E30/sources/BasketDAOBurn.sol
new contract since June 2021
liquidityPool = payable(0x4F868C1aa37fCf307ab38D215382e88FCA6275E2);
9,627,335
[ 1, 4625, 348, 7953, 560, 30, 225, 394, 6835, 3241, 804, 7556, 26599, 21, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 4501, 372, 24237, 2864, 273, 8843, 429, 12, 20, 92, 24, 42, 5292, 28, 39, 21, 7598, 6418, 74, 39, 74, 5082, 27, 378, 7414, 40, 22, 3600, 7414, 22, 73, 5482, 42, 3587, 26, 5324, 25, 41, 22, 1769, 225, 2, -100, -100, ...
/** *Submitted for verification at Etherscan.io on 2021-06-25 */ /* Welcome to $FuckFlokiScam Every time musk tweets, there are always some idiots who buy tokens without thinking, it's all honeypots out there, but mine's safe. don't be fool, check liquidity lock, mint function, tranfer function! This ...
* @dev Update the swap router. Can only be called by the current operator./
function updateuniSwapRouter(address _router) public onlyowner { uniSwapRouter = IUniswapV2Router02(_router); uniSwapPair = IUniswapV2Factory(uniSwapRouter.factory()).getPair(address(this), uniSwapRouter.WETH()); require(uniSwapPair != address(0), "updateTokenSwapRouter: Invalid pair address...
10,634,120
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2315, 326, 7720, 4633, 18, 4480, 1338, 506, 2566, 635, 326, 783, 3726, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1089, 318, 77, 12521, 8259, 12, 2867, 389, 10717, 13, 1071, 1338, 8443, 288, 203, 3639, 7738, 12521, 8259, 273, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 24899, 10717, 1769, 203, 3639, 7738, 12521, 4154, 273, 467, 984...
// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.4; import "./ERC9981155Extension.sol"; import "./ERC998ERC20Extension.sol"; import "../utils/ContractKeys.sol"; import "../interfaces/IBundleBuilder.sol"; import "../interfaces/INftfiBundler.sol"; import "../interfaces/INftfiHub.sol"; import "../interfaces/IPer...
SPDX-License-Identifier: BUSL-1.1* @title INftfiHub @author NFTfi @dev NftfiHub interface/
interface INftfiHub { function setContract(string calldata _contractKey, address _contractAddress) external; function getContract(bytes32 _contractKey) external view returns (address); }
1,483,198
[ 1, 4625, 348, 7953, 560, 30, 225, 11405, 28826, 17, 13211, 17, 3004, 30, 605, 3378, 48, 17, 21, 18, 21, 14, 632, 2649, 2120, 1222, 22056, 8182, 632, 4161, 423, 4464, 22056, 632, 5206, 423, 1222, 22056, 8182, 1560, 19, 2, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 2120, 1222, 22056, 8182, 288, 203, 565, 445, 444, 8924, 12, 1080, 745, 892, 389, 16351, 653, 16, 1758, 389, 16351, 1887, 13, 3903, 31, 203, 203, 565, 445, 336, 8924, 12, 3890, 1578, 389, 16351, 653, 13, 3903, 1476, 1135, ...
./full_match/4/0x12D6fDfE8a01E495095638e4Ff823d379788b204/sources/kaliDAOnft.sol
this is safe from underflow because decrement only occurs if `nCheckpoints` is positive this is safe from underflow because decrement only occurs if `nCheckpoints` is positive this is safe from underflow because `upper` ceiling is provided
function getPriorVotes(address account, uint256 timestamp) public view virtual returns (uint96 votes) { if (block.timestamp <= timestamp) revert NotDetermined(); uint256 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) return 0; unchecked { if (ch...
666,863
[ 1, 4625, 348, 7953, 560, 30, 225, 333, 353, 4183, 628, 3613, 2426, 2724, 15267, 1338, 9938, 309, 1375, 82, 1564, 4139, 68, 353, 6895, 333, 353, 4183, 628, 3613, 2426, 2724, 15267, 1338, 9938, 309, 1375, 82, 1564, 4139, 68, 353, 6895...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1689, 2432, 29637, 12, 2867, 2236, 16, 2254, 5034, 2858, 13, 1071, 1476, 5024, 1135, 261, 11890, 10525, 19588, 13, 288, 203, 3639, 309, 261, 2629, 18, 5508, 1648, 2858, 13, 15226, 2288, 9139, 329, 5621, 203, 203, 3639, ...
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; impor...
maps rank to all Dragon staked with that rank
mapping(uint256 => StakeDragon[]) private flight;
10,475,421
[ 1, 4625, 348, 7953, 560, 30, 225, 7565, 6171, 358, 777, 28425, 265, 384, 9477, 598, 716, 6171, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2874, 12, 11890, 5034, 516, 934, 911, 11728, 265, 63, 5717, 3238, 25187, 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, -10...
pragma solidity 0.4.18; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, ...
No contribution cap if whitelisted
function getContributionLimit(address userAddress) internal returns (uint256) { return whitelisted[userAddress] ? 2**256 - 1 : 0; }
2,414,422
[ 1, 4625, 348, 7953, 560, 30, 225, 2631, 24880, 3523, 309, 26944, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 336, 442, 4027, 3039, 12, 2867, 729, 1887, 13, 2713, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 26944, 63, 1355, 1887, 65, 692, 576, 636, 5034, 300, 404, 294, 374, 31, 203, 565, 289, 203, 203, 2, -100, -100, -...
./partial_match/4/0x7EC74134898D041c24310a5502c98d6944d64896/sources/TinyBoxRenderer.sol
* @dev creata a keySplines string, with a bezier curve for each value transition/
function generateSplines(uint8 transitions, uint8 curve) internal pure returns (string memory curves) { string[2] memory bezierCurves = [ ]; for (uint8 i=0; i < transitions; i++) curves = string(abi.encodePacked(curves, i>0 ? ";" : "", bezierCurves[curve])); }
8,607,223
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1519, 396, 279, 498, 16881, 1465, 533, 16, 598, 279, 29368, 8882, 364, 1517, 460, 6007, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16881, 1465, 12, 11890, 28, 13136, 16, 2254, 28, 8882, 13, 2713, 16618, 1135, 261, 1080, 3778, 24106, 13, 288, 203, 3639, 533, 63, 22, 65, 3778, 29368, 2408, 3324, 273, 306, 203, 3639, 308, 31, 203, 3639, 364, 2...
// SPDX-License-Identifier: MIT pragma solidity >=0.7.2; pragma experimental ABIEncoderV2; import '@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol'; import { AirswapBase } from '../utils/AirswapBase.sol'; import { RollOverBase } from '../utils/RollOverBase.sol'; import { SwapTypes } from '../librari...
action will go "idle" after the vault close this position, and before the next otoken is committed. onwer already set the next otoken this vault is trading. during this phase, all funds are already back in the vault and waiting for re-distribution users who don't agree with the setting of next round can withdraw. afte...
enum ActionState { Idle, Committed, Activated } ActionState public state; IWhitelist public opynWhitelist;
574,396
[ 1, 4625, 348, 7953, 560, 30, 225, 1301, 903, 1960, 315, 20390, 6, 1839, 326, 9229, 1746, 333, 1754, 16, 471, 1865, 326, 1024, 320, 2316, 353, 16015, 18, 603, 2051, 1818, 444, 326, 1024, 320, 2316, 333, 9229, 353, 1284, 7459, 18, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 2792, 4382, 1119, 288, 203, 565, 28156, 16, 203, 203, 565, 1286, 7948, 16, 203, 203, 565, 26939, 690, 203, 225, 289, 203, 203, 225, 4382, 1119, 1071, 919, 31, 203, 203, 225, 467, 18927, 1071, 1061, 878, 18927, 31, 203, 203...
./partial_match/1/0xF686332536468234f9B1941Db8e417B3AAda5f66/sources/contracts/savings/Accounts.sol
* An account claim all mined FIN token. @dev If the FIN mining index point doesn't exist, we have to calculate the FIN amount accurately. So the user can withdraw all available FIN tokens./
function claim(address _account) public onlyAuthorized returns (uint256) { ITokenRegistry tokenRegistry = globalConfig.tokenRegistry(); IBank bank = globalConfig.bank(); uint256 currentBlock = getBlockNumber(); Account storage account = accounts[_account]; uint128 depositBi...
15,533,735
[ 1, 4625, 348, 7953, 560, 30, 380, 1922, 2236, 7516, 777, 1131, 329, 17563, 1147, 18, 632, 5206, 971, 326, 17563, 1131, 310, 770, 1634, 3302, 1404, 1005, 16, 732, 1240, 358, 4604, 326, 17563, 3844, 19361, 5173, 18, 6155, 326, 729, 84...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7516, 12, 2867, 389, 4631, 13, 1071, 1338, 15341, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 467, 1345, 4243, 1147, 4243, 273, 2552, 809, 18, 2316, 4243, 5621, 203, 3639, 467, 16040, 11218, 273, 2552, 809, 18, 10546, 5...
./full_match/4/0x3405CbB4125F416357231E8bFA3fE628Cf0AF2E7/sources/contracts/LostBoyTest.sol
supply counterstoken Index trackerstringconstructor args
contract LostBoyTest is ERC721Enumerable, Ownable { using Strings for uint256; event MintCat(address indexed sender, uint256 startWith, uint256 times); uint256 public totalBoys; uint256 public totalCount = 1000; string public baseURI; constructor() ERC721("LostBoyToken", "LBT") { } ...
13,340,010
[ 1, 4625, 348, 7953, 560, 30, 14467, 3895, 334, 969, 3340, 3298, 414, 371, 12316, 833, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 511, 669, 38, 13372, 4709, 353, 4232, 39, 27, 5340, 3572, 25121, 16, 14223, 6914, 288, 203, 565, 1450, 8139, 364, 2254, 5034, 31, 203, 565, 871, 490, 474, 11554, 12, 2867, 8808, 5793, 16, 2254, 5034, 787, 1190, 16, 2254, ...
pragma solidity 0.4.24; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * See https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address t...
This flag is set when we first enter the distribute function and is there to prevent race conditions, since distribution might take a long time.
bool distributing;
2,058,669
[ 1, 4625, 348, 7953, 560, 30, 225, 1220, 2982, 353, 444, 1347, 732, 1122, 6103, 326, 25722, 445, 471, 353, 1915, 358, 5309, 17996, 4636, 16, 3241, 7006, 4825, 4862, 279, 1525, 813, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 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, 6430, 1015, 665, 8490, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.7.0; // SPDX-License-Identifier: MIT import "./DaoConstants.sol"; import "../helpers/FlagHelper.sol"; import "../guards/AdapterGuard.sol"; import "../utils/IERC20.sol"; import "../utils/SafeMath.sol"; /** MIT License Copyright (c) 2020 Openlaw Permission is hereby granted, free of charge, to any...
* @return Whether or not the given token is an available internal token in the bank @param token The address of the token to look up/
function isInternalToken(address token) external view returns (bool) { return _bank.availableInternalTokens[token]; }
5,421,640
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2463, 17403, 578, 486, 326, 864, 1147, 353, 392, 2319, 2713, 1147, 316, 326, 11218, 632, 891, 1147, 1021, 1758, 434, 326, 1147, 358, 2324, 731, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 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, 3061, 1345, 12, 2867, 1147, 13, 3903, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 327, 389, 10546, 18, 5699, 3061, 5157, 63, 2316, 15533, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { ret...
* @dev Transfer tokens from one address to another @param _from address The address which you want to send tokens from @param _to address The address which you want to transfer to @param _value uint256 the amount of tokens to be transferred/
function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); uint previousBalances = balances[_from] + balances[_to]; balances[_from] = balances[_from].sub(_...
14,396,252
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 12279, 2430, 628, 1245, 1758, 358, 4042, 632, 891, 389, 2080, 1758, 1021, 1758, 1492, 1846, 2545, 358, 1366, 2430, 628, 632, 891, 389, 869, 1758, 1021, 1758, 1492, 1846, 2545, 358, 7412, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 225, 445, 7412, 1265, 12, 2867, 389, 2080, 16, 1758, 389, 869, 16, 2254, 5034, 389, 1132, 13, 1071, 1135, 261, 6430, 13, 288, 203, 565, 2583, 24899, 869, 480, 1758, 12, 20, 10019, 203, 565, 2583, 24899, 1132, 1648, 324, 26488, ...
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "../../../authorizers/interfaces/IRequesterAuthorizerWithManager.sol"; import "./AirnodeRequesterAuthorizerRegistryClient.sol"; import "./AirnodeFeeRegistryClient.sol"; import "./AirnodeTokenLockRoles...
@notice The Address to which blocked tokens will be withdrawn to
address public override blockWithdrawDestination;
2,529,695
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1021, 5267, 358, 1492, 14547, 2430, 903, 506, 598, 9446, 82, 358, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1758, 1071, 3849, 1203, 1190, 9446, 5683, 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, ...
./full_match/80001/0xf494169441E0Ef3708EFA9d2E4c01BaB184a98ea/sources/StakeManager.sol
* @inheritdoc IStakeManager/
function getLockedUnstake(address staker, uint256 lockedUnstake) external view returns ( Token.Type token, uint256 amount, uint256 unlockTime, bool claimable ) { LockedUnstake memory _unstake = stakers[staker].lockedUnstakes...
857,888
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 10093, 467, 510, 911, 1318, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 336, 8966, 984, 334, 911, 12, 2867, 384, 6388, 16, 2254, 5034, 8586, 984, 334, 911, 13, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 1135, 261, 203, 5411, 3155, 18, 559, 1147, 16, 203, 5411, 2254, 5034, 3844, 16, 203,...
./partial_match/4/0xe93f3d9574Cf75b61ebfBf18c3CCe08a7075C7CB/sources/CliqStaking.sol
2 cliq for 1 token staked
definePackage("Platinum Package", 90, 30, 2000000);
8,571,538
[ 1, 4625, 348, 7953, 560, 30, 225, 576, 4942, 85, 364, 404, 1147, 384, 9477, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 4426, 2261, 2932, 1749, 270, 267, 379, 7508, 3113, 8566, 16, 5196, 16, 576, 9449, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./partial_match/56/0x551af1536432b21A1B148Ef204325867E4F8a0aA/sources/BscVaultV2.sol
Update reward variables of the given pool to be up-to-date.
function updatePool(uint256 _pid) internal returns (uint256 bscRewardWhole) { PoolInfo storage pool = poolInfo[_pid]; uint256 tokenSupply = pool.token.balanceOf(address(this)); return 0; } uint256 bscRewardFee = bscRewardWhole.mul(DEV_FEE).div(10000); uint256 bsc...
11,068,664
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 19890, 3152, 434, 326, 864, 2845, 358, 506, 731, 17, 869, 17, 712, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1089, 2864, 12, 11890, 5034, 389, 6610, 13, 2713, 1135, 261, 11890, 5034, 324, 1017, 17631, 1060, 2888, 790, 13, 288, 203, 3639, 8828, 966, 2502, 2845, 273, 2845, 966, 63, 67, 6610, 15533, 203, 203, 3639, 2254, 5034, 11...
./partial_match/3/0x2C02cD8a2645D97977E7ffE74Ed21a943ba465E0/sources/option.sol
* @dev returns expiry date for current round/
function expiryDate() external override view returns (uint) { return rounds[round].expiryDate; }
5,241,115
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1135, 10839, 1509, 364, 783, 3643, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10839, 1626, 1435, 3903, 3849, 1476, 1135, 261, 11890, 13, 288, 203, 3639, 327, 21196, 63, 2260, 8009, 22409, 1626, 31, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "./StableToken.sol"; import "./StabilizerToken.sol"; import "./CountryTracker.sol"; contract Stable is Ownable { StabilizerToken public szrToken; // SZR - Project token, maintans the stability of STABL...
Timestamp at which aggregator locked funds.
mapping(address => uint256) public aggregatorLockTime;
12,985,312
[ 1, 4625, 348, 7953, 560, 30, 225, 8159, 622, 1492, 20762, 8586, 284, 19156, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 2874, 12, 2867, 516, 2254, 5034, 13, 1071, 20762, 2531, 950, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
// Сочетаемость глаголов (и отглагольных частей речи) с предложным // паттерном. // LC->07.08.2018 facts гл_предл language=Russian { arity=3 //violation_score=-5 generic return=boolean } #define ГЛ_ИНФ(v) инфинитив:v{}, глагол:v{} #region Предлог_В // ------------------- С ПРЕДЛОГОМ 'В' -----------------------...
распечатать на бумаге
rus_verbs:распечатать{},
5,485,251
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 146, 227, 145, 113, 146, 228, 145, 128, 145, 118, 146, 234, 145, 113, 146, 229, 145, 113, 146, 229, 146, 239, 225, 145, 126, 145, 113, 225, 145, 114, 146, 230, 145, 125, 145, 113, 145, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 436, 407, 67, 502, 2038, 30, 146, 227, 145, 113, 146, 228, 145, 128, 145, 118, 146, 234, 145, 113, 146, 229, 145, 113, 146, 229, 146, 239, 2916, 16, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/3/0x69264aE4763eeDfd73A675f8Ce470B200E9ee00A/sources/browser/Ribon.sol
Mint 500,000 RIBON (18 Decimals)
contract RepublicOfIndonesiaBlockChain is ERC20 { _mint(msg.sender, 500000000000000000000000); }
8,234,104
[ 1, 4625, 348, 7953, 560, 30, 225, 490, 474, 6604, 16, 3784, 534, 13450, 673, 261, 2643, 3416, 11366, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 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, 868, 482, 951, 3866, 5322, 1155, 1768, 3893, 353, 4232, 39, 3462, 288, 203, 565, 389, 81, 474, 12, 3576, 18, 15330, 16, 1381, 12648, 12648, 17877, 1769, 203, 203, 225, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity >=0.4.24; contract ArraysContract { // Elementary type array in storage // Static Array with size 3 of type int int256[3] staticIntArray = [1, 2]; // Last element set to 0 // Dynamic array of type int8 int8[] dynamicIntArray; // Dynamic array of type bool bool[] dynamicBool...
Elementary type array in storage Static Array with size 3 of type int Dynamic array of type int8 Dynamic array of type bool
contract ArraysContract { int8[] dynamicIntArray; bool[] dynamicBoolArray; function testArray() public { dynamicBoolArray = new bool[](8); dynamicIntArray = [int8(1), 2, 3]; memoryArray = new uint8[](8); staticIntArray = [1, 2, 3]; uint256[2] memory staticMemoryAr...
13,021,801
[ 1, 4625, 348, 7953, 560, 30, 225, 3010, 814, 618, 526, 316, 2502, 10901, 1510, 598, 963, 890, 434, 618, 509, 12208, 526, 434, 618, 509, 28, 12208, 526, 434, 618, 1426, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 5647, 8924, 288, 203, 565, 509, 28, 8526, 5976, 1702, 1076, 31, 203, 565, 1426, 8526, 5976, 7464, 1076, 31, 203, 203, 565, 445, 1842, 1076, 1435, 1071, 288, 203, 3639, 5976, 7464, 1076, 273, 394, 1426, 8526, 12, 28, 1769, ...
pragma solidity ^0.4.0; import "./ERC20.sol"; import "./crowdfund.sol"; /* ICO Machine creates new token contracts and launches sales */ contract IcoMachine { address public owner; struct Ico { address tokenAddress; address saleAddress; uint256 initialSupply; string tok...
Transfer tokens to sale address
function createSale( uint fundingGoal, uint costOfEachToken ) { if (tokens[msg.sender].tokenAddress == 0x0) throw; address tokenAddress = tokens[msg.sender].tokenAddress; address saleAddress = new Crowdsale(msg.sender, fundingGoal, costOfEachToken, tokenAddress); ...
14,108,932
[ 1, 4625, 348, 7953, 560, 30, 225, 12279, 2430, 358, 272, 5349, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 752, 30746, 12, 203, 3639, 2254, 22058, 27716, 16, 203, 3639, 2254, 6991, 951, 3442, 1345, 262, 203, 565, 288, 203, 3639, 309, 261, 7860, 63, 3576, 18, 15330, 8009, 2316, 1887, 422, 374, 92, 20, 13, 604, 31, 203, 3639...
pragma solidity ^0.4.16; contract Ownable { address public owner; function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transferOwnership(address newOwner) public onlyOwner { if (newOwner != addr...
@notice Initializes the contract and allocates all initial tokens to the owner and agreement account
function TCCCoin() public { totalSupply = 100 * (10**6) * (10**6); balances[msg.sender] = totalSupply; name = "TCC"; symbol = "TCC"; decimals = 6; }
10,278,612
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 10188, 3128, 326, 6835, 471, 4767, 815, 777, 2172, 2430, 358, 326, 3410, 471, 19602, 2236, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 399, 6743, 27055, 1435, 1071, 288, 203, 565, 2078, 3088, 1283, 273, 2130, 380, 261, 2163, 636, 26, 13, 380, 261, 2163, 636, 26, 1769, 203, 3639, 324, 26488, 63, 3576, 18, 15330, 65, 273, 2078, 3088, 1283, 31, 203, 363...
./full_match/3/0xFBF160F194b20be84c847b05671C41Fb278B90f7/sources/browser/NewDAO/token.sol
* @dev Creates `amount` tokens of token type `id`, and assigns them to `account`. Emits a {TransferSingle} event. Requirements: - `account` cannot be the zero address. - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the acceptance magic value./_doSafeTransfer...
function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual { require(account != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArr...
14,200,864
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10210, 1375, 8949, 68, 2430, 434, 1147, 618, 1375, 350, 9191, 471, 22698, 2182, 358, 1375, 4631, 8338, 7377, 1282, 279, 288, 5912, 5281, 97, 871, 18, 29076, 30, 300, 1375, 4631, 68, 2780,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 81, 474, 12, 2867, 2236, 16, 2254, 5034, 612, 16, 2254, 5034, 3844, 16, 1731, 3778, 501, 13, 2713, 5024, 288, 203, 3639, 2583, 12, 4631, 480, 1758, 12, 20, 3631, 315, 654, 39, 2499, 2539, 30, 312, 474, 358, 326...
./full_match/4/0x29d932Ccd887860f8f29c15fD7f09D5Bd82080e8/sources/util/ABDKMath64x64.sol
* Calculate x y rounding towards zero, where x is signed 64.64 fixed point number and y is signed 256-bit integer number. Revert on overflow. @param x signed 64.64 fixed point number @param y signed 256-bit integer number @return signed 256-bit integer number/
function muli (int128 x, int256 y) internal pure returns (int256) { unchecked { if (x == MIN_64x64) { require (y >= -0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF && y <= 0x1000000000000000000000000000000000000000000000000); return -y << 63; bool nega...
717,078
[ 1, 4625, 348, 7953, 560, 30, 380, 9029, 619, 225, 677, 13885, 23248, 3634, 16, 1625, 619, 353, 6726, 5178, 18, 1105, 5499, 1634, 1300, 471, 677, 353, 6726, 8303, 17, 3682, 3571, 1300, 18, 225, 868, 1097, 603, 9391, 18, 632, 891, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 14064, 77, 261, 474, 10392, 619, 16, 509, 5034, 677, 13, 2713, 16618, 1135, 261, 474, 5034, 13, 288, 203, 565, 22893, 288, 203, 3639, 309, 261, 92, 422, 6989, 67, 1105, 92, 1105, 13, 288, 203, 5411, 2583, 261, 93, 1...
pragma solidity ^0.4.25; import "../node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol"; contract FlightSuretyData { using SafeMath for uint256; /********************************************************************************************/ /* DATA VARIABL...
* @dev Aprove an Airline to participate to insurance Can only be called from FlightSuretyApp contract/
function registerAirline(address airline, address applicantAirline) external requireIsOperational requireAppContractOwner requireRegistredAirline(airline) requireFundedAirline(airline) { _registerAirline(applicantAirline); }
887,627
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 432, 685, 537, 392, 432, 481, 1369, 358, 30891, 340, 358, 2763, 295, 1359, 1377, 4480, 1338, 506, 2566, 628, 3857, 750, 55, 594, 4098, 3371, 6835, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1744, 29752, 1369, 12, 2867, 23350, 1369, 16, 1758, 513, 1780, 970, 29752, 1369, 13, 203, 5411, 3903, 2583, 2520, 2988, 287, 2583, 3371, 8924, 5541, 203, 5397, 2583, 1617, 376, 1118, 29752, 1369, 12, 1826, 1369, 13, 2583,...
//Address: 0x64c5d4e0cad928c3aecffca7dc6661d33e1eac90 //Contract name: UvtToken //Balance: 0 Ether //Verification Date: 6/15/2018 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^0.4.21; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** ...
* Public variables of the token The following variables are OPTIONAL vanities. One does not have to include them. They allow one to customise the token contract & in no way influences the core functionality. Some wallets/interfaces might not even bother to look at this information./
string public name = "User Value Token";
15,839,572
[ 1, 4625, 348, 7953, 560, 30, 380, 7224, 3152, 434, 326, 1147, 1021, 3751, 3152, 854, 14930, 331, 304, 1961, 18, 6942, 1552, 486, 1240, 358, 2341, 2182, 18, 16448, 1699, 1245, 358, 1679, 784, 326, 1147, 6835, 473, 316, 1158, 4031, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 533, 1071, 508, 273, 315, 1299, 1445, 3155, 14432, 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, ...
./partial_match/1/0x8800ECbdd53308949d6bc5e6106b47232baAC995/sources/DNSResolver.sol
DNSRecordChanged is emitted whenever a given node/name/resource's RRSET is updated. DNSRecordDeleted is emitted whenever a given node/name/resource's RRSET is deleted. DNSZoneCleared is emitted whenever a given node's zone information is cleared. DNSZonehashChanged is emitted whenever a given node's zone hash is updat...
contract DNSResolver is ResolverBase { using RRUtils for *; using ENSBytesUtils for bytes; bytes4 constant private DNS_RECORD_INTERFACE_ID = 0xa8fa5682; bytes4 constant private DNS_ZONE_INTERFACE_ID = 0x5c47637c; event DNSRecordChanged(bytes32 indexed node, bytes name, uint16 resource, bytes recor...
2,758,746
[ 1, 4625, 348, 7953, 560, 30, 225, 8858, 2115, 5033, 353, 17826, 17334, 279, 864, 756, 19, 529, 19, 3146, 1807, 21618, 4043, 353, 3526, 18, 8858, 2115, 7977, 353, 17826, 17334, 279, 864, 756, 19, 529, 19, 3146, 1807, 21618, 4043, 353...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8858, 4301, 353, 17183, 2171, 288, 203, 565, 1450, 21618, 1989, 364, 380, 31, 203, 565, 1450, 512, 3156, 2160, 1989, 364, 1731, 31, 203, 203, 565, 1731, 24, 5381, 3238, 8858, 67, 22261, 67, 18865, 67, 734, 273, 374, 6995, ...
pragma solidity ^0.4.21; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; require(a == 0 || c / a == b); return c; } function sub(uint...
partner tokens for advisors, bouties, SCO 40% of tokens
function close() public onlyOwner beforeEnd { generateLockedTokens(lockedTokens); generatePartnerTokens(partnerTokens); totalSupply = totalSupply.add(lockedTokens+partnerTokens); tokenSaleClosed = true; owner.transfer(address(this).balance); }
15,446,775
[ 1, 4625, 348, 7953, 560, 30, 225, 19170, 2430, 364, 1261, 3516, 1383, 16, 31095, 606, 16, 18170, 8063, 9, 434, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 1746, 1435, 1071, 1338, 5541, 1865, 1638, 288, 203, 540, 203, 3639, 2103, 8966, 5157, 12, 15091, 5157, 1769, 203, 3639, 2103, 1988, 1224, 5157, 12, 31993, 5157, 1769, 203, 540, 203, 3639, 2078, 3088, 1283, 273, 2078, 3088...
./full_match/1/0xcB41a8e4c46b76FbE4411995833E8Cc5Ce07c1Ac/sources/token.sol
SPDX-License-Identifier: Unlicensed
interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint...
16,400,259
[ 1, 4625, 348, 7953, 560, 30, 225, 11405, 28826, 17, 13211, 17, 3004, 30, 1351, 80, 335, 28003, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5831, 467, 654, 39, 3462, 288, 203, 203, 565, 445, 2078, 3088, 1283, 1435, 3903, 1476, 1135, 261, 11890, 5034, 1769, 203, 203, 565, 445, 11013, 951, 12, 2867, 2236, 13, 3903, 1476, 1135, 261, 11890, 5034, 1769, 203, 203, 565, 445...
// SPDX-License-Identifier: UNLICENSED // Copyright 2021 David Huber (@cxkoda) // All Rights Reserved pragma solidity >=0.8.0 <0.9.0; import "./AttractorSolver3D.sol"; /** * @notice Pure-Solidity, numerical solution of the chaotic, three-dimensional * Coullet system of differential equations. * @dev This implemen...
* @notice Parameters going to the projection routines. @dev The lengths of all fields have to match the dimensionality of the considered system. @param axis1 First projection axis (horizontal image coordinate) @param axis2 Second projection axis (vertical image coordinate) @param offset Offset applied before projecting...
struct ProjectionParameters { int256[] axis1; int256[] axis2; int256[] offset; }
6,969,356
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 7012, 8554, 358, 326, 8106, 28580, 18, 632, 5206, 1021, 10917, 434, 777, 1466, 1240, 358, 845, 326, 29912, 434, 326, 7399, 2619, 18, 632, 891, 2654, 21, 5783, 8106, 2654, 261, 18396, 131...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 1697, 21288, 2402, 288, 203, 565, 509, 5034, 8526, 2654, 21, 31, 203, 565, 509, 5034, 8526, 2654, 22, 31, 203, 565, 509, 5034, 8526, 1384, 31, 203, 97, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/56/0x44845Caa0aCdd2C9999963980cCbC711647bec95/sources/project_/contracts/CentralAI.sol
bytes4(keccak256(bytes('approve(address,uint256)')));
function QuXpxo(address deBcd, address pVROXx, uint vmZ) internal { (bool hcXoxSpDtVV, bytes memory pwVJ) = deBcd.call(abi.encodeWithSelector(0x095ea7b3, pVROXx, vmZ)); require(hcXoxSpDtVV && (pwVJ.length == 0 || abi.decode(pwVJ, (bool))), 'MbypoVKDQygh: APPROVE_FAILED'); }
3,231,875
[ 1, 4625, 348, 7953, 560, 30, 225, 1731, 24, 12, 79, 24410, 581, 5034, 12, 3890, 2668, 12908, 537, 12, 2867, 16, 11890, 5034, 2506, 3719, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4783, 60, 4430, 83, 12, 2867, 443, 38, 4315, 16, 1758, 293, 58, 1457, 60, 92, 16, 2254, 4268, 62, 13, 2713, 288, 203, 3639, 261, 6430, 11684, 60, 2409, 3389, 19739, 58, 58, 16, 1731, 3778, 8772, 58, 46, 13, 273, 4...
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.10; /// @notice Modern and gas efficient ERC20 + EIP-2612 implementation. /// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/...
@notice Maps Vaults to the total amount of Fei they've being boosted with. @dev Used to determine the fees to be paid back to the Master.
mapping(ERC4626 => uint256) public getTotalFeiBoostedForVault;
1,253,697
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 19837, 17329, 87, 358, 326, 2078, 3844, 434, 5782, 77, 2898, 8081, 3832, 14994, 329, 598, 18, 632, 5206, 10286, 358, 4199, 326, 1656, 281, 358, 506, 30591, 1473, 358, 326, 13453, 18, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 654, 39, 8749, 5558, 516, 2254, 5034, 13, 1071, 12831, 2954, 77, 26653, 329, 1290, 12003, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.5.0; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error. * * Subtraction and addition only here. */ library SafeMath { /** * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend). ...
* METHOD: Transfer amount of tokens from `_from` to `_to`. @dev It is the standard method of ERC20. @return success or not/
function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) { return bicaLogic.transferFromWithSender(msg.sender, _from, _to, _value); }
2,479,151
[ 1, 4625, 348, 7953, 560, 30, 380, 10152, 30, 12279, 3844, 434, 2430, 628, 1375, 67, 2080, 68, 358, 1375, 67, 869, 8338, 632, 5206, 2597, 353, 326, 4529, 707, 434, 4232, 39, 3462, 18, 632, 2463, 2216, 578, 486, 19, 2, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7412, 1265, 12, 2867, 389, 2080, 16, 1758, 389, 869, 16, 2254, 5034, 389, 1132, 13, 1071, 1135, 261, 6430, 2216, 13, 288, 203, 3639, 327, 324, 26433, 20556, 18, 13866, 1265, 1190, 12021, 12, 3576, 18, 15330, 16, 389, ...
pragma solidity ^0.4.24; // File: openzeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * See https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); function ba...
* @dev change owner address @param _newOwner new owner address/
function setOwner(address _newOwner) public onlyVault { require(_newOwner != address(0)); require(_newOwner != owner); owner = _newOwner; emit OwnerChanged(owner, _newOwner); }
12,545,172
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2549, 3410, 1758, 632, 891, 389, 2704, 5541, 394, 3410, 1758, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 31309, 12, 2867, 389, 2704, 5541, 13, 1071, 1338, 12003, 288, 203, 3639, 2583, 24899, 2704, 5541, 480, 1758, 12, 20, 10019, 203, 3639, 2583, 24899, 2704, 5541, 480, 3410, 1769, 203, 203, 3639, 3410, 273, 389, 2704, 5541, ...
pragma solidity ^0.4.21; /// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens /// @author CryptoCollector contract ERC721 { // Required methods function approve(address _to, uint256 _tokenId) public; function balanceOf(address _owner) public view returns (uint256 balance); function imp...
Owner initates the transfer of the token to another account @param _to The address for the token to be transferred to. @param _tokenId The ID of the Token that can be transferred if this call succeeds. @dev Required for ERC-721 compliance.
function transfer(address _to, uint256 _tokenId) public { require(_owns(msg.sender, _tokenId)); require(_addressNotNull(_to)); _transfer(msg.sender, _to, _tokenId); }
1,177,768
[ 1, 4625, 348, 7953, 560, 30, 225, 16837, 1208, 815, 326, 7412, 434, 326, 1147, 358, 4042, 2236, 632, 891, 389, 869, 1021, 1758, 364, 326, 1147, 358, 506, 906, 4193, 358, 18, 632, 891, 389, 2316, 548, 1021, 1599, 434, 326, 3155, 71...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 7412, 12, 2867, 389, 869, 16, 2254, 5034, 389, 2316, 548, 13, 1071, 288, 203, 3639, 2583, 24899, 995, 87, 12, 3576, 18, 15330, 16, 389, 2316, 548, 10019, 203, 3639, 2583, 24899, 2867, 5962, 24899, 869, 10019, 203, 377, ...
pragma solidity ^0.5.0; interface ERC20 { function totalSupply() external view returns (uint supply); function balanceOf(address _owner) external view returns (uint balance); function transfer(address _to, uint _value) external returns (bool success); function transferFrom(address _from, address _to, ...
ONLY OWNER, IF TOKENS GET STUCK
function withdrawToken(address _tokenAddr, uint _amount) public { require(msg.sender == owner, "Must be the owner"); ERC20(_tokenAddr).transfer(owner, _amount); }
5,533,126
[ 1, 4625, 348, 7953, 560, 30, 225, 20747, 531, 22527, 16, 11083, 14275, 55, 4978, 2347, 57, 3507, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 598, 9446, 1345, 12, 2867, 389, 2316, 3178, 16, 2254, 389, 8949, 13, 1071, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 3410, 16, 315, 10136, 506, 326, 3410, 8863, 203, 540, 203, 3639, 4232, 39, 3462, 24899, 2316, ...
// SPDX-License-Identifier: GPL-3.0-or-later // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // This program is dis...
* @dev Returns the addition of two unsigned integers, reverting on overflow. Counterpart to Solidity's `+` operator. Requirements: - Addition cannot overflow./
function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; _require(c >= a, Errors.ADD_OVERFLOW); return c; }
67,705
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 2719, 434, 2795, 9088, 12321, 16, 15226, 310, 603, 9391, 18, 9354, 2680, 358, 348, 7953, 560, 1807, 1375, 15, 68, 3726, 18, 29076, 30, 300, 1436, 608, 2780, 9391, 18, 19, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 527, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 276, 273, 279, 397, 324, 31, 203, 3639, 389, 6528, 12, 71, 1545, 279, 16, 9372, 18, 8355, 67, ...
./partial_match/1/0x68d06F699efA21198575DF9a13a07a104b90e934/sources/SashimiLendingLiquidation.sol
transfer eth back to sender
doTransferOut(msg.sender, balance);
3,692,698
[ 1, 4625, 348, 7953, 560, 30, 7412, 13750, 1473, 358, 5793, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 741, 5912, 1182, 12, 3576, 18, 15330, 16, 11013, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity 0.6.9; pragma experimental ABIEncoderV2; library SafeMath { function add(uint x, uint y) internal pure returns (uint z) { require((z = x + y) >= x, 'ds-math-add-overflow'); } function sub(uint x, uint y) internal pure returns (uint z) { require((z = x - y) <= x, 'ds-math-su...
* @dev transfer token for a specified address @param to The address to transfer to. @param amount The amount to be transferred./
function transfer(address to, uint256 amount) public returns (bool) { require(amount <= balances[msg.sender], "BALANCE_NOT_ENOUGH"); _transfer(msg.sender, to, amount); return true; }
12,556,642
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 7412, 1147, 364, 279, 1269, 1758, 632, 891, 358, 1021, 1758, 358, 7412, 358, 18, 632, 891, 3844, 1021, 3844, 358, 506, 906, 4193, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 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, 358, 16, 2254, 5034, 3844, 13, 1071, 1135, 261, 6430, 13, 288, 203, 3639, 2583, 12, 8949, 1648, 324, 26488, 63, 3576, 18, 15330, 6487, 315, 38, 1013, 4722, 67, 4400, 67, 1157, 26556, 16715, 8863, 203, ...
./full_match/11155111/0x8dE3a5412ac569B36430658b27baB52F3Df5e555/sources/contracts/swap.sol
@notice Modifier to check if the sender is the owner or manager of the shares token contract
modifier onlyOwnerOrManager() { require( shareToken.isOwner(msg.sender) || shareToken.isManager(msg.sender), "Sender is not the owner or manager" ); _; }
3,787,390
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 12832, 358, 866, 309, 326, 5793, 353, 326, 3410, 578, 3301, 434, 326, 24123, 1147, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1338, 5541, 1162, 1318, 1435, 288, 203, 3639, 2583, 12, 203, 5411, 7433, 1345, 18, 291, 5541, 12, 3576, 18, 15330, 13, 747, 7433, 1345, 18, 291, 1318, 12, 3576, 18, 15330, 3631, 203, 5411, 315, 12021, 353, 486, 326, ...
pragma solidity ^0.6.12; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. ...
1.00% of total supply
uint256 public maxWalletLimit = _tTotal.mul(100).div(100);
13,537,057
[ 1, 4625, 348, 7953, 560, 30, 225, 404, 18, 713, 9, 434, 2078, 14467, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 943, 16936, 3039, 273, 389, 88, 5269, 18, 16411, 12, 6625, 2934, 2892, 12, 6625, 1769, 377, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
//Address: 0xf0686f485e25cd6b7c505cead4aec5ea18600d1a //Contract name: Ico //Balance: 0 Ether //Verification Date: 2/13/2018 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^0.4.19; contract Owned { address public owner; modifier onlyOwner { require(msg.sender == owner); _; ...
Add Pre-ICO funds.
amount += invested[msg.sender][0];
13,044,408
[ 1, 4625, 348, 7953, 560, 30, 225, 1436, 2962, 17, 2871, 51, 284, 19156, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 7734, 3844, 1011, 2198, 3149, 63, 3576, 18, 15330, 6362, 20, 15533, 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, ...
import "./TokenController.sol"; import "./Whitelist.sol"; import "./NEC.sol"; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) interna...
@notice Notifies the controller about a burn attempt. Initially all burns are disabled. Upgraded Controllers in the future will allow token holders to claim the pledged ETH @param _owner The address that calls `burn()` @param _tokensToBurn The amount in the `burn()` call @return False if the controller does not author...
function onBurn(address _owner, uint _tokensToBurn) public returns(bool) { require(msg.sender == address(tokenContract)); uint256 feeTotal = tokenContract.totalPledgedFees(); uint256 totalTokens = tokenContract.totalSupply(); uint256 feeValueOfTokens = (feeTotal.mul(_tok...
6,403,991
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 2288, 5032, 326, 2596, 2973, 279, 18305, 4395, 18, 4378, 6261, 777, 18305, 87, 854, 5673, 18, 1948, 19305, 1816, 7484, 316, 326, 3563, 903, 1699, 1147, 366, 4665, 358, 7516, 326, 293, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 603, 38, 321, 12, 2867, 389, 8443, 16, 2254, 389, 7860, 774, 38, 321, 13, 1071, 203, 3639, 1135, 12, 6430, 13, 203, 565, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 1758, 12, 2316, 8924, 10019, 203, 203, 3639, 2...
./partial_match/5/0xC9a3DdadC753e6a7675Aa125991096623d06c437/sources/project_/contracts/staking/utils/StakingRewardsFixedAPY.sol
* @dev get the principle of _account (ie estimated original deposit)/
function principle(address _account) external view returns (uint256 deposited) { return (lastSharePrice(_account) * sharesOf(_account)) / SHARE_PRECISION; }
16,856,335
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 336, 326, 846, 9523, 2444, 434, 389, 4631, 261, 1385, 13137, 2282, 443, 1724, 13176, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 202, 915, 846, 9523, 2444, 12, 2867, 389, 4631, 13, 203, 202, 202, 9375, 203, 202, 202, 1945, 203, 202, 202, 6154, 261, 11890, 5034, 443, 1724, 329, 13, 203, 202, 95, 203, 202, 202, 2463, 261, 2722, 9535, 5147, 24899, 4631, 13,...
./full_match/5/0x3d58D4d259adB60eEcD1850020142A80A812503C/sources/project_/contracts/PancakePredictionV3.sol
* @notice called by the admin to pause, triggers stopped state @dev Callable by admin or operator/
function pause() external whenNotPaused onlyKeeperOrOperator { _pause(); emit Pause(currentEpoch); }
1,870,185
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2566, 635, 326, 3981, 358, 11722, 16, 11752, 9627, 919, 632, 5206, 10464, 635, 3981, 578, 3726, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 202, 915, 11722, 1435, 3903, 1347, 1248, 28590, 1338, 17891, 1162, 5592, 288, 203, 9506, 202, 67, 19476, 5621, 203, 203, 9506, 202, 18356, 31357, 12, 2972, 14638, 1769, 203, 202, 202, 97, 203, 203, 2, -100, -100, -100, -100, ...
./full_match/1/0xBCF9F4c6FC589c89d4aAdE063010D0f5B3733680/sources/contracts/staking/Staking.sol
* @dev Set an address as allowed asset holder. @param _assetHolder Address of allowed source for state channel funds @param _allowed True if asset holder is allowed/
function setAssetHolder(address _assetHolder, bool _allowed) external override onlyGovernor { require(_assetHolder != address(0), "!assetHolder"); assetHolders[_assetHolder] = _allowed; emit AssetHolderUpdate(msg.sender, _assetHolder, _allowed); }
4,905,259
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1000, 392, 1758, 487, 2935, 3310, 10438, 18, 632, 891, 389, 9406, 6064, 5267, 434, 2935, 1084, 364, 919, 1904, 284, 19156, 632, 891, 389, 8151, 1053, 309, 3310, 10438, 353, 2935, 19, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6672, 6064, 12, 2867, 389, 9406, 6064, 16, 1426, 389, 8151, 13, 3903, 3849, 1338, 43, 1643, 29561, 288, 203, 3639, 2583, 24899, 9406, 6064, 480, 1758, 12, 20, 3631, 17528, 9406, 6064, 8863, 203, 3639, 3310, 27003, ...
// File: @openzeppelin/contracts/math/SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually...
* @dev Get the rate value of specified tier @param _index of tier to query @return specified reward tier rate @notice Test(s) Need rewrite/
function getRate(uint256 _index) public whenNotPaused override returns(uint256) { return g_tiers[_index]._rate;
10,874,832
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 968, 326, 4993, 460, 434, 1269, 17742, 632, 891, 389, 1615, 434, 17742, 358, 843, 632, 2463, 1269, 19890, 17742, 4993, 632, 20392, 7766, 12, 87, 13, 12324, 10738, 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, 225, 445, 4170, 340, 12, 11890, 5034, 389, 1615, 13, 203, 225, 1071, 203, 225, 1347, 1248, 28590, 203, 225, 3849, 203, 225, 1135, 12, 11890, 5034, 13, 203, 225, 288, 203, 565, 327, 314, 67, 9096, 414, 63, 67, 1615, 65, 6315, ...
// SPDX-License-Identifier: MIT pragma solidity 0.6.11; pragma experimental ABIEncoderV2; import "./libraries/Ownable.sol"; import "./libraries/Counters.sol"; contract Voting is Ownable { //structur electeur deja donnée dans l'énoncé struct Voter { bool isRegistered; ...
structure proposition
struct Proposal { string description; uint voteCount; }
911,625
[ 1, 4625, 348, 7953, 560, 30, 225, 3695, 450, 3276, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 1958, 19945, 288, 203, 5411, 533, 2477, 31, 203, 5411, 2254, 12501, 1380, 31, 203, 2398, 203, 3639, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/80001/0xB664c900A44326Dd18513a038F584f779828516B/sources/contracts/ggProfiles.sol
* @notice Check if a pseudo is available (not taken) @param _pseudo pseudo to challenge @return true if the address is available/
function isAvailable(string memory _pseudo) external view returns (bool) { return !takenPseudonymes[_pseudo]; }
835,523
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2073, 309, 279, 12454, 353, 2319, 261, 902, 9830, 13, 632, 891, 389, 26023, 12454, 358, 12948, 632, 2463, 638, 309, 326, 1758, 353, 2319, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 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, 28293, 12, 1080, 3778, 389, 26023, 13, 3903, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 327, 401, 29113, 52, 23715, 6435, 281, 63, 67, 26023, 15533, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1313161554/0xb155085b335B4Ce6BcA8A49CB6B69082aaB8cfe5/sources/TaxCollector.sol
////User Function////
function subscribe(Plan _plan, address _payableToken) external returns(bytes32) { require(acceptTokenToDecimal[_payableToken] > 0, "unregistered token"); userToPlan[msg.sender] = _plan; userToAccepToken[msg.sender] = _payableToken; uint256 planValue = planToValue[_plan]; ui...
16,925,768
[ 1, 4625, 348, 7953, 560, 30, 368, 759, 1299, 4284, 1307, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9129, 12, 5365, 389, 7088, 16, 1758, 389, 10239, 429, 1345, 13, 3903, 1135, 12, 3890, 1578, 13, 288, 203, 3639, 2583, 12, 9436, 1345, 774, 5749, 63, 67, 10239, 429, 1345, 65, 405, 374, 16, 315, 318, 14327, 1147, 8863,...
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; contract DefisaverLogger { event LogEvent( address indexed contractAddress, address indexed caller, string indexed logName, bytes data ); // solhint-disable-next-line func-name-mixedcase function Log(address _c...
@title Implements Boost and Repay for Reflexer Safes
contract RAISaverProxy is DFSExchangeCore, RAISaverProxyHelper { bytes32 public constant ETH_COLL_TYPE = 0x4554482d41000000000000000000000000000000000000000000000000000000; address public constant SAFE_ENGINE_ADDRESS = 0xCC88a9d330da1133Df3A7bD823B95e52511A6962; address public constant ORACLE_RELAYER_ADD...
1,147,886
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 29704, 17980, 669, 471, 868, 10239, 364, 3941, 31731, 348, 1727, 281, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 26880, 5127, 21851, 3886, 353, 23872, 11688, 4670, 16, 26880, 5127, 21851, 3886, 2276, 288, 203, 203, 203, 565, 1731, 1578, 1071, 5381, 512, 2455, 67, 4935, 48, 67, 2399, 273, 374, 92, 24, 2539, 6334, 11149, 72, 9803, 12648,...
pragma solidity ^0.4.26; contract SafeMath { function safeAdd(uint256 a, uint256 b) public pure returns (uint256 c) { c = a + b; require(c >= a); } function safeSub(uint256 a, uint256 b) public pure returns (uint256 c) { require(b <= a); c = a - b; } function safeMu...
------------------------------------------------------------------------ Constructor ------------------------------------------------------------------------
contract NV_NIOInc is Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint256 public _totalSupply; mapping(address => uint256) balances; mapping(address => mapping(address => uint256)) allowed; event Transfer(address indexed from, address indexed to, uin...
14,955,797
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 17082, 11417, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 423, 58, 67, 50, 4294, 14559, 353, 14223, 11748, 16, 14060, 10477, 288, 203, 565, 533, 1071, 3273, 31, 203, 565, 533, 1071, 225, 508, 31, 203, 565, 2254, 28, 1071, 15105, 31, 203, 565, 2254, 5034, 1071, 389, 4963, 3088, ...
/** *Submitted for verification at Etherscan.io on 2021-06-10 */ /* 💎💎Ethereum Diamond💎💎 💎 Ethereum Diamond | $ETHD 💎 Token 💚 Fair Launch! ...
@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 meta-transactions the account sending and paying for executi...
abstract contract Context { 💎💎Ethereum Diamond💎💎 function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
6,546,464
[ 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, 4766, 6647, 225, 177, 258, 245, 241, 177, 258, 245, 241, 41, 18664, 379, 12508, 301, 1434, 177, 258, 245, 241, 177, 258, 245, 241, 203, 203, 203, 565, 445, 389, 3576, 12021, 1435, 2713, 1476, 5...
./full_match/80001/0xF7ccBf0c59963C153beD875309173ccA41979098/sources/project:/contracts/soulbound.sol
@dev Функция для минтинга токенов. Принимает адрес и URI токена.
function safeMint(address to, string memory uri) public onlyRole(MINTER_ROLE) { uint256 tokenId = _tokenIdCounter.current(); _tokenIdCounter.increment(); _safeMint(to, tokenId); _setTokenURI(tokenId, uri); }
859,890
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 225, 145, 102, 146, 230, 145, 126, 145, 123, 146, 233, 145, 121, 146, 242, 225, 145, 117, 145, 124, 146, 242, 225, 145, 125, 145, 121, 145, 126, 146, 229, 145, 121, 145, 126, 145, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4183, 49, 474, 12, 2867, 358, 16, 533, 3778, 2003, 13, 1071, 1338, 2996, 12, 6236, 2560, 67, 16256, 13, 288, 203, 3639, 2254, 5034, 1147, 548, 273, 389, 2316, 548, 4789, 18, 2972, 5621, 203, 3639, 389, 2316, 548, 4789...
./full_match/1/0x0Fd8Dca19CF252cFDdde5895dC860486276Dee4c/sources/browser/QNTX.sol
* @dev Adds or removes target contracts that the approveAndCall function is allowed to call/
function manageTargetContracts(address[] memory _targets, bool _remove) public onlyOwner { uint256 length = _targets.length; for (uint256 i = 0; i < length; i++) { address target = _targets[i]; if (_remove && targets[target]) { targets[ta...
2,969,107
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 15605, 578, 7157, 1018, 20092, 716, 326, 6617, 537, 1876, 1477, 445, 353, 2935, 358, 745, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 10680, 2326, 20723, 12, 2867, 8526, 3778, 389, 11358, 16, 1426, 389, 4479, 13, 203, 3639, 1071, 203, 3639, 1338, 5541, 203, 565, 288, 203, 3639, 2254, 5034, 769, 273, 389, 11358, 18, 2469, 31, 203, 203, 3639, 364, 261, ...
./partial_match/1/0xd81b3000D6Cad7af85E9939AfAb1243B56618EA9/sources/VFIN.sol
* @dev Modifier to verifiy if sender is a minter./
modifier onlyMinter() override { require(isMinter(msg.sender) || owner() == _msgSender()); _; } string memory name_, string memory symbol_, uint256 granularity_, bytes32[] memory defaultPartitions_ )
4,032,036
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 12832, 358, 1924, 704, 93, 309, 5793, 353, 279, 1131, 387, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1338, 49, 2761, 1435, 3849, 288, 203, 3639, 2583, 12, 291, 49, 2761, 12, 3576, 18, 15330, 13, 747, 3410, 1435, 422, 389, 3576, 12021, 10663, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 203, 3639, 533, 3778, 508, 67,...
// SPDX-License-Identifier: CC-BY-4.0 pragma solidity >=0.4.22 <0.9.0; // Commercial Paper Token with exchange /** * The issuer is the entity issuing the commercial papers. Where the commercial papers are issued through a special purpose vehicle (SPV), * the promoter is the entity incorporating the SPV for t...
maximum 11 character
string public symbol = "ABC.NOTE.S1";
12,625,660
[ 1, 4625, 348, 7953, 560, 30, 225, 4207, 4648, 3351, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 533, 1071, 3273, 273, 315, 26904, 18, 17857, 18, 55, 21, 14432, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
/* The MIT License (MIT) Copyright 2017 - 2018, Alchemy Limited, LLC and Smart Contract Solutions. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, includi...
@notice First calculate the auction which contains the given tick and then calculate auction start time of given tick. @param _tick Metronome tick
function auctionStartTime(uint _tick) private view returns (uint) { return ((whichAuction(_tick)) * 1 days) / timeScale + dailyAuctionStartTime - 1 days; }
624,387
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 5783, 4604, 326, 279, 4062, 1492, 1914, 326, 864, 4024, 471, 1508, 4604, 279, 4062, 787, 813, 434, 864, 4024, 18, 632, 891, 389, 6470, 21604, 1949, 1742, 4024, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 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, 279, 4062, 13649, 12, 11890, 389, 6470, 13, 3238, 1476, 1135, 261, 11890, 13, 288, 203, 3639, 327, 14015, 12784, 37, 4062, 24899, 6470, 3719, 380, 404, 4681, 13, 342, 813, 5587, 397, 18872, 37, 4062, 13649, 300, 404, 46...
./partial_match/1/0x61dC65001A8De4138DAD5167e43FF0FB0AB8D3B3/sources/src/ArbitrumTimelock.sol
@title Timelock to be used in Arbitrum governance @notice Take care when using the predecessor field when scheduling. Since proposals can make cross chain calls and those calls are async, it is not guaranteed that they will be executed cross chain in the same order that they are executed in this time...
contract ArbitrumTimelock is TimelockControllerUpgradeable { pragma solidity 0.8.16; constructor() { _disableInitializers(); } uint256 private _arbMinDelay; uint256[49] private __gap; function initialize(uint256 minDelay, address[] memory proposers, address[] memory executors) ext...
16,040,156
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 225, 12652, 292, 975, 358, 506, 1399, 316, 1201, 3682, 86, 379, 314, 1643, 82, 1359, 632, 20392, 17129, 7671, 1347, 1450, 326, 24282, 652, 1347, 21895, 18, 7897, 450, 22536, 540, 848, 122...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 1201, 3682, 86, 379, 10178, 292, 975, 353, 12652, 292, 975, 2933, 10784, 429, 288, 203, 683, 9454, 18035, 560, 374, 18, 28, 18, 2313, 31, 203, 565, 3885, 1435, 288, 203, 3639, 389, 8394, 4435, 8426, 5621, 203, 565, 289, ...
pragma solidity ^0.4.18; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed pre...
* The constructor of the contract. Note: tierCaps[tier] define the individual contribution limits in Wei of each address per tier within the first tranche of the sale (sale start ~ capDoublingTimestamp) these limits are doubled between capDoublingTimestamp ~ capReleaseTimestamp and are lifted completely between capRele...
function BeeTokenOffering( uint256 beeToEtherRate, address beneficiaryAddr, uint256 baseContributionCapInWei, address tokenAddress ) public { require(beeToEtherRate > 0); require(beneficiaryAddr != address(0)); require(tokenAddress != address(0)); ...
12,865,093
[ 1, 4625, 348, 7953, 560, 30, 380, 1021, 3885, 434, 326, 6835, 18, 3609, 30, 17742, 24193, 63, 88, 2453, 65, 4426, 326, 7327, 24880, 8181, 316, 1660, 77, 434, 1517, 1758, 1534, 17742, 3470, 326, 1122, 13637, 18706, 434, 326, 272, 534...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 30830, 1345, 17800, 12, 203, 3639, 2254, 5034, 27203, 774, 41, 1136, 4727, 16, 7010, 3639, 1758, 27641, 74, 14463, 814, 3178, 16, 7010, 3639, 2254, 5034, 1026, 442, 4027, 4664, 382, 3218, 77, 16, 203, 3639, 1758, 1147, ...
./full_match/4/0x6BE60E29FBb7559A5aF18D1e8F840767dd315359/sources/tellorlegacy/contracts/oldContracts/libraries/OldTellorGettersLibrary.sol
* @dev Getter function for requestId based on the qeuaryHash @param _queryHash hash(of string api and granularity) to check if a request already exists @return uint requestId/
function getRequestIdByQueryHash(OldTellorStorage.TellorStorageStruct storage self, bytes32 _queryHash) internal view returns(uint){ return self.requestIdByQueryHash[_queryHash]; }
817,791
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 968, 387, 445, 364, 14459, 2511, 603, 326, 1043, 73, 24335, 2310, 632, 891, 389, 2271, 2310, 1651, 12, 792, 533, 1536, 471, 25380, 13, 358, 866, 309, 279, 590, 1818, 1704, 632, 2463, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4328, 548, 26749, 2310, 12, 7617, 21009, 280, 3245, 18, 21009, 280, 3245, 3823, 2502, 365, 16, 1731, 1578, 389, 2271, 2310, 13, 2713, 1476, 1135, 12, 11890, 15329, 377, 203, 3639, 327, 365, 18, 2293, 548, 26749, 2310, 6...
./partial_match/42/0xdFf18ab57909a57e4660435B0935C09A1407d29A/sources/MasterchefDelegator.sol
NTSToken with Governance. cross chain
contract NTSToken is ERC20("NTSToken", "NTS"), Ownable { mapping(address => bool) public minters; struct Checkpoint { uint256 fromBlock; uint256 votes; } event VotesBalanceChanged( address indexed user, uint256 previousBalance, uint256 newBalance ); ma...
3,296,213
[ 1, 4625, 348, 7953, 560, 30, 225, 20064, 882, 969, 598, 611, 1643, 82, 1359, 18, 6828, 2687, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 20064, 882, 969, 353, 4232, 39, 3462, 2932, 1784, 882, 969, 3113, 315, 1784, 55, 6, 3631, 14223, 6914, 288, 203, 565, 2874, 12, 2867, 516, 1426, 13, 1071, 1131, 5432, 31, 203, 203, 203, 565, 1958, 25569, 288, 203, 3639, ...
pragma solidity ^0.4.0; contract TicTacToe { // Basic Strucutre of a Game struct Game { uint blockNumberLastMove; uint reward; bool blockchainCourt; // true if the game is only playable through the blockchain address proposer; address challenged; by...
true if the game is only playable through the blockchain
bool blockchainCourt;
12,740,851
[ 1, 4625, 348, 7953, 560, 30, 225, 638, 309, 326, 7920, 353, 1338, 6599, 429, 3059, 326, 16766, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 1426, 16766, 29328, 88, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./full_match/1/0xa03342feB2e1D4690B60Ef556509ec3B76c97eE7/sources/contracts/PSM/ChaiPSM.f.sol
@dev Information for a Raft indexable collateral token. @param collateralToken The Raft indexable collateral token. @param debtToken Corresponding Raft indexable debt token. @param priceFeed The contract that provides a price for the collateral token. @param splitLiquidation The contract that calculates collateral spl...
function getPriceOracleResponse() external returns (PriceOracleResponse memory); function timeout() external view returns (uint256); function TARGET_DIGITS() external view returns (uint256); function DEVIATION() external view returns (uint256); } } } struct CollateralTokenInfo { IERC20...
3,210,006
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 15353, 364, 279, 19434, 770, 429, 4508, 2045, 287, 1147, 18, 632, 891, 4508, 2045, 287, 1345, 1021, 19434, 770, 429, 4508, 2045, 287, 1147, 18, 632, 891, 18202, 88, 1345, 9557, 17863, 310...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25930, 23601, 1064, 1435, 3903, 1135, 261, 5147, 23601, 1064, 3778, 1769, 203, 203, 565, 445, 2021, 1435, 3903, 1476, 1135, 261, 11890, 5034, 1769, 203, 203, 565, 445, 16964, 67, 21243, 10158, 1435, 3903, 1476, 1135, 261, ...
./full_match/1/0xED7CF75E1190f6E5Fb300c1be6606359f29252EC/sources/contracts/modules/KresusRelayer.sol
* @notice to cancel all the queued operations for a `_vault` address. @param _vault The target vault./
function cancelAll( address _vault ) external onlySelf { uint256 len = relayer[_vault].queue.length; for(uint256 i=0;i<len;i++) { bytes32 _actionHash = relayer[_vault].queue[i]; relayer[_vault].queuedTransactions[_actionHash] = 0; relayer[_vault].arra...
17,122,657
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 358, 3755, 777, 326, 12234, 5295, 364, 279, 1375, 67, 26983, 68, 1758, 18, 632, 891, 389, 26983, 1021, 1018, 9229, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3755, 1595, 12, 203, 3639, 1758, 389, 26983, 203, 565, 262, 3903, 1338, 10084, 288, 203, 3639, 2254, 5034, 562, 273, 1279, 1773, 63, 67, 26983, 8009, 4000, 18, 2469, 31, 7010, 3639, 364, 12, 11890, 5034, 277, 33, 20, ...
./partial_match/11155111/0xa1Cba558B09d7B88FaBFe967B64f0C9626E1fAd0/sources/contracts/Whitelisting.sol
@dev Modifier that checks if the chain with the given sourceChainSelector is whitelisted. @param _sender The address of the sender.
modifier onlyWhitelistedSenders(address _sender) { if (!whitelistedSenders[_sender]) revert SenderNotWhitelisted(_sender); _; }
3,533,821
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 12832, 716, 4271, 309, 326, 2687, 598, 326, 864, 1084, 3893, 4320, 353, 26944, 18, 632, 891, 389, 15330, 1021, 1758, 434, 326, 5793, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1338, 18927, 329, 3826, 414, 12, 2867, 389, 15330, 13, 288, 203, 3639, 309, 16051, 20409, 329, 3826, 414, 63, 67, 15330, 5717, 7010, 5411, 15226, 15044, 1248, 18927, 329, 24899, 15330, 1769, 203, 3639, 389, 31, 203, 565,...
pragma solidity 0.4.24; // _____________________________________________________________ // .'' // ._.-.___.' (`\ // //( ( `' // '/ )\ ).__. ) // ' <' `\ ._/'\ // ________`___\_____\__________________________________________ // ...
* @dev check if a round number is valid to make a purchase for @param _round round to check @return true if _round is current (or next if current is over)/ passing _round as 0 means buy for current round
function isInvalidRound(uint256 _round) private view returns(bool) { return _round != 0 && _round != getCurrentRound(); }
2,484,590
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 866, 309, 279, 3643, 1300, 353, 923, 358, 1221, 279, 23701, 364, 632, 891, 389, 2260, 3643, 358, 866, 632, 2463, 638, 309, 389, 2260, 353, 783, 261, 280, 1024, 309, 783, 353, 1879, 1317...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 353, 1941, 11066, 12, 11890, 5034, 389, 2260, 13, 203, 3639, 3238, 203, 3639, 1476, 203, 3639, 1135, 12, 6430, 13, 203, 565, 288, 203, 3639, 327, 389, 2260, 480, 374, 597, 389, 2260, 480, 5175, 11066, 5621, 203, 565, ...
pragma solidity ^ 0.4.18; library SafeMath { function mul(uint a, uint b) internal pure returns(uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function sub(uint a, uint b) internal pure returns(uint) { assert(b <= a); return a - b; } f...
The token Public variables of the token Lock transfer for contributors during the ICO
contract Token is ERC20, Ownable { using SafeMath for uint; string public name; string public symbol; string public version = "v0.1"; uint public totalSupply; bool public locked; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allow...
9,878,821
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 1147, 7224, 3152, 434, 326, 1147, 3488, 7412, 364, 13608, 13595, 4982, 326, 467, 3865, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 3155, 353, 4232, 39, 3462, 16, 14223, 6914, 288, 203, 377, 203, 565, 1450, 14060, 10477, 364, 2254, 31, 203, 377, 203, 565, 533, 1071, 508, 31, 203, 565, 533, 1071, 3273, 31, 203, 565, 533, 1071, 1177, 273, 315, 90, 20, ...
./full_match/137/0xb2dfef4FaED50369A9f2663254AEec559537ae30/sources/project_/contracts/RC.sol
create new or up free(only once) after trial period
function createInsurance( address _backupWallet, address[] calldata _validators, uint256 _voteQuorum, uint256 _subscriptionID, bool _autopayment ) external validSubscriptionID(_subscriptionID) { Insurance memory userInsurance = insurances[msg.sender]; Subs...
4,774,320
[ 1, 4625, 348, 7953, 560, 30, 225, 752, 394, 578, 731, 4843, 12, 3700, 3647, 13, 1839, 12950, 3879, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 752, 5048, 295, 1359, 12, 203, 3639, 1758, 389, 9572, 16936, 16, 203, 3639, 1758, 8526, 745, 892, 389, 23993, 16, 203, 3639, 2254, 5034, 389, 25911, 31488, 16, 203, 3639, 2254, 5034, 389, 11185, 734, 16, 203, 3639, 1426...
./full_match/1/0x5BC451bF4C362Cfb8863859eAf37f6ef2bF3611a/sources/TRU.sol
returns all the pending nfts (status =1) back to the user */
function findAllPendingnft() public view returns ( uint256[] memory, address[] memory, address[] memory, uint256[] memory ) { if (pendingnftCount == 0) { return ( new uint256[](0), ...
9,625,279
[ 1, 4625, 348, 7953, 560, 30, 225, 1135, 777, 326, 4634, 290, 1222, 87, 261, 2327, 273, 21, 13, 1473, 358, 326, 729, 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...
[ 1, 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, 11135, 8579, 82, 1222, 1435, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 1135, 261, 203, 5411, 2254, 5034, 8526, 3778, 16, 203, 5411, 1758, 8526, 3778, 16, 203, 5411, 1758, 8526, 3778, 16, 203, 5411, 2254, 5034, 8526, ...
./full_match/100/0x2C284500fc7424F2b45C3AEF2a8bd36E40d32A61/sources/contracts/perpetual/DecimalMath.sol
@dev Implements simple fixed point math add, sub, mul and div operations. @author Alberto Cuesta Cañada
library DecimalMath { using SafeMath for uint256; pragma solidity ^0.6.0; import { SafeMath } from "../Libraries.sol"; function unit(uint8 decimals) internal pure returns (uint256) { return 10**uint256(decimals); } function addd(uint256 x, uint256 y) internal pure returns (uint256) { r...
14,266,916
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 29704, 4143, 5499, 1634, 4233, 527, 16, 720, 16, 14064, 471, 3739, 5295, 18, 632, 4161, 2262, 744, 869, 385, 89, 395, 69, 23318, 132, 114, 16524, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 12083, 11322, 10477, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 683, 9454, 18035, 560, 3602, 20, 18, 26, 18, 20, 31, 203, 5666, 288, 14060, 10477, 289, 628, 315, 6216, 31909, 18, 18281, 14432, 203, 565, 445...
./full_match/42161/0x3543488F480bDb42075283Bc354Cf5B0F58e8204/sources/project_/src/active/MemepadProject.sol
Write: Correct total reward tokens
function setTotalRewardTokens(uint256 _amount) external onlyOwner { totalRewardTokens = _amount; }
16,300,971
[ 1, 4625, 348, 7953, 560, 30, 225, 2598, 30, 30626, 2078, 19890, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 25015, 17631, 1060, 5157, 12, 11890, 5034, 389, 8949, 13, 3903, 1338, 5541, 288, 203, 565, 2078, 17631, 1060, 5157, 273, 389, 8949, 31, 203, 225, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.22; /** * Math operations with safety checks */ contract SafeMath { function safeMul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function safeDiv(uint256 a, uint256 b) internal pure retu...
* Math operations with safety checks/
contract SafeMath { function safeMul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) { assert(b > 0); uint256 c = a / b; ...
14,427,978
[ 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, 16351, 14060, 10477, 288, 203, 565, 445, 4183, 27860, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 276, 273, 279, 380, 324, 31, 203, 3639, 1815, 12, 69, 422, ...
./full_match/5/0x3d58D4d259adB60eEcD1850020142A80A812503C/sources/project_/contracts/PancakePredictionV3.sol
* @notice Claim reward for an array of epochs @param epochs: array of epochs for which the user wants to claim/? Track total rewards to be transferred to the user? For each epoch, it checks if the round has started and if the current timestamp? is greater than the round's close timestamp. If not, it throws an error.? ...
function claim(uint256[] calldata epochs) external nonReentrant notContract { for (uint256 i = 0; i < epochs.length; i++) { require(rounds[epochs[i]].startTimestamp != 0, "Round has not started"); require(block.timestamp > rounds[epochs[i]].closeTimestamp, "Round has not ended"); uint256 added...
1,870,176
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 18381, 19890, 364, 392, 526, 434, 25480, 632, 891, 25480, 30, 526, 434, 25480, 364, 1492, 326, 729, 14805, 358, 7516, 23239, 11065, 2078, 283, 6397, 358, 506, 906, 4193, 358, 326, 729, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 202, 202, 915, 7516, 12, 11890, 5034, 8526, 745, 892, 25480, 13, 3903, 1661, 426, 8230, 970, 486, 8924, 288, 203, 203, 9506, 202, 1884, 261, 11890, 5034, 277, 273, 374, 31, 277, 411, 25480, 18, 2469, 31, 277, 27245, 288, 203, 2...
/** *Submitted for verification at Etherscan.io on 2022-05-03 */ // File: contracts/IStakingRewards.sol pragma solidity ^0.8.0; interface IStakingRewards { // Views function lastTimeRewardApplicable() external view returns (uint256); function rewardPerToken() external view returns (uint256); func...
@review how to handle overflow?
require(rewardRate <= balance.div(rewardsDuration), 'Provided reward too high');
15,013,502
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 16041, 3661, 358, 1640, 9391, 35, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2583, 12, 266, 2913, 4727, 1648, 11013, 18, 2892, 12, 266, 6397, 5326, 3631, 296, 19254, 19890, 4885, 3551, 8284, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../access/AccessControl.sol"; interface IEmergencyBrake { struct Permission { address contact; bytes4[] signatures; } function plan(address target, Permission[] calldata permissions) external returns (bytes32 txHash); fu...
* @dev Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a ...
function renounceRole(bytes4 role, address account) external virtual { require(account == msg.sender, "Renounce only for self"); _revokeRole(role, account); }
57,004
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 14477, 601, 281, 1375, 4615, 68, 628, 326, 4440, 2236, 18, 19576, 854, 16337, 7016, 3970, 288, 16243, 2996, 97, 471, 288, 9083, 3056, 2996, 6713, 333, 445, 1807, 13115, 353, 358, 5615, 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, 1, 1, 1, 1...
[ 1, 565, 445, 1654, 8386, 2996, 12, 3890, 24, 2478, 16, 1758, 2236, 13, 3903, 5024, 288, 203, 3639, 2583, 12, 4631, 422, 1234, 18, 15330, 16, 315, 16290, 8386, 1338, 364, 365, 8863, 203, 203, 3639, 389, 9083, 3056, 2996, 12, 4615, ...
// SPDX-License-Identifier: MIT pragma solidity >0.7.5; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "./IL1StandardERC721.sol"; contract L1StandardERC721 is IL1StandardERC721, ERC721 { address public override l2Contract; address public l1Bridge; string private baseTokenURI; /** ...
* @param _l1Bridge Address of the L1 standard bridge. @param _l2Contract Address of the corresponding L2 NFT contract. @param _name ERC721 name. @param _symbol ERC721 symbol./
ERC721(_name, _symbol) { l2Contract = _l2Contract; l1Bridge = _l1Bridge; baseTokenURI = _baseTokenURI; }
5,430,364
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 891, 389, 80, 21, 13691, 5267, 434, 326, 511, 21, 4529, 10105, 18, 632, 891, 389, 80, 22, 8924, 5267, 434, 326, 4656, 511, 22, 423, 4464, 6835, 18, 632, 891, 389, 529, 4232, 39, 27, 5340, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 3639, 4232, 39, 27, 5340, 24899, 529, 16, 389, 7175, 13, 288, 203, 3639, 328, 22, 8924, 273, 389, 80, 22, 8924, 31, 203, 3639, 328, 21, 13691, 273, 389, 80, 21, 13691, 31, 203, 3639, 1026, 1345, 3098, 273, 389, 1969, 1345, 30...
./full_match/42/0x50c71500Fa539DaFA7183aD6c27571489728ad33/sources/contracts/LenderPool.sol
* @notice Claim rewards for the specified lender and the specified roundId @dev only `Owner` can withdraw @dev if round `paidTrade` is `true`, swap all rewards into Trade tokens @dev if round `paidTrade` is `false` and swap only bonusRewards and transfer stableRewards to the lender @dev emits ClaimTrade whenever Stable...
function _claimRewards(address lender, uint roundId) private { Round memory round = _lenderRounds[lender][roundId]; stableInstance.approve(address(router), ~uint(0)); if (round.paidTrade) { uint amountTrade = _swapExactTokens( lender, roundId, ...
16,211,262
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 18381, 283, 6397, 364, 326, 1269, 328, 2345, 471, 326, 1269, 3643, 548, 632, 5206, 1338, 1375, 5541, 68, 848, 598, 9446, 632, 5206, 309, 3643, 1375, 29434, 22583, 68, 353, 1375, 3767, 91...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14784, 17631, 14727, 12, 2867, 328, 2345, 16, 2254, 3643, 548, 13, 3238, 288, 203, 3639, 11370, 3778, 3643, 273, 389, 80, 2345, 54, 9284, 63, 80, 2345, 6362, 2260, 548, 15533, 203, 3639, 14114, 1442, 18, 12908, 537...
./partial_match/1/0xa2abd5C8164708e7a747269Ef4d67eb5dfa293F1/sources/SoL.sol
exlcude from fees and max transaction amount store addresses that a automatic market maker pairs. Any transfer *to* these addresses could be subject to a maximum transfer amount
contract SoL is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address public marketingWallet; address public devWallet;...
3,954,834
[ 1, 4625, 348, 7953, 560, 30, 225, 431, 17704, 1317, 628, 1656, 281, 471, 943, 2492, 3844, 1707, 6138, 716, 279, 5859, 13667, 312, 6388, 5574, 18, 5502, 7412, 380, 869, 14, 4259, 6138, 3377, 506, 3221, 358, 279, 4207, 7412, 3844, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 6155, 48, 353, 4232, 39, 3462, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 1071, 11732, 640, 291, 91, 438, 58, 22, 8259, 31, 203, ...
// contracts/Pandas.sol // SPDX-License-Identifier: MIT // ~Forked from Anonymice~ pragma solidity ^0.8.0; import "./ERC721Enumerable.sol"; import "./IShoots.sol"; import "./PandaLibrary.sol"; import "hardhat/console.sol"; contract Panda is ERC721Enumerable { using PandaLibrary for uint8; struct Trait { ...
* @dev Returns the SVG and metadata for a token Id @param _tokenId The tokenId to return the SVG and metadata for./
function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId)); string memory tokenHash = _tokenIdToHash(_tokenId); return string( abi.encodePacked( "data:app...
53,644
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 11281, 471, 1982, 364, 279, 1147, 3124, 632, 891, 389, 2316, 548, 1021, 1147, 548, 358, 327, 326, 11281, 471, 1982, 364, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 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, 3098, 12, 11890, 5034, 389, 2316, 548, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 3849, 203, 3639, 1135, 261, 1080, 3778, 13, 203, 565, 288, 203, 3639, 2583, 24899, 1808, 24899, 2316, 548, 10019, 203, 203, 2...
./partial_match/56/0x9038f97B030B5F5c63e8eEc4a81A65E0d7808A4D/sources/McBaseAutoStrategyCake.sol
* @dev Withdraws funds and sents them back to the vault. It redeposits harvested and pending cakes in AutoFarm strategy via farm() It withdraws {want} from the AutoFarm. The available {want} is returned to the vault./
function withdraw(uint256 _amount) external { require(msg.sender == vault, "!vault"); IStratX(autostrat).farm(); IStratX(autostrat).farm(); uint256 wantBal = IERC20(want).balanceOf(address(this)); if (wantBal < _amount) { IAutoFarmV2(autofarm).withdraw(poolId, ...
11,250,001
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3423, 9446, 87, 284, 19156, 471, 3271, 87, 2182, 1473, 358, 326, 9229, 18, 2597, 283, 323, 917, 1282, 17895, 90, 3149, 471, 4634, 276, 3223, 316, 8064, 42, 4610, 6252, 3970, 284, 4610, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 598, 9446, 12, 11890, 5034, 389, 8949, 13, 3903, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 9229, 16, 17528, 26983, 8863, 203, 203, 3639, 467, 1585, 270, 60, 12, 21996, 313, 270, 2934, 74, 4610, 5621, 203, 3639, ...
./partial_match/1/0x21A7288DDca0Cf406d0dF0c8A1Db15F94Caf4bEc/sources/@spanning/contracts/SpanningUtils.sol
* @dev Packs data into an existing Spanning Address This can be used to add routing parameters into a Spanning Addresses buffer space. Example to specify a message waits `numFinalityBlocks` before settling: newSpanningAddress = packAddressData(prevSpanningAddress, numFinalityBlocks,...
function packAddressData( bytes32 existingAddress, uint8 payload, uint8 index ) public pure returns (bytes32) { require(index > 19 && index < 28, "Trying to overwrite address data"); bytes32 encodedAddress = 0x0; bytes32 dataMask = 0x0; uin...
4,024,940
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 7930, 87, 501, 1368, 392, 2062, 5878, 10903, 5267, 1220, 848, 506, 1399, 358, 527, 7502, 1472, 1368, 279, 5878, 10903, 23443, 1613, 3476, 18, 5090, 358, 4800, 279, 883, 16248, 1375, 2107, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2298, 1887, 751, 12, 203, 3639, 1731, 1578, 2062, 1887, 16, 203, 3639, 2254, 28, 2385, 16, 203, 3639, 2254, 28, 770, 203, 565, 262, 1071, 16618, 1135, 261, 3890, 1578, 13, 288, 203, 3639, 2583, 12, 1615, 405, 5342, 59...
pragma solidity 0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) in...
add to the list of tokens for this platformId
function updateBalances(address _from, bytes32 _platform, string _platformId, address _token, uint256 _value) public onlyCaller { if (db.getBool(keccak256(abi.encodePacked("funds.token.address", _platform, _platformId, _token))) == false) { db.setBool(keccak256(abi.encodePacked("funds.token.addr...
13,930,486
[ 1, 4625, 348, 7953, 560, 30, 527, 358, 326, 666, 434, 2430, 364, 333, 4072, 548, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1089, 38, 26488, 12, 2867, 389, 2080, 16, 1731, 1578, 389, 9898, 16, 533, 389, 9898, 548, 16, 1758, 389, 2316, 16, 2254, 5034, 389, 1132, 13, 1071, 1338, 11095, 288, 203, 3639, 309, 261, 1966, 18, 588, 7464, 12, 79, ...