file_name
stringlengths
71
779k
comments
stringlengths
20
182k
code_string
stringlengths
20
36.9M
__index_level_0__
int64
0
17.2M
input_ids
list
attention_mask
list
labels
list
./full_match/4/0x3C951bcD2991a92527399c5143A8e2Ba81b30eB4/sources/kaliAIT.sol
this is reasonably safe from overflow because incrementing `totalSupply` beyond 'type(uint256).max' is exceedingly unlikely compared to optimization benefits, and because the sum of all user balances can't exceed 'type(uint256).max'
function _mint( address to, uint256 tokenId, string memory tokenURI_ ) internal virtual { require(ownerOf[tokenId] == address(0), 'ALREADY_MINTED'); unchecked { totalSupply++; balanceOf[to]++; } ownerOf[t...
649,981
[ 1, 2211, 353, 3971, 6906, 4183, 628, 9391, 2724, 5504, 310, 1375, 4963, 3088, 1283, 68, 17940, 296, 723, 12, 11890, 5034, 2934, 1896, 11, 353, 9943, 310, 715, 29372, 15843, 358, 14850, 27641, 18352, 16, 471, 2724, 326, 2142, 434, 777,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 81, 474, 12, 203, 3639, 1758, 358, 16, 7010, 3639, 2254, 5034, 1147, 548, 16, 7010, 3639, 533, 3778, 1147, 3098, 67, 203, 565, 262, 2713, 5024, 288, 7010, 3639, 2583, 12, 8443, 951, 63, 2316, 548, 65, 422, 1758, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8; import "./interfaces/UniswapV2Interfaces.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/structs/EnumerableSet.sol'; import '@openzeppelin/contracts/...
@notice This is the code that is executed after `traingularFlashSwap` initiated the flash-borrow @dev When this code executes, this contract will hold the amount of WETH we need in order to get _amount _tokenBorrow from the _tokenBorrow/WETH pair. decode _triangleData Step 3: Using a normal swap, trade that WETH f...
function traingularFlashSwapExecute( bytes memory _triangleData, bytes memory _userData ) private { (address _borrowPairAddress, uint _amountOfWeth) = abi.decode(_triangleData, (address, uint)); CallbackData memory info = abi.decode(_userData, (CallbackData)); ad...
14,094,458
[ 1, 2503, 353, 326, 981, 716, 353, 7120, 1839, 1375, 2033, 17830, 11353, 12521, 68, 27183, 326, 9563, 17, 70, 15318, 225, 5203, 333, 981, 11997, 16, 333, 6835, 903, 6887, 326, 3844, 434, 678, 1584, 44, 732, 1608, 316, 1353, 358, 336,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1284, 17830, 11353, 12521, 5289, 12, 3639, 203, 3639, 1731, 3778, 389, 16857, 4341, 751, 16, 203, 3639, 1731, 3778, 389, 1355, 751, 203, 565, 262, 3238, 288, 203, 3639, 261, 2867, 389, 70, 15318, 4154, 1887, 16, 2254, 3...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol"; import "@openzeppelin/...
@notice Withdraws staked creature NFTs @param tokenIds The tokenIds of the NFTs which will be withdrawn Check if the user who withdraws is the owner Transfer NFTs back to the owner Increment the amount which will be withdrawn Cleanup stakedAssets for the current tokenId
function withdrawCreatures(uint256[] memory tokenIds) external nonReentrant updateReward(msg.sender) { require(tokenIds.length > 0, "SwampStaking: No tokenIds provided"); uint256 amount; for (uint256 i; i < tokenIds.length;) { require(stakedCreatures[tokenIds[i]] == msg.sender, "SwampStaking: Not t...
1,127,475
[ 1, 1190, 9446, 87, 384, 9477, 1519, 1231, 423, 4464, 87, 225, 1147, 2673, 1021, 1147, 2673, 434, 326, 423, 4464, 87, 1492, 903, 506, 598, 9446, 82, 2073, 309, 326, 729, 10354, 598, 9446, 87, 353, 326, 3410, 12279, 423, 4464, 87, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 598, 9446, 1996, 2790, 12, 11890, 5034, 8526, 3778, 1147, 2673, 13, 3903, 1661, 426, 8230, 970, 1089, 17631, 1060, 12, 3576, 18, 15330, 13, 288, 203, 565, 2583, 12, 2316, 2673, 18, 2469, 405, 374, 16, 315, 6050, 931, ...
pragma solidity >=0.4.22 <0.6.0; pragma experimental ABIEncoderV2; contract SimpleStorage { // ########## // More comments soon. // ########## // Word Struct struct Word { string word; string username; uint256 price; string message; address payable o...
Public array of words stored in blockchain
Word[] public words;
12,904,478
[ 1, 4782, 526, 434, 4511, 4041, 316, 16766, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9926, 8526, 1071, 4511, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/10/0xA5e6EFdA500FD0BCEd87B2cd8Af1c81c0cc9D556/sources/MultiSigWallet.sol
call has been separated into its own function in order to take advantage of the Solidity's code generator to produce a loop that copies tx.data into memory.
function external_call(address destination, uint value, uint dataLength, bytes memory data) internal returns (bool) { bool result; assembly { result := call( gas, destination, value, d, x, ) ...
3,779,809
[ 1, 1991, 711, 2118, 8936, 1368, 2097, 4953, 445, 316, 1353, 358, 4862, 1261, 7445, 410, 434, 326, 348, 7953, 560, 1807, 981, 4456, 358, 11402, 279, 2798, 716, 13200, 2229, 18, 892, 1368, 3778, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3903, 67, 1991, 12, 2867, 2929, 16, 2254, 460, 16, 2254, 27972, 16, 1731, 3778, 501, 13, 2713, 1135, 261, 6430, 13, 288, 203, 3639, 1426, 563, 31, 203, 203, 3639, 19931, 288, 203, 5411, 563, 519, 745, 12, 203, 7734, ...
./full_match/10/0x7E8C335b22a37070a9B70B8AaAe6a57390BCb704/sources/contracts/GasStation.sol
* @notice Returns an array of addresses of tokens that can be used to pay for gas/
function feeTokens() external view returns (address[] memory) { return _feeTokensStore.values(); }
3,782,672
[ 1, 1356, 392, 526, 434, 6138, 434, 2430, 716, 848, 506, 1399, 358, 8843, 364, 16189, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 14036, 5157, 1435, 3903, 1476, 1135, 261, 2867, 8526, 3778, 13, 288, 203, 3639, 327, 389, 21386, 5157, 2257, 18, 2372, 5621, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/5/0x8F53f533531a40BdaA832254e282ed1b21D83F71/sources/src/bridge/FastBridgeReceiverOnEthereum.sol
* @dev Sends the deposit back to the Bridger if their claim is not successfully challenged. Includes a portion of the Challenger's deposit if unsuccessfully challenged. @param _epoch The epoch associated with the claim deposit to withraw./
function withdrawClaimDeposit(uint256 _epoch) external override { Claim storage claim = claims[_epoch]; require(claim.bridger != address(0), "Claim does not exist"); require(claim.honest == true, "Claim failed."); require(claim.depositAndRewardWithdrawn == false, "Claim deposit and ...
1,938,780
[ 1, 10501, 326, 443, 1724, 1473, 358, 326, 605, 1691, 693, 309, 3675, 7516, 353, 486, 4985, 462, 7862, 2423, 18, 657, 8993, 279, 14769, 434, 326, 1680, 7862, 693, 1807, 443, 1724, 309, 640, 4768, 4095, 462, 7862, 2423, 18, 225, 389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 598, 9446, 9762, 758, 1724, 12, 11890, 5034, 389, 12015, 13, 3903, 3849, 288, 203, 3639, 18381, 2502, 7516, 273, 11955, 63, 67, 12015, 15533, 203, 203, 3639, 2583, 12, 14784, 18, 14400, 693, 480, 1758, 12, 20, 3631, 315...
pragma solidity 0.5.17; import "@openzeppelin/contracts-ethereum-package/contracts/ownership/Ownable.sol"; import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20Detailed.sol"; /// @notice A test ERC20 token that c...
@notice A test ERC20 token that can destroy itself.
contract SelfDestructingToken is ERC20, ERC20Detailed, Ownable { string private constant _name = "Self Destructing Token"; string private constant _symbol = "SDT"; uint8 private constant _decimals = 18; uint256 public constant INITIAL_SUPPLY = 1000000000 * 10**uint256(_decimals); construct...
13,086,853
[ 1, 37, 1842, 4232, 39, 3462, 1147, 716, 848, 5546, 6174, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 18954, 6305, 8813, 310, 1345, 353, 4232, 39, 3462, 16, 4232, 39, 3462, 40, 6372, 16, 14223, 6914, 288, 203, 565, 533, 3238, 5381, 389, 529, 273, 315, 10084, 10597, 8813, 310, 3155, 14432, 203, 565, 533, 3238, 5381, 389, 71...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; //@author: Linorth ([email protected]) /** ????????????????????????J??????????????????????????????????????????????????????????????????????????? ???????????????????????5#BJ????????????????????????????????????????????????????????????????????????? ??????????...
add your owner address in paranteses
transferOwnership(0x87093A904d4a096eC105e517De61AE81Aaffb7EA);
14,675,504
[ 1, 1289, 3433, 3410, 1758, 316, 779, 970, 281, 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, 0, 0, 0, 0, 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, 7412, 5460, 12565, 12, 20, 92, 11035, 5908, 23, 37, 29, 3028, 72, 24, 69, 5908, 26, 73, 39, 21661, 73, 25, 4033, 758, 9498, 16985, 11861, 37, 7329, 70, 27, 41, 37, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity ^0.4.24; import "../common/Active.sol"; import "../common/SafeMathLib.sol"; import "../common/Manageable.sol"; import "../token/IERC20Token.sol"; import "../common/EtherHolder.sol"; import "./IProductStorage.sol"; import "./IEscrow.sol"; import "./IFeePolicy.sol"; import "./IPurchaseHandler.sol"; impor...
*@dev Changes parameters */
function setParams( IProductStorage _productStorage, IEscrow _escrowProvider, IFeePolicy _feePolicy, IDiscountPolicy _discountPolicy, IRevokedStorage _revokedStorage, IERC20Token _token, IEtherPriceProvider _etherPriceProvider ) public o...
12,636,914
[ 1, 7173, 1472, 342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 31705, 12, 203, 3639, 467, 4133, 3245, 389, 5896, 3245, 16, 203, 3639, 467, 6412, 492, 389, 742, 492, 2249, 16, 203, 3639, 11083, 1340, 2582, 389, 21386, 2582, 16, 7010, 3639, 1599, 291, 1883, 2582, 389, 23650, 2582, 16...
pragma solidity ^0.6.6; ...
inject NONSTANDARD NAMING
function RENOUNCEOWNERSHIP385() public virtual ONLYOWNER940 {
12,991,042
[ 1, 22170, 18708, 882, 18264, 423, 2192, 1360, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 534, 1157, 51, 2124, 1441, 29602, 20101, 23, 7140, 1435, 1071, 5024, 20747, 29602, 29, 7132, 288, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/80001/0x9F6BDC134BA6ddBB2BF81e6Fc1499176dB983fd3/sources/contracts/DAO/TaskDrafts/TaskDrafts.sol
@inheritdoc ITaskDrafts
function updateTasksContract( ITasks _tasks ) external auth(UPDATE_ADDRESSES_PERMISSION_ID) { tasks = _tasks; }
5,658,811
[ 1, 36, 10093, 467, 2174, 12714, 87, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1089, 6685, 8924, 12, 203, 3639, 467, 6685, 389, 9416, 203, 565, 262, 3903, 1357, 12, 8217, 67, 8355, 7031, 1090, 55, 67, 23330, 67, 734, 13, 288, 203, 3639, 4592, 273, 389, 9416, 31, 203, 565, 289, 203, 203, 2, -10...
./partial_match/1/0xdcEe2dC9834dfbc7d24C57769ED51daf202a1b87/sources/SHRIMPZOMBIEPool.sol
2020-08-26 12:00:00 (UTC UTC +00:00)
uint256 public starttime = 1598443200;
9,426,036
[ 1, 18212, 20, 17, 6840, 17, 5558, 2593, 30, 713, 30, 713, 261, 11471, 9951, 397, 713, 30, 713, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 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, 2254, 5034, 1071, 23437, 273, 4711, 29, 5193, 24, 1578, 713, 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...
pragma solidity ^0.8.10; import "openzeppelin-contracts/contracts/access/Ownable.sol"; import "ds-test/test.sol"; contract EthMadness is Ownable, DSTest { // Represents the submission to the contest. struct Entry { // The "index" of this entry. Used to break ties incase two submissions are the same. (e...
make sure user submitted a bracket TODO: mint token
function mintTokenForGame(uint8 gameId) public { require( entries[msg.sender].entryIndex >= 0, "User has not submitted a bracket" ); require(gameId >= 0, "Not a valid game"); require(gameId <= 62, "Not a valid game"); require(validateGamePick(gameId) =...
12,636,350
[ 1, 6540, 3071, 729, 9638, 279, 9843, 2660, 30, 312, 474, 1147, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 312, 474, 1345, 1290, 12496, 12, 11890, 28, 7920, 548, 13, 1071, 288, 203, 3639, 2583, 12, 203, 5411, 3222, 63, 3576, 18, 15330, 8009, 4099, 1016, 1545, 374, 16, 203, 5411, 315, 1299, 711, 486, 9638, 279, 9843, 6, 203...
pragma solidity ^0.4.16; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; } contract BlockPrinceCoin { // Public variables of the token string public name; string public symbol; uint8 public decimals = 2; // 18 decimals is...
Update total supply with the decimal amount
totalSupply = initialSupply * 10000;
10,658,826
[ 1, 1891, 2078, 14467, 598, 326, 6970, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2078, 3088, 1283, 273, 2172, 3088, 1283, 380, 12619, 31, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity 0.4.24; import "zeppelin-solidity/contracts/token/ERC721/ERC721BasicToken.sol"; import "./DaiDonation.sol"; contract DonationCore is ERC721BasicToken, DaiDonation { // Soft cap of 4,294,967,295 (2^32-1) // E.g. Fill every block for ~50 years Donation[] public donations; // Tracking variables...
Soft cap of 4,294,967,295 (2^32-1) E.g. Fill every block for ~50 years Tracking variables Donation data mapping Event logging Donation struct
contract DonationCore is ERC721BasicToken, DaiDonation { Donation[] public donations; uint256 public totalDonationsCreated; uint256 public totalDonationsMade; uint256 public totalDonationsIssued; mapping (uint256 => string) public donationDescription; mapping (uint256 => string) public donationTaxId; ma...
12,856,350
[ 1, 12468, 3523, 434, 1059, 16, 5540, 24, 16, 29, 9599, 16, 29286, 261, 22, 66, 1578, 17, 21, 13, 512, 18, 75, 18, 14192, 3614, 1203, 364, 4871, 3361, 11387, 11065, 310, 3152, 7615, 367, 501, 2874, 2587, 2907, 7615, 367, 1958, 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, 16351, 7615, 367, 4670, 353, 4232, 39, 27, 5340, 8252, 1345, 16, 463, 10658, 22293, 367, 288, 203, 225, 7615, 367, 8526, 1071, 2727, 1012, 31, 203, 203, 225, 2254, 5034, 1071, 2078, 22293, 1012, 6119, 31, 203, 225, 2254, 5034, 10...
pragma solidity 0.6.12; import '@sphynxswap/sphynx-swap-lib/contracts/math/SafeMath.sol'; import '@sphynxswap/sphynx-swap-lib/contracts/token/BEP20/IBEP20.sol'; import '@sphynxswap/sphynx-swap-lib/contracts/token/BEP20/SafeBEP20.sol'; import '@sphynxswap/sphynx-swap-lib/contracts/access/Ownable.sol'; import './Sphynx...
* @dev Destroys `amount` tokens from `msg.sender`, decreasing the total supply./
function burn(uint256 amount) public returns (bool) { _burn(_msgSender(), amount); return true; }
1,357,310
[ 1, 9378, 28599, 1375, 8949, 68, 2430, 628, 1375, 3576, 18, 15330, 9191, 23850, 11730, 326, 2078, 14467, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 18305, 12, 11890, 5034, 3844, 13, 1071, 1135, 261, 6430, 13, 288, 203, 3639, 389, 70, 321, 24899, 3576, 12021, 9334, 3844, 1769, 203, 3639, 327, 638, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity >=0.8.0; import "../interfaces/IBentoBoxMinimal.sol"; import "../interfaces/IMasterDeployer.sol"; import "../interfaces/IPool.sol"; import "../interfaces/ITridentCallee.sol"; import "../libraries/MathUtils.sol"; import "./TridentERC20.sol"; import...
@notice Calculate the new balances of the tokens given the indexes of the token that is swapped from (FROM) and the token that is swapped to (TO). This function is used as a helper function to calculate how much TO token the user should receive on swap. @dev Originally https://github.com/saddle-finance/saddle-contract...
function _getY(uint256 x, uint256 D) internal view returns (uint256 y) { uint256 c = (D * D) / (x * 2); c = (c * D) / ((N_A * 2) / A_PRECISION); uint256 b = x + ((D * A_PRECISION) / N_A); uint256 yPrev; y = D; for (uint256 i = 0; i < MAX_LOOP_LIMIT; i++) { ...
12,972,550
[ 1, 8695, 326, 394, 324, 26488, 434, 326, 2430, 864, 326, 5596, 434, 326, 1147, 716, 353, 7720, 1845, 628, 261, 11249, 13, 471, 326, 1147, 716, 353, 7720, 1845, 358, 261, 4296, 2934, 1220, 445, 353, 1399, 487, 279, 4222, 445, 358, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 588, 61, 12, 11890, 5034, 619, 16, 2254, 5034, 463, 13, 2713, 1476, 1135, 261, 11890, 5034, 677, 13, 288, 203, 3639, 2254, 5034, 276, 273, 261, 40, 380, 463, 13, 342, 261, 92, 380, 576, 1769, 203, 3639, 276, 27...
/* Copyright 2017-2018 RigoBlock, Rigo Investment Sagl. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
@dev Logs a Sell Vault event. @param _who Address of who is selling @param _targetVault Address of the target vault @param _amount Number of shares purchased @param _revenue Value of the transaction in Ether @return Bool the transaction executed successfully @notice transform name and symbol in .js with web3.toAscii(b...
function sellVault( address _who, address _targetVault, uint256 _amount, uint256 _revenue, bytes calldata _name, bytes calldata _symbol) external approvedVaultOnly(msg.sender) returns(bool success) { require(_amount > 0); se...
1,836,016
[ 1, 7777, 279, 348, 1165, 17329, 871, 18, 225, 389, 3350, 83, 5267, 434, 10354, 353, 357, 2456, 225, 389, 3299, 12003, 5267, 434, 326, 1018, 9229, 225, 389, 8949, 3588, 434, 24123, 5405, 343, 8905, 225, 389, 266, 24612, 1445, 434, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 357, 80, 12003, 12, 203, 3639, 1758, 389, 3350, 83, 16, 203, 3639, 1758, 389, 3299, 12003, 16, 203, 3639, 2254, 5034, 389, 8949, 16, 203, 3639, 2254, 5034, 389, 266, 24612, 16, 203, 3639, 1731, 745, 892, 389, 529, 16,...
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "./inte...
whitelisted address => number of tokens minted during whitelist. if address did not mint then they will not be in this list.
mapping(address => uint256) private _whitelistClaims;
5,845,916
[ 1, 20409, 329, 1758, 516, 1300, 434, 2430, 312, 474, 329, 4982, 10734, 18, 309, 1758, 5061, 486, 312, 474, 1508, 2898, 903, 486, 506, 316, 333, 666, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 2874, 12, 2867, 516, 2254, 5034, 13, 3238, 389, 20409, 15925, 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, -1...
./full_match/1/0x57884b46d815d7cF42C04Cf226728a0D787eF58d/sources/JustRouter.sol
a library for performing overflow-safe math, courtesy of DappHub (https:github.com/dapphub/ds-math)
library SafeMath { function add(uint256 x, uint256 y) internal pure returns(uint256 z) { require((z = x + y) >= x, 'Router SafeMath: ds-math-add-overflow'); } function sub(uint256 x, uint256 y) internal pure returns(uint256 z) { require((z = x - y) <= x, 'Router SafeMath: ds-math-sub-underf...
9,618,342
[ 1, 69, 5313, 364, 14928, 9391, 17, 4626, 4233, 16, 21833, 1078, 93, 434, 463, 2910, 8182, 261, 4528, 30, 6662, 18, 832, 19, 6223, 844, 373, 19, 2377, 17, 15949, 13, 2, 0, 0, 0, 0, 0, 0, 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, 12083, 14060, 10477, 288, 203, 565, 445, 527, 12, 11890, 5034, 619, 16, 2254, 5034, 677, 13, 2713, 16618, 1135, 12, 11890, 5034, 998, 13, 288, 203, 3639, 2583, 12443, 94, 273, 619, 397, 677, 13, 1545, 619, 16, 296, 8259, 14060, ...
pragma solidity ^0.5.0; import "./SafeMath.sol"; /** @title Bounty Babe */ /** @author Audrey Worsham */ contract BountyBabe { using SafeMath for uint; uint bountyCount; uint submissionCount; address admin; bool private stopped = false; mapping(uint => Bounty) public bounties; mapping(uin...
* @dev Creates a bounty @param description Description of the bounty being created @return The Id of the bounty created/
function createBounty(string memory description) public payable stopInEmergency() returns(uint) { require(msg.value > 0, "The amount is invalid"); uint bountyId = bountyCount; emit Open(bountyId); bounties[bountyId] = Bounty({ bountyId: bountyId, creator: msg....
15,828,737
[ 1, 2729, 279, 324, 592, 93, 225, 2477, 6507, 434, 326, 324, 592, 93, 3832, 2522, 327, 1021, 3124, 434, 326, 324, 592, 93, 2522, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 38, 592, 93, 12, 1080, 3778, 2477, 13, 1071, 8843, 429, 2132, 382, 1514, 24530, 1435, 1135, 12, 11890, 13, 288, 203, 3639, 2583, 12, 3576, 18, 1132, 405, 374, 16, 315, 1986, 3844, 353, 2057, 8863, 203, 3639, 2254...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// /// @dev Interface for the NFT Royalty Standard /// interface IEIP2981 { /// ERC165 bytes to add to interface array - set in parent contract /// implementing this standard /// /// bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205...
@dev Interface for the NFT Royalty Standard is owed and to whom.
interface IEIP2981 { function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver,uint256 royaltyAmount); }
201,973
[ 1, 1358, 364, 326, 423, 4464, 534, 13372, 15006, 8263, 1850, 353, 2523, 329, 471, 358, 600, 362, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 10897, 2579, 5540, 11861, 288, 203, 203, 565, 445, 721, 93, 15006, 966, 12, 11890, 5034, 389, 2316, 548, 16, 2254, 5034, 389, 87, 5349, 5147, 13, 3903, 1476, 1135, 261, 2867, 5971, 16, 11890, 5034, 721, 93, 15006, 6275, 176...
/* Copyright 2021 Set Labs Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
* Reverts as AAVE currently does not have a register mechanism in governance/
function getRegisterCalldata(address /* _setToken */) external pure returns (address, uint256, bytes memory) { revert("No register available in AAVE governance"); }
1,075,905
[ 1, 426, 31537, 487, 432, 26714, 4551, 1552, 486, 1240, 279, 1744, 12860, 316, 314, 1643, 82, 1359, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3996, 1477, 892, 12, 2867, 1748, 389, 542, 1345, 1195, 13, 3903, 16618, 1135, 261, 2867, 16, 2254, 5034, 16, 1731, 3778, 13, 288, 203, 3639, 15226, 2932, 2279, 1744, 2319, 316, 432, 26714, 314, 1643, 82, 1359, 8863...
pragma solidity ^0.4.24; /** * @title The STT Token contract. * * By Nikita Fuchs * Credit: Taking ideas from BAT token, NET token and Nimiq token. */ /** * @title Safe math operations that throw error on overflow. * * Credit: Taking ideas from FirstBlood token */ library SafeMath { /**...
function of possible new contract to recieve tokenbalance to relocate - to be protected by msg.sender == StarambaToken
contract RelocationToken { function recieveRelocation(address _creditor, uint _balance) external returns (bool); }
1,812,147
[ 1, 915, 434, 3323, 394, 6835, 358, 1950, 21271, 1147, 12296, 358, 283, 25450, 300, 358, 506, 4750, 635, 1234, 18, 15330, 422, 934, 439, 12124, 1345, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 4275, 4431, 1345, 288, 203, 565, 445, 1950, 21271, 1971, 4431, 12, 2867, 389, 20610, 1811, 16, 2254, 389, 12296, 13, 3903, 1135, 261, 6430, 1769, 203, 97, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/** * SPDX-License-Identifier: MIT * * Copyright (c) 2018-2020 CENTRE SECZ * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
* @title Blocklistable Token @dev Allows accounts to be blocklisted by a "blocklister" role/
contract Blocklistable is Ownable { address public blocklister; mapping(address => bool) internal blocklisted; event Blocklisted(address indexed _account); event UnBlocklisted(address indexed _account); event BlocklisterChanged(address indexed newBlocklister); modifier onlyBlocklister() { ...
15,802,743
[ 1, 1768, 1098, 429, 3155, 225, 25619, 9484, 358, 506, 1203, 18647, 635, 279, 315, 2629, 1098, 264, 6, 2478, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 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, 3914, 1098, 429, 353, 14223, 6914, 288, 203, 565, 1758, 1071, 1203, 1098, 264, 31, 203, 565, 2874, 12, 2867, 516, 1426, 13, 2713, 1203, 18647, 31, 203, 203, 565, 871, 3914, 18647, 12, 2867, 8808, 389, 4631, 1769, 203, 565,...
// SPDX-License-Identifier: MIT pragma solidity =0.7.6; pragma abicoder v2; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/math/Math.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/t...
========== MUTATIVE FUNCTIONS ========== */
function stake(uint256) public pure override(Phase2Pool, IStakingRewards) { revert( "Phase1Pool::stake: Cannot stake on Phase1Pool directly due to whitelist" ); }
12,841,632
[ 1, 1432, 631, 490, 1693, 12992, 13690, 55, 422, 1432, 342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 445, 384, 911, 12, 11890, 5034, 13, 1071, 16618, 3849, 12, 11406, 22, 2864, 16, 467, 510, 6159, 17631, 14727, 13, 288, 203, 565, 15226, 12, 203, 1377, 315, 11406, 21, 2864, 2866, 334, 911, 30, 14143, 384, 911, 603, 19459, ...
./partial_match/42220/0xb2bFEd6dfd98fe8B3F1dDA71f1C42698Bf5dA326/sources/contracts/Badges.sol
* @dev Creates a new badge type and assigns _initialSupply to an address @param name Name for the badge type @return The newly created token ID/
function createBadge(string calldata name) external onlyRole(DEFAULT_ADMIN_ROLE) returns (uint256) { uint256 _id = _badgeIds.current(); _badgeIds.increment(); _badgeNames[_id] = name; emit BadgeCreated(name, _id); grantRole(badgeRole(_id), msg.se...
3,496,894
[ 1, 2729, 279, 394, 15654, 618, 471, 22698, 389, 6769, 3088, 1283, 358, 392, 1758, 225, 508, 1770, 364, 326, 15654, 618, 327, 1021, 10894, 2522, 1147, 1599, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6434, 908, 12, 1080, 745, 892, 508, 13, 203, 3639, 3903, 203, 3639, 1338, 2996, 12, 5280, 67, 15468, 67, 16256, 13, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 2254, 5034, 389, 350, 273, 389,...
pragma solidity ^0.4.18; /** * zeppelin-solidity 1.4.0 */ /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a =...
* @title SimpleToken @dev all tokens are pre-assigned to the creator. Note they can later distribute these tokens as they wish using `transfer` and other `StandardToken` functions./
contract XEVENUE is Ownable, StandardToken { uint8 public constant decimals = 18; string public constant name = "XEV"; string public constant symbol = "XEV"; uint256 public constant initialSupply = 1000000000 * 10 ** uint256(decimals); function XEVENUE() public { totalSupply = initialSupply; balance...
1,324,334
[ 1, 5784, 1345, 225, 777, 2430, 854, 675, 17, 15938, 358, 326, 11784, 18, 3609, 2898, 848, 5137, 25722, 4259, 2430, 487, 2898, 14302, 1450, 1375, 13866, 68, 471, 1308, 1375, 8336, 1345, 68, 4186, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 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, 1139, 24427, 1157, 1821, 353, 14223, 6914, 16, 8263, 1345, 288, 203, 203, 225, 2254, 28, 1071, 5381, 15105, 273, 6549, 31, 203, 225, 533, 1071, 5381, 508, 273, 315, 60, 24427, 14432, 203, 225, 533, 1071, 5381, 3273, 273, 3...
pragma solidity >0.4.99 <0.6.0; contract Test { // This function is called for all messages sent to // this contract (there is no other function). // Sending Ether to this contract will cause an exception, // because the fallback function does not have the `payable` // modifier. function() exte...
This contract keeps all Ether sent to it with no way to get it back.
contract Sink { function() external payable { } }
979,449
[ 1, 2503, 6835, 20948, 777, 512, 1136, 3271, 358, 518, 598, 1158, 4031, 358, 336, 518, 1473, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 28330, 288, 203, 565, 445, 1435, 3903, 8843, 429, 288, 203, 203, 565, 289, 203, 97, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.5.17; import "../openzeppelin/SafeMath.sol"; import "../interfaces/IERC20.sol"; import "../governance/Vesting/VestingRegistry.sol"; import "../governance/Vesting/VestingLogic.sol"; import "./ILockedSOV.sol"; /** * @title The Locked SOV Contract. * @author Franklin Richards - powerhousefrank@pro...
* @notice Withdraws unlocked tokens and Stakes Locked tokens for a user who already have a vesting created. @param _userAddress The address of user tokens will be withdrawn./
function withdrawAndStakeTokensFrom(address _userAddress) external { _withdraw(_userAddress, _userAddress); _createVestingAndStake(_userAddress); }
928,353
[ 1, 1190, 9446, 87, 25966, 2430, 471, 934, 3223, 3488, 329, 2430, 364, 279, 729, 10354, 1818, 1240, 279, 331, 10100, 2522, 18, 225, 389, 1355, 1887, 1021, 1758, 434, 729, 2430, 903, 506, 598, 9446, 82, 18, 19, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 598, 9446, 1876, 510, 911, 5157, 1265, 12, 2867, 389, 1355, 1887, 13, 3903, 288, 203, 3639, 389, 1918, 9446, 24899, 1355, 1887, 16, 389, 1355, 1887, 1769, 203, 3639, 389, 2640, 58, 10100, 1876, 510, 911, 24899, 1355, 18...
./partial_match/42/0xF1cc25a6109dBC73B8e170C2aC021642e7A4A509/sources/CyclopsBank.sol
only 'unlocked' deposits
function exractableAmountsPerDeposits(address cust_wallet) external view returns (uint32[] memory, uint256[] memory) { require(cust_wallet == msg.sender || msg.sender == owner || msg.sender == _own_address, "9"); require(dp_id != BAD_DEPOSIT_PROFILE_ID, "10"); uint256[] memory amoun...
3,303,619
[ 1, 3700, 296, 318, 15091, 11, 443, 917, 1282, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 431, 14266, 429, 6275, 87, 2173, 758, 917, 1282, 12, 2867, 276, 641, 67, 19177, 13, 3903, 1476, 1135, 261, 11890, 1578, 8526, 3778, 16, 2254, 5034, 8526, 3778, 13, 288, 203, 3639, 2583, 12, 71, 641, 67, 19177, 422, 12...
pragma solidity 0.4.24; import "./interfaces/ApprovedRegistryInterface.sol"; import "./interfaces/KyberNetworkInterface.sol"; import "./interfaces/BillableInterface.sol"; import "./WETH.sol"; import "./base/math/SafeMath.sol"; import "./base/ownership/Ownable.sol"; /** @title Approved contract, tokens and gas price...
* @dev Remove an approved token to be used. @param _tokenAddress is the address of the token to remove./
function removeApprovedToken(address _tokenAddress) public onlyOwner { for (uint256 i = 0; i < approvedTokenArray.length; i++) { if (approvedTokenArray[i] == _tokenAddress) { approvedTokenArray[i] = approvedTokenArray[approvedTokenArray.length - 1]; ...
14,020,377
[ 1, 3288, 392, 20412, 1147, 358, 506, 1399, 18, 225, 389, 2316, 1887, 353, 326, 1758, 434, 326, 1147, 358, 1206, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1206, 31639, 1345, 12, 2867, 389, 2316, 1887, 13, 203, 3639, 1071, 203, 3639, 1338, 5541, 203, 565, 288, 203, 3639, 364, 261, 11890, 5034, 277, 273, 374, 31, 277, 411, 20412, 1345, 1076, 18, 2469, 31, 277, 27245, 288, ...
/** * * MIT License * * Copyright (c) 2018, TOPEX Developers & OpenZeppelin Project. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitatio...
disable transfer init.
bool public transferDisabled = true;
11,756,320
[ 1, 8394, 7412, 1208, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 1426, 565, 1071, 7412, 8853, 273, 638, 31, 1850, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "./interfaces/AggregatorV3Interface.sol"; import "./interfaces/LinkTokenInterface.sol"; import "./interfaces/KeeperCompatibleInterface.sol"; import "./interfaces/KeeperRegistryInterface.sol"; import "./interfaces/TypeAndVersionInterface.sol"; import "./ven...
* @notice calculates the maximum payment for a given gas limit/
function getMaxPaymentForGas(uint256 gasLimit) public view returns (uint96 maxPayment) { (uint256 gasWei, uint256 linkEth) = getFeedData(); uint256 adjustedGasWei = adjustGasPrice(gasWei, false); return calculatePaymentAmount(gasLimit, adjustedGasWei, linkEth); }
12,571,857
[ 1, 12780, 815, 326, 4207, 5184, 364, 279, 864, 16189, 1800, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7288, 6032, 1290, 27998, 12, 11890, 5034, 16189, 3039, 13, 1071, 1476, 1135, 261, 11890, 10525, 943, 6032, 13, 288, 203, 565, 261, 11890, 5034, 16189, 3218, 77, 16, 2254, 5034, 1692, 41, 451, 13, 273, 13683, 329, 751, 5...
// SPDX-License-Identifier: GPL-3.0-or-later /** ____________________________________________________________________________________ ___________/\/\/\/\________/\/\____/\/\______/\/\/\/\/\________/\/\/\/\/\/\_________ _________/\/\____/\/\______/\/\____/\/\______/\/\____/\/\____________/\/\________...
* @dev Attempts transferring entire balance of an ERC20 to corresponding Recipients @notice if amount of tokens are not equally divisible according to allocation the remainder will be forwarded to accounts[0]. In most cases, the difference will be negligible: ~remainder × 10^-17, or about 0.000000000000000100...
function claimERC20ForAll( address tokenAddress, address[] calldata accounts, uint256[] calldata allocations, Proof[] calldata merkleProofs ) external { require( _verifyProof( merkleProofs[0].merkleProof, merkleRoot, ...
1,224,195
[ 1, 10113, 906, 74, 20245, 7278, 11013, 434, 392, 4232, 39, 3462, 358, 4656, 868, 15079, 225, 309, 3844, 434, 2430, 854, 486, 1298, 1230, 3739, 18932, 4888, 358, 13481, 326, 10022, 903, 506, 19683, 358, 9484, 63, 20, 8009, 657, 4486, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7516, 654, 39, 3462, 1290, 1595, 12, 203, 3639, 1758, 1147, 1887, 16, 203, 3639, 1758, 8526, 745, 892, 9484, 16, 203, 3639, 2254, 5034, 8526, 745, 892, 23804, 16, 203, 3639, 1186, 792, 8526, 745, 892, 30235, 20439, 87, ...
pragma solidity ^0.5.0; import "@openzeppelin/upgrades/contracts/Initializable.sol"; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a d...
* @notice LinkedList is a library for a circular double linked list./
library LinkedList { address public constant NULL = address(0); struct Node { bool inList; address previous; address next; } struct List { mapping(address => Node) list; uint256 length; } function insertBefore( List storage self, address...
287,404
[ 1, 13174, 682, 353, 279, 5313, 364, 279, 15302, 1645, 8459, 666, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 10688, 288, 203, 565, 1758, 1071, 5381, 3206, 273, 1758, 12, 20, 1769, 203, 203, 565, 1958, 2029, 288, 203, 3639, 1426, 316, 682, 31, 203, 3639, 1758, 2416, 31, 203, 3639, 1758, 1024, 31, 203, 565, 289, 203, 203, 565, 19...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "hardhat/console.sol"; contract SpaceCoin is Ownable, ERC20 { // While this is a constant, it matches the outcome of the decimals() function in...
While this is a constant, it matches the outcome of the decimals() function in ERC20
contract SpaceCoin is Ownable, ERC20 { uint256 public constant MAX_SUPPLY = 500_000 * 10**18; uint256 public constant TAX_PERCENTAGE = 2; bool public isTaxingTokens = true; address public treasuryAddress; address public icoAddress; constructor(address _treasuryAddress, address _icoAddress) ERC20("Spac...
14,070,951
[ 1, 15151, 333, 353, 279, 5381, 16, 518, 1885, 326, 12884, 434, 326, 15105, 1435, 445, 316, 4232, 39, 3462, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14059, 27055, 353, 14223, 6914, 16, 4232, 39, 3462, 288, 203, 225, 2254, 5034, 1071, 5381, 4552, 67, 13272, 23893, 273, 6604, 67, 3784, 380, 1728, 636, 2643, 31, 203, 225, 2254, 5034, 1071, 5381, 399, 2501, 67, 3194, 19666, ...
./full_match/43113/0x07A86A50AD82e0529b9449498100E60ACA7724Df/sources/timelockdoge.sol
@notice Array of all timelock transactions
timelockTransaction[] public transactions;
7,134,626
[ 1, 1076, 434, 777, 1658, 292, 975, 8938, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 1658, 292, 975, 3342, 8526, 1071, 8938, 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, ...
pragma solidity ^0.4.24; // File: openzeppelin-solidity/contracts/introspection/IERC165.sol /** * @title IERC165 * @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md */ interface IERC165 { /** * @notice Query if a contract implements an interface * @param interfaceId The interfa...
* @dev Returns the N-th owner associated with a heart's snapshot. Requires ID to be a valid butterfly, and owner index to be smaller than the number of owners. @param heartId uint256 ID of heart being queried @param index uint160 Index of owner being queried @return address/
function getHeartOwnerByIndex( uint256 heartId, uint160 index ) external view returns (address) { return GameDataLib.getHeartOwnerByIndex(data, heartId, index); }
7,284,101
[ 1, 1356, 326, 423, 17, 451, 3410, 3627, 598, 279, 3904, 485, 1807, 4439, 18, 16412, 1599, 358, 506, 279, 923, 1496, 387, 29670, 16, 471, 3410, 770, 358, 506, 10648, 2353, 326, 1300, 434, 25937, 18, 225, 3904, 485, 548, 2254, 5034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 565, 445, 336, 5256, 485, 5541, 21268, 12, 203, 3639, 2254, 5034, 3904, 485, 548, 16, 203, 3639, 2254, 16874, 770, 203, 565, 262, 3903, 1476, 1135, 261, 2867, 13, 288, 203, 3639, 327, 14121, 751, 5664, 18, 588, 5256, 485, 5541, ...
/** *Submitted for verification at Etherscan.io on 2021-09-09 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be *...
[MIT License] @title Base64 @notice Provides a function for encoding some bytes in base64 @author Brecht Devos <[email protected]>
library Base64 { bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; constructor() ERC721("Lute", "LUTE") Ownable() {} function encode(bytes memory data) internal pure returns (string memory) { uint256 len = data.length; if (len == 0) return "...
6,537,021
[ 1, 63, 6068, 16832, 65, 225, 3360, 1105, 225, 28805, 279, 445, 364, 2688, 2690, 1731, 316, 1026, 1105, 225, 605, 266, 343, 88, 9562, 538, 411, 63, 3652, 131, 259, 1117, 65, 34, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 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, 3360, 1105, 288, 203, 565, 1731, 2713, 5381, 7567, 273, 315, 26904, 12904, 16715, 45, 19474, 17063, 3417, 28386, 10637, 20147, 59, 23479, 28953, 17680, 8302, 16391, 13607, 556, 85, 16114, 30900, 17177, 26684, 15, 4898, 31, 203, ...
/** *Submitted for verification at Etherscan.io on 2021-03-19 */ // SPDX-License-Identifier: MIT pragma solidity >=0.8.2; // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v4.0/contracts/utils/math/SafeMath.sol // CAUTION - only use with Solidity 0.8 + /** * @dev Wrappers over Solidity's arit...
* @dev Wrappers over Solidity's arithmetic operations. NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler now has built in overflow checking./
library SafeMath { pragma solidity >=0.8.2; function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } function tryAdd(uint256 a, uint256 b) internal p...
2,032,290
[ 1, 24114, 1879, 348, 7953, 560, 1807, 30828, 5295, 18, 5219, 30, 1375, 9890, 10477, 68, 353, 1158, 7144, 3577, 5023, 598, 348, 7953, 560, 374, 18, 28, 18, 1021, 5274, 2037, 711, 6650, 316, 9391, 6728, 18, 19, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 12083, 14060, 10477, 288, 203, 203, 683, 9454, 18035, 560, 1545, 20, 18, 28, 18, 22, 31, 203, 203, 565, 445, 775, 986, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 6430, 16, 2254, 5034, 13, 288, 203, ...
./partial_match/1/0x645BA45dBe3c6942c812A46f9EE8115C89B524EC/sources/VersionManager.sol
***************** Constructor ************************* */ Add initial storages
{ registry = _registry; if(address(_lockStorage) != address(0)) { addStorage(address(_lockStorage)); } if(address(_guardianStorage) != address(0)) { addStorage(address(_guardianStorage)); } if(address(_transferStorage) != address(0)) { ...
11,030,986
[ 1, 6293, 225, 342, 1436, 2172, 19705, 1023, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 288, 203, 3639, 4023, 273, 389, 9893, 31, 203, 3639, 309, 12, 2867, 24899, 739, 3245, 13, 480, 1758, 12, 20, 3719, 288, 7010, 5411, 527, 3245, 12, 2867, 24899, 739, 3245, 10019, 203, 3639, 289, 203, 3639, 309, 12, 2867, 24...
/** *Submitted for verification at Etherscan.io on 2021-04-23 */ // SPDX-License-Identifier: Unlicensed pragma solidity ^0.6.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() intern...
Create a uniswap pair for this new token set the rest of the contract variables Exclude owner and this contract from fee
constructor (address payable charityWalletAddress, address payable marketingWalletAddress) public { _charityWalletAddress = charityWalletAddress; _marketingWalletAddress = marketingWalletAddress; _rOwned[_msgSender()] = _rTotal; uniswapV2Pair = IUniswapV2Factory(...
78,194
[ 1, 1684, 279, 640, 291, 91, 438, 3082, 364, 333, 394, 1147, 444, 326, 3127, 434, 326, 6835, 3152, 20760, 3410, 471, 333, 6835, 628, 14036, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3639, 3885, 261, 2867, 8843, 429, 1149, 560, 16936, 1887, 16, 1758, 8843, 429, 13667, 310, 16936, 1887, 13, 1071, 288, 203, 5411, 389, 3001, 560, 16936, 1887, 273, 1149, 560, 16936, 1887, 31, 203, 5411, 389, 3355, 21747, 16936, 188...
./partial_match/1/0xc9268c7F59850B26567b0f5d3Dcc317cEDC43490/sources/src/contracts/SlippageAuction.sol
@notice The ```swapTokensForExactTokens``` function receives an exact amount of output tokens for as few input tokens as possible @dev Must have an allowance on the BUY_TOKEN prior to invocation @param _amountOut The amount of sell tokens to receive @param _amountInMax The maximum amount of buy tokens that can be requ...
function swapTokensForExactTokens( uint256 _amountOut, uint256 _amountInMax, address[] calldata _ignored, address _to, uint256 _deadline ) external returns (uint256[] memory _amounts) { if (block.timestamp > _deadline) revert Expired(); ...
15,952,521
[ 1, 1986, 31621, 22270, 5157, 1290, 14332, 5157, 10335, 68, 445, 17024, 392, 5565, 3844, 434, 876, 2430, 364, 487, 11315, 810, 2430, 487, 3323, 225, 6753, 1240, 392, 1699, 1359, 603, 326, 10937, 61, 67, 8412, 6432, 358, 9495, 225, 389,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 7720, 5157, 1290, 14332, 5157, 12, 203, 3639, 2254, 5034, 389, 8949, 1182, 16, 203, 3639, 2254, 5034, 389, 8949, 382, 2747, 16, 203, 3639, 1758, 8526, 745, 892, 389, 24055, 16, 203, 3639, 1758, 389, 869, 16, 203, 3639, ...
pragma solidity ^0.4.23; /** * @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) { retu...
* @title GeoProtocolToken @dev Contract to create the GeoProtocol Token/
contract GeoProtocolToken is CrowdsaleToken { string public constant name = "GeoProtocol"; string public constant symbol = "GEOT"; uint32 public constant decimals = 18; }
9,910,963
[ 1, 12447, 5752, 1345, 225, 13456, 358, 752, 326, 9385, 5752, 3155, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 9385, 5752, 1345, 353, 385, 492, 2377, 5349, 1345, 288, 203, 565, 533, 1071, 5381, 508, 273, 315, 12447, 5752, 14432, 203, 565, 533, 1071, 5381, 3273, 273, 315, 7113, 1974, 14432, 203, 565, 2254, 1578, 1071, 5381, 15105, 273...
./partial_match/1/0x4A2be89f57846c7cdd66428017B2524D0b298518/sources/Withdrawals.sol
/ No notFrozen modifier: This function can always be used, even when frozen. Fetch and clear quantized amount. Transfer funds.
This function can be called normally while frozen. function withdrawTo(uint256 starkKey, uint256 assetType, address payable recipient) public isSenderStarkKey(starkKey) { require(!isMintableAssetType(assetType), "MINTABLE_ASSET_TYPE"); uint256 assetId = assetType; u...
4,465,813
[ 1, 19, 2631, 486, 42, 9808, 9606, 30, 1220, 445, 848, 3712, 506, 1399, 16, 5456, 1347, 12810, 18, 8065, 471, 2424, 10251, 1235, 3844, 18, 12279, 284, 19156, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1377, 1220, 445, 848, 506, 2566, 15849, 1323, 12810, 18, 203, 565, 445, 598, 9446, 774, 12, 11890, 5034, 384, 1313, 653, 16, 2254, 5034, 3310, 559, 16, 1758, 8843, 429, 8027, 13, 203, 3639, 1071, 203, 3639, 11604, 2345, 510, 1313...
/** * @title TraderOperatorable * @author Team 3301 <team3301@sygnum.com> * @dev TraderOperatorable contract stores TraderOperators contract address, and modifiers for * contracts. */ pragma solidity 0.5.12; import "../interface/ITraderOperators.sol"; import "../base/Operatorable.sol"; import "../../helpers...
* INTERNAL FUNCTIONS */
function _setTraderOperatorsContract(address _traderOperators) internal { require( _traderOperators != address(0), "TraderOperatorable: address of new traderOperators contract can not be zero" ); traderOperatorsInst = ITraderOperators(_traderOperators); emit T...
955,702
[ 1, 14005, 13690, 55, 342, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 542, 1609, 765, 24473, 8924, 12, 2867, 389, 313, 1143, 24473, 13, 2713, 288, 203, 3639, 2583, 12, 203, 5411, 389, 313, 1143, 24473, 480, 1758, 12, 20, 3631, 203, 5411, 315, 1609, 765, 5592, 429, 30, 1758, 434, 39...
./full_match/80001/0xe02a04Fb861757FA4512442C3B6381e571005397/sources/src/LiquidSplit.sol
emit event when receiving ETH
receive() external payable virtual { emit ReceiveETH(msg.value); }
5,637,827
[ 1, 18356, 871, 1347, 15847, 512, 2455, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 6798, 1435, 3903, 8843, 429, 5024, 288, 203, 3639, 3626, 17046, 1584, 44, 12, 3576, 18, 1132, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0xEd54d58fB5f6fCb264f641EDD64F5e035cB5138d/sources/contracts/royalty/DefaultOperatorFilterer.sol
* @title DefaultOperatorFilterer @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription./
abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); pragma solidity 0.8.17; import { OperatorFilterer } from "./OperatorFilterer.sol"; constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
8,300,970
[ 1, 1868, 5592, 1586, 264, 225, 657, 20038, 628, 11097, 1586, 264, 471, 6635, 10189, 281, 358, 326, 805, 3502, 1761, 69, 4915, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 17801, 6835, 2989, 5592, 1586, 264, 353, 11097, 1586, 264, 288, 203, 225, 1758, 5381, 3331, 67, 8362, 11133, 273, 1758, 12, 20, 92, 23, 952, 26, 39, 449, 37, 27, 4848, 70, 7235, 70, 37, 507, 6840, 72, 42, 9803, 7228, 2046, 23...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import { ERC721 } from "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import { IERC165 } from "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import { Lib_PredeployAddresses } from "../libraries/constants/Lib_PredeployAddresses.sol"; import { Lib_S...
slither-disable-next-line external-function
function supportsInterface(bytes4 _interfaceId) public view override(ERC721, IERC165) returns (bool) { bytes4 secondSupportedInterface = IL2StandardERC721.l1Token.selector ^ IL2StandardERC721.mint.selector ^ IL2StandardERC721.burn.selector; ...
13,123,515
[ 1, 2069, 2927, 17, 8394, 17, 4285, 17, 1369, 3903, 17, 915, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 6146, 1358, 12, 3890, 24, 389, 5831, 548, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 3849, 12, 654, 39, 27, 5340, 16, 467, 654, 39, 28275, 13, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 1731, 24...
./partial_match/1/0xdC2CFB49968b8f271B8A0d64bcf162BdbFa18d40/sources/src/SubscriptionManager.sol
* ........ ..::::::::::::. . .:::::::::::::::. =+-. --::::::::::::::::. =+++- ##+::::::::::::::. =+++++ #####: .::::::::::. =++++++ -######: .:::::::. =++++++- ######: :. .::::. =+++++++ #######: -=-:. .:. =+++++++ +######: -=====:. =++++++= :######: -...
contract SubscriptionManager is OwnableRoles { uint40 internal constant MAX_UINT40 = type(uint40).max; uint256 public constant KEEPER_ROLE = uint256(1); Nchart public immutable chart; IUniswapV2Router02 public immutable router; LibMap.Uint40Map private expiration; uint8 public burnPercent = 9...
3,654,071
[ 1, 10879, 540, 6116, 2866, 2866, 2866, 2866, 2866, 2866, 18, 225, 263, 4202, 263, 2866, 2866, 2866, 2866, 2866, 2866, 2866, 13147, 225, 273, 18549, 18, 377, 1493, 2866, 2866, 2866, 2866, 2866, 2866, 2866, 2866, 18, 225, 273, 9904, 185...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12132, 1318, 353, 14223, 6914, 6898, 288, 203, 565, 2254, 7132, 2713, 5381, 4552, 67, 57, 3217, 7132, 273, 618, 12, 11890, 7132, 2934, 1896, 31, 203, 565, 2254, 5034, 1071, 5381, 1475, 9383, 3194, 67, 16256, 273, 2254, 5034,...
./full_match/3/0x77c0607C037ff4fc9e6A12FD60230B3eBd31B30d/sources/browser/ERC20.sol
* @title Standard ERC20 token @dev Implementation of the basic standard token. Originally based on code by FirstBlood: This implementation emits additional Approval events, allowing applications to reconstruct the allowance status for all accounts just by listening to said events. Note that this isn't required by the s...
contract ERC20 is IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowed; uint256 private _totalSupply; function totalSupply() public view returns (uint256) { return _totalSupply; } ...
8,097,817
[ 1, 8336, 4232, 39, 3462, 1147, 225, 25379, 434, 326, 5337, 4529, 1147, 18, 18040, 1230, 2511, 603, 981, 635, 5783, 38, 383, 369, 30, 1220, 4471, 24169, 3312, 1716, 685, 1125, 2641, 16, 15632, 12165, 358, 23243, 326, 1699, 1359, 1267, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 4232, 39, 3462, 353, 467, 654, 39, 3462, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 2874, 261, 2867, 516, 2254, 5034, 13, 3238, 389, 70, 26488, 31, 203, 203, 565, 2874, 261, 2867, 516, 2874, 2...
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; import "../../common/implementation/FixedPoint.sol"; // Simple contract used to withdraw liquidations using a DSProxy from legacy contracts (1.2.2 and below). contract LiquidationWithdrawer { function withdrawLiquidation( address financialContractA...
Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid.
Counters.Counter private _currentSnapshotId;
99,179
[ 1, 4568, 3258, 10929, 6921, 352, 265, 6478, 16, 598, 326, 1122, 460, 3832, 404, 18, 1922, 612, 434, 374, 353, 2057, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9354, 87, 18, 4789, 3238, 389, 2972, 4568, 548, 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...
// Sources flattened with hardhat v2.6.8 https://hardhat.org // SPDX-License-Identifier: UNLICENSED // /* &@@@@@@@@@@@ @@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@...
File contracts/V1/ParticleSetFactoryV1.sol License-Identifier: UNLICENSED Copyright (c) 2021 Kohi Art Community, Inc. All rights reserved. *//
library ParticleSetFactoryV1 { uint16 internal constant PARTICLE_TABLE_SIZE = 5000; function step( ParticleV1.Particle2D memory p, uint32[16384] memory result, TypesV1.Chunk2D memory chunk ) internal pure virtual; } pragma solidity ^0.8.0; A noise-based particle simulator, built for...
12,839,685
[ 1, 812, 20092, 19, 58, 21, 19, 1988, 3711, 694, 1733, 58, 21, 18, 18281, 16832, 17, 3004, 30, 5019, 6065, 1157, 18204, 25417, 261, 71, 13, 26599, 21, 1475, 83, 12266, 9042, 16854, 13352, 16, 15090, 18, 4826, 14989, 8735, 18, 368, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12083, 6393, 3711, 694, 1733, 58, 21, 288, 203, 565, 2254, 2313, 2713, 5381, 20814, 2871, 900, 67, 7775, 67, 4574, 273, 20190, 31, 203, 203, 565, 445, 2235, 12, 203, 3639, 6393, 3711, 58, 21, 18, 1988, 3711, 22, 40, 3778, 293, ...
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // ITX Token contract // // Deployed to : 0x96Bd84d7FC939c29Dd053d43Ff28F01Def4f947d // Symbol : ITX // Name : Intcoex coin // Total supply: 20000000000000000000 // Decimals : 10 // // Enjoy. // // (...
---------------------------------------------------------------------------- ERC20 Token, with the addition of symbol, name and decimals and assisted token transfers ---------------------------------------------------------------------------- ------------------------------------------------------------------------ Con...
contract ITX_Token is ERC20Interface, Owned, SafeMath { string public symbol; string public name; uint8 public decimals; uint public _totalSupply; mapping(address => uint) balances; mapping(address => mapping(address => uint)) allowed; function ITX_Token() public { symbol = "ITX"...
2,338,905
[ 1, 5802, 7620, 4232, 39, 3462, 3155, 16, 598, 326, 2719, 434, 3273, 16, 508, 471, 15105, 471, 1551, 25444, 1147, 29375, 8879, 13849, 8879, 17082, 11417, 8879, 17082, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 467, 16556, 67, 1345, 353, 4232, 39, 3462, 1358, 16, 14223, 11748, 16, 14060, 10477, 288, 203, 565, 533, 1071, 3273, 31, 203, 565, 533, 1071, 225, 508, 31, 203, 565, 2254, 28, 1071, 15105, 31, 203, 565, 2254, 1071, 389, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sor...
Sat Mar 26 2022 19:00:00 GMT+0000
presaleStartTime = 1648321200;
480,692
[ 1, 15163, 490, 297, 10659, 26599, 22, 5342, 30, 713, 30, 713, 21706, 15, 2787, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 4075, 5349, 13649, 273, 404, 27382, 1578, 2138, 713, 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, ...
./full_match/80001/0xd0f330338c533a0394d1533E47a8a4425E0Fd076/sources/contracts/Staking.sol
Ensures outputTokens >= 0
assert(poolFraction >= derivativeTokenGiven * scaleFactor);
9,496,540
[ 1, 19869, 876, 5157, 1545, 374, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 1815, 12, 6011, 13724, 1545, 16417, 1345, 6083, 380, 3159, 6837, 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...
// SPDX-License-Identifier: MIT /** * @title TIME NFT Special Issues * @author Transient Labs */ /* _____ ___ __ __ _____ _ _ _____ _____ |_ _|_ _| \/ | ____| | \ | | ___|_ _| | | | || |\/| | _| | \| | |_ | | | | | || | | |...
* @notice function to set available supply for a certain token @dev requires owner of contract @param tokenId is the token id @param supply is the new available supply for that token/
function setTokenSupply(uint256 tokenId, uint64 supply) external onlyOwner { require(_tokenDetails[tokenId].created, "Token ID not valid"); _tokenDetails[tokenId].availableSupply = supply; }
6,941,826
[ 1, 915, 358, 444, 2319, 14467, 364, 279, 8626, 1147, 565, 4991, 3410, 434, 6835, 565, 1147, 548, 353, 326, 1147, 612, 565, 14467, 353, 326, 394, 2319, 14467, 364, 716, 1147, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 22629, 3088, 1283, 12, 11890, 5034, 1147, 548, 16, 2254, 1105, 14467, 13, 3903, 1338, 5541, 288, 203, 3639, 2583, 24899, 2316, 3790, 63, 2316, 548, 8009, 4824, 16, 315, 1345, 1599, 486, 923, 8863, 203, 3639, 389, 2316, ...
./full_match/1/0xA4c4808777c16F5A846C92173592272198103DaE/sources/contracts/RockPaperScissors_V8.sol
@dev return active games ids in range for pagination by game id without Player B
function getActiveGamesWithoutPlayerB( uint256 from, uint256 to ) public view returns (GameData[] memory) { GameData[] memory _gamesData = new GameData[](to - from); uint256 counter = 0; for (uint256 i = from; i <= to; i++) { (, address playerB) = getGamePlay...
3,130,774
[ 1, 2463, 2695, 28422, 3258, 316, 1048, 364, 8842, 635, 7920, 612, 2887, 19185, 605, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 11960, 43, 753, 8073, 12148, 38, 12, 203, 3639, 2254, 5034, 628, 16, 203, 3639, 2254, 5034, 358, 203, 565, 262, 1071, 1476, 1135, 261, 12496, 751, 8526, 3778, 13, 288, 203, 3639, 14121, 751, 8526, 3778, 389, 75, 753, ...
./partial_match/1/0x1955D86f5b369Be4581Fb2D346B403d362883aC7/sources/EmployeeIDBadges.sol
Balance of expired ids
ret[4] = balanceOf(EXPIRED);
3,590,497
[ 1, 13937, 434, 7708, 3258, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 325, 63, 24, 65, 273, 11013, 951, 12, 18433, 5879, 1769, 1171, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // // ---------------------------------------------------------------------------- contract ERC20Interface { function totalSupply() public view returns (uint); function ba...
* Constrctor function Initializes contract with initial supply tokens to the creator of the contract/
constructor() public { name = "RisitasCoin"; symbol = "RIS"; decimals = 18; _totalSupply = 210000000000000000000000000000; balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); }
1,234,939
[ 1, 442, 701, 30206, 445, 10188, 3128, 6835, 598, 2172, 14467, 2430, 358, 326, 11784, 434, 326, 6835, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 1435, 1071, 288, 203, 3639, 508, 273, 315, 54, 291, 305, 345, 27055, 14432, 203, 3639, 3273, 273, 315, 2259, 55, 14432, 203, 3639, 15105, 273, 6549, 31, 203, 3639, 389, 4963, 3088, 1283, 273, 9035, 12648, 12648, 12648, ...
./full_match/3/0x44C21d8eD909Ee4976c381fBAae99396F111efB8/sources/tests/BayBCoin.sol
is the token balance of this contract address over the min number of tokens that we need to initiate a swap + liquidity lock? also, don't get caught in a circular liquidity event. also, don't swap & liquify if sender is uniswap pair.add liquidity
function _transfer( address from, address to, uint256 amount ) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater th...
8,241,457
[ 1, 291, 326, 1147, 11013, 434, 333, 6835, 1758, 1879, 326, 1131, 1300, 434, 2430, 716, 732, 1608, 358, 18711, 279, 7720, 397, 4501, 372, 24237, 2176, 35, 2546, 16, 2727, 1404, 336, 13537, 316, 279, 15302, 4501, 372, 24237, 871, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 13866, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 3238, 288, 203, 3639, 2583, 12, 2080, 480, 1758, 12, 20, 3631, 315, 654, 39, 3462, 30, 7412, 628, 326, ...
./full_match/80001/0xc595C54c70C96003d7542593879058d07230512a/sources/contracts/Escrow.sol
solhint-disable-line not-rely-on-time
duration = _duration.add(block.timestamp);
9,528,310
[ 1, 18281, 11317, 17, 8394, 17, 1369, 486, 17, 266, 715, 17, 265, 17, 957, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3734, 273, 389, 8760, 18, 1289, 12, 2629, 18, 5508, 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, -10...
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...
The proposed party has to send the same amount of ETH
if(msg.value != Games[duels[msg.sender]].reward) {
12,740,857
[ 1, 1986, 20084, 18285, 711, 358, 1366, 326, 1967, 3844, 434, 512, 2455, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3639, 309, 12, 3576, 18, 1132, 480, 611, 753, 63, 2544, 10558, 63, 3576, 18, 15330, 65, 8009, 266, 2913, 13, 288, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
//Address: 0x2072d16c15978a7050a93b62a315e1caa13c6c27 //Contract name: TaskManager //Balance: 0.468635899121845162 Ether //Verification Date: 5/11/2018 //Transacion Count: 26 // CODE STARTS HERE pragma solidity ^0.4.23; /******* USING Registry ************************** Gives the inherting contract access to: ...
*****************************************************/************** PUBLIC VIEWS *************************/*****************************************************/ Loop once to get the total count.
{ Entry memory _curEntry = entries[0x0]; function add(address _address) fromOwner public returns (bool _didCreate) } function remove(address _address) fromOwner public returns (bool _didExist) } function size() public vi...
1,071,751
[ 1, 19, 17187, 776, 8732, 2651, 368, 9720, 3647, 358, 336, 326, 2078, 1056, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 288, 203, 3639, 3841, 3778, 389, 1397, 1622, 273, 3222, 63, 20, 92, 20, 15533, 203, 565, 445, 527, 12, 2867, 389, 2867, 13, 203, 3639, 628, 5541, 203, 3639, 1071, 203, 3639, 1135, 261, 6430, 389, 14044, 1684, 13, 203, 565,...
./partial_match/1/0xFCE1c68E7414605fF1f97D197D6Ba05a6d232311/sources/cache/solpp-generated-contracts/upgradeable/CreateProxyFactory.sol
Renamed from ProxyFactory because of name clash with Typechain
contract CreateProxyFactory { event ProxyCreated(address proxy); bytes32 private contractCodeHash; constructor() public { contractCodeHash = keccak256( type(InitializableAdminUpgradeabilityProxy).creationCode ); } function deployMinimal(address _logic, bytes memory _data) public returns (a...
16,064,849
[ 1, 16290, 2808, 628, 7659, 1733, 2724, 434, 508, 927, 961, 598, 1412, 5639, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 1788, 3886, 1733, 288, 203, 21281, 225, 871, 7659, 6119, 12, 2867, 2889, 1769, 203, 203, 225, 1731, 1578, 3238, 6835, 1085, 2310, 31, 203, 203, 225, 3885, 1435, 1071, 288, 203, 565, 6835, 1085, 2310, 273, 417, 24410, 581, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "./IProofOfHumanity.sol"; import "./IUBI.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract DummyProofOfHumanity is IProofOfHumanity, ERC20 { address _governor; IUBI _ubi; mapping(address => SubmissionInfo) _submissions; ...
* @dev Constructor./
constructor(address governor, address ubi) ERC20("Universal Basic Income", "UBI") { _governor = governor; _ubi = IUBI(ubi); }
5,527,554
[ 1, 6293, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 12, 2867, 314, 1643, 29561, 16, 1758, 13910, 77, 13, 4232, 39, 3462, 2932, 984, 14651, 7651, 657, 5624, 3113, 315, 3457, 45, 7923, 288, 203, 3639, 389, 75, 1643, 29561, 273, 314, 1643, 29561, 31, 203, 3639, 389, 30753,...
/** *Submitted for verification at Etherscan.io on 2022-03-30 */ // Verified using https://dapp.tools // hevm: flattened sources of src/adapters/UniswapAdapter.sol // SPDX-License-Identifier: MIT AND GPL-3.0-or-later pragma solidity =0.8.11 >=0.8.0 <0.9.0 >=0.8.1 <0.9.0; pragma experimental ABIEncoderV2; ////// lib...
@inheritdoc IUniswapAdapter ███ Checks ███ Interactions Do the swap Do the swap Transfer back excess token
function swapTokensForExactWETH(address _tokenIn, uint256 _wethAmount, uint256 _amountInMax) external returns (uint256 _amountIn) { if (!isConfigured(_tokenIn)) revert TokenNotConfigured(_tokenIn); LiquidityData memory metadata = liquidities[_tokenIn]; IERC20(_tokenIn).safeTransferFrom(msg....
10,823,023
[ 1, 36, 10093, 467, 984, 291, 91, 438, 4216, 225, 163, 249, 235, 163, 249, 235, 163, 249, 235, 13074, 225, 163, 249, 235, 163, 249, 235, 163, 249, 235, 5294, 4905, 2256, 326, 7720, 2256, 326, 7720, 12279, 1473, 23183, 1147, 2, 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, 7720, 5157, 1290, 14332, 59, 1584, 44, 12, 2867, 389, 2316, 382, 16, 2254, 5034, 389, 91, 546, 6275, 16, 2254, 5034, 389, 8949, 382, 2747, 13, 3903, 1135, 261, 11890, 5034, 389, 8949, 382, 13, 288, 203, 3639, 309, 160...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library Denominations { address public constant ETH = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; address public constant BTC = 0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB; // Fiat currencies follow https://en.wikipedia.org/wiki/ISO_4217 address public c...
Fiat currencies follow https:en.wikipedia.org/wiki/ISO_4217
library Denominations { address public constant ETH = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; address public constant BTC = 0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB; address public constant USD = address(840); address public constant GBP = address(826); address public constant EUR = address(978); add...
5,764,070
[ 1, 42, 77, 270, 19239, 2805, 2333, 30, 275, 18, 11999, 13744, 18, 3341, 19, 13044, 19, 12609, 67, 9452, 4033, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12083, 22453, 362, 10144, 288, 203, 225, 1758, 1071, 5381, 512, 2455, 273, 374, 17432, 1340, 1340, 41, 1340, 73, 41, 73, 41, 1340, 41, 73, 41, 73, 41, 1340, 9383, 41, 1340, 1340, 41, 1340, 1340, 1340, 73, 9383, 73, 41, 31, 20...
// SPDX-License-Identifier: MIT pragma solidity ^0.7.6; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/utils/EnumerableSet.sol"; import "../interfaces/IVault.sol"; import "../libraries/ERC20Extends.sol"; import "../l...
@notice Collect position asset @dev Use checkPos to check the position ID @param tokenId Position ID @param amount0Max Maximum amount of token 0 to be collected @param amount1Max Maximum amount of token 1 to be collected @return amount0 Actual amount of token 0 being collected @return amount1 Actual amount of token 1 ...
function collect( uint256 tokenId, uint128 amount0Max, uint128 amount1Max ) public onlyPositionManager(tokenId) returns (uint256 amount0, uint256 amount1){ (amount0, amount1) = UniV3PMExtends.PM.collect(INonfungiblePositionManager.CollectParams({ tokenId : tokenId, ...
5,843,790
[ 1, 10808, 1754, 3310, 225, 2672, 866, 1616, 358, 866, 326, 1754, 1599, 225, 1147, 548, 11010, 1599, 225, 3844, 20, 2747, 18848, 3844, 434, 1147, 374, 358, 506, 12230, 225, 3844, 21, 2747, 18848, 3844, 434, 1147, 404, 358, 506, 12230, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 1, 565, 445, 3274, 12, 203, 3639, 2254, 5034, 1147, 548, 16, 203, 3639, 2254, 10392, 3844, 20, 2747, 16, 203, 3639, 2254, 10392, 3844, 21, 2747, 203, 565, 262, 1071, 1338, 2555, 1318, 12, 2316, 548, 13, 1135, 261, 11890, 5034, 3844,...
//Address: 0x95bE22039DA3114d17A38b9E7CD9b3576dE83924 //Contract name: EDColiseumAlpha //Balance: 0.0534375 Ether //Verification Date: 3/13/2018 //Transacion Count: 319 // CODE STARTS HERE pragma solidity ^0.4.19; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorizat...
@dev Compute the final winner. Get all hero powers of all first round winners. Random number. 0 Vs 1
function _finalRoundWinnersFight() private { uint winner0 = secondRoundWinners[0]; uint winner1 = secondRoundWinners[1]; uint heroPower0 = participants[winner0].heroPower; uint heroPower1 = participants[winner1].heroPower; uint rand; rand = _getRando...
6,433,388
[ 1, 7018, 326, 727, 5657, 1224, 18, 968, 777, 366, 2439, 7602, 414, 434, 777, 1122, 3643, 5657, 9646, 18, 8072, 1300, 18, 374, 776, 87, 404, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 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, 389, 6385, 11066, 18049, 9646, 42, 750, 1435, 3238, 288, 203, 3639, 2254, 5657, 1224, 20, 273, 2205, 11066, 18049, 9646, 63, 20, 15533, 203, 3639, 2254, 5657, 1224, 21, 273, 2205, 11066, 18049, 9646, 63, 21, 15533, 203, ...
./partial_match/8453/0x4Ef67f28D9e59476EB06670E83F16615bfE5913D/sources/Glory.sol
launch buy fees launch sell fees exclude from paying fees or having max transaction amount
constructor() ERC20("Blades of Glory", "Glory") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(uniV2router); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).cr...
16,806,040
[ 1, 20738, 30143, 1656, 281, 8037, 357, 80, 1656, 281, 4433, 628, 8843, 310, 1656, 281, 578, 7999, 943, 2492, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 3885, 1435, 4232, 39, 3462, 2932, 4802, 16601, 434, 15157, 630, 3113, 315, 21308, 630, 7923, 288, 203, 3639, 467, 984, 291, 91, 438, 58, 22, 8259, 3103, 389, 318, 291, 91, 438, 58, 22, 8259, 273, 467, 984, 291, 91, 438, ...
/** *Submitted for verification at Etherscan.io on 2021-06-17 */ // SPDX-License-Identifier: MIT pragma solidity 0.6.12; pragma experimental ABIEncoderV2; // a library for performing overflow-safe math, updated with awesomeness from of DappHub (https://github.com/dapphub/ds-math) library SafeMath { function add(...
calculate voting weight adjusted for LP staking
uint256 lp_powah = lp_totalSushi.mul(lp_balance) / lp_total.mul(2);
10,603,926
[ 1, 11162, 331, 17128, 3119, 13940, 364, 511, 52, 384, 6159, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 12423, 67, 23509, 9795, 273, 12423, 67, 4963, 55, 1218, 77, 18, 16411, 12, 9953, 67, 12296, 13, 342, 12423, 67, 4963, 18, 16411, 12, 22, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/80001/0xDdc2C05e0f3701C86B8eb153Ec4f103704aC8Ba1/sources/project_/contracts/Staking.sol
이미 스테이킹 중 기존 스테이킹 수량 + 신규 스테이킹 수량, 타임스탬프는 초기화 신규 스테이킹
function stake(uint256 amount) public { require(amount > 0, "BRS: amount cannot be zero"); require(amount <= brsToken.balanceOf(msg.sender), "BRS: not enough BRS"); brsToken.transferFrom(msg.sender, address(this), amount); totalStakes += amount; if (_stakes[msg.sender].amou...
5,586,282
[ 1, 173, 256, 117, 172, 112, 121, 225, 173, 237, 102, 174, 232, 239, 173, 256, 117, 174, 229, 122, 225, 173, 102, 244, 225, 171, 121, 113, 173, 99, 117, 225, 173, 237, 102, 174, 232, 239, 173, 256, 117, 174, 229, 122, 225, 173,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 384, 911, 12, 11890, 5034, 3844, 13, 1071, 288, 203, 3639, 2583, 12, 8949, 405, 374, 16, 315, 7192, 55, 30, 3844, 2780, 506, 3634, 8863, 203, 3639, 2583, 12, 8949, 1648, 5186, 87, 1345, 18, 12296, 951, 12, 3576, 18, ...
./partial_match/1313161554/0xC9A848AC73e378516B16E4EeBBa5ef6aFbC0BBc2/sources/AuriFairLaunch.sol
* @dev Update rewards for one pool/
function _updatePoolRewards(uint256 _pid) internal { require(_pid < poolLength, "invalid pool id"); PoolInfo storage pool = poolInfo[_pid]; uint32 lastAccountedTime = _lastAccountedRewardTime(_pid); if (lastAccountedTime <= pool.lastRewardTimestamp) return; uint256 _totalStake = pool.totalStake; ...
16,937,423
[ 1, 1891, 283, 6397, 364, 1245, 2845, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 2725, 2864, 17631, 14727, 12, 11890, 5034, 389, 6610, 13, 2713, 288, 203, 565, 2583, 24899, 6610, 411, 2845, 1782, 16, 315, 5387, 2845, 612, 8863, 203, 565, 8828, 966, 2502, 2845, 273, 2845, 966, 63, 67, 6610, 1553...
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity >=0.8.0; import "./IndexPool.sol"; import "./PoolDeployer.sol"; /// @notice Contract for deploying Trident exchange Index Pool with configurations. /// @author Mudit Gupta contract IndexPoolFactory is PoolDeployer { constructor(address _maste...
@dev Strips any extra data. @dev Salt is not actually needed since `_deployData` is part of creationCode and already contains the salt.
function deployPool(bytes memory _deployData) external returns (address pool) { (address[] memory tokens, uint136[] memory weights, uint256 swapFee) = abi.decode(_deployData, (address[], uint136[], uint256)); _deployData = abi.encode(tokens, weights, swapFee); bytes32 salt = keccak256(_dep...
922,435
[ 1, 1585, 7146, 1281, 2870, 501, 18, 225, 10848, 353, 486, 6013, 3577, 3241, 1375, 67, 12411, 751, 68, 353, 1087, 434, 6710, 1085, 471, 1818, 1914, 326, 4286, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7286, 2864, 12, 3890, 3778, 389, 12411, 751, 13, 3903, 1135, 261, 2867, 2845, 13, 288, 203, 3639, 261, 2867, 8526, 3778, 2430, 16, 2254, 26959, 8526, 3778, 5376, 16, 2254, 5034, 7720, 14667, 13, 273, 24126, 18, 3922, 24...
./full_match/11155111/0x3f9C6646CCFa4597C45761B3e9a1Da0cF00253D5/sources/src/Splits.sol
@notice Splits can keep track of at most `type(uint128).max` which is `2 ^ 128 - 1` units of each asset. It's up to the caller to guarantee that this limit is never exceeded, failing to do so may result in a total protocol collapse. slither-disable-next-line unused-state
abstract contract Splits { uint256 internal constant _MAX_SPLITS_RECEIVERS = 200; uint32 internal constant _TOTAL_SPLITS_WEIGHT = 1_000_000; uint128 internal constant _MAX_SPLITS_BALANCE = type(uint128).max; bytes32 private immutable _splitsStorageSlot; event Collected(uint256 indexed userId, uint2...
3,823,938
[ 1, 16582, 848, 3455, 3298, 434, 622, 4486, 1375, 723, 12, 11890, 10392, 2934, 1896, 68, 1492, 353, 1375, 22, 3602, 8038, 300, 404, 68, 4971, 434, 1517, 3310, 18, 2597, 1807, 731, 358, 326, 4894, 358, 18779, 716, 333, 1800, 353, 5903...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5385, 87, 288, 203, 565, 2254, 5034, 2713, 5381, 389, 6694, 67, 3118, 48, 10158, 67, 27086, 45, 21510, 273, 4044, 31, 203, 565, 2254, 1578, 2713, 5381, 389, 28624, 67, 3118, 48, 10158, 67, 29988, 273, 404, 67, 3784, ...
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.11; // ========== External imports ========== import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/interfaces/IERC2981Upgradeable.sol"; import "@openzeppelin/...
@dev Returns the owner of the contract. @dev Lets a module admin set a new owner for the contract. The new owner must be a module admin. @dev Emitted when a new Owner is set. SPDX-License-Identifier: Apache-2.0* Thirdweb's 'Drop' contracts are distribution mechanisms for tokens. A contract admin (i.e. a holder of `D...
interface IDropClaimCondition { function getDefaultRoyaltyInfo() external view returns (address, uint16); function setDefaultRoyaltyInfo(address _royaltyRecipient, uint256 _royaltyBps) external; function setRoyaltyInfoForToken( uint256 tokenId, address recipient, uint256 bps ) ...
94,925
[ 1, 1356, 326, 3410, 434, 326, 6835, 18, 225, 511, 2413, 279, 1605, 3981, 444, 279, 394, 3410, 364, 326, 6835, 18, 1021, 394, 3410, 1297, 506, 279, 1605, 3981, 18, 225, 512, 7948, 1347, 279, 394, 16837, 353, 444, 18, 11405, 28826, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 5831, 1599, 1764, 9762, 3418, 288, 203, 565, 445, 4829, 54, 13372, 15006, 966, 1435, 3903, 1476, 1135, 261, 2867, 16, 2254, 2313, 1769, 203, 203, 565, 445, 9277, 54, 13372, 15006, 966, 12, 2867, 389, 3800, 15006, 18241, 16, 2254, ...
./partial_match/42220/0x94140c2eA9D208D8476cA4E3045254169791C59e/sources/PREMIO.sol
* @dev Sets the values for {name} and {symbol}, initializes {decimals} with a default value of 18. To select a different value for {decimals}, use {_setupDecimals}. All three of these values are immutable: they can only be set once during construction./
constructor (string memory name, string memory symbol, uint256 initialSupply, uint8 decimals) public { _name = name; _symbol = symbol; _owner = msgSender; _mint(_owner, initialSupply); _decimals = decimals; }
3,497,866
[ 1, 2785, 326, 924, 364, 288, 529, 97, 471, 288, 7175, 5779, 11643, 288, 31734, 97, 598, 279, 805, 460, 434, 6549, 18, 2974, 2027, 279, 3775, 460, 364, 288, 31734, 5779, 999, 288, 67, 8401, 31809, 5496, 4826, 8925, 434, 4259, 924, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 282, 3885, 261, 1080, 3778, 508, 16, 533, 3778, 3273, 16, 2254, 5034, 2172, 3088, 1283, 16, 2254, 28, 15105, 13, 1071, 288, 203, 3639, 389, 529, 273, 508, 31, 203, 3639, 389, 7175, 273, 3273, 31, 203, 3639, 389, 8443, 273, 1234...
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.9.0; import "./libraries/math/WadRayMath.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/...
* @dev See {IERC20-allowance}./
function _allowance(address owner, address spender) internal view returns (uint256) { return _allowances[owner][spender]; }
15,853,195
[ 1, 9704, 288, 45, 654, 39, 3462, 17, 5965, 1359, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 389, 5965, 1359, 12, 2867, 3410, 16, 1758, 17571, 264, 13, 2713, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 389, 5965, 6872, 63, 8443, 6362, 87, 1302, 264, 15533, 203, 565, 289, 203, 203, 203, 2, -100, -10...
./partial_match/1/0x3AF045FD63Afc040aE9FD8C5b380d2DF2B804cfc/sources/UniswapV2AddLiquidityHelperV1.sol
@author Roger Wu (Twitter: @rogerwutw, GitHub: Roger-Wu)
contract UniswapV2AddLiquidityHelperV1 is Ownable { using SafeMath for uint; using SafeERC20 for IERC20; constructor( address uniswapV2FactoryAddress, address uniswapV2Router02Address, address wethAddress pragma solidity >=0.6.0; ) public { _uniswapV2FactoryAddress = ...
9,216,922
[ 1, 22869, 693, 678, 89, 261, 23539, 6132, 30, 632, 303, 693, 91, 322, 91, 16, 15668, 30, 534, 83, 693, 17, 59, 89, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 1351, 291, 91, 438, 58, 22, 986, 48, 18988, 24237, 2276, 58, 21, 353, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 31, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 203, 203, 565, ...
/** *Submitted for verification at Etherscan.io on 2022-02-13 */ /** *Submitted for verification at Etherscan.io on 2022-02-09 */ /** *Submitted for verification at Etherscan.io on 2022-02-05 */ // SPDX-License-Identifier: MIT pragma solidity >=0.7.0 <0.9.0; library AddressUpgradeable { /** * @dev Retur...
is the token balance of this contract address over the min number of tokens that we need to initiate a swap + liquidity lock? also, don't get caught in a circular liquidity event. also, don't swap & liquify if sender is uniswap pair.add liquidityif any account belongs to _isExcludedFromFee account then remove the fee
function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must...
10,121,912
[ 1, 291, 326, 1147, 11013, 434, 333, 6835, 1758, 1879, 326, 1131, 1300, 434, 2430, 716, 732, 1608, 358, 18711, 279, 7720, 397, 4501, 372, 24237, 2176, 35, 2546, 16, 2727, 1404, 336, 13537, 316, 279, 15302, 4501, 372, 24237, 871, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 13866, 12, 203, 3639, 1758, 628, 16, 7010, 3639, 1758, 358, 16, 21281, 3639, 2254, 5034, 3844, 203, 377, 262, 2713, 3849, 288, 203, 3639, 2583, 12, 2080, 480, 1758, 12, 20, 3631, 315, 654, 39, 3462, 30, 7412, 628...
./full_match/1/0x2e6013DA3CbE83781A03Aa2cFEeEb0179f610C3F/sources/contracts/VetMe.sol
denominator is 10000 (125 = 1.25%)
uint256 public feeValue = 125;
9,688,374
[ 1, 13002, 26721, 353, 12619, 261, 18473, 273, 404, 18, 2947, 9, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 14036, 620, 273, 30616, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x280A2ac6a7Ffb178BAEff48E923DDc4271bC43B6/sources/YVC.sol
Update total supply (1000 for example) (CHANGE THIS)
totalSupply = 11000000000000000000000000;
16,079,229
[ 1, 1891, 2078, 14467, 261, 18088, 364, 3454, 13, 261, 14473, 20676, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2078, 3088, 1283, 273, 4648, 12648, 12648, 12648, 31, 7682, 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, -1...
// Developed by......... // |*~'~*~'~*~'~*~'~*~'~*~'~*~'~*~'~*~'~*~'~*~'~*~'~*~'~*~'~*~'~*~'~*~'~*| // | __ __ ______ ______ ______ _____ _____ | // | /\ "-./ \ /\ == \ /\__ _\ /\ __ \ /\ __-. /\ __-. | // | \ \ \-./\ \ \ \ __< \/_/\ \/ \ \ \/\ \ \ \ \/\ \ \ \ \/...
File: contracts/VelorexMembersClub.solSPDX-License-Identifier: MIT
contract VelorexMembersClub is ERC721A, Ownable { using Address for address; using MerkleProof for bytes32[]; using SafeMath for uint256; using Strings for uint; string public baseURI; string public baseExtension = ".json"; uint256 public cost = 0.1133 ether; uint256 public whitelistCo...
13,532,636
[ 1, 812, 30, 20092, 19, 58, 292, 479, 92, 6918, 2009, 373, 18, 18281, 3118, 28826, 17, 13211, 17, 3004, 30, 490, 1285, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 776, 292, 479, 92, 6918, 2009, 373, 353, 4232, 39, 27, 5340, 37, 16, 14223, 6914, 288, 203, 203, 565, 1450, 5267, 364, 1758, 31, 203, 565, 1450, 31827, 20439, 364, 1731, 1578, 8526, 31, 203, 565, 1450, 14060, 10477, 364, ...
./full_match/4/0xcC497F1521Cd6da240F6726CD408d22a1586E07F/sources/contracts/BondingCurveAlan.sol
esto va aca para evitar reentrancy
tokens_sold += tokensToBuy;
756,618
[ 1, 395, 83, 14162, 1721, 69, 12602, 2113, 305, 297, 283, 8230, 12514, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2430, 67, 87, 1673, 1011, 2430, 774, 38, 9835, 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,...
/* Copyright (c) 2016 Edilson Osorio Junior - OriginalMy.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, ...
Notifica os clientes que a venda ocorreu
PokeTrade(pokeBuyerAddress, p.pokeSeller, pokemonID );
5,386,225
[ 1, 1248, 1507, 69, 1140, 1004, 281, 6597, 279, 331, 18883, 320, 3850, 266, 89, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 453, 3056, 22583, 12, 84, 3056, 38, 16213, 1887, 16, 293, 18, 84, 3056, 22050, 16, 293, 601, 4758, 734, 11272, 10402, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity 0.5.10; import "./BlockRewardAuRaBase.sol"; import "../interfaces/IBlockRewardAuRaTokens.sol"; import "../interfaces/IStakingAuRaTokens.sol"; import "../interfaces/ITokenMinter.sol"; contract BlockRewardAuRaTokens is BlockRewardAuRaBase, IBlockRewardAuRaTokens { // ==============================...
@dev Called by the `StakingAuRa.claimReward` function to transfer tokens and native coins from the balance of the `BlockRewardAuRa` contract to the specified address as a reward. @param _tokens The amount of tokens to transfer as a reward. @param _nativeCoins The amount of native coins to transfer as a reward. @param ...
function transferReward(uint256 _tokens, uint256 _nativeCoins, address payable _to) external onlyStakingContract { if (_tokens != 0) { IStakingAuRaTokens stakingContract = IStakingAuRaTokens(msg.sender); IERC677 erc677TokenContract = IERC677(stakingContract.erc677TokenContract()); ...
7,217,466
[ 1, 8185, 635, 326, 1375, 510, 6159, 37, 89, 12649, 18, 14784, 17631, 1060, 68, 445, 358, 7412, 2430, 471, 6448, 276, 9896, 628, 326, 11013, 434, 326, 1375, 1768, 17631, 1060, 37, 89, 12649, 68, 6835, 358, 326, 1269, 1758, 487, 279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17631, 1060, 12, 11890, 5034, 389, 7860, 16, 2254, 5034, 389, 13635, 39, 9896, 16, 1758, 8843, 429, 389, 869, 13, 3903, 1338, 510, 6159, 8924, 288, 203, 3639, 309, 261, 67, 7860, 480, 374, 13, 288, 203, 5411, 46...
pragma solidity >=0.5.0 <0.6.0; /** * @notice wrapper for _create and _create2 */ contract Creator { /** * @dev abstract contract */ constructor() internal { } /** * @notice creates new contract based on input `_code` and transfer `_value` ETH to this instance * @param _value a...
* @notice creates new contract based on input `_code` and transfer `_value` ETH to this instance @param _value amount ether in wei to sent to deployed address at its initialization @param _code contract code @return created contract address/
function _create( uint _value, bytes memory _code ) internal returns (address payable createdContract) { assembly { createdContract := create(_value, add(_code, 0x20), mload(_code)) } }
13,071,811
[ 1, 19787, 394, 6835, 2511, 603, 810, 1375, 67, 710, 68, 471, 7412, 1375, 67, 1132, 68, 512, 2455, 358, 333, 791, 225, 389, 1132, 3844, 225, 2437, 316, 732, 77, 358, 3271, 358, 19357, 1758, 622, 2097, 10313, 225, 389, 710, 6835, 98...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 565, 445, 389, 2640, 12, 203, 3639, 2254, 389, 1132, 16, 203, 3639, 1731, 3778, 389, 710, 203, 565, 262, 203, 3639, 2713, 203, 3639, 1135, 261, 2867, 8843, 429, 2522, 8924, 13, 203, 565, 288, 203, 3639, 19931, 288, 203, 5411, 2...
./full_match/43114/0x2953B82Dc7CEc0c7b28c17313B04219Db97a38a9/sources/contracts/3_Ballot.sol
* @notice Calculates the total underlying tokens @dev It includes tokens held by the contract and held in MasterChef/
function balanceOf() public view returns (uint256) { (uint256 amount, ) = IMasterChef(masterchef).userInfo(5, address(this)); return token.balanceOf(address(this)).add(amount); }
4,619,300
[ 1, 10587, 326, 2078, 6808, 2430, 225, 2597, 6104, 2430, 15770, 635, 326, 6835, 471, 15770, 316, 13453, 39, 580, 74, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 11013, 951, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 261, 11890, 5034, 3844, 16, 262, 273, 6246, 2440, 39, 580, 74, 12, 7525, 343, 10241, 2934, 1355, 966, 12, 25, 16, 1758, 12, 2211, 10019, 203, 3...
./full_match/1/0x3aee85207A82768EbA24f6F29067af1Ab94472ff/sources/contracts/Router/primaryRouter.sol
Puts the gater require condition for potential gas return to users
require(gater.checkGatedStatus{value: msg.value}(msg.sender), "Your wallet is not eligible to buy");
8,396,355
[ 1, 26804, 326, 314, 2045, 2583, 2269, 364, 8555, 16189, 327, 358, 3677, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 3639, 2583, 12, 75, 2045, 18, 1893, 43, 690, 1482, 95, 1132, 30, 1234, 18, 1132, 97, 12, 3576, 18, 15330, 3631, 315, 15446, 9230, 353, 486, 21351, 358, 30143, 8863, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity 0.4.24; import "./PumaPayToken.sol"; import "../node_modules/openzeppelin-solidity/contracts/ownership/Ownable.sol"; import "../node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol"; /// @title PumaPayVault - Contract that will hold PMA locked for a specific period of time with predefined wi...
Checks if the intervals specified in contract creation are valid Valid means that each interval should be higher than the previous one and none should be zero @param _intervals - array of intervals initiating the contract
function validIntervals(uint256[] _intervals) internal pure returns(bool) { uint256 previousInterval = 0; for (uint i = 0; i < _intervals.length; i++) { if (_intervals[i] <= 0 || _intervals[i] < previousInterval) { return false; } previ...
5,474,114
[ 1, 4081, 309, 326, 10389, 1269, 316, 6835, 6710, 854, 923, 2364, 4696, 716, 1517, 3673, 1410, 506, 10478, 2353, 326, 2416, 1245, 471, 6555, 1410, 506, 3634, 225, 389, 19812, 300, 526, 434, 10389, 1208, 22906, 326, 6835, 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, 0, 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, 923, 24224, 12, 11890, 5034, 8526, 389, 19812, 13, 203, 565, 2713, 203, 565, 16618, 203, 565, 1135, 12, 6430, 13, 288, 203, 3639, 2254, 5034, 2416, 4006, 273, 374, 31, 203, 3639, 364, 261, 11890, 277, 273, 374, 31, 27...
pragma solidity ^0.6.0; import "../openzeppelin-contracts/contracts/token/ERC721/ERC721.sol"; contract Swap { address payable public owner; uint public offerCount; bool public stopped = false; uint public fee; struct TradeOffer { address payable offerer; address payable asker; ...
@dev Creates an NFT trade offer in the Swap 'order book'. @param _offer NFT ids of user offering to give away. @param _offerContract contract addresses pertaining to the NFT ids in _offer. @param _ask NFT ids that the user is asking to receive. @param _askContract contract addresses pertaining to the NFT ids in _ask. ...
function addOffer(uint[] memory _offer, address[] memory _offerContract , uint[] memory _ask, address[] memory _askContract , uint _offerVal, uint _askVal, address payable _targetAddress) public payable stopInEmergency() returns (bool) { require(...
12,972,583
[ 1, 2729, 392, 423, 4464, 18542, 10067, 316, 326, 12738, 296, 1019, 6978, 10332, 225, 389, 23322, 423, 4464, 3258, 434, 729, 10067, 310, 358, 8492, 10804, 18, 225, 389, 23322, 8924, 6835, 6138, 24445, 3280, 358, 326, 423, 4464, 3258, 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, 565, 445, 527, 10513, 12, 11890, 8526, 3778, 389, 23322, 16, 1758, 8526, 3778, 389, 23322, 8924, 203, 10792, 269, 2254, 8526, 3778, 389, 835, 16, 1758, 8526, 3778, 389, 835, 8924, 203, 10792, 269, 2254, 389, 23322, 3053, 16, 2254, ...
./full_match/42/0xD58664996535246209F595Ecd4c0413FF254bD4a/sources/docs.chain.link/samples/APIRequests/MultiWordConsumer.sol
* @notice Request mutiple parameters from the oracle in a single transaction @param specId bytes32 representation of the jobId in the Oracle @param payment uint256 cost of request in LINK (JUELS)/
function requestMultipleParameters( bytes32 specId, uint256 payment ) public { Chainlink.Request memory req = buildChainlinkRequest(specId, address(this), this.fulfillMultipleParameters.selector); req.addUint("times", 10000); requestOracleData(req, payment); } event RequestMultipleFul...
16,259,097
[ 1, 691, 4318, 2444, 1472, 628, 326, 20865, 316, 279, 2202, 2492, 225, 857, 548, 1731, 1578, 4335, 434, 326, 13845, 316, 326, 28544, 225, 5184, 2254, 5034, 6991, 434, 590, 316, 22926, 261, 46, 1821, 3045, 13176, 2, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 590, 8438, 2402, 12, 203, 565, 1731, 1578, 857, 548, 16, 203, 565, 2254, 5034, 5184, 203, 225, 262, 203, 565, 1071, 203, 225, 288, 203, 565, 7824, 1232, 18, 691, 3778, 1111, 273, 1361, 3893, 1232, 691, 12, 2793, 548, ...
./full_match/80001/0xf4f036a18961f7Ab421145bac1f27f0F73BFb643/sources/contracts/Company.sol
pop out the last item
company[_companyAddress].roleKeys.pop();
5,596,757
[ 1, 5120, 596, 326, 1142, 761, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 9395, 63, 67, 16840, 1887, 8009, 4615, 2396, 18, 5120, 5621, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
claimers[0xEB079Ee381FC821B809F6110cCF7a8439C7A6870] = 0; // seq: 0 -> tkn_id: 0 claimers[0xcBD56A71a02fA7AA01bF1c94c0AeB2828Bebdc0A] = 1; // seq: 1 -> tkn_id: 1 claimers[0x9E1fDAB0FE4141fe269060f098bc7076d248cE7B] = 2; // seq: 2 -> tkn_id: 2 claimers[0x33aEA8f43D9685683b236B20a1818aFcD48204cD] = 3; // seq: 3 -> tk...
seq: 522 -> tkn_id: 523
claimers[0x787Efe41F4C940bC8c2a0D2B1877B7Fb71bC7c04] = 523;
12,655,018
[ 1, 5436, 30, 1381, 3787, 317, 13030, 82, 67, 350, 30, 1381, 4366, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 14784, 414, 63, 20, 92, 8285, 27, 41, 3030, 9803, 42, 24, 39, 29, 7132, 70, 39, 28, 71, 22, 69, 20, 40, 22, 38, 2643, 4700, 38, 27, 42, 70, 11212, 70, 39, 27, 71, 3028, 65, 273, 1381, 4366, 31, 225, 2, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.11; import "./interfaces/IQuantumKeyRing.sol"; import "@rari-capital/solmate/src/auth/Auth.sol"; import "@rari-capital/solmate/src/utils/ReentrancyGuard.sol"; import "@rari-capital/solmate/src/utils/SafeTransferLib.sol"; import "@openzeppelin/contracts/utils/structs...
Assume if there is a proof, then it's not a public sale
address user = proof.length != 0 ? msg.sender : address(0);
13,844,711
[ 1, 2610, 2066, 309, 1915, 353, 279, 14601, 16, 1508, 518, 1807, 486, 279, 1071, 272, 5349, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 1758, 729, 273, 14601, 18, 2469, 480, 374, 692, 1234, 18, 15330, 294, 1758, 12, 20, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x640216Ea5b2aC018b1d1FDB3F0a206F652C92574/sources/contracts/CommunityRegistry/CommunityRegistry.sol
* @dev Gets the URI for the given token ID. @param tokenId_ The token ID to get the URI for. @return The URI of the token./
function tokenURI( uint256 tokenId_ ) public view virtual override(ERC721A, ICommunityRegistry) onlyTokenExists(tokenId_) returns (string memory) { return ICommunityTokenURI(_config.tokenURI).getTokenURI(tokenId_); }
9,808,381
[ 1, 3002, 326, 3699, 364, 326, 864, 1147, 1599, 18, 225, 1147, 548, 67, 1021, 1147, 1599, 358, 336, 326, 3699, 364, 18, 327, 1021, 3699, 434, 326, 1147, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 203, 3639, 2254, 5034, 1147, 548, 67, 203, 565, 262, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 5024, 203, 3639, 3849, 12, 654, 39, 27, 5340, 37, 16, 467, 12136, 13352, 4243, 13, 203, 3639, 1338, 134...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interfaces/IERC721.sol"; import "./interfaces/IERC721Enumerable.sol"; import "./interfaces/IERC721Metadata.sol"; import "./interfaces/IERC721Receiver.sol"; import "./interfaces/IERC165.sol"; import "./IGBATrapsPartial.sol"; import "./Ownab...
Mapping of token allowances
mapping (address => mapping (address => bool)) internal authorised;
12,695,782
[ 1, 3233, 434, 1147, 1699, 6872, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 261, 2867, 516, 2874, 261, 2867, 516, 1426, 3719, 2713, 2869, 5918, 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, -1...