file_name
stringlengths
71
779k
comments
stringlengths
20
182k
code_string
stringlengths
20
36.9M
__index_level_0__
int64
0
17.2M
input_ids
list
attention_mask
list
labels
list
./partial_match/42/0x4B6F0A6f4EF25C465449B9A35B587b994EceDC04/sources/Depot.sol
And the Synths to the recipient. Note: Fees are calculated by the Synth contract, so when we request a specific transfer here, the fee is automatically deducted and sent to the fee pool.
synthsUSD().transfer(msg.sender, remainingToFulfill);
3,462,245
[ 1, 4625, 348, 7953, 560, 30, 225, 7835, 326, 16091, 451, 87, 358, 326, 8027, 18, 3609, 30, 5782, 281, 854, 8894, 635, 326, 16091, 451, 6835, 16, 1427, 1347, 4202, 732, 590, 279, 2923, 7412, 2674, 16, 326, 14036, 353, 4202, 6635, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 10792, 6194, 451, 87, 3378, 40, 7675, 13866, 12, 3576, 18, 15330, 16, 4463, 774, 23747, 5935, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity ^0.4.16; /** * @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 owners; mapping(address => bool) bOwner; ...
assert(balances[_to] >= _value); no need to check, since mint has limited hardcap
function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); require(!frozenAccount[_from]); require(!frozenAccount[_to]); bala...
1,532,662
[ 1, 4625, 348, 7953, 560, 30, 1815, 12, 70, 26488, 63, 67, 869, 65, 1545, 389, 1132, 1769, 1158, 1608, 358, 866, 16, 3241, 312, 474, 711, 13594, 7877, 5909, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 7412, 1265, 12, 2867, 389, 2080, 16, 1758, 389, 869, 16, 2254, 5034, 389, 1132, 13, 1071, 225, 1135, 261, 6430, 13, 288, 203, 3639, 2583, 24899, 869, 480, 1758, 12, 20, 10019, 203, 3639, 2583, 24899, 1132, 1648, 324, ...
./partial_match/1/0x85cdDcE5C1889D84e10d97074b7Af007f2CaDCC5/sources/BankrollNetworkStackPlus.sol
@dev Subtracts two numbers, else returns zero */
function safeSub(uint a, uint b) internal pure returns (uint) { if (b > a) { return 0; return a - b; } }
11,023,214
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 2592, 1575, 87, 2795, 5600, 16, 469, 1135, 3634, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 1676, 12, 11890, 279, 16, 2254, 324, 13, 2713, 16618, 1135, 261, 11890, 13, 288, 203, 3639, 309, 261, 70, 405, 279, 13, 288, 203, 5411, 327, 374, 31, 203, 5411, 327, 279, 300, 324, 31, 203, 3639, 289, 203, 565...
// SPDX-License-Identifier: MIT // solhint-disable-next-line compiler-version pragma solidity ^0.8.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 con...
* @notice Claim earned rewards. @dev This function will claim rewards for all tokens being rewarded/ Claim rewards
function claimReward(address _account) external virtual override nonReentrant { uint256 _totalSupply = IERC20(pool).totalSupply(); uint256 _balance = IERC20(pool).balanceOf(_account); uint256 _len = rewardTokens.length; for (uint256 i = 0; i < _len; i++) { address _reward...
152,290
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 18381, 425, 1303, 329, 283, 6397, 18, 632, 5206, 1220, 445, 903, 7516, 283, 6397, 364, 777, 2430, 3832, 283, 11804, 19, 18381, 283, 6397, 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, 7516, 17631, 1060, 12, 2867, 389, 4631, 13, 3903, 5024, 3849, 1661, 426, 8230, 970, 288, 203, 3639, 2254, 5034, 389, 4963, 3088, 1283, 273, 467, 654, 39, 3462, 12, 6011, 2934, 4963, 3088, 1283, 5621, 203, 3639, 2254, 50...
./full_match/97/0xDCEC14Aa162EE0A0B56f7507Dc26a573C7739f8E/sources/home/muneeb/work/EthScan/contracts/LPStakingV2.sol
Function that lets user stake NFY/ETH LP
function stakeLP(uint _amount) public { require(emergencyWithdraw == false, "emergency withdraw is on, cannot stake"); require(_amount > 0, "Can not stake 0 LP tokens"); require(LPToken.balanceOf(_msgSender()) >= _amount, "Do not have enough LP tokens to stake"); updatePool(); ...
3,279,838
[ 1, 4625, 348, 7953, 560, 30, 225, 4284, 716, 14557, 729, 384, 911, 423, 42, 61, 19, 1584, 44, 511, 52, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 384, 911, 14461, 12, 11890, 389, 8949, 13, 1071, 288, 203, 3639, 2583, 12, 351, 24530, 1190, 9446, 422, 629, 16, 315, 351, 24530, 598, 9446, 353, 603, 16, 2780, 384, 911, 8863, 203, 3639, 2583, 24899, 8949, 405, 374, ...
//SPDX-License-Identifier: MIT pragma solidity 0.8.2; import "./auxiliary/interfaces/v0.8.2/IApi3Token.sol"; import "./interfaces/IStateUtils.sol"; /// @title Contract that keeps state variables contract StateUtils is IStateUtils { struct Checkpoint { uint256 fromBlock; uint256 value; } s...
Set the current epoch as the genesis epoch and skip its reward payment
uint256 currentEpoch = block.timestamp / EPOCH_LENGTH;
1,766,981
[ 1, 4625, 348, 7953, 560, 30, 225, 1000, 326, 783, 7632, 487, 326, 21906, 7632, 471, 2488, 2097, 19890, 5184, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 783, 14638, 273, 1203, 18, 5508, 342, 512, 30375, 67, 7096, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./partial_match/1/0x235b25f9f56B39eFD8293C0d2A9Ee70719E25B85/sources/src/ButtonswapPair.sol
* @inheritdoc IButtonswapPair/
address public immutable token1;
4,108,286
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 10093, 467, 3616, 22270, 4154, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1758, 1071, 11732, 1147, 21, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.6.12; interface IERC20 { function TOTALSUPPLY622() ...
inject NONSTANDARD NAMING
event SYNC313(uint112 reserve0, uint112 reserve1);
12,607,371
[ 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, 871, 7068, 10346, 23, 3437, 12, 11890, 17666, 20501, 20, 16, 2254, 17666, 20501, 21, 1769, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
/** *Submitted for verification at Etherscan.io on 2022-02-01 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS ...
* @dev Initializes the contract setting the deployer as the initial owner./
function _beforeTokenTransfer( address from, address to, uint256 tokenId } pragma solidity ^0.8.0; constructor() { _transferOwnership(_msgSender()); }
2,096,832
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10188, 3128, 326, 6835, 3637, 326, 7286, 264, 487, 326, 2172, 3410, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 915, 389, 5771, 1345, 5912, 12, 203, 2867, 628, 16, 203, 2867, 358, 16, 203, 11890, 5034, 1147, 548, 203, 97, 203, 203, 203, 203, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 20, 31, 203, 203, 203, 12316, 1435, 288, 203,...
//Address: 0x4B902704026D14117b5E9EFA7FdaFDfF4bA610eF //Contract name: DaoChallenge //Balance: 0 Ether //Verification Date: 10/12/2016 //Transacion Count: 4 // CODE STARTS HERE contract DaoAccount { /************************** Constants ***************************/ uint256 constant tokenPrice = 1000000000...
Don't use in a real DAO
address challengeOwner = owner;
14,104,047
[ 1, 4625, 348, 7953, 560, 30, 225, 7615, 1404, 999, 316, 279, 2863, 463, 20463, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 202, 2867, 12948, 5541, 273, 3410, 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, ...
pragma solidity ^0.4.24; import "../Roles.sol"; import "./PauserAdminRole.sol"; /** * @title PauserRole * * @dev Role for providing access control to functions that pause contract functionality. * This contract inherits from PauserAdminRole so that pauserAdmins can administer this role. */ contract PauserRole is...
* @dev Remove access to the pauser role for the given `account`. Callable by an account with the pauserAdmin role. @param account The account address having access removed from the pauser role/
function removePauser(address account) external onlyPauserAdmin { _removePauser(account); }
14,082,777
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3581, 2006, 358, 326, 6790, 1355, 2478, 364, 326, 864, 1375, 4631, 8338, 10464, 635, 392, 2236, 598, 326, 6790, 1355, 4446, 2478, 18, 632, 891, 2236, 1021, 2236, 1758, 7999, 2006, 3723, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1206, 16507, 1355, 12, 2867, 2236, 13, 3903, 1338, 16507, 1355, 4446, 288, 203, 3639, 389, 4479, 16507, 1355, 12, 4631, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x92f8F6c955f730291e66588C0D64Bf0E77DadA4e/sources/Vault.sol
@dev Allows a user to buy into a vault on behalf of an address @param _hodler Address of the target user @return Bool the function executed correctly
function buyVaultOnBehalf(address _hodler) external payable minimumStake(msg.value) returns (bool success) { require(buyVaultInternal(_hodler, msg.value)); return true; }
4,431,885
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 25619, 279, 729, 358, 30143, 1368, 279, 9229, 603, 12433, 6186, 434, 392, 1758, 632, 891, 389, 76, 369, 749, 5267, 434, 326, 1018, 729, 632, 2463, 9166, 326, 445, 7120, 8783, 2, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 30143, 12003, 1398, 1919, 20222, 12, 2867, 389, 76, 369, 749, 13, 203, 3639, 3903, 203, 3639, 8843, 429, 203, 3639, 5224, 510, 911, 12, 3576, 18, 1132, 13, 203, 3639, 1135, 261, 6430, 2216, 13, 203, 565, 288, 203, 363...
pragma solidity ^0.4.18; import './Object.sol'; /** * @title Owned contract modificator * @dev It's abstract contract is a way to make some actions with `Owned` contract delayed. * The use case typically have three steps: * - create modify contract with owned target * - (optional) setu...
* @dev Contract constructor @param _target is a owned target of modification/
{ target = _target; }
12,565,556
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 13456, 3885, 632, 891, 389, 3299, 353, 279, 16199, 1018, 434, 11544, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 288, 1018, 273, 389, 3299, 31, 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, -1...
./partial_match/42220/0x42F4d3c58C3e75fe6AdC102fEC7Bd6A276b79E42/sources/CarbonPathNFT.sol
@notice Returns the metadata stored in the tokenId @param tokenId tokenId of the well @return metadata metadata for the tokenID
function getMetadata(uint256 tokenId) external view returns (string memory) { return metadata[tokenId]; }
3,496,187
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 2860, 326, 1982, 4041, 316, 326, 1147, 548, 632, 891, 1147, 548, 1147, 548, 434, 326, 5492, 632, 2463, 1982, 1982, 364, 326, 1147, 734, 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, 225, 445, 11159, 12, 11890, 5034, 1147, 548, 13, 3903, 1476, 1135, 261, 1080, 3778, 13, 288, 203, 565, 327, 1982, 63, 2316, 548, 15533, 203, 225, 289, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity ^0.4.13; contract IERC20 { function totalSupply() constant returns (uint _totalSupply); function balanceOf(address _owner) constant returns (uint balance); function transfer(address _to, uint _value) returns (bool success); function transferFrom(address _from, address _to, uint _value) ...
* @notice Approve `_value` tokens for `_spender` @param _spender The address of the sender @param _value the amount to send/
function approve(address _spender, uint256 _value) returns (bool success) { if(balances[msg.sender] >= _value) { approved[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } return false; }
6,733,475
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1716, 685, 537, 1375, 67, 1132, 68, 2430, 364, 1375, 67, 87, 1302, 264, 68, 632, 891, 389, 87, 1302, 264, 1021, 1758, 434, 326, 5793, 632, 891, 389, 1132, 326, 3844, 358, 1366, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 6617, 537, 12, 2867, 389, 87, 1302, 264, 16, 2254, 5034, 389, 1132, 13, 1135, 261, 6430, 2216, 13, 288, 203, 3639, 309, 12, 70, 26488, 63, 3576, 18, 15330, 65, 1545, 389, 1132, 13, 288, 203, 5411, 20412, 63, 3576, 1...
./partial_match/3/0xE44D0491Ff693B2D4c0052a46a36855f3fDCa459/sources/MasterChef.sol
Accumulated LFIs per share, times 1e12. See below.
uint256 accLfiPerShare;
5,090,284
[ 1, 4625, 348, 7953, 560, 30, 225, 15980, 5283, 690, 511, 1653, 87, 1534, 7433, 16, 4124, 404, 73, 2138, 18, 2164, 5712, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 4078, 48, 22056, 2173, 9535, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/5/0x4D3495005E14c0AB9f3C0F80876c4152CE3D0F83/sources/contracts/testnet/LDPRewarder.sol
Lucky Duck Pack NFT contract
ILDP public immutable NFT;
16,866,802
[ 1, 4625, 348, 7953, 560, 30, 225, 511, 9031, 93, 463, 9031, 7930, 423, 4464, 6835, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 467, 48, 8640, 1071, 11732, 423, 4464, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.5.0 <0.9.0; import './common/SafeMath.sol'; import './common/Destructible.sol'; /** @title Credit contract. * Inherits the Ownable and Destructible contracts. */ contract Credit is Destructible { /** @dev Usings */ // Using SafeMath for our calculat...
* @dev Get current balance. @return this.balance./
function getBalance() public view returns (uint256) { return this.balance; }
1,013,974
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 968, 783, 11013, 18, 632, 2463, 333, 18, 12296, 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, 445, 2882, 6112, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 333, 18, 12296, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./partial_match/1/0xD3faD4C5e4D24646F90A0c8876314b17243E9460/sources/contracts/KounPass.sol
Enum representing the state of the mint
contract KounPassERC721A is ERC721A, Ownable, ReentrancyGuard { pragma solidity >=0.8.0 <0.9.0; enum MintPhase { INACTIVE, ALLOWLIST_SALE, PUBLIC_SALE, SOLD_OUT } uint256 public collectionSize; uint256 public maxPerWalletPublic; uint256 public maxPerWalletAllowlist; ...
2,676,999
[ 1, 4625, 348, 7953, 560, 30, 225, 6057, 5123, 326, 919, 434, 326, 312, 474, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 1475, 465, 6433, 654, 39, 27, 5340, 37, 353, 4232, 39, 27, 5340, 37, 16, 14223, 6914, 16, 868, 8230, 12514, 16709, 288, 203, 683, 9454, 18035, 560, 1545, 20, 18, 28, 18, 20, 411, 20, 18, 29, 18, 20, 31, 203, 565, 279...
// Сочетаемость глаголов (и отглагольных частей речи) с предложным // паттерном. // LC->07.08.2018 facts гл_предл language=Russian { arity=3 //violation_score=-5 generic return=boolean } #define ГЛ_ИНФ(v) инфинитив:v{}, глагол:v{} #region Предлог_В // ------------------- С ПРЕДЛОГОМ 'В' -----------------------...
их схватили во сне (СХВАТИТЬ В предл)
rus_verbs:СХВАТИТЬ{},
5,480,975
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 145, 121, 146, 232, 225, 146, 228, 146, 232, 145, 115, 145, 113, 146, 229, 145, 121, 145, 124, 145, 121, 225, 145, 115, 145, 127, 225, 146, 228, 145, 126, 145, 118, 261, 145, 99, 145, 103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 436, 407, 67, 502, 2038, 30, 145, 99, 145, 103, 145, 245, 145, 243, 145, 100, 145, 251, 145, 100, 145, 110, 2916, 16, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
./partial_match/4/0x6f20C45085870f281715561B6894990dffA759d3/sources/EventTicketSystem.sol
pay the seller (price - fee)
uint256 _fee = _priceToPay.div(100).mul(transferFee);
8,717,431
[ 1, 4625, 348, 7953, 560, 30, 225, 8843, 326, 29804, 261, 8694, 300, 14036, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 389, 21386, 273, 389, 8694, 774, 9148, 18, 2892, 12, 6625, 2934, 16411, 12, 13866, 14667, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// File: @aragon/court/contracts/lib/os/IsContract.sol // Brought from https://github.com/aragon/aragonOS/blob/v4.3.0/contracts/common/IsContract.sol // Adapted to use pragma ^0.5.8 and satisfy our linter rules pragma solidity ^0.5.8; contract IsCon...
inject NONSTANDARD NAMING
bytes4 private constant transfer_selector206 = 0xa9059cbb;
2,479,422
[ 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, 1731, 24, 3238, 5381, 7412, 67, 9663, 3462, 26, 273, 374, 6995, 9349, 6162, 7358, 70, 31, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/137/0x8A4E61773A565261f9f0DD4f1FEe77BF7B2753Bf/sources/contracts/ExampleERC721.sol
adress of the wallet which received the funds
address payable private immutable _wallet;
4,742,040
[ 1, 4625, 348, 7953, 560, 30, 225, 1261, 663, 434, 326, 9230, 1492, 5079, 326, 284, 19156, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 282, 1758, 8843, 429, 3238, 11732, 389, 19177, 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, ...
pragma solidity ^0.6.1; pragma experimental ABIEncoderV2; import "./IPurchasing.sol"; import "./ISellerAdmin.sol"; import "./IPoTypes.sol"; import "./IErc20.sol"; import "./IPoStorage.sol"; import "./IBusinessPartnerStorage.sol"; import "./IFunding.sol"; import "./IAddressRegistry.sol"; import "./Ownable.sol"; import ...
------------------------------------------------------------------------- Add fields that contract owns-------------------------------------------------------------------------
poStorageLocal.incrementPoNumber();
12,956,642
[ 1, 4625, 348, 7953, 560, 30, 8879, 788, 1436, 1466, 716, 6835, 29065, 5802, 8567, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8275, 3245, 2042, 18, 15016, 29198, 1854, 5621, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
/* ** ** ** Coldbank ** https://www.coldbank.app/ ** https://t.me/Coldbank ** https://medium.com/@Coldbank ** https://twitter.com/ColdbankETH ** ** */ // SPDX-License-Identifier: Unlicensed ...
at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.when buywhen sell if any account belongs to _isExcludedFromFee account then remove the fee only take fees on buys/sells, do not take on wallet transfers on sell on buy
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(!_blacklist[to] && !_blacklist[from],...
1,321,129
[ 1, 4625, 348, 7953, 560, 30, 225, 622, 8037, 309, 326, 7412, 4624, 353, 3696, 16, 3387, 326, 1203, 11267, 364, 5405, 343, 345, 414, 353, 444, 1493, 4982, 8037, 18, 13723, 30143, 13723, 357, 80, 309, 1281, 2236, 11081, 358, 389, 291,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 13866, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 2713, 3849, 288, 203, 3639, 2583, 12, 2080, 480, 1758, 12, 20, 3631, 315, 654, 39, 3462, 30, 7412, 628, ...
pragma solidity 0.6.2; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * WARNING: Unlike constructors, initializer functions must be manually * invoked. This applies both to deploying ...
* @notice Recover signer's address from a signed message Modifications: Accept v, r, and s as separate arguments @param digest Keccak-256 hash digest of the signed message @param v v of the signature @param r r of the signature @param s s of the signature @return Signer address/ EIP-2 still a...
function setPrice(bytes32 _currency1, bytes32 _currency2, uint256 _price, uint8 _decimals) external; function setPrices(bytes32[] calldata _currency1, bytes32[] calldata _currency2, uint256[] calldata _price, uint8[] calldata _decimals) external; function getPrice(bytes32 _currency1, bytes32 _currency2) external ...
12,233,022
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 868, 3165, 10363, 1807, 1758, 628, 279, 6726, 883, 3431, 6640, 30, 8662, 331, 16, 436, 16, 471, 272, 487, 9004, 1775, 632, 891, 5403, 565, 1475, 24410, 581, 17, 5034, 1651, 5403, 434, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 444, 5147, 12, 3890, 1578, 389, 7095, 21, 16, 1731, 1578, 389, 7095, 22, 16, 2254, 5034, 389, 8694, 16, 2254, 28, 389, 31734, 13, 3903, 31, 203, 225, 445, 444, 31862, 12, 3890, 1578, 8526, 745, 892, 389, 7095, 21, 1...
/** *Submitted for verification at Etherscan.io on 2022-03-03 */ // Verified using https://dapp.tools // hevm: flattened sources of src/spell.sol pragma solidity >=0.6.12; ////// src/addresses_ns2.sol contract Addresses { address constant public ROOT = 0x53b2d22d07E069a3b132BfeaaD275b10273d381E; address constant...
setup dependencies DependLike(POOL_ADMIN).depend("lending", CLERK); set in clerk migration setup permissions set lvl3 admins set lvl1 admins
function migratePoolAdmin() internal { DependLike(POOL_ADMIN).depend("assessor", ASSESSOR); DependLike(POOL_ADMIN).depend("seniorMemberlist", SENIOR_MEMBERLIST); DependLike(POOL_ADMIN).depend("juniorMemberlist", JUNIOR_MEMBERLIST); DependLike(POOL_ADMIN).depend("navFeed", FEED); ...
2,429,572
[ 1, 4625, 348, 7953, 560, 30, 225, 3875, 5030, 10532, 8804, 12, 20339, 67, 15468, 2934, 5817, 2932, 80, 2846, 3113, 385, 14668, 47, 1769, 225, 444, 316, 276, 749, 79, 6333, 3875, 4371, 444, 14864, 23, 31116, 444, 14864, 21, 31116, 2,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 13187, 2864, 4446, 1435, 2713, 288, 203, 3639, 10532, 8804, 12, 20339, 67, 15468, 2934, 5817, 2932, 428, 403, 280, 3113, 5355, 1090, 1260, 916, 1769, 203, 3639, 10532, 8804, 12, 20339, 67, 15468, 2934, 5817, 2932, 87, 275...
// hevm: flattened sources of src/DssSpell.sol pragma solidity =0.5.12 >0.4.13 >=0.4.23 >=0.5.12; // https://github.com/dapphub/ds-pause interface DSPauseAbstract {...
inject NONSTANDARD NAMING
function ORCL736(address) external view returns (uint256);
15,831,522
[ 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, 4869, 5017, 27, 5718, 12, 2867, 13, 3903, 1476, 1135, 261, 11890, 5034, 1769, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/1/0xE4FD7f0f9D0749dD4863FB6827db6F0b06368F01/sources/contracts/lending/controller/MKRVotingVaultController.sol
@notice retrieve underlying asset for the cap token @param amount of underlying asset to retrieve by burning cap tokens @param voting_vault holding the underlying @param target to receive the underlying
function retrieveUnderlying( uint256 amount, address voting_vault, address target ) public { if (voting_vault == address(0)) revert InvalidMKRVotingVault(); address underlying_address = _CappedToken_underlying[_msgSender()]; if (underlying_address == address(0)) r...
3,199,607
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 4614, 6808, 3310, 364, 326, 3523, 1147, 632, 891, 3844, 434, 6808, 3310, 358, 4614, 635, 18305, 310, 3523, 2430, 632, 891, 331, 17128, 67, 26983, 19918, 326, 6808, 632, 891, 1018, 358, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 4614, 14655, 6291, 12, 203, 3639, 2254, 5034, 3844, 16, 203, 3639, 1758, 331, 17128, 67, 26983, 16, 203, 3639, 1758, 1018, 203, 565, 262, 1071, 288, 203, 3639, 309, 261, 90, 17128, 67, 26983, 422, 1758, 12, 20, 3719, ...
./full_match/43113/0x2Ad8a117CAA5574f34CF28312E5715c153a3a147/sources/contracts/Governed.sol
@notice Governance functions for SmartAlpha @dev It defines a DAO and a Guardian From a privilege perspective, the DAO is also considered Guardian, allowing it to execute any action that the Guardian can do.
abstract contract Governed is SmartAlphaEvents { address public dao; address public guardian; bool public paused; IPriceOracle public priceOracle; ISeniorRateModel public seniorRateModel; IAccountingModel public accountingModel; address public feesOwner; uint256 public feesPercentage;...
7,165,444
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 611, 1643, 82, 1359, 4186, 364, 19656, 9690, 632, 5206, 2597, 11164, 279, 463, 20463, 471, 279, 22809, 2779, 6338, 279, 16905, 26651, 16, 326, 463, 20463, 353, 2546, 7399, 22809, 2779, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 17801, 6835, 611, 1643, 11748, 353, 19656, 9690, 3783, 288, 203, 565, 1758, 1071, 15229, 31, 203, 565, 1758, 1071, 11026, 2779, 31, 203, 203, 565, 1426, 1071, 17781, 31, 203, 203, 565, 2971, 3057, 23601, 1071, 6205, 23601, 31, 203,...
pragma solidity >=0.5.0 <0.6.0; import "@openzeppelin/contracts-ethereum-package/contracts/GSN/Context.sol"; import "@openzeppelin/upgrades/contracts/Initializable.sol"; import "../../../interfaces/IZkAsset.sol"; import "../../../ACE/ACE.sol" as ACEModule; import "../../../libs/NoteUtils.sol"; import "../../../libs/Li...
* @dev Registers a linkedPublicKey to an Ethereum address, if a valid signature is provided or the sender is the ethereum address in question @param _account - address to which the linkedPublicKey is being registered @param _linkedPublicKey - an additional public key which the sender wishes to link to the _account @par...
function registerAZTECExtension( address _account, address _AZTECaddress, bytes memory _linkedPublicKey, bytes memory _spendingPublicKey, bytes memory _signature ) public { bytes32 signatureHash = keccak256(abi.encodePacked(_signature)); require(signature...
12,925,142
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2526, 6045, 279, 8459, 9632, 358, 392, 512, 18664, 379, 1758, 16, 309, 279, 923, 3372, 353, 2112, 578, 326, 5793, 353, 326, 13750, 822, 379, 1758, 316, 5073, 632, 891, 389, 4631, 300, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1744, 26315, 1448, 39, 3625, 12, 203, 3639, 1758, 389, 4631, 16, 203, 3639, 1758, 389, 26315, 1448, 39, 2867, 16, 203, 3639, 1731, 3778, 389, 17738, 9632, 16, 203, 3639, 1731, 3778, 389, 87, 9561, 9632, 16, 203, 3639, ...
./full_match/1/0x6CB6107f84c7559707AF026C9ED83cfc5DCb72E9/sources/contracts/USDM.sol
* @dev Private function of a hook that is called before any transfer of tokens. This includes minting and burning. Calling conditions: - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens will be transferred to `to`. - when `from` is zero, `amount` tokens will be minted for `to`. - when `to` is zero,...
function _beforeTokenTransfer(address from, address /* to */, uint256 /* amount */) private view { if (isBlocked(from)) { revert USDMBlockedSender(from); } if (paused()) { revert USDMPausedTransfers(); } }
9,652,336
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 8726, 445, 434, 279, 3953, 716, 353, 2566, 1865, 1281, 7412, 434, 2430, 18, 1220, 6104, 312, 474, 310, 471, 18305, 310, 18, 21020, 4636, 30, 300, 1347, 1375, 2080, 68, 471, 1375, 869, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 5771, 1345, 5912, 12, 2867, 628, 16, 1758, 1748, 358, 1195, 16, 2254, 5034, 1748, 3844, 1195, 13, 3238, 1476, 288, 203, 3639, 309, 261, 291, 23722, 12, 2080, 3719, 288, 203, 5411, 15226, 587, 9903, 49, 23722, 12021...
./full_match/4/0xf7AD51ef6AED300b491E533A400853be59578a70/sources/browser/PremiaOptionBatch.sol
Amount of output tokens which will be received on exercise
uint256 output;
721,484
[ 1, 4625, 348, 7953, 560, 30, 225, 16811, 434, 876, 2430, 1492, 903, 506, 5079, 603, 24165, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 876, 31, 5375, 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.8.0; import "./freeportParts/Upgradeable.sol"; import "./Freeport.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC1155/utils/ERC1155HolderUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; /** The FiatGateway contract allows buying NFTs from an ...
* Deprecated. Only ERC20 is relevant. Withdraw all internal currency from this contract. Only accounts with DEFAULT_ADMIN_ROLE can withdraw./
function withdrawCurrency() public onlyRole(DEFAULT_ADMIN_ROLE) returns (uint) { address admin = _msgSender(); uint amount = freeport.balanceOf(address(this), CURRENCY); freeport.safeTransferFrom( address(this), admin, CURRENCY, amount...
1,834,234
[ 1, 4625, 348, 7953, 560, 30, 380, 9336, 18, 5098, 4232, 39, 3462, 353, 9368, 18, 3423, 9446, 777, 2713, 5462, 628, 333, 6835, 18, 5098, 9484, 598, 3331, 67, 15468, 67, 16256, 848, 598, 9446, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 598, 9446, 7623, 1435, 203, 565, 1071, 1338, 2996, 12, 5280, 67, 15468, 67, 16256, 13, 203, 565, 1135, 261, 11890, 13, 288, 203, 3639, 1758, 3981, 273, 389, 3576, 12021, 5621, 203, 3639, 2254, 3844, 273, 4843, 655, 18, ...
// SPDX-License-Identifier: Apache-2.0 pragma solidity >=0.6.4 <0.8.0; pragma experimental ABIEncoderV2; //import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.3.0/contracts/math/SafeMath.sol"; //import "https://github.com/vigilance91/solidarity/libraries/bytes/BytesConstraints.sol"; import "https...
SCID.bytesPacked.requireNotEmpty();
function requireVerifyRawHash( )internal view { ChainIdStorage storage SCID = storageChainId(); SCID.rawHash.requireEqual( keccak256(SCID.bytesPacked) ); }
15,814,648
[ 1, 4625, 348, 7953, 560, 30, 8795, 734, 18, 3890, 4420, 329, 18, 6528, 18431, 5621, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2583, 8097, 4809, 2310, 12, 203, 565, 262, 7236, 1476, 203, 565, 288, 203, 3639, 7824, 548, 3245, 2502, 8795, 734, 273, 2502, 3893, 548, 5621, 203, 3639, 8795, 734, 18, 1899, 2310, 18, 6528, 5812, 12, 203, 5411, 417, ...
pragma solidity 0.5.11; /** * @notice Provides a way to quarantine (disable) contracts for a period of time * @dev The immunitiesRemaining member allows to deploy the platform with some * pre-verified contracts that don't get quarantined. */ library Quarantine { struct Data { mapping(address => uint256...
* @notice Provides a way to quarantine (disable) contracts for a period of time @dev The immunitiesRemaining member allows to deploy the platform with some pre-verified contracts that don't get quarantined./
library Quarantine { struct Data { mapping(address => uint256) store; uint256 quarantinePeriod; uint256 immunitiesRemaining; } function isQuarantined(Data storage _self, address _contractAddress) internal view returns (bool) { return block.timestamp < _self.store[_contractAd...
15,863,360
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 28805, 279, 4031, 358, 719, 297, 970, 558, 261, 8394, 13, 20092, 364, 279, 3879, 434, 813, 632, 5206, 1021, 709, 81, 318, 1961, 11429, 3140, 5360, 358, 7286, 326, 4072, 598, 2690, 675, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 12083, 4783, 297, 970, 558, 288, 203, 565, 1958, 1910, 288, 203, 3639, 2874, 12, 2867, 516, 2254, 5034, 13, 1707, 31, 203, 3639, 2254, 5034, 719, 297, 970, 558, 5027, 31, 203, 3639, 2254, 5034, 709, 81, 318, 1961, 11429, 31, 20...
./full_match/1/0x3C6FBc94288f5af5201085948DdB18aDED2E6879/sources/contracts/ApeFiNFT.sol
* @notice Get the public mint price./
function getPublicMintPrice() public view returns (uint256) { uint256 timeElapsed = getBlockTimestamp() - getPublicMintStartTime(); uint256 price = MINT_START_PRICE - (timeElapsed / MINT_PRICE_DROP_INTERVAL) * MINT_PRICE_DROP_DEGREE; if (price < MIN_MINT_PRICE) { ...
3,053,459
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 968, 326, 1071, 312, 474, 6205, 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...
[ 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, 17426, 49, 474, 5147, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 2254, 5034, 813, 28827, 273, 11902, 4921, 1435, 300, 17426, 49, 474, 13649, 5621, 203, 3639, 2254, 5034, 6205, 273, 490, 3217, 67, 7570, ...
// SPDX-License-Identifier: MIT pragma solidity >=0.4.18; pragma experimental ABIEncoderV2; import "contracts/Zipper.sol"; /// @title Dictionary storing allocations /// @author Giovanni Rescinito /// @notice Data structure implemented as an iterable map, produced during the apportionment algorithm to store allocati...
@notice updates the winners per cluster of an allocation specified by its index @param map dictionary containing allocations @param index index of the allocation to modify @param shares winners per cluster to update
function updateShares(Map storage map, uint index, uint[] calldata shares) external { require(index >= 0 && index < map.elements.length, "Map out of bounds"); map.elements[index].shares = uint240(Zipper.zipArrayWithSize(shares,8)); }
6,435,240
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 4533, 326, 5657, 9646, 1534, 2855, 434, 392, 13481, 1269, 635, 2097, 770, 632, 891, 852, 3880, 4191, 23804, 632, 891, 770, 770, 434, 326, 13481, 358, 5612, 632, 891, 24123, 5657, 9646, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1089, 24051, 12, 863, 2502, 852, 16, 2254, 770, 16, 2254, 8526, 745, 892, 24123, 13, 3903, 288, 203, 3639, 2583, 12, 1615, 1545, 374, 597, 770, 411, 852, 18, 6274, 18, 2469, 16, 315, 863, 596, 434, 4972, 8863, 7010, ...
./full_match/1/0x8F2aE04A0e410599Cc36A7B6dF756B5239366A69/sources/src/strategies/LStrategy.sol
@notice Target price based on mutable params, as a Q64.96 value
function getTargetPriceX96( address token0, address token1, TradingParams memory tradingParams_ ) public view returns (uint256 priceX96) { (uint256[] memory pricesX96, ) = tradingParams_.oracle.priceX96( token0, token1, tradingParams_.oracleSaf...
4,823,391
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 5916, 6205, 2511, 603, 16074, 859, 16, 487, 279, 2238, 1105, 18, 10525, 460, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8571, 5147, 60, 10525, 12, 203, 3639, 1758, 1147, 20, 16, 203, 3639, 1758, 1147, 21, 16, 203, 3639, 2197, 7459, 1370, 3778, 1284, 7459, 1370, 67, 203, 565, 262, 1071, 1476, 1135, 261, 11890, 5034, 6205, 60, 10525, 13, ...
./full_match/80001/0xD88E3f70eb7d354ea75Cb77787782DeC25677C03/sources/BatchQuest.sol
Get the amount per claimer; it's rounded down. So it may only utilize 99.99999% of the provided amount Get the claimer Transfer the token to the claimer Mint the NFT
function release(uint256 maxClaimers) external onlyOwner { require( batchQuestClaimers.length == batchQuestMaxClaimers, "!ClaimerNotFull" ); require( maxClaimers <= batchQuestClaimers.length, "!maxClaimerTooLarge" ); uint256 am...
9,498,642
[ 1, 4625, 348, 7953, 560, 30, 225, 968, 326, 3844, 1534, 927, 69, 4417, 31, 518, 1807, 16729, 2588, 18, 6155, 518, 2026, 1338, 1709, 554, 14605, 18, 31463, 9, 434, 326, 2112, 3844, 968, 326, 927, 69, 4417, 12279, 326, 1147, 358, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 3992, 12, 11890, 5034, 943, 9762, 414, 13, 3903, 1338, 5541, 288, 203, 3639, 2583, 12, 203, 5411, 2581, 30791, 9762, 414, 18, 2469, 422, 2581, 30791, 2747, 9762, 414, 16, 203, 5411, 17528, 2009, 69, 4417, 1248, 5080, 6,...
pragma solidity ^0.4.17; // Exchange ERC20 tokens and Ether // Luke Mitchell <hi@lukemitchell.co> // Adapted from https://github.com/axic/ethereum-tokenescrow // Usage: // 1. call `create` to begin the swap // 2. the seller approves the TokenSwap contract to spend the amount of tokens // 3. the buyer transfers the re...
Seller's address (holder of tokens)
address seller;
13,067,484
[ 1, 4625, 348, 7953, 560, 30, 225, 4352, 749, 1807, 1758, 261, 4505, 434, 2430, 13, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1758, 29804, 31, 6647, 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...
./full_match/3/0x6EA839B1DD0C21DCFaF7e493c97B5E4027039df3/sources/contracts/PriorApprovalERC20.sol
This function is called to find whether the message sender is an approver or not
function isApprover() private view returns (bool) { uint arrayLength = _approverAddressList.length; for (uint i = 0; i < arrayLength; i++) { if(_approverAddressList[i] == msg.sender) { return true; } } return false; ...
8,137,138
[ 1, 4625, 348, 7953, 560, 30, 1220, 445, 353, 2566, 358, 1104, 2856, 326, 883, 5793, 353, 392, 6617, 502, 578, 486, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 353, 12053, 502, 1435, 203, 3639, 3238, 203, 3639, 1476, 203, 3639, 1135, 261, 6430, 13, 203, 565, 288, 203, 3639, 2254, 526, 1782, 273, 389, 12908, 502, 1887, 682, 18, 2469, 31, 203, 3639, 364, 261, 11890, 277, 273, ...
./full_match/1/0x84fE05f541cee93d0B02e03cD4319c29BA0030A2/sources/src/rollup/RollupCore.sol
* @notice Get the amount of funds withdrawable by the given address @param user Address to check the funds of @return Amount of funds withdrawable by user/
function withdrawableFunds(address user) external view override returns (uint256) { return _withdrawableFunds[user]; }
3,877,369
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 968, 326, 3844, 434, 284, 19156, 598, 9446, 429, 635, 326, 864, 1758, 632, 891, 729, 5267, 358, 866, 326, 284, 19156, 434, 632, 2463, 16811, 434, 284, 19156, 598, 9446, 429, 635, 729, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 598, 9446, 429, 42, 19156, 12, 2867, 729, 13, 3903, 1476, 3849, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 389, 1918, 9446, 429, 42, 19156, 63, 1355, 15533, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -1...
/* ORIGINAL: pragma solidity 0.5.2; */ /* ___________________________________________________________________ _ _ ______ | | / / / --|-/|-/-----__---/----__----__---_--_----__-------/-------__------ |/ ...
* Change safeguard status on or off When safeguard is true, then all the non-owner functions will stop working. When safeguard is false, then all the functions will resume working back again!/
function changeSafeguardStatus() onlyOwner public{ } if (safeguard == false){ safeguard = true; } else{ safeguard = false; } }
12,572,380
[ 1, 4625, 348, 7953, 560, 30, 380, 7576, 11029, 1332, 89, 1060, 1267, 603, 578, 3397, 5203, 11029, 1332, 89, 1060, 353, 638, 16, 1508, 777, 326, 1661, 17, 8443, 4186, 903, 2132, 5960, 18, 5203, 11029, 1332, 89, 1060, 353, 629, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 2549, 26946, 1332, 89, 1060, 1482, 1435, 1338, 5541, 1071, 95, 203, 565, 289, 203, 3639, 309, 261, 87, 1727, 1332, 89, 1060, 422, 629, 15329, 203, 5411, 11029, 1332, 89, 1060, 273, 638, 31, 203, 3639, 289, 203, 3639, ...
./partial_match/3/0x529242E2680f288460d4be3f7b93F3699bec1d31/sources/NUG.sol
Stakes started during this day are added to the total the next day */
function _dailyDataUpdate(GlobalsCache memory g, uint256 beforeDay, bool isAutoUpdate) private { if (g._dailyDataCount >= beforeDay) { return; DailyRoundState memory rs; rs._allocSupplyCached = totalSupply() + g._lockedNunsTotal; uint256 day = g._dailyDataCo...
5,293,681
[ 1, 4625, 348, 7953, 560, 30, 225, 934, 3223, 5746, 4982, 333, 2548, 854, 3096, 358, 326, 2078, 326, 1024, 2548, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 26790, 751, 1891, 12, 19834, 1649, 3778, 314, 16, 2254, 5034, 1865, 4245, 16, 1426, 27079, 1891, 13, 203, 3639, 3238, 203, 565, 288, 203, 3639, 309, 261, 75, 6315, 26790, 751, 1380, 1545, 1865, 4245, 13, 288, 203, ...
./full_match/43113/0xE7b49E2D610dC08b89D8bC15BC66d3A7e16F54a2/sources/contracts/DividendPayingToken.sol
@notice View the amount of dividend in nAvax that an address has earned in total. @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude @param _owner The address of a token ...
function accumulativeDividendOf(address _owner) public view override returns (uint256) { return magnifiedDividendPerShare .mul(balanceOf(_owner)) .toInt256Safe() .add(magnifiedDividendCorrections[_owner]) .toUint256Safe() / magnitud...
7,167,837
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 4441, 326, 3844, 434, 31945, 316, 290, 3769, 651, 716, 392, 1758, 711, 425, 1303, 329, 316, 2078, 18, 632, 5206, 8822, 1535, 7244, 26746, 951, 24899, 8443, 13, 273, 598, 9446, 429, 7244,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8822, 1535, 7244, 26746, 951, 12, 2867, 389, 8443, 13, 203, 3639, 1071, 203, 3639, 1476, 203, 3639, 3849, 203, 3639, 1135, 261, 11890, 5034, 13, 203, 565, 288, 203, 3639, 327, 28160, 939, 7244, 26746, 2173, 9535, 203, 1...
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity =0.7.6; pragma abicoder v2; import "@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3FlashCallback.sol"; import "@uniswap/v3-core/contracts/libraries/LowGasSafeMath.sol"; import "../contracts/interfaces/IDMMRouter02.sol"; import "../contracts/interf...
偿还借入的金额并将利润发送到部署者地址 合约用 池费 偿还你借入的金额, 所以在这种情况下,合约将支付 1,500 DAI * (1 + 0.05%) = 1,500.75 DAI 如果合约没有足够的金额来偿还借入的金额,则整个交易将被撤销 合约将利润发送到部署者地址
function payback( uint256 amount0, uint256 amount1, uint256 fee0, uint256 fee1, address token0, address token1, uint256 amountOut1, address payer ) internal { uint256 amount0Owed = LowGasSafeMath.add(amount0, fee0); uint256 amount1O...
12,572,222
[ 1, 4625, 348, 7953, 560, 30, 225, 225, 166, 228, 128, 169, 128, 251, 166, 227, 258, 166, 232, 103, 168, 253, 231, 170, 234, 244, 170, 100, 256, 166, 122, 119, 166, 113, 233, 166, 235, 107, 167, 119, 104, 166, 242, 244, 170, 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, 565, 445, 8843, 823, 12, 203, 3639, 2254, 5034, 3844, 20, 16, 203, 3639, 2254, 5034, 3844, 21, 16, 203, 3639, 2254, 5034, 14036, 20, 16, 203, 3639, 2254, 5034, 14036, 21, 16, 203, 3639, 1758, 1147, 20, 16, 203, 3639, 1758, 1147...
./full_match/3/0x0ED12e1aC2200e2c457b6493AA061c36c0EB729B/sources/contract-7c43f3ed73.sol
The following functions are overrides required by Solidity.
function _authorizeUpgrade(address newImplementation) internal onlyOwner override function _beforeTokenTransfer(address from, address to, uint256 amount) internal override(ERC20Upgradeable, ERC20SnapshotUpgradeable) { super._beforeTokenTransfer(from, to, amo...
14,183,045
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 3751, 4186, 854, 9515, 1931, 635, 348, 7953, 560, 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...
[ 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, 22488, 10784, 12, 2867, 394, 13621, 13, 203, 3639, 2713, 203, 3639, 1338, 5541, 203, 3639, 3849, 203, 203, 203, 565, 445, 389, 5771, 1345, 5912, 12, 2867, 628, 16, 1758, 358, 16, 2254, 5034, 3844, 13, 203, 3639, ...
./partial_match/1/0xff8142744995Fc7584C435382f33559f26522adB/sources/MANGAAI.sol
* This function will be used to generate the total supply while deploying the contract This function can never be called again after deploying contract/
function _tokengeneration(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: generation to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = amount; _balances[account] = amount; ...
4,143,649
[ 1, 4625, 348, 7953, 560, 30, 380, 1220, 445, 903, 506, 1399, 358, 2103, 326, 2078, 14467, 1323, 7286, 310, 326, 6835, 1220, 445, 848, 5903, 506, 2566, 3382, 1839, 7286, 310, 6835, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 2316, 25514, 12, 2867, 2236, 16, 2254, 5034, 3844, 13, 203, 3639, 2713, 203, 3639, 5024, 203, 565, 288, 203, 3639, 2583, 12, 4631, 480, 1758, 12, 20, 3631, 315, 654, 39, 3462, 30, 9377, 358, 326, 3634, 1758, 8863...
./full_match/1/0xBf7EE8D41fA851fa94D4E908209aD1A97E13EDD9/sources/POE/PoExtended.sol
* @dev Batch mint POE tokens to multiple addresses./
function mintMany(address[] memory accounts) external onlyMinter returns (bool) { for (uint256 i = 0; i < accounts.length; i++) { _mint(accounts[i]); } return true; }
3,179,271
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 5982, 312, 474, 13803, 41, 2430, 358, 3229, 6138, 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, 445, 312, 474, 5594, 12, 2867, 8526, 3778, 9484, 13, 3903, 1338, 49, 2761, 1135, 261, 6430, 13, 288, 203, 3639, 364, 261, 11890, 5034, 277, 273, 374, 31, 277, 411, 9484, 18, 2469, 31, 277, 27245, 288, 203, 5411, 389, 81, ...
pragma solidity >=0.4.21 <0.7.0; pragma experimental ABIEncoderV2; import {BandChainLib} from "bandchain-helper-library/contracts/BandChainLib.sol"; import {IBridge} from "bandchain-helper-library/contracts/IBridge.sol"; import "./Users.sol"; contract Settle { using BandChainLib for bytes; address private _...
this is how many target coins I get based on price
uint256 targetCoins = usd * 100 * 100 * 100 * 100 / latestPriceTarget;
5,362,084
[ 1, 4625, 348, 7953, 560, 30, 225, 333, 353, 3661, 4906, 1018, 276, 9896, 467, 336, 2511, 603, 6205, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 1018, 39, 9896, 273, 584, 72, 380, 2130, 380, 2130, 380, 2130, 380, 2130, 342, 4891, 5147, 2326, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
/** *Submitted for verification at Etherscan.io on 2021-04-06 */ pragma solidity =0.5.16; interface ISoarSwapFactory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (ad...
this low-level function should be called from a contract which performs important safety checks
function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external lock { require(amount0Out > 0 || amount1Out > 0, 'SoarSwap: INSUFFICIENT_OUTPUT_AMOUNT'); require(amount0Out < _reserve0 && amount1Out < _reserve1, 'SoarSwap: INSUFFICIENT_LIQUIDITY'); uint balance0; ...
7,985,544
[ 1, 4625, 348, 7953, 560, 30, 225, 333, 4587, 17, 2815, 445, 1410, 506, 2566, 628, 279, 6835, 1492, 11199, 10802, 24179, 4271, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7720, 12, 11890, 3844, 20, 1182, 16, 2254, 3844, 21, 1182, 16, 1758, 358, 16, 1731, 745, 892, 501, 13, 3903, 2176, 288, 203, 3639, 2583, 12, 8949, 20, 1182, 405, 374, 747, 3844, 21, 1182, 405, 374, 16, 296, 10225, 2...
pragma solidity ^0.4.18; // US gross value-weighted daily stock return w/o dividends // 0.10251 ETH balance implies a 1.0251 gross return, 2.51% net return // pulled using closing prices around 4:15 PM EST contract useqgretOracle{ address private owner; function useqgretOracle() payable...
US gross value-weighted daily stock return w/o dividends 0.10251 ETH balance implies a 1.0251 gross return, 2.51% net return pulled using closing prices around 4:15 PM EST
contract useqgretOracle{ address private owner; function useqgretOracle() payable { owner = msg.sender; } function updateUSeqgret() payable onlyOwner { owner.transfer(this.balance-msg.value); } modifier onlyOwner ...
12,848,426
[ 1, 4625, 348, 7953, 560, 30, 225, 11836, 314, 3984, 460, 17, 30890, 18872, 12480, 327, 341, 19, 83, 3739, 350, 5839, 374, 18, 2163, 2947, 21, 512, 2455, 11013, 24168, 279, 404, 18, 20, 2947, 21, 314, 3984, 327, 16, 576, 18, 10593,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 16351, 999, 85, 75, 1349, 23601, 95, 203, 377, 203, 565, 1758, 3238, 3410, 31, 203, 203, 565, 445, 999, 85, 75, 1349, 23601, 1435, 7010, 3639, 8843, 429, 7010, 565, 288, 203, 3639, 3410, 273, 1234, 18, 15330, 31, 203, 565, 289,...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./Marketplace.sol"; // NFTs can be listed for fixed price o...
Set unlockableContent
unlockableContent[tokenId] = unlockableString_;
1,800,235
[ 1, 4625, 348, 7953, 560, 30, 225, 1000, 7186, 429, 1350, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7186, 429, 1350, 63, 2316, 548, 65, 273, 7186, 429, 780, 67, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/4/0x80C64d713063682D33e6D3ECbAbbd00a479A823F/sources/DaiGunToken_1_.sol
using SafeMath for uint256;
library SafeERC20 { using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) int...
661,513
[ 1, 4625, 348, 7953, 560, 30, 225, 1450, 14060, 10477, 364, 2254, 5034, 31, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 12083, 14060, 654, 39, 3462, 288, 203, 565, 1450, 5267, 364, 1758, 31, 203, 203, 565, 445, 4183, 5912, 12, 45, 654, 39, 3462, 1147, 16, 1758, 358, 16, 2254, 5034, 460, 13, 2713, 288, 203, 3639, 745, 6542, 990, 12, 2316, 16, 2...
./partial_match/3/0x0Dec283687556aBc7ADF91A15368b4fa16aAFe8C/sources/EdcoinStake.sol
------------------------------------------------------------------------ Token holders can stake their tokens using this function @param tokens number of tokens to stake ------------------------------------------------------------------------ distribute the staking fee accumulated before updating the user's stake add ...
function STAKE(uint256 tokens, address referrer) external { require(IERC20(EDC).transferFrom(msg.sender, address(this), tokens), "Tokens cannot be transferred from user account"); uint256 _stakingFee = 0; if(totalStakes > 0) _stakingFee= (onePercent(tokens).mul(stakingFe...
5,246,645
[ 1, 4625, 348, 7953, 560, 30, 225, 8879, 17082, 3155, 366, 4665, 848, 384, 911, 3675, 2430, 1450, 333, 445, 632, 891, 2430, 1300, 434, 2430, 358, 384, 911, 8879, 17082, 25722, 326, 384, 6159, 14036, 24893, 1865, 9702, 326, 729, 1807, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2347, 37, 6859, 12, 11890, 5034, 2430, 16, 1758, 14502, 13, 3903, 288, 203, 3639, 2583, 12, 45, 654, 39, 3462, 12, 2056, 39, 2934, 13866, 1265, 12, 3576, 18, 15330, 16, 1758, 12, 2211, 3631, 2430, 3631, 315, 5157, 278...
./full_match/1/0x03E4DBE0C596dA711f3C2221590D8c6439974EbC/sources/contracts/GeojamRewardsDistributorV3.sol
* @dev Returns the current timestamp or the last timestamp rewards are accrued./
function rewardTime() public view returns (uint256) { return Math.min(block.timestamp, rewardPeriodEndTimestamp); }
3,163,803
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 783, 2858, 578, 326, 1142, 2858, 283, 6397, 854, 4078, 86, 5957, 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, 19890, 950, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 327, 2361, 18, 1154, 12, 2629, 18, 5508, 16, 19890, 5027, 1638, 4921, 1769, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100,...
pragma solidity 0.4.24; /** * @dev A library for working with mutable byte buffers in Solidity. * * Byte buffers are mutable and expandable, and provide a variety of primitives * for writing to them. At any time you can fetch a bytes object containing the * current contents of the buffer. The bytes object should not b...
* @dev Reverts if the request is already pending @param _requestId The request ID for fulfillment/
modifier notPendingRequest(bytes32 _requestId) { require(pendingRequests[_requestId] == address(0), "Request is already pending"); _; }
464,633
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 868, 31537, 309, 326, 590, 353, 1818, 4634, 632, 891, 389, 2293, 548, 1021, 590, 1599, 364, 22290, 475, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 9606, 486, 8579, 691, 12, 3890, 1578, 389, 2293, 548, 13, 288, 203, 565, 2583, 12, 9561, 6421, 63, 67, 2293, 548, 65, 422, 1758, 12, 20, 3631, 315, 691, 353, 1818, 4634, 8863, 203, 565, 389, 31, 203, 225, 289, 203, 2, ...
/* Copyright 2021 Crosspoly ZOO. SPDX-License-Identifier: Apache-2.0 */ pragma solidity 0.6.9; pragma experimental ABIEncoderV2; import {IDPPOracle} from "../../intf/IDPPOracle.sol"; import {ICrosspolyApproveProxy} from "../../../SmartRoute/CrosspolyApproveProxy.sol"; import {InitializableOwnable} from "../...
* @title DPPOracleAdmin @author Crosspoly Breeder @notice Admin of Oracle CrosspolyPrivatePool/
contract DPPOracleAdmin is InitializableOwnable { address public _DPP_; address public _OPERATOR_; address public _Crosspoly_APPROVE_PROXY_; uint256 public _FREEZE_TIMESTAMP_; import {IDPPOracle} from "../../intf/IDPPOracle.sol"; import {ICrosspolyApproveProxy} from "../../../SmartRoute/CrosspolyApp...
15,802,390
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 463, 52, 2419, 16873, 4446, 632, 4161, 19742, 16353, 605, 15656, 264, 632, 20392, 7807, 434, 28544, 19742, 16353, 6014, 2864, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 52, 2419, 16873, 4446, 353, 10188, 6934, 5460, 429, 288, 203, 565, 1758, 1071, 389, 40, 6584, 67, 31, 203, 565, 1758, 1071, 389, 26110, 67, 31, 203, 565, 1758, 1071, 389, 13941, 16353, 67, 2203, 3373, 3412, 67, 16085,...
pragma solidity ^0.4.18; // File: zeppelin-solidity/contracts/math/SafeMath.sol /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a ...
Allocate initial balance to the owner Transfer(0, _owner, _totalSupply);
function CentrallyIssuedToken(address _owner, string _name, string _symbol, uint _totalSupply, uint _decimals) public HaltableToken(_owner) UpgradeableToken(_owner) { name = _name; symbol = _symbol; totalSupply = _totalSupply; decimals = _decimals; balances[_owner] = _totalSupply; }
8,018,481
[ 1, 4625, 348, 7953, 560, 30, 225, 22222, 2172, 11013, 358, 326, 3410, 12279, 12, 20, 16, 389, 8443, 16, 389, 4963, 3088, 1283, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 385, 8230, 1230, 7568, 5957, 1345, 12, 2867, 389, 8443, 16, 533, 389, 529, 16, 533, 389, 7175, 16, 2254, 389, 4963, 3088, 1283, 16, 2254, 389, 31734, 13, 1071, 670, 287, 2121, 1345, 24899, 8443, 13, 17699, 429, 1345, ...
/** *Submitted for verification at Etherscan.io on 2021-02-27 */ /** *Submitted for verification at Etherscan.io on 2021-02-27 */ // SPDX-License-Identifier: MIT /* A bridge that connects AlphaHomora ibETH contracts to our STACK gauge contracts. This allows users to submit only one transaction to go from (supporte...
need to setup, fail
require(gauge != address(0), "BRIDGE: !bridge");
10,568,365
[ 1, 4625, 348, 7953, 560, 30, 225, 1608, 358, 3875, 16, 2321, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 377, 202, 6528, 12, 75, 8305, 480, 1758, 12, 20, 3631, 315, 7192, 734, 7113, 30, 401, 18337, 8863, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
/** *Submitted for verification at Etherscan.io on 2022-04-28 */ // SPDX-License-Identifier: MIT // File: @openzeppelin\contracts-upgradeable\utils\introspection\IERC165Upgradeable.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 s...
* @dev Initializes the contract setting the deployer as the initial owner./
function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity } pragma solidity ^0.8.0; function __Ownable_i...
2,350,967
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10188, 3128, 326, 6835, 3637, 326, 7286, 264, 487, 326, 2172, 3410, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 5771, 1345, 1429, 18881, 12, 203, 3639, 1758, 628, 16, 203, 3639, 1758, 358, 16, 203, 3639, 2254, 5034, 787, 1345, 548, 16, 203, 3639, 2254, 5034, 10457, 203, 203, 565, 445, 389, 5205, 1345, 1429, 18881, 12, 203, ...
// SPDX-License-Identifier: Apache-2.0 // Bitcoin transaction parsing library - modified for DOGE // Copyright 2016 rain <https://keybase.io/rain> // // 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 L...
* Returns true if the tx output is an embedded ethereum address @param txBytes Buffer where the entire transaction is stored. @param pos Index into the tx buffer where the script is stored. @param len Size of the script in terms of bytes./ scriptPub format for the ethereum address is 0x6a OP_RETURN 0x14 PUSH20 [] 20 ...
function isEthereumAddress(bytes memory txBytes, uint pos, uint len) private pure returns (bool) { return len == 20+2 && txBytes[pos] == bytes1(0x6a) && txBytes[pos+1] == bytes1(0x14); }
12,605,603
[ 1, 4625, 348, 7953, 560, 30, 380, 2860, 638, 309, 326, 2229, 876, 353, 392, 7488, 13750, 822, 379, 1758, 632, 891, 2229, 2160, 3525, 1625, 326, 7278, 2492, 353, 4041, 18, 632, 891, 949, 3340, 1368, 326, 2229, 1613, 1625, 326, 2728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 353, 41, 18664, 379, 1887, 12, 3890, 3778, 2229, 2160, 16, 2254, 949, 16, 2254, 562, 13, 3238, 16618, 203, 2398, 1135, 261, 6430, 13, 288, 203, 3639, 327, 562, 422, 4200, 15, 22, 597, 203, 5411, 2229, 2160, 63, 917, ...
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.7.5; import "../types/Ownable.sol"; import "../libraries/SafeMath.sol"; import "../libraries/SafeERC20.sol"; import "../libraries/FixedPoint.sol"; import "../interfaces/ITreasury.sol"; import "../interfaces/IERC20.sol"; import "../interfaces/IHelper.sol"; import "...
* @notice reduce total debt/
function decayDebt() internal { totalDebt = totalDebt.sub(debtDecay()); lastDecay = block.number; }
12,625,471
[ 1, 4625, 348, 7953, 560, 30, 380, 225, 632, 20392, 5459, 2078, 18202, 88, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 22286, 758, 23602, 1435, 2713, 288, 203, 3639, 2078, 758, 23602, 273, 2078, 758, 23602, 18, 1717, 12, 323, 23602, 1799, 528, 10663, 203, 3639, 1142, 1799, 528, 273, 1203, 18, 2696, 31, 203, 565, 289, 203, 2, -100, -100,...
//// SMART CONTARCT // mapping of SendWyre address //// DAPP // check isAddress (and every important variable) before executing any contract function //// OTHERS // charge fees on connected contracts like //// RAVINDRA // How can we create a global variable for "loanMaster"? pragma solidity 0.5.0; library SafeMat...
TODO => send pethFree from frontend instead of ethFree
function unlockETH(uint cdpNum, uint ethFree) public isFreezed isCupOwner(cdpNum) { require(!freezed, "Operation Disabled"); bytes32 cup = bytes32(cdpNum); uint pethToUnlock = pethPEReth(ethFree); MakerCDP loanMaster = MakerCDP(cdpAddr); WETHFace wethTkn = WETHFace(getAddress...
15,840,771
[ 1, 4625, 348, 7953, 560, 30, 225, 2660, 516, 1366, 293, 546, 9194, 628, 15442, 3560, 434, 13750, 9194, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7186, 1584, 44, 12, 11890, 7976, 24990, 16, 2254, 13750, 9194, 13, 1071, 353, 9194, 94, 329, 25249, 416, 5541, 12, 4315, 24990, 13, 288, 203, 3639, 2583, 12, 5, 9156, 94, 329, 16, 315, 2988, 28970, 8863, 203, 3639, 17...
./full_match/1/0x0cBE2dF57CA9191B64a7Af3baa3F946fa7Df2F25/sources/Synth.sol
The last period a user has withdrawn their fees in, identified by the feePeriodId
mapping(address => uint) public lastFeeWithdrawal;
4,836,210
[ 1, 4625, 348, 7953, 560, 30, 225, 1021, 1142, 3879, 279, 729, 711, 598, 9446, 82, 3675, 1656, 281, 316, 16, 9283, 635, 326, 14036, 5027, 548, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 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, 2874, 12, 2867, 516, 2254, 13, 1071, 1142, 14667, 1190, 9446, 287, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name...
Total (period) crowd number*/
uint256[] public total_crowd_num_periods = [0,0,0];
12,749,298
[ 1, 4625, 348, 7953, 560, 30, 225, 10710, 261, 6908, 13, 276, 492, 72, 1300, 5549, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2254, 5034, 8526, 1071, 2078, 67, 71, 492, 72, 67, 2107, 67, 20659, 273, 306, 20, 16, 20, 16, 20, 15533, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
/** *Submitted for verification at Etherscan.io on 2020-06-18 */ // SPDX-License-Identifier: GPL-3.0-or-later pragma solidity =0.6.6; interface IPermitAndCall { function permitAndCall( address token, uint value, bytes4 permitSelector, bytes calldata permitData, bytes4 routerFunctionSelector, ...
inject UNHANDLED EXCEPTION
token.call(abi.encodePacked(permitSelector, permitData));
2,474,958
[ 1, 4625, 348, 7953, 560, 30, 4590, 5019, 12346, 6687, 23136, 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, 1147, 18, 1991, 12, 21457, 18, 3015, 4420, 329, 12, 457, 1938, 4320, 16, 21447, 751, 10019, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x74b2a6eCc225dc85af74b5Ea12C8f26Fba86c571/sources/contracts/overrides/RoyaltySplitter.sol
* @notice Anyone can call this function to split all available tokens at the provided address between the recipients. @dev This contract is built to split ETH payments. The ability to attempt to split ERC20 tokens is here just in case tokens were also sent so that they don't get locked forever in the contract./
function splitERC20Tokens(IERC20 erc20Contract) public { require(_splitERC20Tokens(erc20Contract), "Split: ERC20 split failed"); }
4,114,217
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 5502, 476, 848, 745, 333, 445, 358, 1416, 777, 2319, 2430, 622, 326, 2112, 1758, 3086, 326, 12045, 18, 632, 5206, 1220, 6835, 353, 6650, 358, 1416, 512, 2455, 25754, 18, 1021, 7123, 358,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 1416, 654, 39, 3462, 5157, 12, 45, 654, 39, 3462, 6445, 71, 3462, 8924, 13, 1071, 288, 203, 3639, 2583, 24899, 4939, 654, 39, 3462, 5157, 12, 12610, 3462, 8924, 3631, 315, 5521, 30, 4232, 39, 3462, 1416, 2535, 8863, 2...
pragma solidity 0.5.15; // YAM v3 Token Proxy ...
inject NONSTANDARD NAMING
function DELEGATE51(address delegatee) external;
5,400,651
[ 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, 2030, 19384, 1777, 10593, 12, 2867, 7152, 73, 13, 3903, 31, 202, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
./full_match/80001/0x950b1756c44c95a4469e915484b6AEdFA134F434/sources/project_/contracts/GovernanceToken.sol
mint(msg.sender, TOTAL_SUPPLY - keepAmount); _mint(msg.sender, TOKENS_PER_USER * 10**18);
{ uint256 keepAmount = (TOTAL_SUPPLY * _keepPercentage) / 100; _mint(msg.sender, TOTAL_SUPPLY); owner = address(0); admin = msg.sender; _transfer(msg.sender, address(this), TOTAL_SUPPLY - keepAmount); s_claimedTokens[msg.sender] = true; _mint(msg.sender, TOKEN...
9,538,202
[ 1, 4625, 348, 7953, 560, 30, 565, 312, 474, 12, 3576, 18, 15330, 16, 399, 19851, 67, 13272, 23893, 300, 3455, 6275, 1769, 225, 389, 81, 474, 12, 3576, 18, 15330, 16, 14275, 55, 67, 3194, 67, 4714, 380, 1728, 636, 2643, 1769, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 288, 203, 3639, 2254, 5034, 3455, 6275, 273, 261, 28624, 67, 13272, 23893, 380, 389, 10102, 16397, 13, 342, 2130, 31, 203, 3639, 389, 81, 474, 12, 3576, 18, 15330, 16, 399, 19851, 67, 13272, 23893, 1769, 203, 203, 3639, 3410...
./partial_match/1/0xa2a18225C976F4bc1d5192E2ade2C29dEefcE635/sources/src/libraries/uint16a16Lib.sol
* @notice This library enables packing of sixteen uint16 elements into one uint256 word./ must ensure that bits * elements <= 256
library uint16a16Lib { uint256 constant bits = 16; uint256 constant elements = 16; uint256 constant range = 1 << bits; uint256 constant max = range - 1; pragma solidity 0.8.17; function get(uint16a16 va, uint256 index) internal pure returns (uint256) { require(index < elements); ...
15,677,625
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 1220, 5313, 19808, 2298, 310, 434, 5050, 736, 275, 2254, 2313, 2186, 1368, 1245, 2254, 5034, 2076, 18, 19, 1297, 3387, 716, 4125, 380, 2186, 1648, 8303, 2, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 12083, 2254, 2313, 69, 2313, 5664, 288, 203, 565, 2254, 5034, 5381, 4125, 273, 2872, 31, 203, 203, 565, 2254, 5034, 5381, 2186, 273, 2872, 31, 203, 203, 203, 565, 2254, 5034, 5381, 1048, 273, 404, 2296, 4125, 31, 203, 203, 565, ...
./full_match/1/0x04ddDb0C0194b3517Dd09300440748D8B9f6f3F3/sources/rubixSniper.sol
* @dev Returns the substraction of two unsigned integers, with an overflow flag. _Available since v3.4._/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } }
9,760,660
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 2373, 1128, 434, 2795, 9088, 12321, 16, 598, 392, 9391, 2982, 18, 389, 5268, 3241, 331, 23, 18, 24, 6315, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 775, 1676, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 6430, 16, 2254, 5034, 13, 288, 7010, 3639, 22893, 288, 7010, 5411, 309, 261, 70, 405, 279, 13, 327, 261, 5743, 16, 374, 1769, 203, 5411...
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/token/ERC20/IERC20.sol 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 r...
* @title IERC1363Spender Interface @dev Interface for any contract that wants to support approveAndCall from ERC1363 token contracts as defined in/
interface IERC1363Spender { function onApprovalReceived(address sender, uint256 amount, bytes calldata data) external returns (bytes4); } }
425,131
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 467, 654, 39, 3437, 4449, 27223, 264, 6682, 632, 5206, 6682, 364, 1281, 6835, 716, 14805, 358, 2865, 6617, 537, 1876, 1477, 225, 628, 4232, 39, 3437, 4449, 1147, 20092, 487, 2553, 316, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 467, 654, 39, 3437, 4449, 27223, 264, 288, 203, 203, 565, 445, 603, 23461, 8872, 12, 2867, 5793, 16, 2254, 5034, 3844, 16, 1731, 745, 892, 501, 13, 3903, 1135, 261, 3890, 24, 1769, 203, 97, 203, 203, 97, 203, 2, -100, -...
./full_match/1/0x0853f55EaFaC68467cb116b9ac9E9Af644831095/sources/contracts/Presale.sol
* Returns the latest price./ prettier-ignore ETH has 8 decimals
function getETHLatestPrice() public view returns (uint256) { ( int price, ) = priceFeed.latestRoundData(); return (uint256(price) * 10 ** 18) / 10 ** 8; }
17,186,825
[ 1, 4625, 348, 7953, 560, 30, 380, 2860, 326, 4891, 6205, 18, 19, 675, 748, 2453, 17, 6185, 512, 2455, 711, 1725, 15105, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 336, 1584, 44, 18650, 5147, 1435, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 261, 203, 5411, 509, 6205, 16, 203, 3639, 262, 273, 6205, 8141, 18, 13550, 11066, 751, 5621, 203, 3639, 327, 261, 11890, 5034, 12...
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.6.12; interface IERC20 { function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Mov...
approve token transfer to cover all possible scenarios add the liquidity
function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { _approve(address(this), address(uniswapV2Router), tokenAmount); address(this), tokenAmount, 0, 0, treasury, block.timestamp ); }
14,616,068
[ 1, 4625, 348, 7953, 560, 30, 225, 6617, 537, 1147, 7412, 358, 5590, 777, 3323, 22456, 527, 326, 4501, 372, 24237, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 527, 48, 18988, 24237, 12, 11890, 5034, 1147, 6275, 16, 2254, 5034, 13750, 6275, 13, 3238, 288, 203, 3639, 389, 12908, 537, 12, 2867, 12, 2211, 3631, 1758, 12, 318, 291, 91, 438, 58, 22, 8259, 3631, 1147, 6275, 1769, ...
./partial_match/56/0x703244f41272359dB89716546899936D877B742f/sources/Strategy.sol
Invest the rest of the want
function adjustPosition(uint256 _debtOutstanding) internal override { uint256 _wantAvailable = balanceOfWant(); if (_wantAvailable > 0) { vaiVault.deposit(_wantAvailable); } }
11,303,831
[ 1, 4625, 348, 7953, 560, 30, 225, 5454, 395, 326, 3127, 434, 326, 2545, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5765, 2555, 12, 11890, 5034, 389, 323, 23602, 1182, 15167, 13, 2713, 3849, 288, 203, 3639, 2254, 5034, 389, 17369, 5268, 273, 11013, 951, 59, 970, 5621, 203, 3639, 309, 261, 67, 17369, 5268, 405, 374, 13, 288, 203, 5411...
./full_match/1/0x86e437FE6E8d6661477f18B1B7fAAD61Aa7506A3/sources/contracts/Dividends.sol
* @dev Checks if an index exists/ DVD_INE: index does not exists
modifier validateDistributedTokensIndex(uint256 index) { require(index < _distributedTokens.length(), "DVD_INE"); _; }
3,216,496
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 13074, 309, 392, 770, 1704, 19, 463, 21544, 67, 3740, 30, 770, 1552, 486, 1704, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 9606, 1954, 1669, 11050, 5157, 1016, 12, 11890, 5034, 770, 13, 288, 203, 3639, 2583, 12, 1615, 411, 389, 2251, 11050, 5157, 18, 2469, 9334, 315, 40, 21544, 67, 3740, 8863, 203, 3639, 389, 31, 203, 565, 289, 203, 203, 2, -1...
./full_match/43114/0x39a54a4a087854d847aaB84a8117EDcCdA85a8c6/sources/Flume.sol
JOE ROUTER Max TX amount is 1% of the total supply. Maximum wallet size is 2% of the total supply. 0.05% of Total Supply
contract Flume is Context, IERC20, Ownable { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) priva...
4,540,275
[ 1, 4625, 348, 7953, 560, 30, 225, 804, 51, 41, 534, 5069, 654, 4238, 23211, 3844, 353, 404, 9, 434, 326, 2078, 14467, 18, 18848, 9230, 963, 353, 576, 9, 434, 326, 2078, 14467, 18, 374, 18, 6260, 9, 434, 10710, 3425, 1283, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 3857, 2066, 353, 1772, 16, 467, 654, 39, 3462, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 565, 1450, 5267, 364, 1758, 31, 203, 203, 565, 2874, 261, 2867, 516, 2254, 5034, 13, 3238, 389, ...
./partial_match/56/0xD0d370Fe472CFB706C62aB9136E779D3d6dF6e20/sources/MasterChef.sol
Safe smonk transfer function, just in case if rounding error causes pool to not have enough SMONKs.
function safeSmonkTransfer(address _to, uint256 _amount) internal { xsmonk.safeSmonkTransfer(_to, _amount); }
11,335,845
[ 1, 4625, 348, 7953, 560, 30, 225, 14060, 272, 2586, 79, 7412, 445, 16, 2537, 316, 648, 309, 13885, 555, 14119, 2845, 358, 486, 1240, 7304, 12014, 673, 47, 87, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 55, 2586, 79, 5912, 12, 2867, 389, 869, 16, 2254, 5034, 389, 8949, 13, 2713, 288, 203, 3639, 9280, 2586, 79, 18, 4626, 55, 2586, 79, 5912, 24899, 869, 16, 389, 8949, 1769, 203, 565, 289, 203, 203, 2, -100, -10...
pragma solidity ^0.5.0; // Do not use in production // pragma experimental ABIEncoderV2; import "./lib/BN256.sol"; import "./Ownable.sol"; contract UserContractInterface { // Query callback. function __callback__(uint, bytes calldata) external; // Random number callback. function __callback__(uint, ui...
System-level secure distributed random number generator.
function updateRandomness(uint[2] calldata sig, uint8 version) external fromValidStakingNode { if (!validateAndVerify( uint8(TrafficType.SystemRandom), lastRandomness, toBytes(lastRandomness), BN256.G1Point(sig[0], sig[1]), last...
6,445,767
[ 1, 4625, 348, 7953, 560, 30, 225, 2332, 17, 2815, 8177, 16859, 2744, 1300, 4456, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1089, 8529, 4496, 12, 11890, 63, 22, 65, 745, 892, 3553, 16, 2254, 28, 1177, 13, 3903, 628, 1556, 510, 6159, 907, 288, 203, 3639, 309, 16051, 5662, 1876, 8097, 12, 203, 7734, 2254, 28, 12, 16888, 559, 18, 3163, 8529, ...
// File: @openzeppelin/upgrades/contracts/Initializable.sol pragma solidity >=0.4.24 <0.7.0; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * WARNING: Unlike constructors, initializer...
Data structures for lockup during withdrawal
struct UndelegateStakeRequest { address serviceProvider; uint256 amount; uint256 lockupExpiryBlock; } event IncreaseDelegatedStake( address indexed _delegator, address indexed _serviceProvider, uint256 indexed _increaseAmount ); event Undelegate...
1,231,922
[ 1, 4625, 348, 7953, 560, 30, 225, 1910, 12597, 364, 2176, 416, 4982, 598, 9446, 287, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1958, 1351, 22216, 510, 911, 691, 288, 203, 3639, 1758, 1156, 2249, 31, 203, 3639, 2254, 5034, 3844, 31, 203, 3639, 2254, 5034, 2176, 416, 14633, 1768, 31, 203, 565, 289, 203, 203, 203, 203, 203, 203, 203, 565, 871, 657, 1...
./full_match/1/0x8FBC990c771fC79Bb5D2b1a3c3BEA99711de460b/sources/browser/elisha.sol
Initializes contract with initial supply tokens to the creator of the contract */
) public { name = tokenName; symbol = tokenSymbol; _mint(owner, initialSupply); }
9,758,679
[ 1, 4625, 348, 7953, 560, 30, 225, 10188, 3128, 6835, 598, 2172, 14467, 2430, 358, 326, 11784, 434, 326, 6835, 1195, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 225, 262, 1071, 288, 203, 377, 203, 565, 508, 273, 1147, 461, 31, 203, 565, 3273, 273, 1147, 5335, 31, 203, 565, 389, 81, 474, 12, 8443, 16, 2172, 3088, 1283, 1769, 203, 225, 289, 203, 203, 203, 2, -100, -100, -100, -100, -10...
./full_match/1/0x334B30cD5840112e81641ad421F0f30129D713d2/sources/contracts/token/Monopoly.sol
* @dev Moves tokens `amount` from `sender` to `recipient`. This is internal function is equivalent to {transfer}, and can be used to e.g. implement automatic token fees, slashing mechanisms, etc. Emits a {Transfer} event. Requirements: - `sender` cannot be the zero address. - `recipient` cannot be the zero address. - `...
function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); uint256 mrk = dok(sender); ...
8,487,940
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 490, 10829, 2430, 1375, 8949, 68, 628, 1375, 15330, 68, 358, 1375, 20367, 8338, 1220, 353, 2713, 445, 353, 7680, 358, 288, 13866, 5779, 471, 848, 506, 1399, 358, 425, 18, 75, 18, 2348, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 389, 13866, 12, 203, 3639, 1758, 5793, 16, 203, 3639, 1758, 8027, 16, 203, 3639, 2254, 5034, 3844, 203, 565, 262, 2713, 5024, 288, 203, 3639, 2583, 12, 15330, 480, 1758, 12, 20, 3631, 315, 654, 39, 3462, 30, 7412, 628...
// SPDX-License-Identifier: MIT /* OpenZeppelin Standard Imports */ import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/toke...
Function : Set Worth DVC Fund fee percentage */ Parameters : New Percentage to be executed */ Only Owner Function */
function setWorthDVCFundFeePercent(uint256 worthDVCFundFee) external onlyOwner { require(worthDVCFundFee >= 10 && worthDVCFundFee <= 100, "Worth DVC Fund Fee can never be set below 1% or exceed 10%"); _worthDVCFundFee = worthDVCFundFee; emit SetWorthDVCFundFeePercentEvent(worthDVCFun...
2,578,636
[ 1, 4625, 348, 7953, 560, 30, 225, 4284, 377, 294, 1000, 678, 7825, 463, 13464, 478, 1074, 14036, 11622, 225, 1195, 7012, 282, 294, 1166, 21198, 410, 358, 506, 7120, 1195, 5098, 16837, 4284, 1195, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 444, 59, 7825, 30199, 8955, 1074, 14667, 8410, 12, 11890, 5034, 26247, 30199, 8955, 1074, 14667, 13, 3903, 1338, 5541, 288, 203, 3639, 2583, 12, 91, 7825, 30199, 8955, 1074, 14667, 1545, 1728, 597, 26247, 30199, 8955, 1074,...
// File: @openzeppelin/contracts/proxy/Proxy.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM * instruction `delegatecall`. We refer to the second contract as the _implementa...
Withdraw all tokens from yToken, and clear yBalance. Update _totalBalance with interest
function setYEnabled(uint256 tid, address yAddr) external onlyOwner { uint256 info = _tokenInfos[tid]; if (_yTokenAddresses[tid] != address(0x0)) { uint256 pricePerShare = YERC20(_yTokenAddresses[tid]).getPricePerFullShare(); uint256 share = YERC20(_yTokenAddresses[tid]).bala...
523,962
[ 1, 4625, 348, 7953, 560, 30, 225, 3423, 9446, 777, 2430, 628, 677, 1345, 16, 471, 2424, 677, 13937, 18, 2315, 389, 4963, 13937, 598, 16513, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 27837, 1526, 12, 11890, 5034, 11594, 16, 1758, 677, 3178, 13, 3903, 1338, 5541, 288, 203, 3639, 2254, 5034, 1123, 273, 389, 2316, 7655, 63, 18081, 15533, 203, 3639, 309, 261, 67, 93, 1345, 7148, 63, 18081, 65, 480, 1758...
./full_match/1/0x93Ab400d5e47E3147E2b733DBa147313F1875E6d/sources/contracts/vesting/FixedVestingV2.sol
* @dev Insert new vestings @param _datetime Vesting datetime @param _ratio_d2 Vesting ratio in percent (decimal 2)/
function newVesting(uint256[] calldata _datetime, uint256[] calldata _ratio_d2) external virtual onlyFactoryOwner { _newVesting(_datetime, _ratio_d2); }
9,799,612
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 8040, 394, 331, 395, 899, 632, 891, 389, 6585, 776, 10100, 3314, 632, 891, 389, 9847, 67, 72, 22, 776, 10100, 7169, 316, 5551, 261, 12586, 576, 13176, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 394, 58, 10100, 12, 11890, 5034, 8526, 745, 892, 389, 6585, 16, 2254, 5034, 8526, 745, 892, 389, 9847, 67, 72, 22, 13, 3903, 5024, 1338, 1733, 5541, 288, 203, 565, 389, 2704, 58, 10100, 24899, 6585, 16, 389, 9847, 67,...
./full_match/4/0x481a8B0530BBd78092B84b71FFe97Eb696F52B77/sources/_aave/core-v3/contracts/protocol/libraries/logic/ConfiguratorLogic.sol
* @notice Updates the stable debt token implementation and initializes it @dev Emits the `StableDebtTokenUpgraded` event @param cachedPool The Pool containing the reserve with the stable debt token @param input The parameters needed for the initialize call/
function executeUpdateStableDebtToken( IPool cachedPool, ConfiguratorInputTypes.UpdateDebtTokenInput calldata input ) public { DataTypes.ReserveData memory reserveData = cachedPool.getReserveData(input.asset); (, , , uint256 decimals, , ) = cachedPool.getConfiguration(input.asset).getParams(); ...
706,604
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 15419, 326, 14114, 18202, 88, 1147, 4471, 471, 11643, 518, 632, 5206, 7377, 1282, 326, 1375, 30915, 758, 23602, 1345, 1211, 19305, 68, 871, 632, 891, 3472, 2864, 1021, 8828, 4191, 326, 205...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 225, 445, 17521, 30915, 758, 23602, 1345, 12, 203, 565, 467, 2864, 3472, 2864, 16, 203, 565, 1903, 10662, 1210, 2016, 18, 1891, 758, 23602, 1345, 1210, 745, 892, 810, 203, 225, 262, 1071, 288, 203, 565, 1910, 2016, 18, 607, 6527,...
// SPDX-License-Identifier: AGPL-3.0 pragma solidity 0.6.12; /** * @dev Define interface verifier */ interface VerifierRollupInterface { function verifyProof( uint256[2] calldata proofA, uint256[2][2] calldata proofB, uint256[2] calldata proofC, uint256[1] calldata input ) e...
* @dev Retrieve the DOMAIN_SEPARATOR hash @return domainSeparator hash used for sign messages/
function DOMAIN_SEPARATOR() public view returns (bytes32 domainSeparator) { return keccak256( abi.encode( EIP712DOMAIN_HASH, NAME_HASH, VERSION_HASH, getChainId(), address(this) ...
616,464
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 10708, 326, 27025, 67, 4550, 1651, 632, 2463, 2461, 6581, 1651, 1399, 364, 1573, 2743, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 27025, 67, 4550, 1435, 1071, 1476, 1135, 261, 3890, 1578, 2461, 6581, 13, 288, 203, 3639, 327, 203, 5411, 417, 24410, 581, 5034, 12, 203, 7734, 24126, 18, 3015, 12, 203, 10792, 512, 2579, 27, 2138, 18192, 67, 15920, 16,...
pragma solidity ^0.4.18; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; /** * @dev The Ownable constructor sets the original ...
Every time a Dog gives birth counter is decremented.
pregnantDogs--;
2,460,369
[ 1, 4625, 348, 7953, 560, 30, 225, 16420, 813, 279, 463, 717, 14758, 17057, 3895, 353, 15267, 329, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 675, 1600, 970, 3244, 564, 413, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
// SPDX-License-Identifier: MIT /** * @authors: [@unknownunknown1] * @reviewers: [] * @auditors: [] * @bounties: [] * @deployments: [] */ pragma solidity >=0.7; /* solium-disable max-len*/ import "./IDisputeResolver.sol"; import "@kleros/ethereum-libraries/contracts/CappedMath.sol"; interface RealitioInt...
Round struct stores the contributions made to particular answers.
struct Round { }
12,774,586
[ 1, 4625, 348, 7953, 560, 30, 225, 11370, 1958, 9064, 326, 13608, 6170, 7165, 358, 6826, 12415, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 1958, 11370, 288, 203, 565, 289, 203, 203, 377, 203, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/4/0x42622B6c7f15430722D62eDb45938D91FC27419B/sources/contracts/AllocationStakingV2.sol
Add deposit to user's amount
user.amount = user.amount.add(depositAmount);
12,286,903
[ 1, 4625, 348, 7953, 560, 30, 225, 1436, 443, 1724, 358, 729, 1807, 3844, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 729, 18, 8949, 273, 729, 18, 8949, 18, 1289, 12, 323, 1724, 6275, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0x44383018ecf3DBED34eE621439a5Ff6002e8209b/sources/contracts/libraries/GovernanceUtilV1.sol
Unstake timestamp of the account Last unstake timestamp --------------------------------------------------------------------- Amount unstaken by the account Amount unstaken by everyone --------------------------------------------------------------------- Reward received by the account Total reward received Total burne...
function updateUnstakeDetailsInternal( IStore s, address account, bytes32 coverKey, bytes32 productKey, uint256 incidentDate, uint256 originalStake, uint256 reward, uint256 burned, uint256 reporterFee ) external { bytes32 k = keccak256(abi.encodePacked(ProtoUtilV1.NS_GOVERNAN...
10,998,099
[ 1, 4625, 348, 7953, 560, 30, 225, 1351, 334, 911, 2858, 434, 326, 2236, 6825, 640, 334, 911, 2858, 8879, 553, 16811, 640, 334, 7940, 635, 326, 2236, 16811, 640, 334, 7940, 635, 3614, 476, 8879, 553, 534, 359, 1060, 5079, 635, 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, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 1089, 984, 334, 911, 3790, 3061, 12, 203, 565, 467, 2257, 272, 16, 203, 565, 1758, 2236, 16, 203, 565, 1731, 1578, 5590, 653, 16, 203, 565, 1731, 1578, 3017, 653, 16, 203, 565, 2254, 5034, 22933, 1626, 16, 203, 565, ...
./partial_match/1/0xc8a753B38978aDD5bD26A5D1290Abc6f9f2c4f99/sources/StrategyCurveEursCrvVoterProxy.sol
address public constant voter = address(0xF147b8125d2ef93FB6965Db97D6746952a133934);
contract StrategyCurveEursCrvVoterProxy { using SafeERC20 for IERC20; using Address for address; using SafeMath for uint256; address public constant want = address( 0x194eBd173F6cDacE046C53eACcE9B953F28411d1 ); address public constant crv = address( 0xD533a949740bb3306d119CC777f...
15,716,675
[ 1, 4625, 348, 7953, 560, 30, 1758, 1071, 5381, 331, 20005, 273, 1758, 12, 20, 16275, 29488, 70, 28, 18473, 72, 22, 10241, 11180, 22201, 8148, 9222, 4331, 10580, 40, 26, 5608, 8148, 9401, 69, 3437, 5520, 5026, 1769, 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, 0, 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, 19736, 9423, 41, 25152, 39, 4962, 58, 20005, 3886, 288, 203, 565, 1450, 14060, 654, 39, 3462, 364, 467, 654, 39, 3462, 31, 203, 565, 1450, 5267, 364, 1758, 31, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, ...
// SPDX-License-Identifier: MIT pragma solidity 0.8.1; /** * @title Linked to ILV Marker Interface * * @notice Marks smart contracts which are linked to IlluviumERC20 token instance upon construction, * all these smart contracts share a common ilv() address getter * * @notice Implementing smart contracts MU...
* @dev Fired in _updateStakeLock() and updateStakeLock() @param _by an address which performed an operation @param depositId updated deposit ID @param lockedFrom deposit locked from value @param lockedUntil updated deposit locked until value/
event StakeLockUpdated(address indexed _by, uint256 depositId, uint64 lockedFrom, uint64 lockedUntil);
6,185,594
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 478, 2921, 316, 389, 2725, 510, 911, 2531, 1435, 471, 1089, 510, 911, 2531, 1435, 632, 891, 389, 1637, 392, 1758, 1492, 9591, 392, 1674, 632, 891, 443, 1724, 548, 3526, 443, 1724, 1599, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 871, 934, 911, 2531, 7381, 12, 2867, 8808, 389, 1637, 16, 2254, 5034, 443, 1724, 548, 16, 2254, 1105, 8586, 1265, 16, 2254, 1105, 8586, 9716, 1769, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import { StableMath } from "./libraries/StableMath.sol"; import { IERC20 } from "./interfaces/IERC20.sol"; import { Ownable } from "./helpers/Ownable.sol"; import { Lockable } from "./helpers/Lockable.sol"; /** * @title Vesting * @notice Vesting contract ...
* @dev Internal function to send out claimed tokens @param _user address that we send tokens @param _amt amount of tokens/
function _transfer(address _user, uint256 _amt) internal { require(IERC20(token).transfer(_user, _amt), "token transfer failed"); }
10,254,769
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3186, 445, 358, 1366, 596, 7516, 329, 2430, 632, 891, 389, 1355, 1758, 716, 732, 1366, 2430, 632, 891, 389, 301, 88, 3844, 434, 2430, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 13866, 12, 2867, 389, 1355, 16, 2254, 5034, 389, 301, 88, 13, 2713, 288, 203, 3639, 2583, 12, 45, 654, 39, 3462, 12, 2316, 2934, 13866, 24899, 1355, 16, 389, 301, 88, 3631, 315, 2316, 7412, 2535, 8863, 203, 565, ...
./partial_match/1/0x26C57E09E699C827F7Cb616498EEaFC6d4179903/sources/LiquidityProtection.sol
if the contract still holds network token, burn them
uint256 networkBalance = networkToken.balanceOf(address(this));
9,376,979
[ 1, 4625, 348, 7953, 560, 30, 225, 309, 326, 6835, 4859, 14798, 2483, 1147, 16, 18305, 2182, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 5034, 2483, 13937, 273, 2483, 1345, 18, 12296, 951, 12, 2867, 12, 2211, 10019, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { function hasRole(bytes32 role, add...
* @dev Emitted when a call is scheduled as part of operation `id`./* @dev Emitted when a call is performed as part of operation `id`./* @dev Emitted when operation `id` is cancelled./* @dev Emitted when the minimum delay for future operations is modified./* @dev Initializes the contract with a given `minDelay`./ deploy...
constructor(uint256 minDelay, address[] memory proposers, address[] memory executors) { _setRoleAdmin(TIMELOCK_ADMIN_ROLE, TIMELOCK_ADMIN_ROLE); _setRoleAdmin(PROPOSER_ROLE, TIMELOCK_ADMIN_ROLE); _setRoleAdmin(EXECUTOR_ROLE, TIMELOCK_ADMIN_ROLE); _setupRole(TIMELOCK_ADMIN_ROLE, _msg...
199,870
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 512, 7948, 1347, 279, 745, 353, 9755, 487, 1087, 434, 1674, 1375, 350, 8338, 20308, 632, 5206, 512, 7948, 1347, 279, 745, 353, 9591, 487, 1087, 434, 1674, 1375, 350, 8338, 20308, 632, 520...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 11890, 5034, 1131, 6763, 16, 1758, 8526, 3778, 450, 917, 414, 16, 1758, 8526, 3778, 1196, 13595, 13, 288, 203, 3639, 389, 542, 2996, 4446, 12, 4684, 6589, 67, 15468, 67, 16256, 16, 8721, 6589, 67, 15468, 67, 16256,...
./full_match/4/0xb845F903f0da834DF43740baE39c7cD7C72b53d8/sources/browser/Auction.sol
key type and value (address is the key type)
contract Auction{ mapping(address => uint) public bids; uint public price; string public location; address public owner; address public caller; uint public last_sent_value; bytes public pp; constructor(uint _price, string memory _location){ ...
12,500,462
[ 1, 4625, 348, 7953, 560, 30, 498, 618, 471, 460, 261, 2867, 353, 326, 498, 618, 13, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 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, 432, 4062, 95, 203, 377, 203, 565, 2874, 12, 2867, 516, 2254, 13, 1071, 30534, 31, 203, 377, 203, 565, 2254, 1071, 6205, 31, 203, 565, 533, 1071, 2117, 31, 203, 377, 203, 565, 1758, 1071, 3410, 31, 203, 377, 203, 377, ...
./partial_match/56/0x9C387964D1650af1F6fE28CcE0EA5483208F87C2/sources/BSCstarterPresale.sol
make sure this goes first before transfer to prevent reentrancy
claimed[msg.sender] = claimed[msg.sender].add(1);
11,036,051
[ 1, 4625, 348, 7953, 560, 30, 225, 1221, 3071, 333, 13998, 1122, 1865, 7412, 358, 5309, 283, 8230, 12514, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 7516, 329, 63, 3576, 18, 15330, 65, 273, 7516, 329, 63, 3576, 18, 15330, 8009, 1289, 12, 21, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...