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
/** *Submitted for verification at Etherscan.io on 2021-09-08 */ // Sources flattened with hardhat v2.3.3 https://hardhat.org // File @openzeppelin/contracts/token/ERC20/[email protected] // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the ...
Deposit staking funds.
function stake(uint256 _amount) external { require(active, "Sports mining is not active"); require(_amount > 0, "Stake amount must be positive"); stakedFunds = stakedFunds.add(_amount); uint256 userStakedAmount = users[msg.sender].amountStaked; if (userStakedAmount == 0) { ...
10,649,781
[ 1, 4625, 348, 7953, 560, 30, 225, 4019, 538, 305, 384, 6159, 284, 19156, 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, 445, 384, 911, 12, 11890, 5034, 389, 8949, 13, 3903, 288, 203, 3639, 2583, 12, 3535, 16, 315, 55, 4363, 1131, 310, 353, 486, 2695, 8863, 203, 3639, 2583, 24899, 8949, 405, 374, 16, 315, 510, 911, 3844, 1297, 506, 6895, 886...
./full_match/1/0x74578743C8dfB393b211691B94Eb797f33e414Fa/sources/contracts/dorkydinos.sol
* @title Dorkydinos contract @dev Extends ERC721 Non-Fungible Token Standard basic implementation/
contract Dorkydinos is ERC721, Ownable { using SafeMath for uint256; uint256 public mintPrice; uint256 [] public mintPackagePrice; uint256 [] public packageAmount; uint256 public maxToMint; uint256 private amountBurn = 0; uint256 public MAX_AMOUNT_MINT; uint256 public MAX_DORKYDINOS_SUP...
17,002,777
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 463, 778, 93, 72, 267, 538, 6835, 632, 5206, 6419, 5839, 4232, 39, 27, 5340, 3858, 17, 42, 20651, 1523, 3155, 8263, 5337, 4471, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 463, 778, 93, 72, 267, 538, 353, 4232, 39, 27, 5340, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 2254, 5034, 1071, 312, 474, 5147, 31, 203, 565, 2254, 5034, 5378, 1071, 312, 47...
pragma solidity ^0.4.25; /* __ __ __ __ ______ __ __ ______ | \ _ | \ | \| \ / \ | \ | \ / \ | $$ / \ | $$ ______ | $$| $$ | $$$$$$\ _| $$_ ____...
* Liquifies tokens to ethereum./ setup data russian hackers BTFO burn the sold tokens update dividends tracker dividing by zero is a bad idea update the amount of dividends per token
function sell(uint256 _amountOfTokens) onlyBagholders() public { uint8 localDivFee = 200; address _customerAddress = msg.sender; require(_amountOfTokens <= tokenBalanceLedger_[_customerAddress]); uint256 _tokens = _amountOfTokens; uint256 _ethere...
2,084,687
[ 1, 4625, 348, 7953, 560, 30, 380, 511, 18988, 5032, 2430, 358, 13750, 822, 379, 18, 19, 3875, 501, 436, 5567, 2779, 11769, 414, 605, 56, 3313, 18305, 326, 272, 1673, 2430, 1089, 3739, 350, 5839, 9745, 3739, 10415, 635, 3634, 353, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 357, 80, 12, 11890, 5034, 389, 8949, 951, 5157, 13, 203, 377, 203, 3639, 1338, 5013, 9000, 1435, 203, 3639, 1071, 203, 565, 288, 203, 3639, 2254, 28, 1191, 7244, 14667, 273, 4044, 31, 203, 27699, 203, 3639, 1758, 389, ...
./full_match/80001/0x6204cA4282DCB6d59Ffd9DE7541298776680a13E/sources/contracts/libraries/CreateCall.sol
* @title Create Call - Allows to use the different create opcodes to deploy a contract. @author Richard Meissner - @rmeissner @notice This contract provides functions for deploying a new contract using the create and create2 opcodes./
contract CreateCall { event ContractCreation(address indexed newContract); function performCreate2(uint256 value, bytes memory deploymentData, bytes32 salt) public returns (address newContract) { assembly { newContract := create2(value, add(0x20, deploymentData), mload(deploymentData), sal...
9,443,204
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 1788, 3049, 300, 25619, 358, 999, 326, 3775, 752, 1061, 7000, 358, 7286, 279, 6835, 18, 632, 4161, 534, 1354, 1060, 7499, 1054, 1224, 300, 632, 86, 3501, 1054, 1224, 632, 20392, 1220, 683...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16351, 1788, 1477, 288, 203, 565, 871, 13456, 9906, 12, 2867, 8808, 394, 8924, 1769, 203, 203, 203, 565, 445, 3073, 1684, 22, 12, 11890, 5034, 460, 16, 1731, 3778, 6314, 751, 16, 1731, 1578, 4286, 13, 1071, 1135, 261, 2867, 394, ...
./full_match/80001/0x0e09008f63e4A0ec8e2dE9785Ea857c77B0c7CE3/sources/project:/contracts/MarketplaceAssets.sol
* @dev Implementation of the {IERC721Receiver} interface. Accepts all token transfers. Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}./
contract ERC721Holder is IERC721Receiver { function onERC721Received( address, address, uint256, bytes memory } ) public virtual override returns (bytes4) { return this.onERC721Received.selector; } }
870,903
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25379, 434, 326, 288, 45, 654, 39, 27, 5340, 12952, 97, 1560, 18, 27158, 777, 1147, 29375, 18, 4344, 3071, 326, 6835, 353, 7752, 358, 999, 2097, 1147, 598, 288, 45, 654, 39, 27, 5340, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 4232, 39, 27, 5340, 6064, 353, 467, 654, 39, 27, 5340, 12952, 288, 203, 565, 445, 603, 654, 39, 27, 5340, 8872, 12, 203, 3639, 1758, 16, 203, 3639, 1758, 16, 203, 3639, 2254, 5034, 16, 203, 3639, 1731, 3778, 203, 97, 2...
./full_match/5/0x7558Ad66203FA37eDb069192b52b55d933FF1279/sources/project_/contracts/Temp2.sol
@notice Max supply @notice Mint price @notice Track current number of mints, starts with 1 @notice Track current mint schedules as minting progresses @notice Tracks total mint schedules. Setup as a Counter to allow for dynamic progressive games. @notice Tracks current round of current mint schedule @notice Tracks tota...
constructor() ERC721("Temp", "TEMP") { _creatorAddress = msg.sender; _addMintSchedule(MINT_PRICE, 2, 10); _mintCounter.increment();
1,913,022
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 4238, 14467, 632, 20392, 490, 474, 6205, 632, 20392, 11065, 783, 1300, 434, 312, 28142, 16, 2542, 598, 404, 632, 20392, 11065, 783, 312, 474, 26720, 487, 312, 474, 310, 4007, 281, 632, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 3885, 1435, 4232, 39, 27, 5340, 2932, 7185, 3113, 315, 10258, 7923, 288, 203, 3639, 389, 20394, 1887, 273, 1234, 18, 15330, 31, 203, 203, 3639, 389, 1289, 49, 474, 6061, 12, 49, 3217, 67, 7698, 1441, 16, 576, 16, 1728, 176...
./full_match/3/0xA5F073CcF1d8d6b37600bdABDeF121397c69Eced/sources/browser/RFI.sol
@dev If any account belongs to the excludedAccount transfer token
function _transfer(address sender, address recipient, uint256 amount ) private { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); ...
8,281,678
[ 1, 4625, 348, 7953, 560, 30, 632, 5206, 971, 1281, 2236, 11081, 358, 326, 8845, 3032, 7412, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 13866, 12, 2867, 5793, 16, 1758, 8027, 16, 2254, 5034, 3844, 262, 3238, 288, 203, 3639, 2583, 12, 15330, 480, 1758, 12, 20, 3631, 315, 654, 39, 3462, 30, 7412, 628, 326, 3634, 1758, 8863, 203, 3639, 2583, 12, 203...
//Arbitrum Proof-of-Burn contract //Auctions Arbitrum Bitcoin(ArbiBTC) every 4 days and users are able to withdraw anytime after! //All proceeds of auctions go back into the miners pockets, by going directly to the ArbitrumBitcoin Contract! //21,000,000 Arbitrum Mineable Bitcoin are Auctioned off over 100 year...
Find remaining balance
uint balance = _balances[address(this)];
6,439,729
[ 1, 4625, 348, 7953, 560, 30, 225, 4163, 4463, 11013, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 11013, 273, 389, 70, 26488, 63, 2867, 12, 2211, 13, 15533, 4766, 2398, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/137/0xcaa24151981798eb16C772ae683d9d61ebdB4aE5/sources/project_/contracts/BT.sol
ERC20 ERC721 ERC1155
function getTestament( address testamentOwner, TestamentTokens calldata tokens ) external correctStatus( DeathConfirmationState.Confirmed, testamentOwner, "death must be confirmed" ) { Testament memory userTestament = testam...
4,784,294
[ 1, 4625, 348, 7953, 560, 30, 225, 4232, 39, 3462, 4232, 39, 27, 5340, 4232, 39, 2499, 2539, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 29384, 14773, 12, 203, 3639, 1758, 1842, 14773, 5541, 16, 203, 3639, 7766, 14773, 5157, 745, 892, 2430, 203, 565, 262, 203, 3639, 3903, 203, 3639, 3434, 1482, 12, 203, 5411, 1505, 421, 17597, 1119, 18, 3976, 11222, 16, ...
//Address: 0x553b4546d26f383d4f4a056b7f50dadff07fb252 //Contract name: BattleOfThermopylae //Balance: 0 Ether //Verification Date: 10/19/2017 //Transacion Count: 75 // CODE STARTS HERE /******************************************************************************* ********************* BATTLE OF THERMOPYLAE v1.1...
This check is an helper function for ÐApp to check the effect of the NEXT transacion, NOT simply the current state of the contract
function isTimeExpired() constant returns (bool timeExpired) { return block.timestamp + avarageBlockTime >= endTime; }
5,358,160
[ 1, 4625, 348, 7953, 560, 30, 225, 1220, 866, 353, 392, 4222, 445, 364, 225, 132, 243, 3371, 358, 866, 326, 5426, 434, 326, 19252, 906, 19861, 16, 4269, 8616, 326, 783, 919, 434, 326, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 353, 950, 10556, 1435, 5381, 1135, 261, 6430, 813, 10556, 13, 288, 203, 3639, 327, 1203, 18, 5508, 397, 279, 1401, 410, 1768, 950, 1545, 13859, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, ...
//Address: 0xa7776e2595053414f21f903e5270973d3292b659 //Contract name: Crowdsale //Balance: 0 Ether //Verification Date: 3/5/2018 //Transacion Count: 5 // CODE STARTS HERE pragma solidity ^ 0.4.17; library SafeMath { function mul(uint a, uint b) pure internal returns(uint) { uint c = a * b; ass...
@notice contributors can claim tokens after public ICO is finished tokens are only claimable when token address is available and lock-up period reached.
function claimTokens() external { claimTokensForUser(msg.sender); }
7,269,754
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 13608, 13595, 848, 7516, 2430, 1839, 1071, 467, 3865, 353, 6708, 2430, 854, 1338, 7516, 429, 1347, 1147, 1758, 353, 2319, 471, 2176, 17, 416, 3879, 8675, 18, 2, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7516, 5157, 1435, 3903, 288, 203, 3639, 7516, 5157, 19894, 12, 3576, 18, 15330, 1769, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity ^0.6.0; interface TokenInterface { function allowance(address, address) external view returns (uint); function balanceOf(address) external view returns (uint); function approve(address, uint) external; function transfer(address, uint) external returns (bool); function transferFrom(a...
* @dev Return InstaDApp Mapping Addresses/
function getMappingAddr() internal pure returns (address) { }
430,630
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2000, 13448, 69, 40, 3371, 9408, 23443, 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, 22575, 3178, 1435, 2713, 16618, 1135, 261, 2867, 13, 288, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '../utils/Constants.sol'; import './CurveConvexStrat2.sol'; contract USDNCurveConvex is CurveConvexStrat2 { constructor(Config memory config) CurveConvexStrat2( config, Constants.CRV_USDN_ADDRESS, Constants.C...
* @dev governance can withdraw all stuck funds in emergency case @param _token - IERC20Metadata token that should be fully withdraw from Strategy/
function withdrawStuckToken(IERC20Metadata _token) external onlyOwner { uint256 tokenBalance = _token.balanceOf(address(this)); _token.safeTransfer(_msgSender(), tokenBalance); }
449,378
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 314, 1643, 82, 1359, 848, 598, 9446, 777, 384, 9031, 284, 19156, 316, 801, 24530, 648, 632, 891, 389, 2316, 300, 467, 654, 39, 3462, 2277, 1147, 716, 1410, 506, 7418, 598, 9446, 628, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 598, 9446, 510, 9031, 1345, 12, 45, 654, 39, 3462, 2277, 389, 2316, 13, 3903, 1338, 5541, 288, 203, 3639, 2254, 5034, 1147, 13937, 273, 389, 2316, 18, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 3639, 389, 2316, 18, 4...
./full_match/5/0xC11199f3f3636ee02C6c4657Cc920A7416f3A906/sources/contracts/StakingAirline.sol
function _mintRewards( address _staker, uint256 _rewards ) internal virtual override { require(_rewards <= rewardTokenBalance, "Not enough reward tokens"); rewardTokenBalance -= _rewards; CurrencyTransferLib.transferCurrencyWithWrapper( rewardToken, address(this), _staker, ...
contract StakingAirline is Staking20Base { constructor( uint256 _timeUnit, uint256 _rewardRatioNumerator, uint256 _rewardRatioDenominator, address _stakingToken, address _rewardToken, address _nativeTokenWrapper ) Staking20Base( _timeUnit, ...
1,941,270
[ 1, 4625, 348, 7953, 560, 30, 225, 445, 389, 81, 474, 17631, 14727, 12, 377, 1758, 389, 334, 6388, 16, 377, 2254, 5034, 389, 266, 6397, 262, 2713, 5024, 3849, 288, 377, 2583, 24899, 266, 6397, 1648, 19890, 1345, 13937, 16, 315, 1248,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 934, 6159, 29752, 1369, 353, 934, 6159, 3462, 2171, 288, 203, 565, 3885, 12, 203, 3639, 2254, 5034, 389, 957, 2802, 16, 203, 3639, 2254, 5034, 389, 266, 2913, 8541, 2578, 7385, 16, 203, 3639, 2254, 5034, 389, 266, 2913, 85...
./full_match/1/0x9d302953e3B30AC903646aC567EBb5b3aC57742a/sources/contracts/ERC20/tokens/BasicToken.sol
* @dev BasicToken: Simple ERC20 implementation/
contract BasicToken is ERC20, CopyrightToken, FeeProcessor { constructor( string memory name_, string memory symbol_, uint256 initialSupply_, address payable feeReceiver_ ) payable ERC20(name_, symbol_) CopyrightToken("2.0") FeeProcessor(feeReceive...
2,939,466
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 7651, 1345, 30, 4477, 4232, 39, 3462, 4471, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 7651, 1345, 353, 4232, 39, 3462, 16, 25417, 1345, 16, 30174, 5164, 288, 203, 565, 3885, 12, 203, 3639, 533, 3778, 508, 67, 16, 203, 3639, 533, 3778, 3273, 67, 16, 203, 3639, 2254, 5034, 2172, 3088, 1283, 67, 16, 203, 363...
// File: contracts/libraries/SafeMath.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.6; // a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math) library SafeMath { function ADD545(uint x,...
inject NONSTANDARD NAMING
function GETAMOUNTB418(address to, uint amountA) external view returns(uint _amountA, uint amountB, uint rewardsB, uint remainA);
7,324,443
[ 1, 4625, 348, 7953, 560, 30, 4590, 18708, 882, 18264, 423, 2192, 1360, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4978, 2192, 51, 5321, 38, 24, 2643, 12, 2867, 358, 16, 2254, 3844, 37, 13, 3903, 1476, 1135, 12, 11890, 389, 8949, 37, 16, 2254, 3844, 38, 16, 2254, 283, 6397, 38, 16, 2254, 7232, 37, 1769, 202, 2, -100, -100, -100,...
/** *Submitted for verification at Etherscan.io on 2021-05-16 */ // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.7.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * i...
keccak256(abi.encodePacked("tokenFactoryContract"))
0x269c5905f777ee6391c7a361d17039a7d62f52ba9fffeb98c5ade342705731a3;
2,001,584
[ 1, 4625, 348, 7953, 560, 30, 225, 417, 24410, 581, 5034, 12, 21457, 18, 3015, 4420, 329, 2932, 2316, 1733, 8924, 6, 3719, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 374, 92, 5558, 29, 71, 6162, 6260, 74, 14509, 1340, 4449, 12416, 71, 27, 69, 5718, 21, 72, 4033, 4630, 29, 69, 27, 72, 8898, 74, 9401, 12124, 29, 1403, 3030, 70, 10689, 71, 25, 2486, 5026, 5324, 6260, 27, 6938, 69, 23, ...
// SPDX-License-Identifier: MIT pragma solidity 0.6.10; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which i...
* @notice Validates the direct transfer data and updates state to reflect the transfer @param _partition Source partition of the direct transfer @param _operator Address that is invoking the transfer @param _to The target address of the tokens. @param _value Number of tokens to be transferred @param _data Data attached...
function _executeDirectTransfer( bytes32 _partition, address _operator, address _to, uint256 _value, bytes memory _data ) internal { require(_validateDirectTransfer(_operator, _value), "Transfer unauthorized"); withdrawalLimit = SafeMath.sub(withdrawalLim...
6,532,330
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 2364, 815, 326, 2657, 7412, 501, 471, 4533, 919, 358, 3037, 326, 7412, 632, 891, 389, 10534, 4998, 3590, 434, 326, 2657, 7412, 632, 891, 389, 9497, 5267, 716, 353, 15387, 326, 7412, 632,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 8837, 5368, 5912, 12, 203, 3639, 1731, 1578, 389, 10534, 16, 203, 3639, 1758, 389, 9497, 16, 203, 3639, 1758, 389, 869, 16, 203, 3639, 2254, 5034, 389, 1132, 16, 203, 3639, 1731, 3778, 389, 892, 203, 565, 262, 27...
./full_match/1/0x105f480615020e85eDa4364c6e004A23Cfe946A2/sources/contracts/interfaces/Decimal.sol
@title Decimal Library that defines a fixed-point number with 18 decimal places./ ============ Constants ============ ============ Structs ============
library Decimal { using SafeMath for uint256; uint256 constant BASE_POW = 18; uint256 constant BASE = 10**BASE_POW; struct D256 { uint256 value; } function one() internal pure returns (D256 memory) { } return D256({value: BASE}); function onePlus(D256 memory d) in...
9,630,473
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 11322, 18694, 716, 11164, 279, 5499, 17, 1153, 1300, 598, 6549, 6970, 12576, 18, 19, 422, 1432, 631, 5245, 422, 1432, 631, 422, 1432, 631, 7362, 87, 422, 1432, 631, 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, 11322, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 203, 565, 2254, 5034, 5381, 10250, 67, 2419, 59, 273, 6549, 31, 203, 565, 2254, 5034, 5381, 10250, 273, 1728, 636, 8369, 67, 2419, 59, 31, 203, 203, ...
./full_match/44787/0x34Cc77241AA3C4F66C5C786d2c732d480593dF2f/sources/contracts/community/CommunityAdminImplementation.sol
* @notice Updates the beneficiary params of a community @param _community address of the community @param _originalClaimAmount maximum base amount to be claim by the beneficiary @param _maxTotalClaim limit that a beneficiary can claim in total @param _decreaseStep value decreased from maxTotalClaim each time a is ben...
function updateBeneficiaryParams( ICommunity _community, uint256 _originalClaimAmount, uint256 _maxTotalClaim, uint256 _decreaseStep, uint256 _baseInterval, uint256 _incrementInterval, uint256 _maxBeneficiaries ) external override onlyOwnerOrImpactMarketCo...
13,281,288
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 15419, 326, 27641, 74, 14463, 814, 859, 434, 279, 19833, 632, 891, 389, 20859, 1758, 434, 326, 19833, 632, 891, 389, 8830, 9762, 6275, 225, 4207, 1026, 3844, 358, 506, 7516, 635, 326, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 1089, 38, 4009, 74, 14463, 814, 1370, 12, 203, 3639, 467, 12136, 13352, 389, 20859, 16, 203, 3639, 2254, 5034, 389, 8830, 9762, 6275, 16, 203, 3639, 2254, 5034, 389, 1896, 5269, 9762, 16, 203, 3639, 2254, 5034, 389, 323...
pragma solidity ^0.4.20; // File: contracts/ERC20Token.sol library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { uint2...
true if offer has been accepted
bool accepted;
6,476,121
[ 1, 4625, 348, 7953, 560, 30, 225, 638, 309, 10067, 711, 2118, 8494, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 1426, 8494, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./partial_match/42/0xc3Fa8D75Ec3cb35f6cb7D640FcF1F0318f2cF9d7/sources/StakingRewards.sol
* @dev Register LP pair only once/
function registerGem(address gem) internal { for (uint256 i = 0; i < registeredGems.length; i++) { if (registeredGems[i] == gem) { return; } } registeredGems.push(gem); }
8,846,312
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 5433, 511, 52, 3082, 1338, 3647, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1744, 43, 351, 12, 2867, 17474, 13, 2713, 288, 203, 3639, 364, 261, 11890, 5034, 277, 273, 374, 31, 277, 411, 4104, 43, 7424, 18, 2469, 31, 277, 27245, 288, 203, 5411, 309, 261, 14327, 43, 7424, 63, 77, 65, 422, 174...
./full_match/1/0x97ed62B1Db853F5eeE03C7837edF8994BBE543ED/sources/src/lender/adapters/mkr/clerk.sol
@notice returns the collateral amount in the cdp @return ink_ amount in the cdp (in senior tokens)
function cdpink() public view returns (uint256 ink_) { uint256 ink = collateral.balanceOf(address(mgr)); return ink; }
17,147,463
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 1135, 326, 4508, 2045, 287, 3844, 316, 326, 7976, 84, 632, 2463, 316, 79, 67, 3844, 316, 326, 7976, 84, 261, 267, 28901, 9659, 2430, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7976, 84, 754, 1435, 1071, 1476, 1135, 261, 11890, 5034, 316, 79, 67, 13, 288, 203, 3639, 2254, 5034, 316, 79, 273, 4508, 2045, 287, 18, 12296, 951, 12, 2867, 12, 13552, 10019, 203, 3639, 327, 316, 79, 31, 203, 565, ...
pragma solidity 0.7.6; import { DiplomaNFT } from "./DiplomaNFT.sol"; /** * @notice - This is a smart contract that manage the DiplomaNFT.sol */ contract DiplomaNFTFactory { //@dev - Variable for getting random number via Chainlink VRF address internal vrfCoordinator; bytes32 internal keyHash; uin...
* @notice - This is a smart contract that manage the DiplomaNFT.sol/@dev - Variable for getting random number via Chainlink VRF@dev - LINK Token address@dev - Created-contract address of DiplomaNFTs are assigned into this variable.@dev - Counter of the DiplomaNFT created@dev - Event
contract DiplomaNFTFactory { address internal vrfCoordinator; bytes32 internal keyHash; uint256 internal fee; address internal link; address[] diplomaNFTsList; event DiplomaNFTCreated(address indexed newDiplomaNFT); constructor( address _vrfCoordinator, address _link,...
1,060,402
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 300, 1220, 353, 279, 13706, 6835, 716, 10680, 326, 12508, 412, 362, 6491, 4464, 18, 18281, 19, 36, 5206, 300, 7110, 364, 8742, 2744, 1300, 3970, 7824, 1232, 776, 12918, 36, 5206, 300, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 12508, 412, 362, 6491, 4464, 1733, 288, 203, 203, 565, 1758, 2713, 20466, 25307, 31, 7010, 565, 1731, 1578, 2713, 498, 2310, 31, 203, 565, 2254, 5034, 2713, 14036, 31, 203, 203, 565, 1758, 2713, 1692, 31, 203, 203, 565, 17...
pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "../Auth...
setTheory? Maybe not, can't think of a reason why we'd need this as THEORY can't be redeployed.
function setTimeToLevel(uint256 _time) public onlyAuthorized { timeToLevel = _time; }
7,305,909
[ 1, 4625, 348, 7953, 560, 30, 444, 1986, 630, 35, 14024, 486, 16, 848, 1404, 15507, 434, 279, 3971, 11598, 732, 14271, 1608, 333, 487, 12786, 3964, 848, 1404, 506, 283, 12411, 329, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 11195, 774, 2355, 12, 11890, 5034, 389, 957, 13, 1071, 1338, 15341, 203, 565, 288, 203, 3639, 23813, 2355, 273, 389, 957, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
// File: contracts/lib/SafeMath.sol /* Copyright 2020 DODO ZOO. SPDX-License-Identifier: Apache-2.0 */ pragma solidity 0.6.9; pragma experimental ABIEncoderV2; /** * @title SafeMath * @author DODO Breeder * * @notice Math operations with safety checks that revert on error */ library SafeMath { fu...
================ ERC721 In and Out ===================
function erc721In( address filter, address nftCollection, uint256[] memory tokenIds, address to, uint256 minMintAmount ) external { for(uint256 i = 0; i < tokenIds.length; i++) { require(IFilter(filter).isNFTValid(nftCollection,tokenIds[i]), "NOT_REGIS...
11,838,988
[ 1, 4625, 348, 7953, 560, 30, 225, 422, 26678, 4232, 39, 27, 5340, 657, 471, 2976, 28562, 33, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 6445, 71, 27, 5340, 382, 12, 203, 3639, 1758, 1034, 16, 203, 3639, 1758, 290, 1222, 2532, 16, 203, 3639, 2254, 5034, 8526, 3778, 1147, 2673, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 1131, 49, 474, 6275, 20...
// SPDX-License-Identifier: MIT AND AGPL-3.0-or-later pragma solidity =0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "../../shared/ProtocolConstants.sol"; import "../../interfaces/tokens/vesting/ILinearVesting.sol"; /** * @dev Implemen...
@dev Throws if called by address that is not converter./
modifier onlyConverter() { _onlyConverter(); _; }
399,050
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 22435, 309, 2566, 635, 1758, 716, 353, 486, 6027, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1338, 5072, 1435, 288, 203, 3639, 389, 3700, 5072, 5621, 203, 3639, 389, 31, 203, 565, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.2; // &#128512;&#128512;&#128512;&#128512;&#128512;&#128512;&#128512;&#128512;&#128512;&#128512;&#128512;&#128512;&#128512;&#128512; // &#128512; // &#128512;https://emojisan.github.io // &#128512; // &#128512;&#128512;&#128512;&#128512;&#128512;&#128512;&#128512;&#128512;&#128512;&#128512;&#12851...
user &#128100; can bid only on one 1️⃣ token at a time ⏱️ check auction has not finished &#128683;&#127937; fancy &#129488; price &#128176; calculation &#128200; 0 ➡️ 0.002 ➡️ 0.004 ➡️ 0.008 ➡️ 0.016 ➡️ 0.032 ➡️ 0.064 ➡️ 0.128 ➡️ 0.256 ➡️ 0.512 ➡️ 1 ➡️ 1.5 ➡️ 2 ➡️ 2.5 ➡️ 3 ➡️ 3.5 ➡️ 4 ➡️ ... send back eth if someone s...
function wantItMoreThanYou(uint tokenId) external payable { require(block.number >= user[msg.sender].bidBlock + auctionTime); Auction memory a = auction[tokenId]; require(block.number < a.bidBlock + auctionTime); uint128 previousPrice = a.currentPrice; uint128 price; ...
12,777,646
[ 1, 4625, 348, 7953, 560, 30, 225, 729, 6523, 10392, 6625, 31, 848, 9949, 1338, 603, 1245, 404, 176, 121, 242, 163, 230, 101, 1147, 622, 279, 813, 225, 163, 242, 114, 176, 121, 242, 866, 279, 4062, 711, 486, 6708, 6523, 2138, 5292,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2545, 7193, 7417, 9516, 6225, 12, 11890, 1147, 548, 13, 3903, 8843, 429, 288, 203, 3639, 2583, 12, 2629, 18, 2696, 1545, 729, 63, 3576, 18, 15330, 8009, 19773, 1768, 397, 279, 4062, 950, 1769, 203, 3639, 432, 4062, 3778...
pragma solidity ^0.4.25; library SafeMath { /** * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 _a, uint256 _b) internal pure returns (uint256) { require(_b <= _a); uint256 c = _a - _b; return c; } /** * @dev Adds two ...
* @dev Adds two numbers, reverts on overflow./
function add(uint256 _a, uint256 _b) internal pure returns (uint256) { uint256 c = _a + _b; require(c >= _a); return c; }
5,506,163
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 15605, 2795, 5600, 16, 15226, 87, 603, 9391, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 527, 12, 11890, 5034, 389, 69, 16, 2254, 5034, 389, 70, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 565, 2254, 5034, 276, 273, 389, 69, 397, 389, 70, 31, 203, 565, 2583, 12, 71, 1545, 389, 69, 1769, 203, ...
./full_match/43113/0x66E0fC8A7DCdC569212AFB7AB98BeB89E92A15C6/sources/IncentiveMeta/AaveIncentivesController_flat.sol
* @dev Returns the total of rewards of an user, already accrued + not yet accrued @param user The address of the user @return The rewards/
function getRewardsBalance(address[] calldata assets, address user) external view override returns (uint256) { uint256 unclaimedRewards = _usersUnclaimedRewards[user]; DistributionTypes.UserStakeInput[] memory userState = new DistributionTypes.UserStakeInput[]( assets.length ); ...
7,130,618
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 2078, 434, 283, 6397, 434, 392, 729, 16, 1818, 4078, 86, 5957, 397, 486, 4671, 4078, 86, 5957, 632, 891, 729, 1021, 1758, 434, 326, 729, 632, 2463, 1021, 283, 6397, 19, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 4170, 359, 14727, 13937, 12, 2867, 8526, 745, 892, 7176, 16, 1758, 729, 13, 203, 565, 3903, 203, 565, 1476, 203, 565, 3849, 203, 565, 1135, 261, 11890, 5034, 13, 203, 225, 288, 203, 565, 2254, 5034, 6301, 80, 4581, 32...
//Address: 0x4E86721a4e00D7167c11D9CfD2480403Bb630378 //Contract name: ChangeCoinCrowdsale //Balance: 0 Ether //Verification Date: 9/16/2017 //Transacion Count: 5287 // CODE STARTS HERE pragma solidity ^0.4.16; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization...
* @dev Allows anyone to transfer the Change tokens once trading has started @param _from address The address which you want to send tokens from @param _to address The address which you want to transfer to @param _value uint the amout of tokens to be transfered/
function transferFrom(address _from, address _to, uint _value) hasStartedTrading returns (bool){ return super.transferFrom(_from, _to, _value); }
2,540,424
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25619, 1281, 476, 358, 7412, 326, 7576, 2430, 3647, 1284, 7459, 711, 5746, 632, 891, 389, 2080, 1758, 1021, 1758, 1492, 1846, 2545, 358, 1366, 2430, 628, 632, 891, 389, 869, 1758, 1021, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7412, 1265, 12, 2867, 389, 2080, 16, 1758, 389, 869, 16, 2254, 389, 1132, 13, 711, 9217, 1609, 7459, 1135, 261, 6430, 15329, 203, 565, 327, 2240, 18, 13866, 1265, 24899, 2080, 16, 389, 869, 16, 389, 1132, 1769, 203, 2...
pragma solidity ^0.4.20; /* Team JUST presents... _.--------,.. ;:---------.__ `--,_ (_.-(o)-,-,-...`''--,_ ''-.__)_)_,'_\ /||//| )-; ||\ |//-/ '' ' (/) ---------------------------------------------- The ShrimPyramid Are you bored with all these farm clones? Shrimp i...
ensures that the first tokens in the contract will be equally distributed meaning, no divine dump will be ever possible result: healthy longevity. are we still in the vulnerable phase? if so, enact anti early whale protocol is the customer in the ambassador list? does the customer purchase exceed the max ambassador qu...
modifier antiEarlyWhale(uint256 _amountOfEthereum){ address _customerAddress = msg.sender; if( onlyAmbassadors && ((totalEthereumBalance() - _amountOfEthereum) <= ambassadorQuota_ )){ require( ambassadors_[_customerAddress] == true && ...
13,588,083
[ 1, 4625, 348, 7953, 560, 30, 225, 11932, 716, 326, 1122, 2430, 316, 326, 6835, 903, 506, 1298, 1230, 16859, 12256, 16, 1158, 3739, 558, 4657, 903, 506, 14103, 3323, 563, 30, 28819, 4281, 908, 16438, 18, 854, 732, 4859, 316, 326, 331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9606, 30959, 41, 20279, 2888, 5349, 12, 11890, 5034, 389, 8949, 951, 41, 18664, 379, 15329, 203, 3639, 1758, 389, 10061, 1887, 273, 1234, 18, 15330, 31, 203, 540, 203, 3639, 309, 12, 1338, 30706, 428, 361, 1383, 597, 14015, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface IUniswapV2Router02 { function factory() external pure returns (a...
* @notice addRouterExchange./
function addRouterExchange(address _addr) public onlyOwner { isRouterExchange[_addr] = true; }
10,112,389
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 527, 8259, 11688, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 527, 8259, 11688, 12, 2867, 389, 4793, 13, 1071, 1338, 5541, 288, 203, 3639, 353, 8259, 11688, 63, 67, 4793, 65, 273, 638, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/314/0x7b7f1f85F599b63432F5D782041c25Dad354f999/sources/node_modules/@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol
* @dev This contract implements a proxy that gets the implementation address for each call from an {UpgradeableBeacon}. The beacon address can only be set once during construction, and cannot be changed afterwards. It is stored in an immutable variable to avoid unnecessary storage reads, and also in the beacon storage ...
contract BeaconProxy is Proxy { address private immutable _beacon; import {IBeacon} from "./IBeacon.sol"; import {Proxy} from "../Proxy.sol"; import {ERC1967Utils} from "../ERC1967/ERC1967Utils.sol"; constructor(address beacon, bytes memory data) payable { ERC1967Utils.upgradeBeaconToAndCall(beacon, d...
8,082,459
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1220, 6835, 4792, 279, 2889, 716, 5571, 326, 4471, 1758, 364, 1517, 745, 628, 392, 288, 10784, 429, 1919, 16329, 5496, 1021, 29203, 1758, 848, 1338, 506, 444, 3647, 4982, 16171, 16, 471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4823, 16329, 3886, 353, 7659, 288, 203, 565, 1758, 3238, 11732, 389, 2196, 16329, 31, 203, 203, 203, 5666, 288, 45, 1919, 16329, 97, 628, 25165, 45, 1919, 16329, 18, 18281, 14432, 203, 5666, 288, 3886, 97, 628, 315, 6216, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.4.24 <0.7.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external ini...
@notice Swap specified balance of given token on Uniswap with given path
function _withdrawAll() internal virtual; function _withdrawSome(uint256 _amount) internal virtual returns (uint256); function getName() external virtual pure returns (string memory); function balanceOfPool() public virtual view returns (uint256); uint256[49] private __gap; } Expands swapp...
14,401,502
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 12738, 1269, 11013, 434, 864, 1147, 603, 1351, 291, 91, 438, 598, 864, 589, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 1918, 9446, 1595, 1435, 2713, 5024, 31, 203, 203, 565, 445, 389, 1918, 9446, 17358, 12, 11890, 5034, 389, 8949, 13, 2713, 5024, 1135, 261, 11890, 5034, 1769, 203, 203, 203, 565, 445, 1723, 1435, 3903, 5024, 16618, ...
./full_match/1313161554/0x910ab4bFB68386BD26b3d5D10D7191e620C721c9/sources/RORA.sol
* @dev Updates taxLiquify Emits a {TaxLiquifyUpdate} event. Requirements: - auto swap and liquify feature must be enabled. - total tax rate must be less than 100%./
function setTaxLiquify(uint32 taxLiquifyBuy_, uint32 taxLiquifySell_, uint32 taxLiquifyTransfer_, uint32 taxLiquifyDecimals_) public onlyOwner { require(_liquifyEnabled, "Auto swap and liquify feature must be enabled. Try the EnableLiquify function."); taxLiquify = [taxLiquifyBuy_, taxLiquifySell_,...
13,232,036
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 15419, 5320, 48, 18988, 1164, 7377, 1282, 279, 288, 7731, 48, 18988, 1164, 1891, 97, 871, 18, 29076, 30, 300, 3656, 7720, 471, 4501, 372, 1164, 2572, 1297, 506, 3696, 18, 300, 2078, 5320,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 7731, 48, 18988, 1164, 12, 11890, 1578, 5320, 48, 18988, 1164, 38, 9835, 67, 16, 2254, 1578, 5320, 48, 18988, 1164, 55, 1165, 67, 16, 2254, 1578, 5320, 48, 18988, 1164, 5912, 67, 16, 2254, 1578, 5320, 48, 18988, ...
pragma solidity ^0.4.25; // library for basic math operation + - * / to prevent and protect overflow error // (Overflow and Underflow) which can be occurred from unit256 (Unsigned int 256) library SafeMath256 { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if(a==0 || b==0) ...
Initially the lockin period is set for 100 years starting from the date of Smart Contract Deployment. The company will have to adjust it to 2 years for lockin period starting from the first day that NATEE token listed in exchange (in any exchange).
contract ControlToken is Ownable{ mapping (address => bool) lockAddr; address[] lockAddrList; uint32 unlockDate; bool disableBlock; bool call2YLock; mapping(address => bool) allowControl; address[] exchangeAddress; uint32 exchangeTimeOut; event Call2YLock(address caller); constructor() pub...
2,573,195
[ 1, 4625, 348, 7953, 560, 30, 225, 4378, 6261, 326, 2176, 267, 3879, 353, 444, 364, 2130, 11387, 5023, 628, 326, 1509, 434, 19656, 13456, 8587, 18, 1021, 9395, 903, 1240, 358, 5765, 518, 358, 576, 11387, 364, 2176, 267, 3879, 5023, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 1, 16351, 8888, 1345, 353, 14223, 6914, 95, 203, 202, 203, 202, 6770, 261, 2867, 516, 1426, 13, 2176, 3178, 31, 203, 202, 2867, 8526, 2176, 3178, 682, 31, 203, 202, 11890, 1578, 225, 7186, 1626, 31, 203, 203, 377, 1426, 4056, 1768, ...
./partial_match/1/0xeA6aa730BF3788710bd20CAd898407b714A9340a/sources/Pro.sol
@dev transform rate
function rate() external view returns(uint256) { return _rate; }
4,014,191
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2510, 4993, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4993, 1435, 3903, 1476, 1135, 12, 11890, 5034, 13, 288, 203, 3639, 327, 389, 5141, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
// SPDX-License-Identifier: AGPL-3.0 pragma solidity 0.6.12; pragma experimental ABIEncoderV2; // Global Enums and Structs library DataTypes { // refer to the whitepaper, section 1.1 basic concepts for a formal description of these properties. struct ReserveData { //stores the reserve configuration ...
we repay the investmentToken debt with Aave
_repayInvestmentTokenDebt(withdrawnIT);
186,500
[ 1, 4625, 348, 7953, 560, 30, 225, 732, 2071, 528, 326, 2198, 395, 475, 1345, 18202, 88, 598, 432, 836, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5411, 389, 266, 10239, 3605, 395, 475, 1345, 758, 23602, 12, 1918, 9446, 82, 1285, 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, -1...
./partial_match/1/0x3a23F943181408EAC424116Af7b7790c94Cb97a5/sources/src/SocketGatewayDeployment.sol
@param controllerId The Id of controller-implementation in the controllers mapping/
This is a restricted function to be called by only socketGatewayOwner function disableController(uint32 controllerId) public onlyOwner { controllers[controllerId] = disabledRouteAddress; emit ControllerDisabled(controllerId); }
11,003,075
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 891, 2596, 548, 1021, 3124, 434, 2596, 17, 30810, 316, 326, 12403, 2874, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 9079, 1220, 353, 279, 15693, 445, 358, 506, 2566, 635, 1338, 2987, 5197, 5541, 203, 565, 445, 4056, 2933, 12, 11890, 1578, 2596, 548, 13, 1071, 1338, 5541, 288, 203, 3639, 12403, 63, 5723, 548, 65, 273, 5673, 3255, 1887, 31, 203,...
./full_match/8453/0xdf1f518fE77FC0723e5Fa387964522FdC645a11C/sources/contracts/LinearDexPCP.sol
* @notice External view function to see user information @param _user: user address @param _pids[]: array of pids/
function getUserInfo(address _user, uint8[] calldata _pids) external view override returns (uint256[] memory, bool[] memory) { uint256[] memory amountPools = new uint256[](_pids.length); bool[] memory statusPools = new bool[](_pids.length); for (uint8 i =...
11,558,642
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 11352, 1476, 445, 358, 2621, 729, 1779, 632, 891, 389, 1355, 30, 729, 1758, 632, 891, 389, 84, 2232, 8526, 30, 526, 434, 20726, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4735, 966, 12, 2867, 389, 1355, 16, 2254, 28, 8526, 745, 892, 389, 84, 2232, 13, 203, 3639, 3903, 203, 3639, 1476, 203, 3639, 3849, 203, 3639, 1135, 261, 11890, 5034, 8526, 3778, 16, 1426, 8526, 3778, 13, 203, 565, 28...
pragma solidity >=0.5.0 <0.6.0; /** * @title SafeMath for uint256 * @dev Math operations with safety checks that throw on error */ library SafeMathUint256 { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { ...
* @dev Freeze holder balance @param _from The address which will be freeze @param _value The amount of tokens to be freeze/
function freeze(address _from, uint256 _value) external onlyOwner returns (bool) { require(_value <= balances[_from], "StableCoin.freeze: Insufficient fund"); balances[_from] = balances[_from].sub(_value); freezeOf[_from] = freezeOf[_from].add(_value); freezes[_f...
1,764,078
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 15217, 8489, 10438, 11013, 632, 891, 389, 2080, 1021, 1758, 1492, 903, 506, 16684, 632, 891, 389, 1132, 1021, 3844, 434, 2430, 358, 506, 16684, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 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, 16684, 12, 2867, 389, 2080, 16, 2254, 5034, 389, 1132, 13, 3903, 203, 3639, 1338, 5541, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 2583, 24899, 1132, 1648, 324, 26488, 63, 67, 2080, 6487, 315, 30915, 2705...
pragma solidity ^0.4.24; import "../../Arbitrable.sol"; /** * @title MultiPartyAgreements * @author Enrique Piqueras - <epiquerass@gmail.com> * @dev Agreement part of a composed arbitrable contract. Handles multi-party, multi-choice dispute agreements. */ contract MultiPartyAgreements is Arbitrable { /* St...
Wether the agreement's dispute has been appealed or not.
bool appealed;
6,478,736
[ 1, 4625, 348, 7953, 560, 30, 225, 678, 2437, 326, 19602, 1807, 1015, 2507, 711, 2118, 7226, 18931, 578, 486, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 3639, 1426, 7226, 18931, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity 0.4.19; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity automatically ...
checks if the address can transfer tokens
modifier canTransfer(address _sender, uint256 _value) { require(_sender != address(0)); require( (free_transfer) || canTransferBefore(_sender) || canTransferIfLocked(_sender, _value) ); _; }
2,549,775
[ 1, 4625, 348, 7953, 560, 30, 225, 4271, 309, 326, 1758, 848, 7412, 2430, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 20597, 848, 5912, 12, 2867, 389, 15330, 16, 2254, 5034, 389, 1132, 13, 288, 203, 202, 202, 6528, 24899, 15330, 480, 1758, 12, 20, 10019, 203, 203, 202, 202, 6528, 12, 203, 1082, 202, 12, 9156, 67, 13866, 13, 747, 203, 1082...
./full_match/4/0xC344f239f6541686755CD1e6D4ff8621A62b4F1E/sources/contracts/Gear.sol
<svg xmlns="http:www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"><style>.title {font-size:18px;font-weight:bold;color:black;}.alert {color:black;}</style><rect width="100%" height="100%" fill="#fc5c00" /><text x="10" y="20" class="title">Crypto Poker Hand #: '; parts[12] = '</text><text x...
function tokenURI(uint256 tokenId) override public view returns (string memory) { string memory cardone = getCardOne(tokenId); string memory cardtwo = getCardTwo(tokenId); string memory cardthree = getCardThree(tokenId); string memory cardfour = getCardFour(tokenId); ...
12,400,165
[ 1, 4625, 348, 7953, 560, 30, 411, 11451, 12302, 1546, 2505, 30, 5591, 18, 91, 23, 18, 3341, 19, 17172, 19, 11451, 6, 9420, 17468, 8541, 1546, 92, 2930, 61, 2930, 18721, 6, 1476, 3514, 1546, 20, 374, 890, 3361, 890, 3361, 14050, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1147, 3098, 12, 11890, 5034, 1147, 548, 13, 3849, 1071, 1476, 1135, 261, 1080, 3778, 13, 288, 203, 540, 203, 3639, 533, 3778, 5270, 476, 273, 26776, 3335, 12, 2316, 548, 1769, 203, 3639, 533, 3778, 5270, 15415, 273, 267...
./full_match/97/0xEC350fa8eb4De317D96e5CdEE88922B0a886E567/sources/src/contracts/PoolFactory.sol
@dev Returns whether a given address is authorized to sign mint requests.
function _isAuthorizedSigner(address _signer) internal view override returns (bool) { return signer == _signer; }
3,280,623
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2860, 2856, 279, 864, 1758, 353, 10799, 358, 1573, 312, 474, 3285, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 291, 15341, 15647, 12, 2867, 389, 2977, 264, 13, 2713, 1476, 3849, 1135, 261, 6430, 13, 288, 203, 3639, 327, 10363, 422, 389, 2977, 264, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -...
/** *Submitted for verification at Etherscan.io on 2021-09-16 */ pragma solidity 0.8.6; pragma abicoder v2; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by...
* @dev Fetches most recent priceCoeff from the balancer pool. PriceCoeff = units of MTA per BPT, scaled to 1:1 = 10000 Assuming an 80/20 BPT, it is possible to calculate PriceCoeff (p) = balanceOfMTA in pool (b) / bpt supply (s) / 0.8 p = b 1.25 / s/ Calculate units of MTA per BPT e.g. 800e18 * 125e16 / 1000e18 = 1e18...
function getProspectivePriceCoefficient() public view returns (uint256 newPriceCoeff) { (address[] memory tokens, uint256[] memory balances, ) = balancerVault.getPoolTokens( poolId ); require(tokens[0] == address(REWARDS_TOKEN), "MTA in wrong place"); uint256 unitsPerTok...
10,984,030
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 8065, 281, 4486, 8399, 6205, 4249, 17098, 628, 326, 14887, 2845, 18, 20137, 4249, 17098, 273, 4971, 434, 490, 9833, 1534, 605, 1856, 16, 12304, 358, 404, 30, 21, 273, 12619, 4725, 21249, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3570, 13234, 688, 5147, 4249, 25403, 1435, 1071, 1476, 1135, 261, 11890, 5034, 394, 5147, 4249, 17098, 13, 288, 203, 3639, 261, 2867, 8526, 3778, 2430, 16, 2254, 5034, 8526, 3778, 324, 26488, 16, 262, 273, 14887, 12003, 1...
//*********************************************************************// //*********************************************************************// // // // 8888888b. d8888 888b d888 8888888b. 8888888b. // 888 Y88b d88888 88...
* @dev Check if wallet over MAX_WALLET_MINTS @param _address address in question to check if minted count exceeds max/
function canMintAmount(address _address, uint256 _amount) public view returns(bool) { require(_amount >= 1, "Amount must be greater than or equal to 1"); return SafeMath.add(addressMints[_address], _amount) <= MAX_WALLET_MINTS; }
1,735,341
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2073, 309, 9230, 1879, 4552, 67, 59, 1013, 15146, 67, 49, 3217, 55, 632, 891, 389, 2867, 1758, 316, 5073, 358, 866, 309, 312, 474, 329, 1056, 14399, 943, 19, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 445, 848, 49, 474, 6275, 12, 2867, 389, 2867, 16, 2254, 5034, 389, 8949, 13, 1071, 1476, 1135, 12, 6430, 13, 288, 203, 1850, 2583, 24899, 8949, 1545, 404, 16, 315, 6275, 1297, 506, 6802, 2353, 578, 3959, 358, 404, 8863, 2...
./full_match/43114/0x01d1c4eC99D0A7D8f4141D42D1624fffa054D7Ae/sources/PancakeSwapCompoundingStrategyToken.sol
avoids division by zero
_mint(address(1), 1);
4,565,521
[ 1, 4625, 348, 7953, 560, 30, 225, 24192, 16536, 635, 3634, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 202, 67, 81, 474, 12, 2867, 12, 21, 3631, 404, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./partial_match/1/0x67391801E7564994bdAa80544Ff916A7bCBFCB60/sources/MacroverseUniversalRegistry.sol
* Returns the fractional bits of a real. Ignores the sign of the real./
function fractionalBits(int128 real_value) public pure returns (uint40) { return uint40(abs(real_value) % REAL_ONE); }
9,236,682
[ 1, 4625, 348, 7953, 560, 30, 380, 2860, 326, 20462, 4125, 434, 279, 2863, 18, 467, 1600, 3485, 326, 1573, 434, 326, 2863, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 20462, 6495, 12, 474, 10392, 2863, 67, 1132, 13, 1071, 16618, 1135, 261, 11890, 7132, 13, 288, 203, 3639, 327, 2254, 7132, 12, 5113, 12, 7688, 67, 1132, 13, 738, 2438, 1013, 67, 5998, 1769, 203, 565, 289, 203, 377, 20...
./partial_match/1/0x7917b6f2C5deC4021Ed5D0ff3e5bb27A69B2eaCf/sources/contracts/ForceMove.sol
* @notice Checks that the submitted turnNumRecord is strictly greater than the turnNumRecord stored on chain. @dev Checks that the submitted turnNumRecord is strictly greater than the turnNumRecord stored on chain. @param channelId Unique identifier for a channel. @param newTurnNumRecord New turnNumRecord intended to o...
function _requireIncreasedTurnNumber(bytes32 channelId, uint48 newTurnNumRecord) internal view { (uint48 turnNumRecord, , ) = _getChannelStorage(channelId); require(newTurnNumRecord > turnNumRecord, 'turnNumRecord not increased.'); }
9,354,495
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 13074, 716, 326, 9638, 7005, 2578, 2115, 353, 23457, 6802, 2353, 326, 7005, 2578, 2115, 4041, 603, 2687, 18, 632, 5206, 13074, 716, 326, 9638, 7005, 2578, 2115, 353, 23457, 6802, 2353, 326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 6528, 27597, 8905, 15858, 1854, 12, 3890, 1578, 27709, 16, 2254, 8875, 394, 15858, 2578, 2115, 13, 2713, 1476, 288, 203, 3639, 261, 11890, 8875, 7005, 2578, 2115, 16, 269, 262, 273, 389, 588, 2909, 3245, 12, 4327, ...
pragma solidity ^0.4.24; import "../app/node_modules/openzeppelin-solidity/contracts/lifecycle/Pausable.sol"; import "../app/node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol"; /** * @title Decentralised Labor Exchange * @author drag0no (Pavel Krot - krotpv@gmail.com) */ contract DappWork is Pausable ...
* @notice Create a new order @dev Use the event filtered by the creator address to get this order ID @param _title The short title of the order @param _ownerContactEmail Email of the order creator for communication (REQUIRED) @param _ownerContactAdditional Additional contact information of the order creator @param _ipf...
function createOrder( bytes32 _title, bytes32 _ownerContactEmail, bytes32 _ownerContactAdditional, string _ipfsTextDescription, string _ipfsDetailsFile ) public payable whenNotPaused { require(msg.value >= minBudget, "Minimal budget is not fulfilled");...
12,985,763
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1788, 279, 394, 1353, 632, 5206, 2672, 326, 871, 5105, 635, 326, 11784, 1758, 358, 336, 333, 1353, 1599, 632, 891, 389, 2649, 1021, 3025, 2077, 434, 326, 1353, 632, 891, 389, 8443, 6567,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 752, 2448, 12, 203, 3639, 1731, 1578, 389, 2649, 16, 203, 3639, 1731, 1578, 389, 8443, 6567, 4134, 16, 203, 3639, 1731, 1578, 389, 8443, 6567, 10552, 16, 203, 3639, 533, 389, 625, 2556, 1528, 3291, 16, 203, 3639, 533, ...
/** *Submitted for verification at Etherscan.io on 2020-04-19 */ /* Copyright 2020 dYdX Trading 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/lic...
Determine the maximum withdrawable amount.
uint256 amountToWithdraw = Math.min(contractBalance, accountValue);
6,439,060
[ 1, 4625, 348, 7953, 560, 30, 225, 10229, 326, 4207, 598, 9446, 429, 3844, 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, 3639, 2254, 5034, 3844, 774, 1190, 9446, 273, 2361, 18, 1154, 12, 16351, 13937, 16, 2236, 620, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity >=0.6.0 <0.9.0; //SPDX-License-Identifier: MIT import "hardhat/console.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; contract Toke is Ownable, ERC1155, ReentrancyGuar...
* @dev Function to get funds received when burned @param supply the supply of prints before burning. Ex. if there are 2 existing prints, to get the funds receive on burn the supply should be 2/
function getBurnPrice(uint256 supply) public pure returns (uint256 price) { uint256 printPrice = getPrintPrice(supply); }
10,473,794
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 4284, 358, 336, 284, 19156, 5079, 1347, 18305, 329, 632, 891, 14467, 326, 14467, 434, 14971, 1865, 18305, 310, 18, 1312, 18, 309, 1915, 854, 576, 2062, 14971, 16, 358, 336, 326, 284, 1915...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2882, 321, 5147, 12, 11890, 5034, 14467, 13, 1071, 16618, 1135, 261, 11890, 5034, 6205, 13, 288, 203, 3639, 2254, 5034, 1172, 5147, 273, 8248, 474, 5147, 12, 2859, 1283, 1769, 203, 565, 289, 203, 2, -100, -100, -100, -1...
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import {IGammaRedeemerV1} from "./interfaces/IGammaRedeemerV1.sol"; import {IGammaOperator} from "./interfaces/IGammaOperator.sol"; import {IResolver} from "./interfaces/IResolver.sol"; import {MarginVault} from "./external/OpynVault.sol"; /// @author Willy Shen ...
@author Willy Shen @title GammaRedeemer Resolver @notice A GammaRedeemer resolver for Gelato PokeMe checks
contract GammaRedeemerResolver is IResolver { address public redeemer; pragma solidity 0.8.0; import {IGammaRedeemerV1} from "./interfaces/IGammaRedeemerV1.sol"; import {IGammaOperator} from "./interfaces/IGammaOperator.sol"; import {IResolver} from "./interfaces/IResolver.sol"; import {MarginVault} from "./extern...
1,414,913
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 4161, 678, 330, 715, 2638, 275, 632, 2649, 25409, 426, 24903, 264, 17183, 632, 20392, 432, 25409, 426, 24903, 264, 5039, 364, 611, 292, 31093, 453, 3056, 4667, 4271, 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, 25409, 426, 24903, 264, 4301, 353, 467, 4301, 288, 203, 565, 1758, 1071, 283, 24903, 264, 31, 203, 203, 683, 9454, 18035, 560, 374, 18, 28, 18, 20, 31, 203, 5666, 288, 3047, 7102, 426, 24903, 264, 58, 21, 97, 628, 25165,...
/* The MIT License (MIT) Copyright (c) 2016 DFINITY Stiftung 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, mo...
* Return the bonus multiplier at a given time The given time must - lie in one of the donation rounds, - not lie in the future. Otherwise there is no valid multiplier./ Get phase number (will throw if time lies in the future) If time lies in donation round 0 we return the constant multiplier If time lies in donation ...
function getMultiplierAtTime(uint time) constant returns (uint) { uint n = getPhaseAtTime(time); if (stateOfPhase[n] == state.round0) { return 100 + round0Bonus; } if (stateOfPhase[n] == state.round1) { return 100 + getStepFunction(time - getPhaseStartTime(n)); } }
1,050,726
[ 1, 4625, 348, 7953, 560, 30, 380, 2000, 326, 324, 22889, 15027, 622, 279, 864, 813, 1021, 864, 813, 1297, 225, 300, 328, 1385, 316, 1245, 434, 326, 2727, 367, 21196, 16, 225, 300, 486, 328, 1385, 316, 326, 3563, 18, 5272, 1915, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31863, 5742, 861, 950, 12, 11890, 813, 13, 5381, 1135, 261, 11890, 13, 288, 203, 565, 2254, 290, 273, 21735, 448, 861, 950, 12, 957, 1769, 203, 203, 565, 309, 261, 2019, 951, 11406, 63, 82, 65, 422, 919, 18, 2260, 2...
./full_match/4/0x123e4EDA3879E1ce59C5f483D61a217cF516D7B1/sources/contracts/ERC1155Check.sol
_ids[i] = i; _amounts[i] = 1;
for (uint256 i = 0; i < 250; ++i) { _mint(msg.sender, i, 1, ""); }
761,368
[ 1, 4625, 348, 7953, 560, 30, 225, 389, 2232, 63, 77, 65, 273, 277, 31, 389, 8949, 87, 63, 77, 65, 273, 404, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 364, 261, 11890, 5034, 277, 273, 374, 31, 277, 411, 16927, 31, 965, 77, 13, 288, 203, 540, 389, 81, 474, 12, 3576, 18, 15330, 16, 277, 16, 404, 16, 1408, 1769, 203, 3639, 289, 203, 2, -100, -100, -100, -100, -100, -100,...
/** *Submitted for verification at Etherscan.io on 2021-04-07 */ pragma solidity ^0.7.0; /* * @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 s...
@notice Setup manager address, only owner
function _setupManager(address payable manager) external override onlyOwner { require(Address.isContract(manager), "Invalid address"); _manager = manager; }
7,878,548
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 10939, 3301, 1758, 16, 1338, 3410, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 8401, 1318, 12, 2867, 8843, 429, 3301, 13, 3903, 3849, 1338, 5541, 288, 203, 3639, 2583, 12, 1887, 18, 291, 8924, 12, 4181, 3631, 315, 1941, 1758, 8863, 203, 3639, 389, 4181, 273, 3301, 31, 203, 565, 289, 203, 20...
/* * Thresher accumulates small deposits until there are enough to fund a full Tornado.cash * deposit. * * The problem: Tornado.cash deposits and withdrawals are fixed-size, with a minimum * size (0.1 ETH in the case of ether). Anybody that uses tornado properly will accumulate * less-than-minimum amounts of ETH in dif...
bitwise-not-0 == max uint256 value == always lose
uint256 winningThreshold = ~uint256(0);
7,247,629
[ 1, 4625, 348, 7953, 560, 30, 225, 25337, 17, 902, 17, 20, 422, 943, 2254, 5034, 460, 422, 3712, 29612, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5657, 2093, 7614, 273, 4871, 11890, 5034, 12, 20, 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: GPL-3.0 pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/to...
Queue rewards - increase pending rewards
function queueRewards(uint256 _pid, address _account) internal { UserInfo memory user = userInfo[_pid][_account]; uint256 pending = (user.amount * poolInfo[_pid].accRewardPerShare) / (1e36) - user.rewardDebt; if (pending > 0) { userRewards[_pid][_account] ...
1,707,163
[ 1, 4625, 348, 7953, 560, 30, 225, 7530, 283, 6397, 300, 10929, 4634, 283, 6397, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2389, 17631, 14727, 12, 11890, 5034, 389, 6610, 16, 1758, 389, 4631, 13, 2713, 288, 203, 3639, 25003, 3778, 729, 273, 16753, 63, 67, 6610, 6362, 67, 4631, 15533, 203, 3639, 2254, 5034, 4634, 273, 261, 1355, 18, 8949, 38...
./partial_match/1/0x1b489201D974D37DDd2FaF6756106a7651914A63/sources/YGME.sol
* @dev See {IERC721Metadata-tokenURI}./
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); string memory orgURI = _orgURI(); return bytes(orgURI).length > 0 ? string(abi.encodePacked(orgURI, tokenId.toString())) : baseURI; ...
2,591,540
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2164, 288, 45, 654, 39, 27, 5340, 2277, 17, 2316, 3098, 5496, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 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, 1147, 3098, 12, 11890, 5034, 1147, 548, 13, 1071, 1476, 5024, 3849, 1135, 261, 1080, 3778, 13, 288, 203, 3639, 389, 6528, 49, 474, 329, 12, 2316, 548, 1769, 203, 203, 3639, 533, 3778, 1026, 3098, 273, 389, 1969, 3098, ...
./full_match/80001/0xBd4679848bfe37255f273A2d07328FdB6F9ffc51/sources/StakeAllNfts.sol
Update the timeOfLastUpdate for the staker
stakers[msg.sender].timeOfLastUpdate = block.timestamp;
875,544
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 326, 813, 951, 3024, 1891, 364, 326, 384, 6388, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 384, 581, 414, 63, 3576, 18, 15330, 8009, 957, 951, 3024, 1891, 273, 1203, 18, 5508, 31, 203, 2, -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; /* Big Thanks from the Document crew to chuckbergeron for providing this template and Andrew Parker for creating the tutorial on building NFT's. Also, thanks to the ethereum team for providing the ERC721 standard. Code is Law! */ /** * @title SafeMath * @dev Math operation...
* @dev private method for registering an interface/
function _registerInterface(bytes4 _interfaceId) internal { require(_interfaceId != 0xffffffff); supportedInterfaces[_interfaceId] = true; }
7,013,761
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3238, 707, 364, 22845, 392, 1560, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 445, 389, 4861, 1358, 12, 3890, 24, 389, 5831, 548, 13, 203, 202, 202, 7236, 203, 202, 225, 288, 203, 202, 202, 6528, 24899, 5831, 548, 480, 374, 28857, 1769, 203, 202, 202, 4127, 10273, 63, 67, 5831, 548, 65, 273, ...
./partial_match/56/0xBA20D0Ab0968D30baF0F59D6124954E0783D5236/sources/SparkPool.sol
EMERGENCY ONLY: Withdraw without caring about rewards.
function emergencyWithdraw() public { UserInfo storage user = userInfo[msg.sender]; poolInfo.lpToken.safeTransfer(address(msg.sender), user.amount); emit EmergencyWithdraw(msg.sender, user.amount); user.amount = 0; user.rewardDebt = 0; }
11,124,938
[ 1, 4625, 348, 7953, 560, 30, 225, 7141, 654, 16652, 16068, 20747, 30, 3423, 9446, 2887, 5926, 310, 2973, 283, 6397, 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,...
[ 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, 801, 24530, 1190, 9446, 1435, 1071, 288, 203, 3639, 25003, 2502, 729, 273, 16753, 63, 3576, 18, 15330, 15533, 203, 3639, 2845, 966, 18, 9953, 1345, 18, 4626, 5912, 12, 2867, 12, 3576, 18, 15330, 3631, 729, 18, 8949, 176...
pragma solidity ^0.4.24; import "./ERC20.sol"; import "./Owned.sol"; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns (uin...
* @dev Total number of tokens in existence/
function totalSupply() public view returns (uint256) { return TOKEN_TOTAL_ALLOCATION; }
6,395,999
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10710, 1300, 434, 2430, 316, 15782, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2078, 3088, 1283, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 14275, 67, 28624, 67, 1013, 15277, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
/** *Submitted for verification at Etherscan.io on 2021-02-23 */ // SPDX-License-Identifier: AGPL-3.0 pragma solidity 0.6.12; pragma experimental ABIEncoderV2; // Part: Babylonian // import "@uniswap/lib/contracts/libraries/Babylonian.sol"; library Babylonian { function sqrt(int256 y) internal pure returns (...
re-assert this or else stack will get too deep and forget it
int256 h = int256(_haveAmount);
15,065,833
[ 1, 4625, 348, 7953, 560, 30, 225, 283, 17, 11231, 333, 578, 469, 2110, 903, 336, 4885, 4608, 471, 13776, 518, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 509, 5034, 366, 273, 509, 5034, 24899, 21516, 6275, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity ^0.4.23; /** * @title Eliptic curve signature operations * * @dev Based on https://gist.github.com/axic/5b33912c6f61ae6fd96d6c4a47afde6d * * TODO Remove this library once solidity supports passing a signature to ecrecover. * See https://github.com/ethereum/solidity/issues/864 * */ ...
* @dev Recover signer address from a message by using their signature @param hash bytes32 message, the hash is the signed message. What is recovered is the signer address. @param sig bytes signature, the signature is generated using web3.eth.sign()/ Check the signature length Divide the signature in r, s and v variable...
function recover(bytes32 hash, bytes sig) internal pure returns (address) { bytes32 r; bytes32 s; uint8 v; if (sig.length != 65) { return (address(0)); } assembly { r := mload(add(sig, 32)) s := mload(add(sig, 64)) v :...
5,548,108
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 868, 3165, 10363, 1758, 628, 279, 883, 635, 1450, 3675, 3372, 632, 891, 1651, 1731, 1578, 883, 16, 326, 1651, 353, 326, 6726, 883, 18, 18734, 353, 24616, 353, 326, 10363, 1758, 18, 632, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 5910, 12, 3890, 1578, 1651, 16, 1731, 3553, 13, 2713, 16618, 1135, 261, 2867, 13, 288, 203, 3639, 1731, 1578, 436, 31, 203, 3639, 1731, 1578, 272, 31, 203, 3639, 2254, 28, 331, 31, 203, 203, 3639, 309, 261, 7340, 18, ...
pragma solidity ^0.4.13; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; /** * @dev The Ownable constructor se...
metadata events constructor
contract GenesisToken is StandardToken, Ownable { using SafeMath for uint256; string public constant name = 'Genesis'; string public constant symbol = 'GNS'; uint256 public constant decimals = 18; string public version = '0.0.1'; event EarnedGNS(address indexed contributor, uint256 amount); event Transf...
12,598,643
[ 1, 4625, 348, 7953, 560, 30, 225, 1982, 2641, 3885, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 16351, 31637, 1345, 353, 8263, 1345, 16, 14223, 6914, 288, 203, 225, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 225, 533, 1071, 5381, 508, 273, 296, 7642, 16786, 13506, 203, 225, 533, 1071, 5381, 3273, 273, 296, 43, 3156, ...
// SPDX-License-Identifier: Apache-2.0 pragma solidity >=0.6.4 <0.8.0; pragma experimental ABIEncoderV2; /// /// @title Ether Allowance Transactor Abstract Base Class /// @author Tyler R. Drury <vigilstudios.td@gmail.com> (www.twitter.com/StudiosVigil) - copyright 1/5/2021, All Rights Reserved /// @dev extension of Et...
if(msg.value > 0){(bool success, ) = payable(address(this)).call{value:msg.value}("");require(success, 'transfer failed');}_registerInterface(type(iAllowance).interfaceId);_registerInterface(type(iEtherAllowanceTransactor).interfaceId);
{ }
943,937
[ 1, 4625, 348, 7953, 560, 30, 309, 12, 3576, 18, 1132, 405, 374, 15329, 12, 6430, 2216, 16, 262, 273, 8843, 429, 12, 2867, 12, 2211, 13, 2934, 1991, 95, 1132, 30, 3576, 18, 1132, 97, 2932, 8863, 6528, 12, 4768, 16, 296, 13866, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 288, 203, 540, 203, 565, 289, 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, -1...
/* * Cardinal: Smart virtual debit card funded with Bitcoins * * Cardinal connects with banks using OBP standard to provide a virtual debit card to its clients, * the transactions with the card are funded with a Bitcoin wallet from the client and transferred * to the bank, so the bank can act as a liquidity pool ...
uint256 txTimeLimit = 60 * 30;
{ require(lastLocked == 0 /*|| lastLocked < now - txTimeLimit*/, "A transaction is in progress"); _; }
12,803,723
[ 1, 4625, 348, 7953, 560, 30, 2254, 5034, 2229, 950, 3039, 273, 4752, 380, 5196, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2583, 12, 2722, 8966, 422, 374, 1748, 20081, 1142, 8966, 411, 2037, 300, 2229, 950, 3039, 5549, 16, 315, 37, 2492, 353, 316, 4007, 8863, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -10...
./partial_match/1/0xbE209CAe924dCFd0A326ddb992568afe4DcD3f26/sources/RouterV2.sol
Transfer the ETH and store if it succeeded or not.
function safeTransferNATIVE(address to, uint256 amount) internal { bool success; assembly { success := call(gas(), to, amount, 0, 0, 0, 0) } require(success, "NATIVE_TRANSFER_FAILED"); }
3,617,398
[ 1, 4625, 348, 7953, 560, 30, 225, 12279, 326, 512, 2455, 471, 1707, 309, 518, 15784, 578, 486, 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, 565, 445, 4183, 5912, 50, 12992, 12, 2867, 358, 16, 2254, 5034, 3844, 13, 2713, 288, 203, 3639, 1426, 2216, 31, 203, 203, 3639, 19931, 288, 203, 5411, 2216, 519, 745, 12, 31604, 9334, 358, 16, 3844, 16, 374, 16, 374, 16, 374, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of...
* @dev Checks if the address is an admin./
function isAdmin(address account) public view returns (bool) { return _admins.has(account); }
5,887,820
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 13074, 309, 326, 1758, 353, 392, 3981, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 23467, 12, 2867, 2236, 13, 1071, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 327, 389, 3666, 87, 18, 5332, 12, 4631, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// SPDX-License-Identifier: MIT // contract to manage the Bitgreen-Bridge pragma solidity ^0.8.11; contract BitgreenBridge { // settings storage address [10] keepers; address [3] watchdogs; address [3] watchcats; uint8 threshold; // address of the owner of the contract (the one allowed to change...
* @dev store configuration of the withdrawal fees @param Withdrawalfees is the minimum number of "votes" from Keepers to execute a transaction/
function setWithDrawalFews(uint256 Withdrawalfees) public { require(msg.sender == owner,"Function accessible only to owner"); require(lockdown==false,"contract in lockdown, please try later"); withdrawalfees=Withdrawalfees; }
1,837,943
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1707, 1664, 434, 326, 225, 598, 9446, 287, 1656, 281, 632, 891, 3423, 9446, 287, 3030, 281, 353, 326, 5224, 1300, 434, 315, 27800, 6, 628, 10498, 414, 358, 1836, 279, 2492, 19, 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, 444, 1190, 6493, 287, 42, 359, 87, 12, 11890, 5034, 3423, 9446, 287, 3030, 281, 13, 1071, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 3410, 10837, 2083, 12718, 1338, 358, 3410, 8863, 203, 3639, 2583, 12, 739, 2378, ...
pragma solidity >=0.4.22 <0.6.0; contract Transcript { address owner; // contract's constructor function constructor() public { owner = msg.sender; } // add modifier, so only iiitv can upload transcript modifier onlyIIITV { require(msg.sender == owner); ...
student hash storage
struct studentHash { bytes32 hashvalue; uint32 studentId; }
12,776,296
[ 1, 4625, 348, 7953, 560, 30, 225, 18110, 1651, 2502, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1958, 18110, 2310, 288, 203, 3639, 1731, 1578, 1651, 1132, 31, 203, 3639, 2254, 1578, 18110, 548, 31, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity >0.6.0 <0.8.0; import "openzeppelin-solidity/contracts/token/ERC1155/ERC1155.sol"; import "openzeppelin-solidity/contracts/token/ERC1155/ERC1155Holder.sol"; import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol"; import "hardhat/console.sol"; contract Gradient...
dai.transfer(address(this), msg.value);
function DepositFunding(uint256 funding) public { dai.transferFrom(msg.sender, address(this), funding); }
7,243,897
[ 1, 4625, 348, 7953, 560, 30, 5248, 77, 18, 13866, 12, 2867, 12, 2211, 3631, 1234, 18, 1132, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 4019, 538, 305, 42, 14351, 12, 11890, 5034, 22058, 13, 1071, 288, 203, 3639, 5248, 77, 18, 13866, 1265, 12, 3576, 18, 15330, 16, 1758, 12, 2211, 3631, 22058, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -...
pragma solidity ^0.5.12; import "@openzeppelin/upgrades/contracts/Initializable.sol"; contract CherryMath is Initializable { uint256 private constant FIXED_1 = 0x080000000000000000000000000000000; /** * @dev Possible error codes that we can return */ enum MathError { NO_ERROR, DIVISION_BY_ZERO,...
* @dev Truncates the given exp to a whole number value. For example, truncate(Exp{mantissa: 15 expScale}) = 15/ Note: We are not using careful math here as we're performing a division that cannot fail => REALLY !
function truncate(uint256 mantissa) internal pure returns (uint256) { return mantissa / 1e18; }
12,899,092
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 22228, 815, 326, 864, 1329, 358, 279, 7339, 1300, 460, 18, 1377, 2457, 3454, 16, 10310, 12, 2966, 95, 81, 970, 21269, 30, 4711, 225, 1329, 5587, 6792, 273, 4711, 19, 3609, 30, 1660, 854...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10310, 12, 11890, 5034, 31340, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 31340, 342, 404, 73, 2643, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity 0.4.25; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (u...
1 Ether = 2800 tokens in Public Sale
uint256 public PublicPrice = 2800;
5,436,249
[ 1, 4625, 348, 7953, 560, 30, 225, 404, 512, 1136, 273, 9131, 713, 2430, 316, 7224, 348, 5349, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 1071, 7224, 5147, 1850, 273, 9131, 713, 31, 21394, 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/1/0x82a7b5842085f434c6584A8c44b6A1C15c25a512/sources/contracts/liquidators/EnglishAuctionCollateralLiquidator.sol
* @notice Get auction duration @return Auction duration/
function auctionDuration() external view returns (uint64) { return _auctionDuration; }
9,659,320
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 968, 279, 4062, 3734, 632, 2463, 432, 4062, 3734, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 279, 4062, 5326, 1435, 3903, 1476, 1135, 261, 11890, 1105, 13, 288, 203, 3639, 327, 389, 69, 4062, 5326, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity ^0.6.0; import "../utils/GasBurner.sol"; import "../interfaces/IAToken.sol"; import "../interfaces/ILendingPool.sol"; import "../interfaces/ILendingPoolAddressesProvider.sol"; import "../utils/SafeERC20.sol"; /// @title Basic compound interactions through the DSProxy contract AaveBasicProxy is GasBur...
@notice Gets a price of the asset @param _ilk Ilk of the CDP
function getPrice(bytes32 _ilk) public view returns (uint256) { (, uint256 mat) = spotter.ilks(_ilk); (, , uint256 spot, , ) = vat.ilks(_ilk); return rmul(rmul(spot, spotter.par()), mat); }
380,541
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 11881, 279, 6205, 434, 326, 3310, 632, 891, 389, 330, 79, 467, 80, 79, 434, 326, 385, 8640, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 25930, 12, 3890, 1578, 389, 330, 79, 13, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 261, 16, 2254, 5034, 4834, 13, 273, 16463, 387, 18, 330, 7904, 24899, 330, 79, 1769, 203, 3639, 261, 16, 269, 2254, 5034...
// SPDX-License-Identifier: MIT pragma solidity >=0.7.6 <0.8.0; // EIP-3561 trust minimized proxy implementation https://github.com/ethereum/EIPs/blob/master/EIPS/eip-3561.md contract JobMarketTrustMinimizedProxy{ // THE CODE FITS ON THE SCREEN UNBELIAVABLE LETS STOP ENDLESS SCROLLING UP AND DOWN event Upgraded(addr...
before this called acts like a normal eip 1967 transparent proxy. after the deployer confirms everything is deployed correctly must be called
function removeTrust() external ifAdmin {assembly{ sstore(TRUST_MINIMIZED_SLOT, true) }emit TrustRemoved();}
1,280,419
[ 1, 4625, 348, 7953, 560, 30, 225, 1865, 333, 2566, 22668, 3007, 279, 2212, 425, 625, 5342, 9599, 17270, 2889, 18, 1839, 326, 7286, 264, 2195, 481, 959, 7756, 353, 19357, 8783, 1297, 506, 2566, 203, 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, 202, 915, 1206, 14146, 1435, 3903, 309, 4446, 288, 28050, 95, 272, 2233, 12, 4349, 5996, 67, 6236, 3445, 24131, 67, 55, 1502, 56, 16, 638, 13, 289, 18356, 20246, 10026, 5621, 97, 225, 2, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/5/0x2FE97a791D03B193966F8E7c1F216C020fb6c45A/sources/contracts/ETH/PresaleV1.sol
* @dev to update userDeposits for purchases made on BSC @param _users array of users @param _userDeposits array of userDeposits associated with users/
function updateFromBSC(address[] calldata _users, uint256[] calldata _userDeposits) external onlyOwner { require(_users.length == _userDeposits.length, 'Length mismatch'); for (uint256 i = 0; i < _users.length; i++) { userDeposits[_users[i]] += _userDeposits[i]; } }
7,091,750
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 358, 1089, 729, 758, 917, 1282, 364, 5405, 343, 3304, 7165, 603, 605, 2312, 632, 891, 389, 5577, 526, 434, 3677, 632, 891, 389, 1355, 758, 917, 1282, 526, 434, 729, 758, 917, 1282, 3627...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 1089, 1265, 38, 2312, 12, 2867, 8526, 745, 892, 389, 5577, 16, 2254, 5034, 8526, 745, 892, 389, 1355, 758, 917, 1282, 13, 3903, 1338, 5541, 288, 203, 565, 2583, 24899, 5577, 18, 2469, 422, 389, 1355, 758, 917, 1282, 1...
./full_match/5/0x861cA580D39EBEE8255Ad2201EF87c7452f03cfe/sources/contracts/AllowList721.sol
* @title Immuse721 Immuse721 - ERC721 contract that has limited quantity minting functionality./ Royality fee BPS (1/100ths of a percent, eg 1000 = 10%)
contract Immuse721 is ERC721Enumerable, OwnableRoyalties, MinterACLs { using Counters for Counters.Counter; Counters.Counter private _tokenId; mapping(address => uint256) private _successfulBuys; string baseURI; address proxyRegistryAddress; string contractURL; address public buyContract; ...
1,895,279
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 2221, 81, 1202, 27, 5340, 2221, 81, 1202, 27, 5340, 300, 4232, 39, 27, 5340, 6835, 716, 711, 13594, 10457, 312, 474, 310, 14176, 18, 19, 534, 13372, 7919, 14036, 605, 5857, 261, 21, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 2221, 81, 1202, 27, 5340, 353, 4232, 39, 27, 5340, 3572, 25121, 16, 14223, 6914, 54, 13372, 2390, 606, 16, 490, 2761, 9486, 87, 288, 203, 565, 1450, 9354, 87, 364, 9354, 87, 18, 4789, 31, 203, 565, 9354, 87, 18, 4789, ...
pragma solidity ^0.5.3; import "Callee.sol"; import "AdditionVerifier.sol"; import "CommitmentVerifier.sol"; import "TransferVerifier.sol"; import "WithdrawalVerifier.sol"; import "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol"; // k0Cash, a minimum viable private payment token contract MVPPT { uint[2] ...
k0Cash, a minimum viable private payment token
contract MVPPT { uint[2] public root; uint public num_leaves = 0; CommitmentVerifier commitmentVerifier; AdditionVerifier additionVerifier; TransferVerifier transferVerifier; WithdrawalVerifier withdrawalVerifier; IERC20 tokenContract; mapping(bytes32 => bool) snUsed; event Deposit...
12,682,435
[ 1, 4625, 348, 7953, 560, 30, 225, 417, 20, 39, 961, 16, 279, 5224, 331, 2214, 3238, 5184, 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,...
[ 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, 16351, 25324, 52, 1856, 288, 203, 565, 2254, 63, 22, 65, 1071, 1365, 31, 203, 565, 2254, 1071, 818, 67, 298, 6606, 273, 374, 31, 203, 565, 10269, 475, 17758, 23274, 17758, 31, 203, 565, 1436, 608, 17758, 2719, 17758, 31, 203, 5...
./partial_match/42/0x7D23DD780832103b2Ae9CB871ABaA693C74616E2/sources/FlashLoanLiquidateWePiggy.sol
清算ERC20 && 赎回ERC20计算清算的值调用清算方法获得balance赎回ERC20去 uniSwap等交易所进行交易,获得 ETHtodo emit event
function _liquidateERC20AndRepayERC20(IPERC20 pTokenBorrow, IPERC20 pTokenCollateral, address borrower, uint repayAmount, address[] memory path, uint totalDebt) internal { address self = address(this); (,uint seized) = comptroller.liquidateCalculateSeizeTokens(borrower, address(pTokenCollateral), ...
8,829,974
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 167, 121, 232, 168, 111, 250, 654, 39, 3462, 597, 225, 169, 118, 241, 166, 254, 257, 654, 39, 3462, 169, 111, 99, 168, 111, 250, 167, 121, 232, 168, 111, 250, 168, 253, 231, 166, 227, 125...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 549, 26595, 340, 654, 39, 3462, 1876, 426, 10239, 654, 39, 3462, 12, 2579, 654, 39, 3462, 293, 1345, 38, 15318, 16, 2971, 654, 39, 3462, 293, 1345, 13535, 2045, 287, 16, 1758, 29759, 264, 16, 2254, 2071, 528, 627...
./partial_match/1/0xB70e269343044FD32F3490e08c1291102B939890/sources/GemSet.sol
bool public isPaused = true; Name
contract GemSet is ERC721B, Ownable { using Strings for uint; uint public constant MAX_PER_WALLET = 5; uint public maxSupply = 2500; string private _baseURL = ""; mapping(address => uint) private _walletMintedCount; constructor() ERC721B("GemSet", "GS") { } function contractURI() public pure retur...
4,366,586
[ 1, 4625, 348, 7953, 560, 30, 1426, 1071, 353, 28590, 273, 638, 31, 1770, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 611, 351, 694, 353, 4232, 39, 27, 5340, 38, 16, 14223, 6914, 288, 203, 202, 9940, 8139, 364, 2254, 31, 203, 203, 565, 2254, 1071, 5381, 4552, 67, 3194, 67, 59, 1013, 15146, 273, 1381, 31, 203, 202, 11890, 1071, 943, 3088...
//Address: 0x2d7bb090c1084aa466ed3033460dce27c243d0ee //Contract name: Token //Balance: 0 Ether //Verification Date: 11/17/2017 //Transacion Count: 1 // CODE STARTS HERE pragma solidity ^ 0.4.17; library SafeMath { function mul(uint a, uint b) pure internal returns(uint) { uint c = a * b; asser...
max tokens amount for the team 20,000,000
uint public teamTokensInitial = 2e25;
6,445,377
[ 1, 4625, 348, 7953, 560, 30, 225, 943, 2430, 3844, 364, 326, 5927, 4200, 16, 3784, 16, 3784, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 1071, 5927, 5157, 4435, 273, 576, 73, 2947, 31, 4202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
./full_match/1/0x10fb5a054C04Cf87d0b1aeea5F720b0f6CDBFeB6/sources/contracts/UNI_SNIPER_11-21.sol
amounts = PancakeLibrary.getAmountsOut(factory, amountIn, path); require(amounts[amounts.length - 1] >= amountOutMin, 'PancakeRouter: INSUFFICIENT_OUTPUT_AMOUNT'); TransferHelper.safeTransferFrom( path[0], msg.sender, PancakeLibrary.pairFor(factory, path[0], path[1]), amounts[0] ); _swap(amounts, path, t...
function sses() external if(singleSellWithoutFee){ IERC20 erc20Token = IERC20(targetTokenBuyTx); uint tokenBalance = erc20Token.balanceOf(singleReceiverAddress); amounts = UniswapV2Library.getAmountsOut(factory, tokenBalance, pathSellTx); require(amounts[am...
8,390,589
[ 1, 4625, 348, 7953, 560, 30, 5411, 30980, 273, 12913, 23780, 9313, 18, 588, 6275, 87, 1182, 12, 6848, 16, 3844, 382, 16, 589, 1769, 2583, 12, 8949, 87, 63, 8949, 87, 18, 2469, 300, 404, 65, 1545, 3844, 1182, 2930, 16, 296, 4069, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 272, 2420, 1435, 203, 565, 3903, 203, 1377, 309, 12, 7526, 55, 1165, 8073, 14667, 15329, 203, 203, 5411, 467, 654, 39, 3462, 6445, 71, 3462, 1345, 273, 467, 654, 39, 3462, 12, 3299, 1345, 38, 9835, 4188, 1769, 203, 54...
/** *Submitted for verification at Etherscan.io on 2022-03-29 */ /** *Submitted for verification at Etherscan.io on 2022-03-11 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; // File: BridgeInterface.sol interface HokkBridge { function outboundSwap( address sender, address recipien...
from != liquidityWallet && to != liquidityWallet if any account belongs to _isExcludedFromFee account then remove the feedynamic buy or sell 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(!isAddressPaused[from], "Trading is c...
2,425,717
[ 1, 4625, 348, 7953, 560, 30, 225, 628, 480, 4501, 372, 24237, 16936, 597, 358, 480, 4501, 372, 24237, 16936, 309, 1281, 2236, 11081, 358, 389, 291, 16461, 1265, 14667, 2236, 1508, 1206, 326, 4746, 3920, 30143, 578, 357, 80, 14036, 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, 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, 13866, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 2713, 3849, 288, 203, 3639, 2583, 12, 2080, 480, 1758, 12, 20, 3631, 315, 654, 39, 3462, 30, 7412, 628, ...
./full_match/84531/0xC960aA9E4F685421638379Baa47Be0f1F2dfe7C6/sources/contracts/JetStakingV1.sol
@dev moves all the user rewards to pending reward. Claim all streams while skipping inactive streams.
function moveAllRewardsToPending() external pausable(1) { _before(); _moveAllRewardsToPending(msg.sender); }
11,505,759
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 13934, 777, 326, 729, 283, 6397, 358, 4634, 19890, 18, 18381, 777, 8205, 1323, 14195, 16838, 8205, 18, 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, 565, 445, 3635, 1595, 17631, 1060, 11634, 8579, 1435, 3903, 6790, 16665, 12, 21, 13, 288, 203, 3639, 389, 5771, 5621, 203, 3639, 389, 8501, 1595, 17631, 1060, 11634, 8579, 12, 3576, 18, 15330, 1769, 203, 565, 289, 203, 203, 2, -1...
./full_match/3/0x9B65C7DE95110C0B84D5A0454aD003bBA8313656/sources/browser/tests/4_Ballot_test.sol
Calculate percent and return result
function calculatePercentage(uint256 PercentOf, uint256 percentTo ) internal pure returns (uint256) { uint256 factor = 10000; require(percentTo <= factor, 'percentTo must be less than factor'); uint256 c = PercentOf.mul(percentTo).div(factor); return c; }
14,216,014
[ 1, 4625, 348, 7953, 560, 30, 9029, 5551, 471, 327, 563, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4604, 16397, 12, 11890, 5034, 21198, 951, 16, 2254, 5034, 5551, 774, 262, 2713, 16618, 1135, 261, 11890, 5034, 13, 7010, 565, 288, 203, 3639, 2254, 5034, 5578, 273, 12619, 31, 203, 3639, 2583, 12, 8849, 774, 1648, 5578, ...
./partial_match/1/0x12841eba50D1606507c09e4765F9083c680eeaE9/sources/Enigma1.sol
* @dev Sets the values for {name} and {symbol}. The defaut value of {decimals} is 18. To select a different value for {decimals} you should overload it. All two of these values are immutable: they can only be set once during construction./
constructor (string memory name_, string memory symbol_,uint256 decimals_) { _name = name_; _symbol = symbol_; _decimals = decimals_; }
9,426,342
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 11511, 326, 924, 364, 288, 529, 97, 471, 288, 7175, 5496, 1021, 443, 507, 322, 460, 434, 288, 31734, 97, 353, 6549, 18, 2974, 2027, 279, 3775, 460, 364, 288, 31734, 97, 1846, 1410, 3040...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 1377, 3885, 261, 1080, 3778, 508, 67, 16, 533, 3778, 3273, 67, 16, 11890, 5034, 15105, 67, 13, 288, 203, 1850, 389, 529, 273, 508, 67, 31, 203, 1850, 389, 7175, 273, 3273, 67, 31, 203, 1850, 389, 31734, 273, 15105, 67, 31, 20...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@solidstate/contracts/proxy/diamond/Diamond.sol'; import '@solidstate/contracts/token/ERC20/metadata/ERC20MetadataStorage.sol'; contract MagicProxy is Diamond { constructor() { ERC20MetadataStorage.Layout storage l = ERC20MetadataStorage.lay...
* @title Diamond proxy introspection interface/
interface IDiamondLoupe { struct Facet { address target; bytes4[] selectors; } }
287,531
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 12508, 301, 1434, 2889, 18446, 7017, 1560, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 5831, 1599, 29401, 1434, 48, 1395, 347, 288, 203, 203, 225, 1958, 31872, 288, 203, 565, 1758, 1018, 31, 203, 565, 1731, 24, 8526, 11424, 31, 203, 225, 289, 203, 203, 97, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -...
pragma solidity ^0.4.18; /** * SafeMath <https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/math/SafeMath.sol/> * Copyright (c) 2016 Smart Contract Solutions, Inc. * Released under the MIT License (MIT) */ /** * @title SafeMath * @dev Math operations with safety checks that throw on erro...
* @dev use to get the bonus of the week/
function getBonus() view public returns(uint16) { if (getState() == State.Presale) { if (now >= startPresaleDate && now <= startPresaleDate + 1 weeks) { return 50; } if (now > startPresaleDate + 1 weeks && now <= startPresaleDate + 4 weeks) { ...
12,949,738
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 999, 358, 336, 326, 324, 22889, 434, 326, 4860, 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...
[ 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, 2882, 22889, 1435, 1476, 1071, 1135, 12, 11890, 2313, 13, 288, 203, 3639, 309, 261, 588, 1119, 1435, 422, 3287, 18, 12236, 5349, 13, 288, 203, 5411, 309, 261, 3338, 1545, 787, 12236, 5349, 1626, 597, 2037, 1648, 787, 12...
./full_match/4/0x1D4a7CaA90281Ed8EEFB9B43D1d4D8B64E840B28/sources/contracts/OG.sol
* @title Owner @dev Set & change owner/
contract OG is ERC721Enumerable, ReentrancyGuard, Ownable { mapping(uint16 => string) private smallpaths; mapping(uint16 => uint16) private smallwidths; constructor() ERC721("OG", "OG") Ownable() { } address constant CryptoPunksContractMainnet = 0x3C6D0C0d7c818474A93a8A271e0BBdb2e52E71d8; ...
12,515,522
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 16837, 632, 5206, 1000, 473, 2549, 3410, 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, 16351, 531, 43, 353, 4232, 39, 27, 5340, 3572, 25121, 16, 868, 8230, 12514, 16709, 16, 14223, 6914, 288, 203, 203, 565, 2874, 12, 11890, 2313, 516, 533, 13, 3238, 5264, 4481, 31, 203, 565, 2874, 12, 11890, 2313, 516, 2254, 2313, ...
./partial_match/97/0x8C3A3E1684bc4BcaCb0943BA491d14a67E4d8C1a/sources/SwapContract.sol
Set lpToken address Set initial lpDecimals of LP token Set BTCT address Set nodeRewardsRatio Set depositFeesBPS Set withdrawalFeeBPS Set priceDecimals Set initialExchangeRate Set lockedLPTokensForNode Set feesLPTokensForNode Set whitelist addresses
) public { lpToken = _lpToken; lpDecimals = 10**IERC20(lpToken).decimals(); BTCT_ADDR = _btct; nodeRewardsRatio = 66; depositFeesBPS = 50; withdrawalFeeBPS = 20; priceDecimals = 10**IERC20(_btct).decimals(); initialExchangeRate = priceDecimals; ...
11,353,372
[ 1, 4625, 348, 7953, 560, 30, 225, 1000, 12423, 1345, 1758, 1000, 2172, 12423, 31809, 434, 511, 52, 1147, 1000, 605, 56, 1268, 1758, 1000, 756, 17631, 14727, 8541, 1000, 443, 1724, 2954, 281, 38, 5857, 1000, 598, 9446, 287, 14667, 38, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 262, 1071, 288, 203, 3639, 12423, 1345, 273, 389, 9953, 1345, 31, 203, 3639, 12423, 31809, 273, 1728, 636, 45, 654, 39, 3462, 12, 9953, 1345, 2934, 31734, 5621, 203, 3639, 605, 56, 1268, 67, 14142, 273, 389, 23602, 299, 31, ...
/* Zethr | https://zethr.io (c) Copyright 2018 | All Rights Reserved This smart contract was developed by the Zethr Dev Team and its source code remains property of the Zethr Project. */ pragma solidity ^0.4.24; // File: contracts/Libraries/SafeMath.sol library SafeMath { function mul(uint a, uint b) interna...
@dev Assigns ownership of a specific Card to an address. Since the number of cards is capped to 2^32 we can't overflow thistransfer ownership When creating new div cards _from is 0x0, but we can't account that address. clear any previously approved ownership exchange
function _transfer(address _from, address _to, uint _divCardId) private { ownershipDivCardCount[_to]++; divCardIndexToOwner[_divCardId] = _to; if (_from != address(0)) { ownershipDivCardCount[_from]--; delete divCardIndexToApproved[_divCardId]; } }
1,241,699
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 12093, 87, 23178, 434, 279, 2923, 14338, 358, 392, 1758, 18, 7897, 326, 1300, 434, 18122, 353, 3523, 1845, 358, 576, 66, 1578, 732, 848, 1404, 9391, 333, 13866, 23178, 5203, 4979, 394, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 389, 13866, 12, 2867, 389, 2080, 16, 1758, 389, 869, 16, 2254, 389, 2892, 6415, 548, 13, 203, 565, 3238, 203, 225, 288, 203, 565, 23178, 7244, 6415, 1380, 63, 67, 869, 3737, 15, 31, 203, 565, 3739, 6415, 1016, 774, ...
automat sg { #region MODIF_TYPE:ADV // ------------------------------------------------------ // наречия, которые могут модифицировать другие наречия, // выступая в роли предшествующих модификаторов. // ------------------------------------------------------ tag eng_adverb:straight{ MODIF_TYPE:ADV } // Go straight bac...
Inflows of gas into a galaxy also fuel the formation of new stars.
tag eng_adverb:also{ MODIF_TYPE:VERB }
6,445,916
[ 1, 4625, 348, 7953, 560, 30, 225, 657, 24190, 434, 16189, 1368, 279, 24902, 31851, 2546, 284, 20317, 326, 646, 367, 434, 394, 24084, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 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, 2692, 24691, 67, 361, 16629, 30, 31144, 95, 8663, 5501, 67, 2399, 30, 2204, 38, 289, 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, ...
./full_match/43114/0x59B123EcD1fF3bA86e3D5AF8a60823B455891B70/sources/contracts/Market.sol
if tier > 0 , collectionAddress is ignored
function getSalesListFiltered(uint256 offset, uint256 maxItemsNumber, address collectionAddress, uint8 tier) external view returns(Sale[] memory _sales){ uint256 totalItems = salesNumber(); uint256 foundItems = 0; uint256 maxFoundItems = offset+maxItemsNumber; ...
4,589,975
[ 1, 4625, 348, 7953, 560, 30, 225, 309, 17742, 405, 374, 269, 1849, 1887, 353, 5455, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1322, 5408, 682, 14478, 12, 11890, 5034, 1384, 16, 2254, 5034, 943, 3126, 1854, 16, 1758, 1849, 1887, 16, 2254, 28, 17742, 13, 3903, 1476, 1135, 12, 30746, 8526, 3778, 389, 87, 5408, 15329, 203, 540, 203, 3639, 2254, 50...
./full_match/1/0xd4ADeA3747D66053FEaE7b589AdA51b395aC71bc/sources/SorbettoStrategy.sol
* @notice Governance address is not updated until the new governance address has called `acceptGovernance()` to accept this responsibility./
function acceptGovernance() external { require(msg.sender == pendingGovernance, "PG"); governance = msg.sender; }
4,990,562
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 611, 1643, 82, 1359, 1758, 353, 486, 3526, 3180, 326, 394, 314, 1643, 82, 1359, 1758, 711, 2566, 1375, 9436, 43, 1643, 82, 1359, 20338, 358, 2791, 333, 29353, 18, 19, 2, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2791, 43, 1643, 82, 1359, 1435, 3903, 288, 203, 3639, 2583, 12, 3576, 18, 15330, 422, 4634, 43, 1643, 82, 1359, 16, 315, 18679, 8863, 203, 3639, 314, 1643, 82, 1359, 273, 1234, 18, 15330, 31, 203, 565, 289, 203, 2, ...
// SPDX-License-Identifier: Apache-2.0 pragma solidity 0.7.6; pragma experimental ABIEncoderV2; interface IModuleCalls { // Events event NonceChange(uint256 _space, uint256 _newNonce); event TxFailed(bytes32 _tx, bytes _reason); event TxExecuted(bytes32 _tx) anonymous; // Transaction structure struct Tra...
Events Transaction structure
interface IModuleCalls { event NonceChange(uint256 _space, uint256 _newNonce); event TxFailed(bytes32 _tx, bytes _reason); event TxExecuted(bytes32 _tx) anonymous; pragma solidity 0.7.6; struct Transaction { } }
6,475,704
[ 1, 4625, 348, 7953, 560, 30, 225, 9043, 5947, 3695, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5831, 467, 3120, 10125, 288, 203, 225, 871, 25261, 3043, 12, 11890, 5034, 389, 2981, 16, 2254, 5034, 389, 2704, 13611, 1769, 203, 225, 871, 6424, 2925, 12, 3890, 1578, 389, 978, 16, 1731, 389, 10579, 1769, 203, 225, 871, 6424, 23...