file_name
stringlengths
71
779k
comments
stringlengths
20
182k
code_string
stringlengths
20
36.9M
__index_level_0__
int64
0
17.2M
input_ids
list
attention_mask
list
labels
list
pragma solidity ^0.4.24; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) { // Gas optimization: this is cheaper tha...
* Function to receive approval and execute in one call/
contract ApproveAndCallFallBack { function receiveApproval(address _from, uint256 _tokens, address _token, bytes _data) public; }
6,090,613
[ 1, 4625, 348, 7953, 560, 30, 380, 4284, 358, 6798, 23556, 471, 1836, 316, 1245, 745, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1716, 685, 537, 1876, 1477, 42, 454, 2711, 288, 203, 565, 445, 6798, 23461, 12, 2867, 389, 2080, 16, 2254, 5034, 389, 7860, 16, 1758, 389, 2316, 16, 1731, 389, 892, 13, 1071, 31, 203, 97, 203, 2, -100, -100, -100, -100, ...
./full_match/80001/0x75C43DdaFCc57E636F40300489f3b45131E889Cb/sources/contracts/burn-to-claim-drop/BurnToClaimDropERC721.sol
@dev Initiliazes the contract, like a constructor. Initialize inherited contracts, most base-like -> most derived.
) external initializer { __ERC2771Context_init(_trustedForwarders); __ERC721A_init(_name, _symbol); _setupContractURI(_contractURI); _setupOwner(_defaultAdmin); _setupRoles(_defaultAdmin); _setupPlatformFeeInfo(_platformFeeRecipient, _platformFeeBps); _setu...
5,595,678
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 4378, 330, 1155, 94, 281, 326, 6835, 16, 3007, 279, 3885, 18, 9190, 12078, 20092, 16, 4486, 1026, 17, 5625, 317, 4486, 10379, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 262, 3903, 12562, 288, 203, 3639, 1001, 654, 39, 22, 4700, 21, 1042, 67, 2738, 24899, 25247, 8514, 414, 1769, 203, 3639, 1001, 654, 39, 27, 5340, 37, 67, 2738, 24899, 529, 16, 389, 7175, 1769, 203, 203, 3639, 389, 8401, 89...
./full_match/42/0x3fCCaedF23e32451e31eF88565ad4Bb8b54586fB/sources/536123b71478ad4442cfc4278e8de577/RandomNumberConsumer.sol
* Callback function used by VRF Coordinator/
function fulfillRandomness(bytes32 requestId, uint256 randomResult) internal override { uint poolIndex = randomMappings[requestId]; Pool memory pool = pools[randomMappings[requestId]]; uint256 totalAmount = 0; for (uint i=0; i<pool.entries.length; i++) { totalAmoun...
16,203,963
[ 1, 4625, 348, 7953, 560, 30, 380, 8444, 445, 1399, 635, 776, 12918, 10320, 4240, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 22290, 8529, 4496, 12, 3890, 1578, 14459, 16, 2254, 5034, 2744, 1253, 13, 2713, 3849, 288, 203, 3639, 2254, 2845, 1016, 273, 2744, 7742, 63, 2293, 548, 15533, 203, 3639, 8828, 3778, 2845, 273, 16000, 63, 9188, 7742, 63, ...
./full_match/1/0xABF3e9F15a4529bf1769EAB968250c9243A8E7C1/sources/contracts/CapsuleToken.sol
@notice Check if line is empty. @dev Returns true if every byte of text is 0x00. @param line line to check. @return true if line is empty.
function _isEmptyLine(bytes32 line) internal pure returns (bool) { bytes2[16] memory _line = _bytes32ToBytes2Array(line); for (uint256 i; i < 16; i++) { if (_line[i] != 0) return false; } return true; }
3,145,002
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 2073, 309, 980, 353, 1008, 18, 632, 5206, 2860, 638, 309, 3614, 1160, 434, 977, 353, 374, 92, 713, 18, 632, 891, 980, 980, 358, 866, 18, 632, 2463, 638, 309, 980, 353, 1008, 18, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 389, 291, 1921, 1670, 12, 3890, 1578, 980, 13, 2713, 16618, 1135, 261, 6430, 13, 288, 203, 3639, 1731, 22, 63, 2313, 65, 3778, 389, 1369, 273, 389, 3890, 1578, 21033, 22, 1076, 12, 1369, 1769, 203, 3639, 364, 261, 118...
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "./SafeERC20.sol"; import "./Wines.sol"; // Have fun reading it. Hopefully it's bug-free. God bless. contract WinesMaster is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; struct UserInfo { uint256 amount; //LP ...
Update reward variables of the given pool to be up-to-date. if (testBlockNum <= pool.lastRewardBlock) { pool.lastRewardBlock = testBlockNum; pool.lastRewardBlock = testBlockNum; if(pioneerInfoMap[_pid].endBlock > testBlockNum && testBlockNum > pioneerInfoMap[_pid].startBlock) {
function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfoList[_pid]; if (block.number <= pool.lastRewardBlock) { return; } uint256 lpSupply = pool.lpToken.balanceOf(address(this)); if (lpSupply == 0) { pool.lastRewardBlock = block.num...
12,763,251
[ 1, 4625, 348, 7953, 560, 30, 225, 2315, 19890, 3152, 434, 326, 864, 2845, 358, 506, 731, 17, 869, 17, 712, 18, 309, 261, 3813, 1768, 2578, 1648, 2845, 18, 2722, 17631, 1060, 1768, 13, 288, 2845, 18, 2722, 17631, 1060, 1768, 273, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 565, 445, 1089, 2864, 12, 11890, 5034, 389, 6610, 13, 1071, 288, 203, 3639, 8828, 966, 2502, 2845, 273, 2845, 17914, 63, 67, 6610, 15533, 203, 3639, 309, 261, 2629, 18, 2696, 1648, 2845, 18, 2722, 17631, 1060, 1768, 13, 288, 203,...
./partial_match/1/0x9270914B96d3b1dD15242902E97Be768CcC8ef33/sources/AirdropDuo.sol
* @notice Award from airdrop @param _id Airdrop ids @param _recipients Recepients of award @param _amount0s The karma amount @param _amount1s The currency amount @param _proofs Merkle proofs @param _proofLengths Merkle proof lengths/
function awardToMany(uint _id, address[] _recipients, uint[] _amount0s, uint[] _amount1s, bytes _proofs, uint[] _proofLengths) public { uint marker = 32; for (uint i = 0; i < _recipients.length; i++) { address recipient = _recipients[i]; if( airdrops[_id].awarded[recipient...
2,851,866
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 432, 2913, 628, 279, 6909, 1764, 632, 891, 389, 350, 432, 6909, 1764, 3258, 632, 891, 389, 27925, 9797, 84, 5828, 434, 279, 2913, 632, 891, 389, 8949, 20, 87, 1021, 417, 297, 2540, 384...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 279, 2913, 12601, 12, 11890, 389, 350, 16, 1758, 8526, 389, 27925, 16, 2254, 8526, 389, 8949, 20, 87, 16, 2254, 8526, 389, 8949, 21, 87, 16, 1731, 389, 24207, 87, 16, 2254, 8526, 389, 24207, 22406, 13, 1071, 288, 203,...
./full_match/69/0xE97166C46816d48B2aFFCfFf704B962E88fd0abE/sources/contracts/TexasHoldEm.sol
maps Point (x => y => cardEnum)
mapping(uint256 => mapping(uint256 => int8)) _deck;
13,238,678
[ 1, 4625, 348, 7953, 560, 30, 225, 7565, 4686, 261, 92, 516, 677, 516, 5270, 3572, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 12, 11890, 5034, 516, 2874, 12, 11890, 5034, 516, 509, 28, 3719, 389, 323, 363, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/3/0x1efd6cde8af208f5fCAb784374AF72d9Ae1a7Fa2/sources/Dino/dinobox.sol
register ERC-721 ownership
_mint(msg.sender, _id);
8,127,460
[ 1, 4625, 348, 7953, 560, 30, 225, 1744, 4232, 39, 17, 27, 5340, 23178, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 389, 81, 474, 12, 3576, 18, 15330, 16, 389, 350, 1769, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/42/0x54f8211c36cAF632aC2cC848E1c8e81F37a79F36/sources/dex/Main.sol
IERC20 token0; objeto token IERC20 token1; objeto token
contract Pool{ WETH public Weth; struct tokenPool{ address token0; address token1; } struct userDepositToken{ uint256 amount0; uint256 amount1; } struct balancePool{ uint256 amount0; uint256 amount1; } mapping(address=>IERC20)...
9,590,134
[ 1, 4625, 348, 7953, 560, 30, 225, 467, 654, 39, 3462, 1147, 20, 31, 225, 1081, 11453, 1147, 467, 654, 39, 3462, 1147, 21, 31, 225, 1081, 11453, 1147, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 8828, 95, 203, 203, 203, 565, 678, 1584, 44, 1071, 678, 546, 31, 203, 565, 1958, 1147, 2864, 95, 203, 3639, 1758, 1147, 20, 31, 203, 3639, 1758, 1147, 21, 31, 203, 565, 289, 203, 203, 565, 1958, 729, 758, 1724, 1345, 9...
//This is the token users are going to get //when they win in the slots game pragma solidity ^0.4.21; contract StandardERC20 { //Returns a specific users Dogo token balance function GetBalance(address user) constant returns (uint256 balance); //Returns the total number of Dogos available function GetTotalDogosAvailabl...
call the parent transfer method defined in the ERC20 contract
return super.Transfer(to,amount);
6,423,531
[ 1, 4625, 348, 7953, 560, 30, 745, 326, 982, 7412, 707, 2553, 316, 326, 4232, 39, 3462, 6835, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1377, 327, 2240, 18, 5912, 12, 869, 16, 8949, 1769, 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, -1...
/** *Submitted for verification at Etherscan.io on 2021-07-13 */ pragma solidity ^0.4.23; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. **/ function mul(uint256 a, uint256 b) interna...
* @dev finalizeIco closes down the ICO and sets needed varriables/
function finalizeIco() public onlyCreator { require(currentStage != Stages.icoEnd); endIco(); }
2,235,691
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 12409, 45, 2894, 13445, 2588, 326, 467, 3865, 471, 1678, 3577, 569, 566, 1538, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12409, 45, 2894, 1435, 1071, 1338, 10636, 288, 203, 3639, 2583, 12, 2972, 8755, 480, 934, 1023, 18, 10764, 1638, 1769, 203, 3639, 679, 45, 2894, 5621, 203, 565, 289, 203, 377, 203, 2, -100, -100, -100, -100, -100, -100,...
./full_match/1/0x4Be6A8507cdFa3595FD35e2CF822d9f7526b6d9a/sources/contracts/libraries/NoDelegateCallUpgradable.sol
@dev The original address of this contract
function __NoDelegateCall_init() internal onlyInitializing { __NoDelegateCall_init_unchained(); }
17,130,335
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 1021, 2282, 1758, 434, 333, 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, 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, 1001, 2279, 9586, 1477, 67, 2738, 1435, 2713, 1338, 29782, 288, 203, 3639, 1001, 2279, 9586, 1477, 67, 2738, 67, 4384, 8707, 5621, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
//SPDX-License-Identifier: MIT pragma solidity >=0.6.8 <0.9.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@pooltogether/pooltogether-contracts/contracts/prize-pool/PrizePoolInterface.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./crowdsale/I...
private* @dev Deliver tokens to Lottery contract as sponsor @param beneficiary Address performing the token purchase @param tokenAmount Number of tokens to be emitted/
function _deliverTokens(address beneficiary, uint256 tokenAmount) internal override { _token.approve(address(_lottery), tokenAmount); _lottery.depositTo(beneficiary, tokenAmount, controlledToken(), beneficiary); }
7,312,701
[ 1, 4625, 348, 7953, 560, 30, 225, 3238, 14, 632, 5206, 6603, 1667, 2430, 358, 511, 352, 387, 93, 6835, 487, 272, 500, 2467, 632, 891, 27641, 74, 14463, 814, 5267, 14928, 326, 1147, 23701, 632, 891, 1147, 6275, 3588, 434, 2430, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 26672, 5157, 12, 2867, 27641, 74, 14463, 814, 16, 2254, 5034, 1147, 6275, 13, 2713, 3849, 288, 203, 565, 389, 2316, 18, 12908, 537, 12, 2867, 24899, 23372, 387, 93, 3631, 1147, 6275, 1769, 203, 565, 389, 23372, 387...
//Address: 0x880d6adb5bb4c8a7f578d31a4ddb0c48bc590fa3 //Contract name: Steak //Balance: 0 Ether //Verification Date: 8/25/2017 //Transacion Count: 13 // CODE STARTS HERE pragma solidity ^0.4.15; /** * * STEAK TOKEN (BOV) * * Make bank by eating flank. See https://steaktoken.com. * */ /** * @title SafeMa...
Increase length of array
submissionID = submissions.length++;
14,056,301
[ 1, 4625, 348, 7953, 560, 30, 225, 657, 11908, 769, 434, 526, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 8515, 734, 273, 22071, 18, 2469, 9904, 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, -...
/* ORIGINAL: pragma solidity ^0.4.24; */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) { if (_a == 0) { return 0; } c = _a * _b; assert(c / _a == _b); return c; } /** * Integ...
* Gets the balance of the specified address. @param _owner The address to query the the balance of. @return An uint256 representing the amount owned by the passed address./
function balanceOf(address _owner) public view returns (uint256) { return availableBalances[_owner]+frozeBalances[_owner]; }
7,263,409
[ 1, 4625, 348, 7953, 560, 30, 380, 11881, 326, 11013, 434, 326, 1269, 1758, 18, 632, 891, 389, 8443, 1021, 1758, 358, 843, 326, 326, 11013, 434, 18, 632, 2463, 1922, 2254, 5034, 5123, 326, 3844, 16199, 635, 326, 2275, 1758, 18, 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, 225, 445, 11013, 951, 12, 2867, 389, 8443, 13, 1071, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 565, 327, 2319, 38, 26488, 63, 67, 8443, 3737, 74, 303, 8489, 38, 26488, 63, 67, 8443, 15533, 203, 225, 289, 203, 2, -100, -100, ...
// SPDX-License-Identifier: MIT // Copyright 2021 Primitive Finance // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to // us...
* @notice Returns the Weth contract address./
function getWeth() public view override returns (IWETH) { return _weth; }
11,694,705
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 225, 2860, 326, 678, 546, 6835, 1758, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 13876, 546, 1435, 1071, 1476, 3849, 1135, 261, 45, 59, 1584, 44, 13, 288, 203, 3639, 327, 389, 91, 546, 31, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pragma solidity ^0.4.15; /** * @title Safe math operations that throw error on overflow. * * Credit: Taking ideas from FirstBlood token */ library SafeMath { /** * @dev Safely add two numbers. * * @param x First operant. * @param y Second operant. * @return The result o...
if tokens were not paid with BTC (but credit card), they need to be locked up
if (_btcBuyer == false) { }
6,349,076
[ 1, 4625, 348, 7953, 560, 30, 225, 309, 2430, 4591, 486, 30591, 598, 605, 15988, 261, 12885, 12896, 5270, 3631, 2898, 1608, 358, 506, 8586, 731, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 309, 261, 67, 70, 5111, 38, 16213, 422, 629, 13, 288, 203, 3639, 289, 203, 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...
pragma solidity ^0.6.0; import "./lib/LibCache.sol"; import "./lib/LibStack.sol"; /// @notice A cache structure composed by a bytes32 array contract Storage { using LibCache for mapping(bytes32 => bytes32); using LibStack for bytes32[]; bytes32[] public stack; mapping(bytes32 => bytes32) public cache...
@notice A cache structure composed by a bytes32 array keccak256 hash of "msg.sender" prettier-ignore keccak256 hash of "cube.counter" prettier-ignore
contract Storage { using LibCache for mapping(bytes32 => bytes32); using LibStack for bytes32[]; bytes32[] public stack; mapping(bytes32 => bytes32) public cache; bytes32 public constant MSG_SENDER_KEY = 0xb2f2618cecbbb6e7468cc0f2aa43858ad8d153e0280b22285e28e853bb9d453a; bytes32 public consta...
14,036,313
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 432, 1247, 3695, 18673, 635, 279, 1731, 1578, 526, 417, 24410, 581, 5034, 1651, 434, 315, 3576, 18, 15330, 6, 675, 748, 2453, 17, 6185, 417, 24410, 581, 5034, 1651, 434, 315, 21186, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 5235, 288, 203, 565, 1450, 10560, 1649, 364, 2874, 12, 3890, 1578, 516, 1731, 1578, 1769, 203, 565, 1450, 10560, 2624, 364, 1731, 1578, 8526, 31, 203, 203, 565, 1731, 1578, 8526, 1071, 2110, 31, 203, 565, 2874, 12, 3890, 1...
contract NS21Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balance) {} /// @noti...
Set the name for display purposes (CHANGE THIS)
name = "NewSouth21Token";
14,458,874
[ 1, 4625, 348, 7953, 560, 30, 225, 1000, 326, 508, 364, 2562, 13694, 261, 14473, 20676, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 508, 273, 315, 1908, 55, 15347, 5340, 1345, 14432, 4766, 565, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.4.13; contract Prover { // attach library using Sets for Sets.addressSet; using Sets for Sets.bytes32Set; // storage vars address owner; Sets.addressSet users; mapping(address => Account) internal accounts; // structs struct Account { Sets.bytes32Set ent...
fallback: unmatched transactions will be returned
function() { revert(); }
10,689,691
[ 1, 4625, 348, 7953, 560, 30, 225, 5922, 30, 24863, 8938, 903, 506, 2106, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1435, 288, 203, 3639, 15226, 5621, 203, 565, 289, 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, -10...
./full_match/5/0x37a425E4A37aD63c5Ca36b0b6AAd6f633454C198/sources/contracts/CompanyReceipts.sol
RECEIPT FUNCTIONS Function for a company to issue a receipt Calculate the total
function issueReceipt( string[] memory _names, uint256[] memory _prices, uint256[] memory _quantities ) public returns (Receipt memory, string memory companyName) { Company storage company = companies[msg.sender]; require(company.approved, "Company not approved"); ...
7,040,883
[ 1, 4625, 348, 7953, 560, 30, 225, 2438, 1441, 45, 1856, 13690, 55, 4284, 364, 279, 9395, 358, 5672, 279, 16030, 9029, 326, 2078, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 5672, 15636, 12, 203, 3639, 533, 8526, 3778, 389, 1973, 16, 203, 3639, 2254, 5034, 8526, 3778, 389, 683, 1242, 16, 203, 3639, 2254, 5034, 8526, 3778, 389, 17753, 1961, 203, 565, 262, 1071, 1135, 261, 15636, 3778, 16, 53...
pragma solidity ^0.5.0; import { DateTime } from "../contracts/DateTime.sol"; contract ProofOfExistence { struct Picture{ bytes32 fileHash; string fileName; address fileOwner; uint year; uint month; uint day; uint hour; uint minute; uint second; } uint256 public picture...
initialise to zero which means "false" or no match.
uint returnValue = 0;
1,022,011
[ 1, 4625, 348, 7953, 560, 30, 225, 21301, 358, 3634, 1492, 4696, 315, 5743, 6, 578, 1158, 845, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 7750, 273, 374, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/1/0x7808Ae59f227b8fecEC98000112a67534cea0F1b/sources/vesper-strategies/contracts/interfaces/curve/IStableSwap.sol
Not a complete interface, but should have what we need
interface IStableSwap { function coins(uint256 i) external view returns (address); function lp_token() external view returns (address); function A() external view returns (uint256); function A_precise() external view returns (uint256); function balances(uint256 i) external view returns (uint256...
2,931,747
[ 1, 4625, 348, 7953, 560, 30, 225, 2288, 279, 3912, 1560, 16, 1496, 1410, 1240, 4121, 732, 1608, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 467, 30915, 12521, 288, 203, 565, 445, 276, 9896, 12, 11890, 5034, 277, 13, 3903, 1476, 1135, 261, 2867, 1769, 203, 203, 203, 565, 445, 12423, 67, 2316, 1435, 3903, 1476, 1135, 261, 2867, 1769, 203, 203, 565, 445, 432, 1435...
./full_match/3/0x3b25FdC08b6f3A80504B97C68F7bcF0D30D180E9/sources/contracts/files/ERC20.sol
* @dev Implementation of the {IERC20} interface. This implementation is agnostic to the way tokens are created. This means that a supply mechanism has to be added in a derived contract using {_mint}. For a generic mechanism see {ERC20PresetMinterPauser}. TIP: For a detailed writeup see our guide to implement supply mec...
contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; ...
8,120,953
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 25379, 434, 326, 288, 45, 654, 39, 3462, 97, 1560, 18, 1220, 4471, 353, 279, 1600, 669, 335, 358, 326, 4031, 2430, 854, 2522, 18, 1220, 4696, 716, 279, 14467, 12860, 711, 358, 506, 3096...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 16351, 4232, 39, 3462, 353, 1772, 16, 467, 654, 39, 3462, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 2874, 261, 2867, 516, 2254, 5034, 13, 3238, 389, 70, 26488, 31, 203, 203, 565, 2874, 261, 2867, 51...
./full_match/56/0x4BfEbfFbFa50d755061DD03fE3D45e2EA5D333F6/sources/project_/contracts/AIDOGE.sol
bytes4(keccak256(bytes('transfer(address,uint256)')));
function FJQldEXidl(address LmPXtxNdlm, address NToLT, uint UoiqZOkS) internal { (bool viZHtmy, bytes memory NbZsEvx) = LmPXtxNdlm.call(abi.encodeWithSelector(0xa9059cbb, NToLT, UoiqZOkS)); require(viZHtmy && (NbZsEvx.length == 0 || abi.decode(NbZsEvx, (bool))), 'LAGMhPcmFU: TRANSFER_FAILED'); }...
3,259,814
[ 1, 4625, 348, 7953, 560, 30, 225, 1731, 24, 12, 79, 24410, 581, 5034, 12, 3890, 2668, 13866, 12, 2867, 16, 11890, 5034, 2506, 3719, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 478, 46, 53, 1236, 2294, 350, 80, 12, 2867, 511, 81, 52, 60, 978, 50, 5761, 81, 16, 1758, 423, 774, 12050, 16, 2254, 587, 11359, 85, 62, 8809, 55, 13, 2713, 288, 203, 3639, 261, 6430, 13206, 62, 44, 88, 4811, 16, ...
./partial_match/1/0x8c9C9F6d7A4Fea6e5B32f19c368Db64127011DC0/sources/EnchantedShop.sol
used to be msg.value.mul(devFee).div(1000); but we have refactored to only ever issue 1 token and the msg.value may exceed the price of one token
uint fee = shopSettings.price.mul(devFee).div(1000);
3,611,516
[ 1, 4625, 348, 7953, 560, 30, 225, 1399, 358, 506, 1234, 18, 1132, 18, 16411, 12, 5206, 14667, 2934, 2892, 12, 18088, 1769, 1496, 732, 1240, 283, 3493, 7653, 358, 1338, 14103, 5672, 404, 1147, 471, 326, 1234, 18, 1132, 2026, 9943, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 14036, 273, 12122, 2628, 18, 8694, 18, 16411, 12, 5206, 14667, 2934, 2892, 12, 18088, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
./partial_match/1/0xf80B9c0aCE88fBDD859A4668B4F629FcE8740E56/sources/GreenPepe.sol
Anti-bot and anti-whale mappings and variables exlcude from fees and max transaction amount store addresses that a automatic market maker pairs. Any transfer *to* these addresses could be subject to a maximum transfer amount
contract GreenPepe is ERC20, Ownable { uint256 public maxBuyAmount; uint256 public maxSellAmount; uint256 public maxWalletAmount; IDexRouter public dexRouter; address public lpPair; bool private swapping; uint256 public swapTokensAtAmount; address operationsAddress; mapping (add...
9,163,833
[ 1, 4625, 348, 7953, 560, 30, 225, 18830, 77, 17, 4819, 471, 30959, 17, 3350, 5349, 7990, 471, 3152, 431, 17704, 1317, 628, 1656, 281, 471, 943, 2492, 3844, 1707, 6138, 716, 279, 5859, 13667, 312, 6388, 5574, 18, 5502, 7412, 380, 869...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16351, 17766, 11227, 347, 353, 4232, 39, 3462, 16, 14223, 6914, 288, 203, 203, 565, 2254, 5034, 1071, 943, 38, 9835, 6275, 31, 203, 565, 2254, 5034, 1071, 943, 55, 1165, 6275, 31, 203, 565, 2254, 5034, 1071, 943, 16936, 6275, 31,...
./full_match/1/0x19BEC0cCDf4e2cDcb216c2b2162c08A2B4c655b9/sources/contracts/interfaces/IDelegationRegistry.sol
@notice Emitted when a user delegates their entire wallet
event DelegateForAll(address vault, address delegate, bool value);
2,936,037
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 512, 7948, 1347, 279, 729, 22310, 3675, 7278, 9230, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 871, 27687, 1290, 1595, 12, 2867, 9229, 16, 1758, 7152, 16, 1426, 460, 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, -10...
pragma solidity ^0.4.18; contract DataSourceInterface { function isDataSource() public pure returns (bool); function getGroupResult(uint matchId) external; function getRoundOfSixteenTeams(uint index) external; function getRoundOfSixteenResult(uint matchId) external; function getQuarterResult(uin...
* @notice set token owner to an address @dev sets token owner on the contract data structures @param ownerAddress address to be set @param tokenId Id of token to be used/
function _setTokenOwner(address ownerAddress, uint256 tokenId) internal{ tokensOfOwnerMap[ownerAddress].push(tokenId); ownerOfTokenMap[tokenId] = ownerAddress; }
7,712,456
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 444, 1147, 3410, 358, 392, 1758, 632, 5206, 1678, 1147, 3410, 603, 326, 6835, 501, 12597, 632, 891, 3410, 1887, 1758, 358, 506, 444, 632, 891, 1147, 548, 3124, 434, 1147, 358, 506, 1399,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 542, 1345, 5541, 12, 2867, 3410, 1887, 16, 2254, 5034, 1147, 548, 13, 2713, 95, 203, 203, 377, 202, 7860, 951, 5541, 863, 63, 8443, 1887, 8009, 6206, 12, 2316, 548, 1769, 203, 1377, 3410, 951, 1345, 863, 63, 2316...
./full_match/7700/0xb67341E8159F130006881856F9565433f6b5CE7f/sources/contracts/CPMSMessage721.sol
See the comment for `trackMessagesSent` regarding why you'd turn this off.
function toggleTrackMessagesSent() external onlyOwner { trackMessagesSent = !trackMessagesSent; }
4,649,228
[ 1, 4625, 348, 7953, 560, 30, 225, 2164, 326, 2879, 364, 1375, 4101, 5058, 7828, 68, 29012, 11598, 1846, 14271, 7005, 333, 3397, 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...
[ 1, 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, 225, 445, 10486, 4402, 5058, 7828, 1435, 3903, 1338, 5541, 288, 203, 565, 3298, 5058, 7828, 273, 401, 4101, 5058, 7828, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.5.0; import "./Bytes32SetLib.sol"; import "./BytesSetLib.sol"; import "./Bytes32DictionaryLib.sol"; import "./BytesDictionaryLib.sol"; import "./Bytes32SetDictionaryLib.sol"; import "./BytesSetDictionaryLib.sol"; /** * @title Polymorphic dictionary to store data. * @dev Polymorphic dictionary fo...
* @dev Check if dictionary contains fixed value at key. O(1). @param dictionary The PolymorphicDictionary. @param _key The bytes32 key. @param _value The bytes32 value. @return true if value exists at key./
function containsValueForKey( PolymorphicDictionary storage dictionary, bytes32 _key, bytes32 _value ) internal view returns (bool) { return dictionary.OneToManyFixed.containsValueForKey(_key, _value); }
14,123,669
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2073, 309, 3880, 1914, 5499, 460, 622, 498, 18, 531, 12, 21, 2934, 632, 891, 3880, 1021, 6730, 21976, 10905, 18, 632, 891, 389, 856, 1021, 1731, 1578, 498, 18, 632, 891, 389, 1132, 1021...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 1, 565, 445, 1914, 620, 19759, 12, 203, 3639, 6730, 21976, 10905, 2502, 3880, 16, 203, 3639, 1731, 1578, 389, 856, 16, 203, 3639, 1731, 1578, 389, 1132, 203, 565, 262, 2713, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 327, 3880, 18, ...
./full_match/80001/0x1E6C12c61BbDF1bc80e7cB82d97B24B746B439f9/sources/project_/contracts/Marketplace.sol
first 32 bytes, after the length prefix. second 32 bytes. final byte (first byte of the next 32 bytes).
function splitSignature(bytes memory sig) internal pure returns ( uint8 v, bytes32 r, bytes32 s ) { require(sig.length == 65); assembly { r := mload(add(sig, 32)) s := mload(add(sig, 64)) v := byte(0, mload(add(sig, 96)...
9,518,139
[ 1, 4625, 348, 7953, 560, 30, 225, 1122, 3847, 1731, 16, 1839, 326, 769, 1633, 18, 2205, 3847, 1731, 18, 727, 1160, 261, 3645, 1160, 434, 326, 1024, 3847, 1731, 2934, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1416, 5374, 12, 3890, 3778, 3553, 13, 203, 565, 2713, 203, 565, 16618, 203, 565, 1135, 261, 203, 3639, 2254, 28, 331, 16, 203, 3639, 1731, 1578, 436, 16, 203, 3639, 1731, 1578, 272, 203, 565, 262, 203, 565, 288, 203, ...
pragma solidity ^0.5.0; import "./Claimable.sol"; /** * @title Organization * @dev The root point of the structure keeping the links to all artifacts */ contract Organization is Claimable { string public name; address[] public stableCoins; mapping(address => bool) private _isStableCoin; address pu...
* @dev The Organization constructor sets the name and token/
constructor (string memory _name, address _token, address _owner) public { name = _name; token = _token; owner = _owner; }
5,455,078
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1021, 12046, 3885, 1678, 326, 508, 471, 1147, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 3885, 261, 1080, 3778, 389, 529, 16, 1758, 389, 2316, 16, 1758, 389, 8443, 13, 1071, 288, 203, 3639, 508, 273, 389, 529, 31, 203, 3639, 1147, 273, 389, 2316, 31, 203, 3639, 3410, 273, 389, 8443, 31, 203, 565, 289, 203, 2...
// SPDX-License-Identifier: AGPL-3.0-or-later pragma solidity ^0.7.0; import "./lib/ReEncryptionValidator.sol"; import "./lib/SignatureVerifier.sol"; import "./StakingEscrow.sol"; import "./proxy/Upgradeable.sol"; import "../zeppelin/math/SafeMath.sol"; import "../zeppelin/math/Math.sol"; /** * @title Adjudicator *...
* @notice Withdraw reward, deposit and fee to delegator/ TODO remove double reading: availableReward and availableWorkerReward use same calls to external contracts potentially could be less then due reward prevent losing reward for worker after calculations
function withdrawAll() public { require(isWithdrawAllAllowed(), "Withdraw deposit and reward must be enabled"); uint256 balance = token.balanceOf(address(this)); Delegator storage delegator = delegators[msg.sender]; uint256 availableReward = getAvailableDelegatorReward(msg.sender); ...
1,393,612
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 3423, 9446, 19890, 16, 443, 1724, 471, 14036, 358, 11158, 639, 19, 2660, 1206, 1645, 6453, 30, 2319, 17631, 1060, 471, 2319, 6671, 17631, 1060, 999, 1967, 4097, 358, 3903, 20092, 13935, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 565, 445, 598, 9446, 1595, 1435, 1071, 288, 203, 3639, 2583, 12, 291, 1190, 9446, 1595, 5042, 9334, 315, 1190, 9446, 443, 1724, 471, 19890, 1297, 506, 3696, 8863, 203, 3639, 2254, 5034, 11013, 273, 1147, 18, 12296, 951, 12, 2867, ...
pragma solidity ^0.4.18; contract DateTime { /* * Date and Time utilities for ethereum contracts * */ struct _DateTime { uint16 year; uint8 month; uint8 day; uint8 hour; uint8 minute;...
I'm sure someone will take my system and parameterize it differently at some point and bill it as a totally new product.
uint public constant PREFERENCE_MAX = 0.037 ether;
5,369,695
[ 1, 4625, 348, 7953, 560, 30, 225, 467, 17784, 3071, 18626, 903, 4862, 3399, 2619, 471, 1569, 554, 518, 23621, 622, 2690, 1634, 471, 20714, 518, 487, 279, 9997, 1230, 394, 3017, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 1071, 5381, 7071, 10830, 67, 6694, 273, 374, 18, 4630, 27, 225, 2437, 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, ...
/** *Submitted for verification at Etherscan.io on 2021-02-17 */ // _ _ _ _ __ _ // | | (_) | | | / _(_) // | | ___| |_| |_ ___ _ __ | |_ _ _ __ __ _ _ __ ___ ___ // | |/ / | __| __/ _ \ '_ \ | _| | '_ \ / _` | '_ \...
full fill @ [fillPriceEndScaled+1, priceHighScaled]
uint fillTokenAmtFirst = 0;
10,881,135
[ 1, 4625, 348, 7953, 560, 30, 225, 1983, 3636, 632, 306, 5935, 5147, 1638, 55, 12825, 15, 21, 16, 6205, 8573, 55, 12825, 65, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 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, 7734, 2254, 3636, 1345, 31787, 3759, 273, 374, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol"; import "@openzeppe...
* @dev Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. By default, the owner account will be the one that deploys the contract. This can later be changed with {transferOwnership}. This module is used throug...
abstract contract OwnableUpgradeable is Initializable { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); function __Ownable_init(address newOwner) internal initializer { _transferOwnership(newOwner); } func...
6,157,846
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 13456, 1605, 1492, 8121, 279, 5337, 2006, 3325, 12860, 16, 1625, 1915, 353, 392, 2236, 261, 304, 3410, 13, 716, 848, 506, 17578, 12060, 2006, 358, 2923, 4186, 18, 2525, 805, 16, 326, 3410...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 17801, 6835, 14223, 6914, 10784, 429, 353, 10188, 6934, 288, 203, 565, 1758, 3238, 389, 8443, 31, 203, 203, 565, 871, 14223, 9646, 5310, 1429, 4193, 12, 203, 3639, 1758, 8808, 2416, 5541, 16, 203, 3639, 1758, 8808, 394, 5541, 203, ...
./full_match/137/0x08D9D4EF0d883c45113AcF54315d1Cf1637df5Fa/sources/contracts/Permissions.sol
@title IPermissions implementation
contract Permissions is IPermissions, AccessControl { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant GOVERN_ROLE = keccak256("GOVERN_ROLE"); bytes32 public constant REVOKE_ROLE = keccak256("REVOKE_ROLE"); pragma solidity ^0.7.0; constructor() public { _setupGovernor(msg.s...
4,742,596
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 2971, 3171, 4471, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 15684, 353, 2971, 3171, 16, 24349, 288, 203, 202, 3890, 1578, 1071, 5381, 6989, 2560, 67, 16256, 273, 417, 24410, 581, 5034, 2932, 6236, 2560, 67, 16256, 8863, 203, 202, 3890, 1578, 1071, 5381, 12389, 2204, 50, 67, 16256, 27...
// SPDX-License-Identifier: MIT /// @title: Metavaders - Mint /// @author: PxGnome /// @notice: Used to handle mint with metavaders NFT contract /// @dev: This is Version 1.0 // // ███╗ ███╗███████╗████████╗ █████╗ ██╗ ██╗ █████╗ ██████╗ ███████╗██████╗ ███████╗ // ████╗ ████║██╔════╝╚══██╔══╝██╔══██╗██║ ██║██╔═...
Reserved amount for special usage
uint256 private _reserved = 200;
14,469,647
[ 1, 4625, 348, 7953, 560, 30, 225, 16237, 3844, 364, 4582, 4084, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2254, 5034, 3238, 389, 18898, 273, 4044, 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.7.0 <0.8.0; /** * SPDX-License-Identifier: MIT * Copyright (c) 2020 Kim Il Yong */ // Connect Remix to: http://localhost:49796 import "./safemath.sol"; import "./signedsafemath.sol"; import "./math.sol"; /** * @title OwnedContract * @dev Set & change contract owner */ contract OwnedContrac...
* @dev Get the address and name of a donor @param _i index of the address of a donor @return _from address of donor @return _totalBalance @return _numPayments @return _name name of donor/
function getDonorByIndex(uint _i) public view returns (address _from, uint _totalBalance, uint _numPayments, string memory _name, bytes8 _country) { require(_i < Donors.length, "Invalid Donor index"); _from = Donors[_i]; _totalBalance = Donations[_from].totalBalance; _numPayments = ...
7,321,454
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 968, 326, 1758, 471, 508, 434, 279, 2727, 280, 632, 891, 389, 77, 770, 434, 326, 225, 1758, 434, 279, 2727, 280, 632, 2463, 389, 2080, 1758, 434, 2727, 280, 632, 2463, 389, 4963, 13937,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 565, 445, 2343, 265, 280, 21268, 12, 11890, 389, 77, 13, 1071, 1476, 1135, 261, 2867, 389, 2080, 16, 2254, 389, 4963, 13937, 16, 2254, 389, 2107, 23725, 16, 533, 3778, 389, 529, 16, 1731, 28, 389, 9082, 13, 288, 203, 3639, 2583...
./full_match/97/0x278F790FC5f1A7a438bca43253e02d40f7835e1e/sources/MakaContract.sol
solhint-disable-next-line no-inline-assembly
function isContract(address account) public view returns (bool) { uint256 size; return size > 0; }
5,033,355
[ 1, 4625, 348, 7953, 560, 30, 225, 3704, 11317, 17, 8394, 17, 4285, 17, 1369, 1158, 17, 10047, 17, 28050, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 202, 915, 353, 8924, 12, 2867, 2236, 13, 1071, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 2254, 5034, 963, 31, 203, 3639, 327, 963, 405, 374, 31, 203, 202, 97, 203, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
pragma solidity ^0.5.0; import "zos-lib/contracts/Initializable.sol"; contract Ballot is Initializable { struct ballotInfo{ string ballotName; string proposal; } struct vote{ address voterAddress; bool choice; } struct voter{ string voterName; bool voted; } uint p...
move result from private countResult to public finalResult
finalResult = countResult;
955,181
[ 1, 4625, 348, 7953, 560, 30, 3635, 563, 628, 3238, 1056, 1253, 358, 1071, 727, 1253, 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, 1377, 727, 1253, 273, 1056, 1253, 31, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
//SPDX-License-Identifier: MIT pragma solidity ^0.8.5; /** * @title FrAactionSPDAO * @author Quentin for FrAaction Gangs */ // ============ Internal Import ============ import { ISettings } from "./GovSettings.sol"; // ============ External Imports: Inherited Contracts ============ // NOTE: we inherit from...
total GHST deposited by all contributors
uint256 public totalContributedToFraactionHub;
5,359,633
[ 1, 4625, 348, 7953, 560, 30, 225, 2078, 611, 44, 882, 443, 1724, 329, 635, 777, 13608, 13595, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2254, 5034, 1071, 2078, 442, 11050, 774, 42, 354, 1128, 8182, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
pragma solidity ^0.4.24; /* Author: Philipp Schindler Source code and documentation available on Github: https://github.com/PhilippSchindler/ethdkg Copyright 2018 Philipp Schindler Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentati...
drop last 2 bits of the hash, a coordinate is a 254 bit number
x >>= 2;
2,538,310
[ 1, 4625, 348, 7953, 560, 30, 225, 3640, 1142, 576, 4125, 434, 326, 1651, 16, 279, 7799, 353, 279, 29338, 2831, 1300, 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, ...
[ 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, 5411, 619, 23359, 576, 31, 1171, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
// SPDX-License-Identifier: MIT pragma solidity ^0.6.0; import "./../interface/IEthCrossChainData.sol"; import "./../interface/IUpgradableECCM.sol"; import "./../../../libs/lifecycle/Pausable.sol"; import "./../../../libs/ownership/Ownable.sol"; contract UpgradableECCM is Ownable, Pausable { address public EthCro...
if we want to upgrade this contract, we need to invoke this method
function upgradeToNew(address newEthCrossChainManagerAddress) whenPaused onlyOwner public returns (bool) { IEthCrossChainData eccd = IEthCrossChainData(EthCrossChainDataAddress); eccd.transferOwnership(newEthCrossChainManagerAddress); return true; }
12,571,444
[ 1, 4625, 348, 7953, 560, 30, 225, 309, 732, 2545, 358, 8400, 333, 6835, 16, 732, 1608, 358, 4356, 333, 707, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 8400, 774, 1908, 12, 2867, 394, 41, 451, 13941, 3893, 1318, 1887, 13, 1347, 28590, 1338, 5541, 1071, 1135, 261, 6430, 13, 288, 203, 3639, 10897, 451, 13941, 3893, 751, 18104, 72, 273, 10897, 451, 13941, 3893, 751, 12, 4...
pragma solidity ^0.4.16; /* \/\/\/\/\/\/\/\WELCOME TO BIG 2018 TOKEN/\/\/\/\/\/\/\/ This token is the first stage in a revolutionary new distributed game where the odds are forever in your favour yet similar to poker where chip leads give you the edge; BIG2018TOKEN will play a similar role. \/\/\/\/\/\/\...
record each persons box choice
mapping (address => uint) public box;
14,109,916
[ 1, 4625, 348, 7953, 560, 30, 1409, 1517, 6175, 87, 3919, 6023, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 2874, 261, 2867, 516, 2254, 13, 1071, 3919, 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, -1...
pragma solidity ^0.4.16; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 ...
TODO: check access of this function, it shouldn&#39;t be tampered with add participants and increment count should gracefully handle multiple tickets accross games
function addParticipant(address _participant, uint8 _numberOfTickets) private { for (uint8 i = 0; i < _numberOfTickets; i++) { participants[counter] = _participant; if (counter % (SIZE-1) == 0) { awardPrizes(uint256(_participant)); } ...
15,082,779
[ 1, 4625, 348, 7953, 560, 30, 225, 2660, 30, 866, 2006, 434, 333, 445, 16, 518, 12044, 18642, 5520, 31, 88, 506, 268, 301, 457, 329, 598, 527, 22346, 471, 5504, 1056, 1410, 25063, 1640, 3229, 24475, 4078, 3984, 28422, 2, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 527, 22540, 12, 2867, 389, 2680, 14265, 16, 2254, 28, 389, 2696, 951, 6264, 2413, 13, 3238, 288, 203, 203, 3639, 364, 261, 11890, 28, 277, 273, 374, 31, 277, 411, 389, 2696, 951, 6264, 2413, 31, 277, 27245, 288, 203, ...
./full_match/1/0xbc28e14587D722dA96eB3AA241F2177421F4Ece4/sources/contracts/GyrenautsImplementation.sol
Function to check if an operator is allowed
function isOperatorAllowed(address _contract) public view returns (bool) { return !operatorBlocklist[_contract]; }
17,046,580
[ 1, 4625, 348, 7953, 560, 30, 225, 4284, 358, 866, 309, 392, 3726, 353, 2935, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 353, 5592, 5042, 12, 2867, 389, 16351, 13, 1071, 1476, 1135, 261, 6430, 13, 288, 203, 3639, 327, 401, 9497, 1768, 1098, 63, 67, 16351, 15533, 203, 565, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, ...
./full_match/3/0x65f09b4603e4B5Bb462c503662De2C45b1Ba3aB4/sources/browser/IERC20.sol
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include the optional functions; to access them see {ERC20Detailed}./
interface ZinFinance { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (...
14,209,910
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 6682, 434, 326, 4232, 39, 3462, 4529, 487, 2553, 316, 326, 512, 2579, 18, 9637, 486, 2341, 326, 3129, 4186, 31, 358, 2006, 2182, 2621, 288, 654, 39, 3462, 40, 6372, 5496, 19, 2, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 5831, 2285, 267, 6187, 1359, 225, 288, 203, 565, 445, 2078, 3088, 1283, 1435, 3903, 1476, 1135, 261, 11890, 5034, 1769, 203, 203, 565, 445, 11013, 951, 12, 2867, 2236, 13, 3903, 1476, 1135, 261, 11890, 5034, 1769, 203, 203, 565, ...
pragma solidity ^0.4.15; interface TokenInterface { function mint(address _to, uint256 _amount) public returns (bool); function finishMinting() public returns (bool); function totalSupply() public constant returns (uint); function balanceOf(address _address) public constant returns (uint); function burn(address b...
@dev Delegates parameters which describe conditions of crowdsale to the crowdsale module. @param _softCap The minimal amount of funds that must be collected by DAO for crowdsale to be considered successful @param _hardCap The maximal amount of funds that can be raised during the crowdsale @param _etherRate Amount of t...
function initCrowdsaleParameters(uint _softCap, uint _hardCap, uint _etherRate, uint _DXCRate, uint _startTime, uint _endTime, bool _dxcPayments) public { DAOProxy.delegatedInitCrowdsaleParameters(crowdsaleModule, _softCap, _hardCap, _etherRate, _DXCRate, _startTime, _endTime, _dxcPayments); }
12,948,307
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 24117, 815, 1472, 1492, 6401, 4636, 434, 276, 492, 2377, 5349, 358, 326, 276, 492, 2377, 5349, 1605, 18, 632, 891, 389, 9269, 4664, 1021, 16745, 3844, 434, 284, 19156, 716, 1297, 506, 122...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 202, 915, 1208, 39, 492, 2377, 5349, 2402, 12, 11890, 389, 9269, 4664, 16, 2254, 389, 20379, 4664, 16, 2254, 389, 2437, 4727, 16, 2254, 389, 28826, 39, 4727, 16, 2254, 389, 1937, 950, 16, 2254, 389, 409, 950, 16, 1426, 389, 72,...
pragma solidity 0.5.16; library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * ...
* @dev Returns true if `account` is a contract. [IMPORTANT] ==== It is unsafe to assume that an address for which this function returns false is an externally-owned account (EOA) and not a contract. Among others, `isContract` will return false for the following types of addresses: - an externally-owned account - a co...
function isContract(address account) internal view returns (bool) { bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; return (codehash != accountHash && codehash != 0x0); }
7,336,899
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 638, 309, 1375, 4631, 68, 353, 279, 6835, 18, 306, 20445, 6856, 65, 422, 631, 2597, 353, 7127, 358, 6750, 716, 392, 1758, 364, 1492, 333, 445, 1135, 629, 353, 392, 18885, 1230, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8924, 12, 2867, 2236, 13, 2713, 1476, 1135, 261, 6430, 13, 288, 203, 203, 203, 203, 203, 203, 203, 203, 203, 3639, 1731, 1578, 981, 2816, 31, 203, 203, 203, 3639, 1731, 1578, 2236, 2310, 273, 374, 6511, 25, 72, ...
./full_match/97/0x95ebD565D0c6EbF8A28FC9A36E90B8655799f3e2/sources/project_/contracts/Cairofinance.sol
uint256 _totalTokenAmountOutMin
interface IDEX{ function _swap( address _from, address _to, uint256 _amount ) external returns (uint256); function _zapIn( address _tokenToZap, uint256 _tokenAmountIn, address _lpToken, uint256 _tokenAmountOutMin, uint256 _pid ) extern...
5,044,734
[ 1, 4625, 348, 7953, 560, 30, 225, 2254, 5034, 389, 4963, 1345, 6275, 1182, 2930, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 5831, 1599, 2294, 95, 203, 282, 445, 389, 22270, 12, 203, 3639, 1758, 389, 2080, 16, 203, 3639, 1758, 389, 869, 16, 203, 3639, 2254, 5034, 389, 8949, 203, 565, 262, 3903, 225, 1135, 261, 11890, 5034, 1769, 21281, 4202, 445, 389, ...
/* ・ * ★ ・ 。  ・ ゚☆ 。     * ★ ゚・。 * 。   * ☆ 。・゚*.。    ゚ *.。☆。★ ・ ​ ` .-:::::-.` `-::---...``` `-:` .:+ssssoooo++//:.` .-/+shhhhhhhhhhhhhyyyssooo: .--::. .+o...
* @dev Split into a second function to avoid stack too deep errors/ Call the factory and get the originalPaymentAddress Confirm the original address and swap with the new address Call the factory and get the newPaymentAddress For each token, confirm the expected payment address and then update to the new one
function _adminAccountRecoveryForPaymentAddresses( uint256[] calldata paymentAddressTokenIds, address paymentAddressFactory, bytes memory paymentAddressCallData, uint256 addressLocationInCallData, address originalAddress, address payable newAddress ) private { address payable originalPay...
6,289,361
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 5385, 1368, 279, 2205, 445, 358, 4543, 2110, 4885, 4608, 1334, 19, 3049, 326, 3272, 471, 336, 326, 2282, 6032, 1887, 17580, 326, 2282, 1758, 471, 7720, 598, 326, 394, 1758, 3049, 326, 327...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 225, 445, 389, 3666, 3032, 11548, 1290, 6032, 7148, 12, 203, 565, 2254, 5034, 8526, 745, 892, 5184, 1887, 1345, 2673, 16, 203, 565, 1758, 5184, 1887, 1733, 16, 203, 565, 1731, 3778, 5184, 1887, 1477, 751, 16, 203, 565, 2254, 5034...
pragma solidity ^0.4.0; // Own implementation contract ECops { uint256 constant n = 0x30644E72E131A029B85045B68181585D97816A916871CA8D3C208C16D87CFD47; uint256 constant a = 0; uint256 constant b = 3; // Returns the inverse in the field of modulo n fun...
Multiple an elliptic curve point in a 2 power base (i.e., (2^exp)*P))
function multiplyPowerBase2(uint256 x0, uint256 y0, uint exp) public pure returns(uint256 x1, uint256 y1) { uint256 base2X = x0; uint256 base2Y = y0; uint256 base2Z = 1; for(uint i = 0; i < exp; i++) { (base2X, base2Y, base2Z)...
1,773,995
[ 1, 4625, 348, 7953, 560, 30, 225, 13531, 392, 415, 549, 21507, 8882, 1634, 316, 279, 576, 7212, 1026, 261, 77, 18, 73, 12990, 261, 22, 66, 2749, 17653, 52, 3719, 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, 10194, 13788, 2171, 22, 12, 11890, 5034, 619, 20, 16, 2254, 5034, 677, 20, 16, 7010, 27573, 2254, 1329, 13, 1071, 16618, 203, 3639, 1135, 12, 11890, 5034, 619, 21, 16, 2254, 5034, 677, 21, 13, 203, 565, 288, 203, 3639...
./full_match/4/0xeA1ead1c8dE4B356D701DFeB84120C56ACD61B4B/sources/contracts/OG.sol
* @dev This is an alternative implementation to OpenZeppelin's ERC721Enumerable. HumbleERC721Enumerable is focussing on reducing the gas costs by reducing efforts in writing methods. With that, reading methods might do an extra mile which is a fair trade off for significant lower cas costs. @author nfttank.eth/
abstract contract HumbleERC721Enumerable is ERC721, IERC721Enumerable { mapping(address => uint256[]) internal _owners; uint256 private _totalSupply; function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enu...
12,404,142
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1220, 353, 392, 10355, 4471, 358, 3502, 62, 881, 84, 292, 267, 1807, 4232, 39, 27, 5340, 3572, 25121, 18, 670, 3592, 298, 654, 39, 27, 5340, 3572, 25121, 353, 7155, 2470, 603, 9299, 282...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 17801, 6835, 670, 3592, 298, 654, 39, 27, 5340, 3572, 25121, 353, 4232, 39, 27, 5340, 16, 467, 654, 39, 27, 5340, 3572, 25121, 288, 203, 203, 565, 2874, 12, 2867, 516, 2254, 5034, 63, 5717, 2713, 389, 995, 414, 31, 203, 565, ...
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165Storage.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.s...
/ Mapping from holder address to their (enumerable) set of owned tokens Enumerable mapping from token ids to their owners Mapping from token ID to approved address
contract Super721IMX is PermitControl, ERC165Storage, IERC721 { using Address for address; using Strings for string; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; bytes32 public constant SET_URI = keccak256("SET_URI"); bytes32 public constant SET_PR...
6,003,804
[ 1, 4625, 348, 7953, 560, 30, 342, 9408, 628, 10438, 1758, 358, 3675, 261, 7924, 25121, 13, 444, 434, 16199, 2430, 6057, 25121, 2874, 628, 1147, 3258, 358, 3675, 25937, 9408, 628, 1147, 1599, 358, 20412, 1758, 2, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 14845, 27, 5340, 3445, 60, 353, 13813, 305, 3367, 16, 4232, 39, 28275, 3245, 16, 467, 654, 39, 27, 5340, 288, 203, 225, 1450, 5267, 364, 1758, 31, 203, 225, 1450, 8139, 364, 533, 31, 203, 225, 1450, 6057, 25121, 694, 364...
./full_match/4/0x0d4496aF5299496F702762bEA8916104717fbb35/sources/browser/Untitled.sol
pass _parentId = 0 if you want the contract to search free slot for you, else passing non zero _parent id will be considered as desired parent, and will save little gas
function regUser(uint256 _networkId,uint32 _referrerId,uint32 _parentId, uint256 amount) public payable returns(bool) { require(msg.sender != address(0), "invalid sender" ); require(!pausenetwork[_networkId] && goToPublic[_networkId], "not ready or paused by admin"); require(_networkId <...
704,938
[ 1, 4625, 348, 7953, 560, 30, 225, 1342, 389, 2938, 548, 273, 374, 309, 1846, 2545, 326, 6835, 358, 1623, 4843, 4694, 364, 1846, 16, 469, 9588, 1661, 3634, 389, 2938, 612, 903, 506, 7399, 487, 6049, 982, 16, 471, 903, 1923, 12720, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 960, 1299, 12, 11890, 5034, 389, 5185, 548, 16, 11890, 1578, 389, 1734, 11110, 548, 16, 11890, 1578, 389, 2938, 548, 16, 2254, 5034, 3844, 13, 1071, 8843, 429, 1135, 12, 6430, 13, 203, 565, 288, 203, 3639, 2583, 12, 3...
/** *Submitted for verification at Etherscan.io on 2021-12-17 */ /* _______ ___________ __ \ \ ___.__.___ ___ \__ ___/___ | | __ ____ ____ / | < | |\ \/ / | | / _ \| |/ // __ \ / \ / | \___ | > < | |( <_> ) <\ ___/| | ...
Liquidity Pairs Banned contracts Wallets
contract NyxToken is Context, IERC20, Ownable { using Address for address; mapping(address => uint256) private _rOwned; mapping(address => uint256) private _tOwned; mapping(address => mapping(address => uint256)) private _allowances; mapping(address => bool) private _isExcludedFromFee; mapping...
7,930,226
[ 1, 4625, 348, 7953, 560, 30, 225, 511, 18988, 24237, 8599, 87, 605, 10041, 20092, 678, 454, 2413, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 423, 93, 92, 1345, 353, 1772, 16, 467, 654, 39, 3462, 16, 14223, 6914, 288, 203, 565, 1450, 5267, 364, 1758, 31, 203, 203, 565, 2874, 12, 2867, 516, 2254, 5034, 13, 3238, 389, 86, 5460, 329, 31, 203, 565, 2874, 12, 286...
pragma solidity ^0.4.21; /* Owned contract interface */ contract IOwned { // this function isn't abstract since the compiler emits automatically generated getter functions as external function owner() public view returns (address) {} function transferOwnership(address _newOwner) public; function a...
allows execution by the BancorNetwork contract only
modifier bancorNetworkOnly { IBancorNetwork bancorNetwork = IBancorNetwork(registry.getAddress(ContractIds.BANCOR_NETWORK)); require(msg.sender == address(bancorNetwork)); _; } @return number of connector tokens
14,576
[ 1, 4625, 348, 7953, 560, 30, 225, 5360, 4588, 635, 326, 605, 304, 3850, 3906, 6835, 1338, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 9606, 25732, 3850, 3906, 3386, 288, 203, 3639, 23450, 304, 3850, 3906, 25732, 3850, 3906, 273, 23450, 304, 3850, 3906, 12, 9893, 18, 588, 1887, 12, 8924, 2673, 18, 38, 1258, 9428, 67, 28047, 10019, 203, 3639, 2583, 12, 3576, ...
// NOT PRODUCTION READY! DO NOT USE THIS FOR REAL WORLD YET! // This contract is an ECIP registry. It has all the basic parts and a link to the full text of the ecip(keep chain light) // It needs an owner and administrators to manage registered ECIPs pragma solidity ^0.4.10; contract owned{ function owned () {owner ...
admin management by owneroptions are 1 add, 2 del, 3 mod
function modAdmin(address _admin, uint _action, uint _index) onlyOwner{ if (_action == 1){ uint id = adminCount++; adminList[id].adminAddr = _admin; } if (_action == 2){ delete adminList[_index].adminAddr; adminCount = adminCount -1; } if (_action == 3){ adminList[_index].adminAddr = _admi...
12,971,891
[ 1, 4625, 348, 7953, 560, 30, 225, 3981, 11803, 635, 3410, 2116, 854, 404, 527, 16, 576, 1464, 16, 890, 681, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 915, 681, 4446, 12, 2867, 389, 3666, 16, 2254, 389, 1128, 16, 2254, 389, 1615, 13, 1338, 5541, 95, 203, 225, 309, 261, 67, 1128, 422, 404, 15329, 203, 565, 2254, 612, 273, 3981, 1380, 9904, 31, 203, 565, 3981, 682, 63, 350, 8...
./partial_match/1/0xce346aD7046222Fd119F6B715B6F60C0FDBFe796/sources/home/david/repc-v1.1.0/contracts/RariFundManager.sol
* @dev Returns the total unclaimed amount of interest fees. Ideally, we can add the view modifier, but Compound's `getUnderlyingBalance` function (called by `getRawFundBalance`) potentially modifies the state./
function getInterestFeesUnclaimed() public returns (uint256) { int256 interestFeesUnclaimed = getInterestFeesGenerated().sub(int256(_interestFeesClaimed)); return interestFeesUnclaimed > 0 ? uint256(interestFeesUnclaimed) : 0; }
3,567,831
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 2078, 6301, 80, 4581, 329, 3844, 434, 16513, 1656, 281, 18, 23062, 1230, 16, 732, 848, 527, 326, 1476, 9606, 16, 1496, 21327, 1807, 1375, 588, 14655, 6291, 13937, 68, 445, 261,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 565, 445, 336, 29281, 2954, 281, 984, 14784, 329, 1435, 1071, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 509, 5034, 16513, 2954, 281, 984, 14784, 329, 273, 336, 29281, 2954, 281, 7823, 7675, 1717, 12, 474, 5034, 24899, 2761, 395, ...
pragma solidity ^0.4.16; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) i...
* @title GGPC Token @dev Implementation of GGPC Token based on the basic standard token./
contract GGPCToken is Crowdsale { string public name = "Global game payment currency"; string public symbol = "GGPC"; string public version = '1.0.2'; function GGPCToken() public { totalSupply = ownerSupply; balances[msg.sender] = ownerSupply; } function () public { ...
10,384,818
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 2649, 611, 43, 3513, 3155, 632, 5206, 25379, 434, 611, 43, 3513, 3155, 2511, 603, 326, 5337, 4529, 1147, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 611, 9681, 1268, 969, 353, 385, 492, 2377, 5349, 288, 203, 565, 533, 1071, 508, 273, 315, 5160, 7920, 5184, 5462, 14432, 203, 565, 533, 1071, 3273, 273, 315, 19491, 3513, 14432, 203, 565, 533, 1071, 1177, 273, 296, 21, 18,...
./full_match/5/0x4764AeE9A3204660fe21bCec497ec338d465eFD0/sources/project_/contracts/MetashimaA1.sol
@title Metashima Accessory Pack 1 @author lileddie.eth / Enefte Studio/
contract MetashimaA1 is Initializable, ERC721AUpgradeable, DefaultOperatorFiltererUpgradeable { uint public TOKEN_PRICE; uint public saleOpens; uint public saleCloses; string public BASE_URI; mapping(uint => bool) public claimedTokenIds; mapping(address => bool) private _dev; ...
11,591,246
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 2649, 21604, 961, 13888, 5016, 630, 7930, 404, 632, 4161, 328, 398, 449, 1385, 18, 546, 342, 1374, 10241, 736, 934, 4484, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 21604, 961, 13888, 37, 21, 353, 10188, 6934, 16, 4232, 39, 27, 5340, 37, 10784, 429, 16, 2989, 5592, 1586, 264, 10784, 429, 288, 203, 203, 565, 2254, 1071, 14275, 67, 7698, 1441, 31, 203, 203, 565, 2254, 1071, 272, 5349, ...
/** *Submitted for verification at Etherscan.io on 2021-12-11 */ /* ChessMates - $CHSM TOKENOMICS: 15% Buy/Sell tax 3% Marketing on purchase, rest for varying development Contract to be renounced after launch and we are sure no further ch...
set as dev1 wallet
dev1Wallet = payable(0x2DD9bdb789d5F3866b7E1777850a3Bf95b723996);
7,829,137
[ 1, 4625, 348, 7953, 560, 30, 225, 444, 487, 4461, 21, 9230, 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, 5206, 21, 16936, 273, 8843, 429, 12, 20, 92, 22, 5698, 29, 70, 1966, 27, 6675, 72, 25, 42, 23, 5292, 26, 70, 27, 41, 4033, 4700, 28, 3361, 69, 23, 38, 74, 8778, 70, 27, 4366, 2733, 26, 1769, 282, 2, -100, -100, ...
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.4.22 <0.9.0; import "https://github.com/Moibe/Guppy/yields-utils-v2/token/ERC20Rewards.sol"; import "https://github.com/Moibe/Guppy/yields-utils-v2/token/ERC20.sol"; contract Token is ERC20Rewards { constructor(address rewardsToken) ERC20Rewards('Guppy', '...
equivalente a 100 millones de tokens.
_mint(msg.sender, 100000000000000000000000000);
6,385,933
[ 1, 4625, 348, 7953, 560, 30, 7680, 73, 279, 2130, 312, 737, 5322, 443, 2430, 18, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 389, 81, 474, 12, 3576, 18, 15330, 16, 2130, 12648, 12648, 12648, 1769, 225, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
./full_match/8453/0x1a920B29eBD437074225cAeE44f78FC700B27a5d/sources/contracts/AxelarGatewayProxy.sol
@dev Storage slot with the address of the current factory. `keccak256('eip1967.proxy.implementation') - 1`. solhint-disable-next-line avoid-low-level-calls
constructor(address gatewayImplementation, bytes memory params) { _setAddress(KEY_IMPLEMENTATION, gatewayImplementation); if (gatewayImplementation.code.length == 0) revert InvalidImplementation(); (bool success, ) = gatewayImplementation.delegatecall(abi.encodeWithSelector(IAxelarGateway....
11,536,193
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 5235, 4694, 598, 326, 1758, 434, 326, 783, 3272, 18, 1375, 79, 24410, 581, 5034, 2668, 73, 625, 3657, 9599, 18, 5656, 18, 30810, 6134, 300, 404, 8338, 3704, 11317, 17, 8394, 17, 4285, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3885, 12, 2867, 6878, 13621, 16, 1731, 3778, 859, 13, 288, 203, 3639, 389, 542, 1887, 12, 3297, 67, 9883, 7618, 2689, 16, 6878, 13621, 1769, 203, 203, 3639, 309, 261, 11127, 13621, 18, 710, 18, 2469, 422, 374, 13, 15226, 1...
pragma solidity ^0.5.11; /* Example dapp contract to demo use of proxy contract. Only stores 2 variable and exposes a setter function for these values. */ contract dapp { address public owner; constructor() public { owner = msg.sender; } modifier restricted() { require(msg.sender...
Same function as setN, but gets the sender address as return value
function setN_getSender(uint256 _n) public returns (address) { n = _n; sender = msg.sender; debug_values(_n); return sender; }
13,054,918
[ 1, 4625, 348, 7953, 560, 30, 225, 17795, 445, 487, 444, 50, 16, 1496, 5571, 326, 5793, 1758, 487, 327, 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, 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, 444, 50, 67, 588, 12021, 12, 11890, 5034, 389, 82, 13, 1071, 1135, 261, 2867, 13, 288, 203, 3639, 290, 273, 389, 82, 31, 203, 3639, 5793, 273, 1234, 18, 15330, 31, 203, 203, 3639, 1198, 67, 2372, 24899, 82, 1769, 20...
//Address: 0x8a69a63fca907939e5c7d92a260d8875c8700383 //Contract name: BlobStore //Balance: 0 Ether //Verification Date: 10/31/2016 //Transacion Count: 3 // CODE STARTS HERE pragma solidity ^0.4.3; /** * @title AbstractBlobStore * @author Jonathan Brown <jbrown@bluedroplet.com> * @dev Contracts must be able to ...
* @dev Throw if the owner of the blob is not the message sender. @param blobId Id of the blob./
modifier isOwner(bytes20 blobId) { if (blobInfo[blobId].owner != msg.sender) { throw; } _; }
12,534,270
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 3743, 309, 326, 3410, 434, 326, 4795, 353, 486, 326, 883, 5793, 18, 632, 891, 4795, 548, 3124, 434, 326, 4795, 18, 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, 9606, 353, 5541, 12, 3890, 3462, 4795, 548, 13, 288, 203, 3639, 309, 261, 10721, 966, 63, 10721, 548, 8009, 8443, 480, 1234, 18, 15330, 13, 288, 203, 5411, 604, 31, 203, 3639, 289, 203, 3639, 389, 31, 203, 565, 289, 203, ...
pragma solidity ^ 0.5.11; contract ColorToken{ BondContract public bondContract; ResolveContract public resolveContract; address lastGateway; address communityResolve; address THIS = address(this); string public name = "Color Token"; string public symbol = "RGB"; uint8 constant public decimals = 18; uin...
function bondTransfer(address to, uint amount) public routerOnly(){
bondContract.bondTransfer( to, amount );
15,820,071
[ 1, 4625, 348, 7953, 560, 30, 445, 8427, 5912, 12, 2867, 358, 16, 2254, 3844, 13, 1071, 4633, 3386, 1435, 95, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 202, 202, 26425, 8924, 18, 26425, 5912, 12, 358, 16, 3844, 11272, 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, -...
./partial_match/1/0x8D35372EA3E85C49A60F0A72EdeFF8629dA3999A/sources/TrueFiPool2.sol
* @dev Emitted when Credit Agency address is changed @param newCreditAgency New Credit Agency address/
event CreditAgencyChanged(ITrueCreditAgency newCreditAgency);
2,698,355
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 512, 7948, 1347, 30354, 5495, 2075, 1758, 353, 3550, 632, 891, 394, 16520, 2577, 2075, 1166, 30354, 5495, 2075, 1758, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 30354, 2577, 2075, 5033, 12, 45, 5510, 16520, 2577, 2075, 394, 16520, 2577, 2075, 1769, 203, 2, -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 // 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 Get max available DAI safe to borrow @dev Calculation based on current DAI debt and DAI limit for given collateral type. @param _vat Vat address @param _collateralType Vault collateral type./ Get stable coin Art(debt) [wad], rate [ray], line [rad]solhint-disable-next-line var-name-mixedcase Calculate total is...
function _maxAvailableDai(address _vat, bytes32 _collateralType) internal view returns (uint256) { (uint256 Art, uint256 rate, , uint256 line, ) = VatLike(_vat).ilks(_collateralType); uint256 _totalAvailableDai = (line - (Art * rate)) / RAY; return (_totalAvailableDai * 99) / 100; }
108,952
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 968, 943, 2319, 463, 18194, 4183, 358, 29759, 632, 5206, 15994, 367, 2511, 603, 783, 463, 18194, 18202, 88, 471, 463, 18194, 1800, 364, 864, 4508, 2045, 287, 618, 18, 632, 891, 389, 2501...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1896, 5268, 40, 10658, 12, 2867, 389, 25012, 16, 1731, 1578, 389, 12910, 2045, 287, 559, 13, 2713, 1476, 1135, 261, 11890, 5034, 13, 288, 203, 3639, 261, 11890, 5034, 9042, 16, 2254, 5034, 4993, 16, 269, 2254, 5034...
pragma solidity ^0.4.23; import "../math/SafeMath.sol"; import "../tokens/ERC20.sol"; import "../tokens/ERC721.sol"; import "./TokenTransferProxy.sol"; import "./NFTokenTransferProxy.sol"; import "../tokens/ERC165implementation.sol"; /* * @dev based on: https://github.com/0xProject/contracts/blob/master/contracts/E...
@dev check if we can transfer all the NFTokens. @param _swapData Data of all the NFToken transfers./
function _areTransfersAllowed(SwapData _swapData) internal constant returns (bool) { for(uint i = 0; i < _swapData.nfTokensFrom.length; i++) { if(!_isAllowed( _swapData.from, _swapData.nfTokensFrom[i], _swapData.idsFrom[i] )) { return false; ...
6,479,387
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 866, 309, 732, 848, 7412, 777, 326, 423, 4464, 3573, 18, 632, 891, 389, 22270, 751, 1910, 434, 777, 326, 423, 42, 1345, 29375, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 225, 445, 389, 834, 1429, 18881, 5042, 12, 12521, 751, 389, 22270, 751, 13, 203, 565, 2713, 203, 565, 5381, 203, 565, 1135, 261, 6430, 13, 203, 225, 288, 203, 565, 364, 12, 11890, 277, 273, 374, 31, 277, 411, 389, 22270, 751, ...
pragma solidity ^0.4.23; /** * @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 orig...
Establece el valor de las cuotas en caso de existir @param newBasisPoints Cuota base @param newMaxFee Cuota maxima Asegura el valor maximo que no podran sobrepasar las cuotas
function setParams(uint newBasisPoints, uint newMaxFee) public onlyOwner { require(newBasisPoints < 50); require(newMaxFee < 1000); basisPointsRate = newBasisPoints; maximumFee = newMaxFee.mul(10**decimals); emit Params(basisPointsRate, maximumFee); }
9,890,654
[ 1, 4625, 348, 7953, 560, 30, 225, 512, 15021, 311, 415, 23325, 443, 27596, 15985, 352, 345, 570, 8697, 83, 443, 1005, 481, 632, 891, 394, 11494, 291, 5636, 565, 385, 89, 25441, 1026, 632, 891, 394, 2747, 14667, 540, 385, 89, 25441, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31705, 12, 11890, 394, 11494, 291, 5636, 16, 2254, 394, 2747, 14667, 13, 1071, 1338, 5541, 288, 203, 3639, 2583, 12, 2704, 11494, 291, 5636, 411, 6437, 1769, 203, 3639, 2583, 12, 2704, 2747, 14667, 411, 4336, 1769, 203, ...
./full_match/1/0xFbeC16EECD4558297FB3deA9934A162Ef76b14bd/sources/src/captable/Captable.sol
* @notice Issue shares for an account @dev Can be done by any manager of the class @param account Address of the account to issue shares for @param classId ID of the class @param amount Amount of shares to issue/
function issue(address account, uint256 classId, uint256 amount) public { if (amount == 0) { revert BadInput(); } Class storage class = _getClass(classId); _ensureSenderIsManager(class, classId); if (_issuedFor(class) + class.convertible + amount > class.authori...
3,085,548
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 11820, 24123, 364, 392, 2236, 632, 5206, 4480, 506, 2731, 635, 1281, 3301, 434, 326, 667, 632, 891, 2236, 5267, 434, 326, 2236, 358, 5672, 24123, 364, 632, 891, 31181, 1599, 434, 326, 66...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5672, 12, 2867, 2236, 16, 2254, 5034, 31181, 16, 2254, 5034, 3844, 13, 1071, 288, 203, 3639, 309, 261, 8949, 422, 374, 13, 288, 203, 5411, 15226, 6107, 1210, 5621, 203, 3639, 289, 203, 203, 3639, 1659, 2502, 667, 273, ...
./full_match/80001/0xe37eF3cE677656Ee34050FaFE192EF1c7961Cf60/sources/gist-4c970e79d3a27a9edbbf04d6c737be27/ConfiguratorLogic.sol
* @notice Initialize a reserve by creating and initializing aToken, stable debt token and variable debt token @dev Emits the `ReserveInitialized` event @param pool The Pool in which the reserve will be initialized @param input The needed parameters for the initialization/
) public { address aTokenProxyAddress = _initTokenWithProxy( input.aTokenImpl, abi.encodeWithSelector( IInitializableAToken.initialize.selector, pool, input.treasury, input.underlyingAsset, input.incentivesController, input.underlyingAssetDecimals, ...
5,702,133
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 9190, 279, 20501, 635, 4979, 471, 22584, 279, 1345, 16, 14114, 18202, 88, 1147, 471, 2190, 18202, 88, 1147, 632, 5206, 7377, 1282, 326, 1375, 607, 6527, 11459, 68, 871, 632, 891, 2845, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 1, 225, 262, 1071, 288, 203, 565, 1758, 279, 1345, 3886, 1887, 273, 389, 2738, 1345, 1190, 3886, 12, 203, 1377, 810, 18, 69, 1345, 2828, 16, 203, 1377, 24126, 18, 3015, 1190, 4320, 12, 203, 3639, 467, 4435, 6934, 789, 969, 18, 111...
/** *Submitted for verification at Etherscan.io on 2022-01-17 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface AggregatorValidatorInterface { function validate( uint256 previousRoundId, int256 previousAnswer, uint256 currentRoundId, int256 currentAnswer ) external ret...
* @notice Get the current owner/
function owner() public view returns ( address ) { return s_owner; }
2,118,279
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 20392, 968, 326, 783, 3410, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 225, 445, 3410, 1435, 203, 565, 1071, 203, 565, 1476, 203, 565, 1135, 261, 203, 1377, 1758, 203, 565, 262, 203, 225, 288, 203, 565, 327, 272, 67, 8443, 31, 203, 225, 289, 203, 203, 2, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; //Written by blockchainguy.net library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256...
Written by blockchainguy.net
library SafeMath { pragma solidity ^0.8.0; function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } function tryAdd(uint256 a, uint256 b) internal pure...
318,314
[ 1, 4625, 348, 7953, 560, 30, 10423, 2253, 635, 1203, 8838, 310, 9835, 18, 2758, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 12083, 14060, 10477, 288, 203, 683, 9454, 18035, 560, 3602, 20, 18, 28, 18, 20, 31, 203, 565, 445, 775, 986, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 6430, 16, 2254, 5034, 13, 288, 203, 3639, 22893...
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./interfaces/IWnDGame.sol"; import "./interfaces/ITrainingGrounds.sol"; imp...
* Allow users to reveal the oldest commit for GP. Mints commits must be stale to be able to be revealed this way */ Check if the revealable commitId has anything to commit and increment it until it does, or is the same as the current commitId Only iterate if the commit pending is empty and behind the current id. This i...
function skipOldestMint() external onlyOwner { while(commitQueueMints[_commitIdPendingMints].length == 0 && _commitIdPendingMints < _commitIdCurMints) { _commitIdPendingMints += 1; }
7,014,559
[ 1, 4625, 348, 7953, 560, 30, 380, 7852, 3677, 358, 283, 24293, 326, 17067, 3294, 364, 4948, 18, 490, 28142, 14335, 1297, 506, 14067, 358, 506, 7752, 358, 506, 283, 537, 18931, 333, 4031, 1195, 2073, 309, 326, 283, 24293, 429, 3294, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2488, 7617, 395, 49, 474, 1435, 3903, 1338, 5541, 288, 203, 565, 1323, 12, 7371, 3183, 49, 28142, 63, 67, 7371, 548, 8579, 49, 28142, 8009, 2469, 422, 374, 597, 389, 7371, 548, 8579, 49, 28142, 411, 389, 7371, 548, 24...
pragma solidity ^0.5.1; import "./SnowflakeInterface.sol"; import "./IdentityRegistryInterface.sol"; import "./SafeMath.sol"; import "./IceGlobal.sol"; import "./IceSort.sol"; import "./IceFMSAdv.sol"; import "./IceFMS.sol"; /** * @title Ice Protocol * @author Harsh Rajat * @notice Create Protocol Less File ...
Assign global item record
files[ein][nextIndex].rec = rec;
1,089,823
[ 1, 4625, 348, 7953, 560, 30, 225, 12093, 2552, 761, 1409, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1390, 63, 13685, 6362, 4285, 1016, 8009, 3927, 273, 1950, 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, ...
./full_match/1/0x911a768fF40e6477736AA009EF0055563982bE3a/sources/src/ExternalRefinancing.sol
@dev Reads the uint16 at `mPtr` in memory.
function readUint16(MemoryPointer mPtr) internal pure returns (uint16 value) { assembly { value := mload(mPtr) } }
3,218,652
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 29185, 326, 2254, 2313, 622, 1375, 81, 5263, 68, 316, 3778, 18, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 855, 5487, 2313, 12, 6031, 4926, 312, 5263, 13, 2713, 16618, 1135, 261, 11890, 2313, 460, 13, 288, 203, 565, 19931, 288, 203, 1377, 460, 519, 312, 945, 12, 81, 5263, 13, 203, 565, 289, 203, 225, 289, 203, 203, 2, -1...
./full_match/80001/0xd8959180fe0891846857f2569080A693BA8F1ebC/sources/WinMatic3.sol
Event emitted when a deposit is made
event Deposit(address indexed user, uint256 amount);
837,039
[ 1, 4625, 348, 7953, 560, 30, 225, 2587, 17826, 1347, 279, 443, 1724, 353, 7165, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 871, 4019, 538, 305, 12, 2867, 8808, 729, 16, 2254, 5034, 3844, 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, -100...
/** *Submitted for verification at BscScan.com on 2021-04-16 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.2; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return payable(msg.sender); } function _msgData() internal view virtual re...
Track original fees to bypass fees for charity account
contract TrollInu 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) pr...
6,894,792
[ 1, 4625, 348, 7953, 560, 30, 225, 11065, 2282, 1656, 281, 358, 17587, 1656, 281, 364, 1149, 560, 2236, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 399, 2693, 382, 89, 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, 32...
// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { /** * @dev Returns the amount of tokens in existenc...
* @dev The inverse of updateRemainingOrder, called when reverting a solution in favour of a better one. @param owner order's corresponding user address @param orderId index of order in list of owner's orders @param executedAmount proportion of order's requested sellAmount that was filled./
function revertRemainingOrder(address owner, uint256 orderId, uint128 executedAmount) private { orders[owner][orderId].usedAmount = orders[owner][orderId].usedAmount.sub(executedAmount).toUint128(); }
2,482,024
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 1021, 8322, 434, 1089, 11429, 2448, 16, 2566, 1347, 15226, 310, 279, 6959, 316, 18180, 477, 434, 279, 7844, 1245, 18, 632, 891, 3410, 1353, 1807, 4656, 729, 1758, 632, 891, 20944, 770, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15226, 11429, 2448, 12, 2867, 3410, 16, 2254, 5034, 20944, 16, 2254, 10392, 7120, 6275, 13, 3238, 288, 203, 3639, 11077, 63, 8443, 6362, 1019, 548, 8009, 3668, 6275, 273, 11077, 63, 8443, 6362, 1019, 548, 8009, 3668, 6275...
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; pragma experimental ABIEncoderV2; // Use upgradeable library. These interfaces will work for tokens that // are non-upgradeable import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC...
@notice Liquidate a position when conditions are satisfied @param baseToken The base token of the pool. @param liquidateAmt The repay amount from adapter. pool existence is checked in accrue transfer liquidateAmt of base tokens from adapter to pool. transfer bonus to the liquidator. update position information update ...
external override accrue(baseToken) inExecution { Position storage pos = positionMap[CURR_POSITION_ID]; Pool storage pool = poolMap[baseToken]; require(adapterMap[pos.adapter] && msg.sender == pos.adapter, 'lqt no adpr'); require(liquidateAmt > 0, 'lqt bad rpy'); IERC20U...
10,241,740
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 511, 18988, 350, 340, 279, 1754, 1347, 4636, 854, 18958, 632, 891, 1026, 1345, 1021, 1026, 1147, 434, 326, 2845, 18, 632, 891, 4501, 26595, 340, 31787, 1021, 2071, 528, 3844, 628, 4516, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1, 3639, 3903, 3849, 4078, 86, 344, 12, 1969, 1345, 13, 316, 3210, 288, 203, 3639, 11010, 2502, 949, 273, 1754, 863, 63, 7509, 54, 67, 15258, 67, 734, 15533, 203, 3639, 8828, 2502, 2845, 273, 2845, 863, 63, 1969, 1345, 15533, 203, ...
./full_match/5/0xFDffF3d1Edf6746b0d70b0a651EEcc3c2b247225/sources/_manifoldxyz/creator-core-solidity/contracts/core/ERC1155CreatorCore.sol
* Check if an extension can mint/
function _checkMintPermissions(address[] memory to, uint256[] memory tokenIds, uint256[] memory amounts) internal { if (_extensionPermissions[msg.sender] != address(0)) { IERC1155CreatorMintPermissions(_extensionPermissions[msg.sender]).approveMint(msg.sender, to, tokenIds, amounts); } ...
1,900,250
[ 1, 4625, 348, 7953, 560, 30, 380, 2073, 309, 392, 2710, 848, 312, 474, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1893, 49, 474, 6521, 12, 2867, 8526, 3778, 358, 16, 2254, 5034, 8526, 3778, 1147, 2673, 16, 2254, 5034, 8526, 3778, 30980, 13, 2713, 288, 203, 3639, 309, 261, 67, 6447, 6521, 63, 3576, 18, 15330, 65, 480, 1758, 1...
pragma solidity ^ 0.5 .8; // import "../node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol"; import "../node_modules/@openzeppelin/contracts/math/SafeMath.sol"; contract FlightSuretyData { using SafeMath for uint256; /*******************************************************************************...
* @dev Buy insurance for a flight/
function buy ( address payable insuree, address airlineAddress, string calldata flight, uint256 timeStamp ) external payable { byte...
12,738,101
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 605, 9835, 2763, 295, 1359, 364, 279, 25187, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 30143, 203, 7734, 261, 3639, 203, 10792, 1758, 8843, 429, 316, 2055, 73, 16, 203, 10792, 1758, 23350, 1369, 1887, 16, 203, 10792, 533, 745, 892, 25187, 16, 203, 10792, 2254, 5034, 18198, 15604, 203, 7734, 262, 203, 7734, ...
./full_match/3/0x05d3402A7245464BC76D4a9a39A88A13E0FD8A6F/sources/contracts/4_test1.sol
Ownership moved to in-contract for customizability.
contract AstroCat is Context, IERC20 { address private _owner; mapping (address => uint256) private _tOwned; mapping (address => bool) lpPairs; uint256 private timeSinceLastPair = 0; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcl...
8,158,451
[ 1, 4625, 348, 7953, 560, 30, 225, 14223, 9646, 5310, 10456, 358, 316, 17, 16351, 364, 1679, 452, 2967, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 16614, 303, 11554, 353, 1772, 16, 467, 654, 39, 3462, 288, 203, 565, 1758, 3238, 389, 8443, 31, 203, 203, 565, 2874, 261, 2867, 516, 2254, 5034, 13, 3238, 389, 88, 5460, 329, 31, 203, 565, 2874, 261, 2867, 516, 1426, 13,...
pragma solidity ^0.4.13; contract owned { address public owner; function owned() { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner { owner = newOwner; } } contract toke...
calculates the amount
uint amount = msg.value / buyPrice;
2,133,427
[ 1, 4625, 348, 7953, 560, 30, 225, 17264, 326, 3844, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 2254, 3844, 273, 1234, 18, 1132, 342, 30143, 5147, 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, ...
pragma solidity 0.5.11; //TODO: //add erc721 actual functionality //get ghostWiz stats contract TournamentInterface { function isActive() public view returns (bool) {} function isPaused() external view returns (bool) {} function getWizard(uint256 wizardId) public view returns(// note exists(wiz...
instantiate interfaceIdperform cullflip uint to intmint ghost wizardemit event
function cullMoldedWithSurvivorProxy(uint256[] calldata wizardIds, uint256 survivor, address _tournament) external { TournamentInterface t = TournamentInterface(_tournament); require (isValidCull(_tournament), "invalid culling period") }
1,067,713
[ 1, 4625, 348, 7953, 560, 30, 10275, 1560, 548, 16092, 276, 420, 12357, 2254, 358, 509, 81, 474, 314, 2564, 341, 31707, 323, 1938, 871, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 276, 420, 49, 355, 785, 1190, 7719, 90, 427, 280, 3886, 12, 11890, 5034, 8526, 745, 892, 24204, 2673, 16, 2254, 5034, 25397, 427, 280, 16, 1758, 389, 869, 30751, 13, 3903, 288, 203, 540, 203, 3639, 2974, 30751, 1358, ...
./full_match/5/0x361f891330C54521622EfF243Dd54B8C8b0bFb0d/sources/project:/contracts/Test.sol
Increment nonce when limits is set
limitsNonce++;
1,956,348
[ 1, 4625, 348, 7953, 560, 30, 225, 17883, 7448, 1347, 8181, 353, 444, 203, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 3639, 8181, 13611, 9904, 31, 282, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
pragma solidity 0.6.7; pragma experimental ABIEncoderV2; import "./../openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./../openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "./../openzeppelin/contracts/token/ERC721/IERC721.sol"; import "./../openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; imp...
@dev supported ERC721 and ERC20 contracts
mapping(address => bool) public supportedBountyAddresses;
9,930,472
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 3260, 4232, 39, 27, 5340, 471, 4232, 39, 3462, 20092, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2874, 12, 2867, 516, 1426, 13, 1071, 3260, 38, 592, 93, 7148, 31, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "./IERC20.sol"; import "./SafeERC20.sol"; import "./SafeMath.sol"; import "./Ownable.sol"; import "./FOGToken.sol"; // FOGFarming is the master of FOG. He can make FOG and he is a fair guy. // // Note that it's ownable and the owner wields tremendous po...
only support set once
function setMistPid(uint _pid, uint _mistPid, bool _dualFarmingEnable) public onlyOwner { if (poolInfo[_pid].mistPid == PID_NOT_SET) { poolInfo[_pid].mistPid = _mistPid; } poolInfo[_pid].dualFarmingEnable = _dualFarmingEnable; }
5,513,565
[ 1, 4625, 348, 7953, 560, 30, 225, 1338, 2865, 444, 3647, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 565, 445, 15430, 376, 12478, 12, 11890, 389, 6610, 16, 2254, 389, 81, 376, 12478, 16, 1426, 389, 72, 1462, 42, 4610, 310, 8317, 13, 1071, 1338, 5541, 288, 203, 3639, 309, 261, 6011, 966, 63, 67, 6610, 8009, 81, 376, 12478, 422,...
/* Bringing together the two most powerful Meme’s in the world to give the crypto community a chance to make some life changing X’s. $SHIBMONG will bring together the two of the most influential communities in crypto, the best of the best. #SHIBARMY X #MONGRESS Not only combining communities but utilities t...
SPDX-License-Identifier: UNLICENSED
abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } }
5,720,467
[ 1, 4625, 348, 7953, 560, 30, 225, 11405, 28826, 17, 13211, 17, 3004, 30, 5019, 6065, 1157, 18204, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 17801, 6835, 1772, 288, 203, 540, 203, 203, 565, 445, 389, 3576, 12021, 1435, 2713, 1476, 5024, 1135, 261, 2867, 13, 288, 203, 3639, 327, 1234, 18, 15330, 31, 203, 565, 289, 203, 97, 203, 2, -100, -100, -100, -100, -100, -100, ...
contract ArithmeticOperators { // ['+', '-', '*', '/', '%'] function someFunction() { a + b; a - b; a * b; a / b; a % b; a ** b; a % b + c - d * e / f ** g; veryVeryVeryVeryVeryLongVariableCalledA + veryVeryVeryVeryVeryLongVariableCalledB; veryVeryVeryVeryVeryLongVariableCalledA ...
['<', '>', '<=', '>=', '==', '!=']
contract ComparisonOperators { function someFunction() { a < b; a > b; a <= b; a >= b; a == b; a != b; veryVeryVeryVeryVeryLongVariableCalledA < veryVeryVeryVeryVeryLongVariableCalledB; veryVeryVeryVeryVeryLongVariableCalledA > veryVeryVeryVeryVeryLongVariableCalledB; veryVeryVeryV...
12,948,094
[ 1, 4625, 348, 7953, 560, 30, 225, 10228, 32, 2187, 7481, 16, 2368, 33, 2187, 11279, 33, 2187, 296, 631, 2187, 30311, 65, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 19479, 24473, 288, 203, 225, 445, 2690, 2083, 1435, 288, 203, 565, 279, 411, 324, 31, 203, 565, 279, 405, 324, 31, 203, 565, 279, 1648, 324, 31, 203, 565, 279, 1545, 324, 31, 203, 565, 279, 422, 324, 31, 203, 565, 279,...
pragma solidity ^0.4.19; // Interface contract to be implemented by SyscoinToken contract SyscoinTransactionProcessor { function processTransaction(uint txHash, uint value, address destinationAddress, uint32 _assetGUID, address superblockSubmitterAddress) public returns (uint); function burn(uint _value, ...
@dev - shift information to the right by a specified number of bits @param _val - value to be shifted @param _shift - number of bits to shift @return - `_val` shifted `_shift` bits to the right, i.e. divided by 2**`_shift`
function shiftRight(uint _val, uint _shift) private pure returns (uint) { return _val / uint(2)**_shift; }
5,531,967
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 300, 4654, 1779, 358, 326, 2145, 635, 279, 1269, 1300, 434, 4125, 632, 891, 389, 1125, 300, 460, 358, 506, 21340, 632, 891, 389, 4012, 300, 1300, 434, 4125, 358, 4654, 632, 2463, 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, 4654, 4726, 12, 11890, 389, 1125, 16, 2254, 389, 4012, 13, 3238, 16618, 1135, 261, 11890, 13, 288, 203, 3639, 327, 389, 1125, 342, 2254, 12, 22, 13, 636, 67, 4012, 31, 203, 565, 289, 203, 2, -100, -100, -100, -100, ...
./full_match/7700/0x2bb96cfd2DDEca000DE19eAD3129EB9FDf94b0b6/sources/src/Henlo.sol
@notice Stores by which henlo NFT a CID NFT has been followed
mapping(uint256 => IndexedArray) private inversefollowData;
4,648,381
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 20392, 20296, 455, 635, 1492, 366, 275, 383, 423, 4464, 279, 385, 734, 423, 4464, 711, 2118, 10860, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 2874, 12, 11890, 5034, 516, 22524, 1076, 13, 3238, 8322, 14641, 751, 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, -...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC20/IERC2...
@dev Release in ETH from msg.value
(bool _success,) = _to.call{value : _amount}("");
6,880,612
[ 1, 4625, 348, 7953, 560, 30, 225, 632, 5206, 10819, 316, 512, 2455, 628, 1234, 18, 1132, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 7734, 261, 6430, 389, 4768, 16, 13, 273, 389, 869, 18, 1991, 95, 1132, 294, 389, 8949, 97, 2932, 8863, 203, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
./full_match/3/0x405db14e0CD5c90Ed4C867efACd0790FDE3d9E69/sources/browser/main.sol
* @dev Returns the integer division of two unsigned integers. Reverts on division by zero. The result is rounded towards zero./
function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); uint256 c = a / b; return c; }
8,152,403
[ 1, 4625, 348, 7953, 560, 30, 380, 632, 5206, 2860, 326, 3571, 16536, 434, 2795, 9088, 12321, 18, 868, 31537, 603, 16536, 635, 3634, 18, 1021, 563, 353, 16729, 23248, 3634, 18, 19, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 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, 3739, 12, 11890, 5034, 279, 16, 2254, 5034, 324, 13, 2713, 16618, 1135, 261, 11890, 5034, 13, 288, 203, 565, 2583, 12, 70, 405, 374, 16, 315, 9890, 10477, 30, 16536, 635, 3634, 8863, 203, 565, 2254, 5034, 276, 273, 27...
pragma solidity ^0.4.2; contract Sign { address public AddAuthority; mapping (uint32 => bytes32) Cert; event EventNotarise (address indexed Signer, bytes Donnees_Signature, bytes Donnees_Reste); // ============================================= function Sign() {AddAuthority = msg.sender;} func...
Vérification de la signature _Signature _Reste : hash / Signer Décompose _Signature v := byte(0, mload(add(_Signature, 96)))
function VerifSignature (bytes _Signature, bytes _Reste) returns (bool) { bytes32 r; bytes32 s; uint8 v; bytes32 hash; address Signer; assembly { r := mload(add(_Signature, 32)) s := mload(add(_Signature, 64)) v := and(mload(add(_Signature, 65)), 255) h...
7,263,819
[ 1, 4625, 348, 7953, 560, 30, 225, 776, 132, 107, 86, 1480, 443, 7125, 3372, 389, 5374, 389, 5188, 73, 294, 1651, 342, 16763, 463, 132, 107, 23658, 389, 5374, 331, 519, 1160, 12, 20, 16, 312, 945, 12, 1289, 24899, 5374, 16, 19332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 202, 915, 6160, 430, 5374, 261, 3890, 389, 5374, 16, 1731, 389, 5188, 73, 13, 1135, 261, 6430, 13, 288, 203, 202, 202, 3890, 1578, 436, 31, 203, 202, 202, 3890, 1578, 272, 31, 203, 202, 202, 11890, 28, 331, 31, 203, 202, 202,...
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external vi...
address[] private _blackListedBots; fees wrt to tax percentage
contract INSIDER is Context, IERC20, IERC20Extented, Ownable { using SafeMath for uint256; string private constant _name = "INSIDER"; string private constant _symbol = "INSI"; uint8 private constant _decimals = 18; mapping(address => uint256) private _rOwned; mapping(address => uint256) privat...
6,013,644
[ 1, 4625, 348, 7953, 560, 30, 225, 1758, 8526, 3238, 389, 11223, 682, 329, 6522, 87, 31, 1656, 281, 31565, 358, 5320, 11622, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 16351, 2120, 30287, 654, 353, 1772, 16, 467, 654, 39, 3462, 16, 467, 654, 39, 3462, 17639, 329, 16, 14223, 6914, 288, 203, 565, 1450, 14060, 10477, 364, 2254, 5034, 31, 203, 203, 565, 533, 3238, 5381, 389, 529, 273, 315, 706, 3...