Contract 0x24938a81d8b3c6544869b293b997b77bf3e22a8d 2

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xa14db1d98f3a71d07fe4b6a2493ae6a953ffbf99124670531c8cbb9984f54fa8Claim Rewards131216352021-12-02 4:50:5154 days 12 hrs ago0xdb75cab239dbb69798490cb7be0bc92b76f09b3f IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.0001055
0xf06a4c18c737a037e68822384a914277fc0bf3c24cc48355f1d1cf8fa561b73eClaim Rewards127442212021-11-18 6:48:1968 days 10 hrs ago0xceefc73a1188c479985e6c9af5581abe0139b10b IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.0001776
0xc31ee6b366e52de5319c4ad3a9787d31d8d33e3f1fb93d847474b0b822634471Claim Rewards125553802021-11-11 10:08:1975 days 7 hrs ago0x8179aec2e669b074b91a1c0476a0c450d39347fb IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.00011118
0x4d93fda984c14ce7d76133b749ec7d38d79c2cff45ab836beea99e2831f3ed75Claim Rewards BT...125553682021-11-11 10:07:4375 days 7 hrs ago0x8179aec2e669b074b91a1c0476a0c450d39347fb IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.00011124
0x280363c357d356e5a8063ed9aa5dac31d97179b0509d33da2a13e3e6a0e540ceClaim Rewards124488632021-11-07 15:32:1579 days 1 hr ago0xaa5305eecb856620a9dd9cd3964b6bb19f44b6df IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.0001776
0xb689a89da55133bd44c480844a71812f8cfdc61f94db8ca7ae7f5792fb37fbbaClaim Rewards122838392021-11-01 18:42:4984 days 22 hrs ago0xceefc73a1188c479985e6c9af5581abe0139b10b IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.0001776
0x323f879402cbc40fc2ddeffe3a2665a48e75153ab505861b54b0916ca7700db5Claim Rewards BT...122326062021-10-30 23:13:2886 days 18 hrs ago0xba4ae9421fd2f4e83105c359678a5fc3b99a2ec6 IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.000202405
0x9e8311751e504b36bb1e17cbc268345eb2e648711901acbe11f03d7672f6e891Claim Rewards122325932021-10-30 23:12:4986 days 18 hrs ago0xba4ae9421fd2f4e83105c359678a5fc3b99a2ec6 IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.0001776
0xdd0afd899939854fb664ec985e5ac9b01055ed024c7c37ac877dc615a55d1532Claim Rewards BT...121627522021-10-28 11:37:1889 days 5 hrs ago0x269d14d5f46ea0f499675f61ba911c16278d47ae IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.00011124
0x95bb6fea3293abe9424558b5687171bbfe4dae8daa32416f8d2ecf81f4cccd6aClaim Rewards121056052021-10-26 11:21:0991 days 6 hrs ago0xc9953c44a66cf2d74c160b943666ec364d0c71a7 IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.00011118
0xd290ebbc9c27dc64129e4cd67587bdbf15673d63a72d3a16705fe670bb8038c8Claim Rewards BT...121055962021-10-26 11:20:4291 days 6 hrs ago0xc9953c44a66cf2d74c160b943666ec364d0c71a7 IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.00011124
0x789847e29878524c199af1c342d31ba93a659ef22f308d5655c14a0a278e289bClaim Rewards BT...120678722021-10-25 3:45:3692 days 13 hrs ago0x2526ceb9d741148b15a756ab68e45386574ce491 IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.000202405
0xb3487c8c56197ac53ac7cd28e2395adcb511bbf372e367a7306f4a0a142fb35dClaim Rewards120678692021-10-25 3:45:2792 days 13 hrs ago0x2526ceb9d741148b15a756ab68e45386574ce491 IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.0001776
0x92194f2736e2fe976e95840392ef1dd3a9a7c247600381d395590c8307f9e5a3Claim Rewards BT...119392302021-10-20 14:51:0097 days 2 hrs ago0xceefc73a1188c479985e6c9af5581abe0139b10b IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.000202405
0x5994121eee43546d90cd59370a741ba83feee07e216097a3e1a18d420ca83d1aClaim Rewards119392262021-10-20 14:50:4897 days 2 hrs ago0xceefc73a1188c479985e6c9af5581abe0139b10b IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.0001776
0xd2f84c85f4c263d0fb9f4d99141b16f4af122e8fee6951272a1b3fb942b76bb6Claim Rewards BT...119392222021-10-20 14:50:3697 days 2 hrs ago0xceefc73a1188c479985e6c9af5581abe0139b10b IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.000202405
0x5f1a8b0c0dbab7230ff5f75e12135686755f9e05c8bdb4312ec6dd636afec116Claim Rewards115205862021-10-05 23:09:00111 days 18 hrs ago0xc1ebfc83859c5715d61281e78536c857940bd7ab IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.0001776
0x152b0767b39e6e8ebdbc66f58805dd469032235168d190eaeee76e7def0ba64fClaim Rewards BT...115205602021-10-05 23:07:42111 days 18 hrs ago0xc1ebfc83859c5715d61281e78536c857940bd7ab IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.000202405
0x805ec184560efe097ab59d9ac44e7e1e0db6a893a1a27851cea81314bd4af813Claim Rewards BT...115205462021-10-05 23:07:00111 days 18 hrs ago0xc1ebfc83859c5715d61281e78536c857940bd7ab IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.000202405
0x50ca8694c4655c788037d5c2a74e2424449e17fe5ed840a1dab016124449b6fbGet113993152021-10-01 17:33:17115 days 23 hrs agoScooby: Deployer IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.000148
0x174277c27b6f158a754f3a98679f2df6d3caab28a36876a6815ed4369fb5e821Claim Rewards113950332021-10-01 13:54:46116 days 3 hrs ago0x65d468f8493f54deebaad670e3720dc56d15a98f IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.0001026
0xcf0ddc4163ce6b44d9b01845b3410dc3abcca8300d06bb38cb93f2a1e9b6ff55Claim Rewards111896232021-09-24 9:12:55123 days 8 hrs ago0xc105149bbfe65263ce70249b70bf304c8f509aa1 IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.00011118
0xc19747dc02b6ebcb814605fc6acabd1622f695f459b8626470c7721b41316b8bClaim Rewards111896212021-09-24 9:12:49123 days 8 hrs ago0xc105149bbfe65263ce70249b70bf304c8f509aa1 IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.0001026
0x3debf4323eaa2bf9937b86636a4e99b7498b4c5821364714a6746444ace07f26Claim Rewards111073472021-09-21 12:10:47126 days 5 hrs ago0x6e23cdc493851009e7d64c7ce1988fd4d9f6c48c IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.0001026
0xd1c8dd1dd93c4f5b6ae05e8a6be36651bce1aa120c72d9469a12ec11bc785a47Claim Rewards110869212021-09-20 19:06:45126 days 22 hrs ago0x05affbbcfbeba79bba719e7ca5b9144de766816b IN  0x24938a81d8b3c6544869b293b997b77bf3e22a8d0 BNB0.0001026
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xf06a4c18c737a037e68822384a914277fc0bf3c24cc48355f1d1cf8fa561b73e127442212021-11-18 6:48:1968 days 10 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0xceefc73a1188c479985e6c9af5581abe0139b10b0.002532305339748327 BNB
0x280363c357d356e5a8063ed9aa5dac31d97179b0509d33da2a13e3e6a0e540ce124488632021-11-07 15:32:1579 days 1 hr ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0xaa5305eecb856620a9dd9cd3964b6bb19f44b6df0.015379097653113132 BNB
0xb689a89da55133bd44c480844a71812f8cfdc61f94db8ca7ae7f5792fb37fbba122838392021-11-01 18:42:4984 days 22 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0xceefc73a1188c479985e6c9af5581abe0139b10b0.002532305339748327 BNB
0x323f879402cbc40fc2ddeffe3a2665a48e75153ab505861b54b0916ca7700db5122326062021-10-30 23:13:2886 days 18 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d PancakeSwap: Router0.009276229770452891 BNB
0x9e8311751e504b36bb1e17cbc268345eb2e648711901acbe11f03d7672f6e891122325932021-10-30 23:12:4986 days 18 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0xba4ae9421fd2f4e83105c359678a5fc3b99a2ec60.009276229770452891 BNB
0x789847e29878524c199af1c342d31ba93a659ef22f308d5655c14a0a278e289b120678722021-10-25 3:45:3692 days 13 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d PancakeSwap: Router0.00197064838899332 BNB
0xb3487c8c56197ac53ac7cd28e2395adcb511bbf372e367a7306f4a0a142fb35d120678692021-10-25 3:45:2792 days 13 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0x2526ceb9d741148b15a756ab68e45386574ce4910.00197064838899332 BNB
0x92194f2736e2fe976e95840392ef1dd3a9a7c247600381d395590c8307f9e5a3119392302021-10-20 14:51:0097 days 2 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d PancakeSwap: Router0.002532305339748327 BNB
0x5994121eee43546d90cd59370a741ba83feee07e216097a3e1a18d420ca83d1a119392262021-10-20 14:50:4897 days 2 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0xceefc73a1188c479985e6c9af5581abe0139b10b0.002532305339748327 BNB
0xd2f84c85f4c263d0fb9f4d99141b16f4af122e8fee6951272a1b3fb942b76bb6119392222021-10-20 14:50:3697 days 2 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d PancakeSwap: Router0.002532305339748327 BNB
0x5f1a8b0c0dbab7230ff5f75e12135686755f9e05c8bdb4312ec6dd636afec116115205862021-10-05 23:09:00111 days 18 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0xc1ebfc83859c5715d61281e78536c857940bd7ab0.001825589696758717 BNB
0x152b0767b39e6e8ebdbc66f58805dd469032235168d190eaeee76e7def0ba64f115205602021-10-05 23:07:42111 days 18 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d PancakeSwap: Router0.001825589696758717 BNB
0x805ec184560efe097ab59d9ac44e7e1e0db6a893a1a27851cea81314bd4af813115205462021-10-05 23:07:00111 days 18 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d PancakeSwap: Router0.001825589696758717 BNB
0x50ca8694c4655c788037d5c2a74e2424449e17fe5ed840a1dab016124449b6fb113993152021-10-01 17:33:17115 days 23 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d Scooby: SBD Token6.092668333870888963 BNB
0x174277c27b6f158a754f3a98679f2df6d3caab28a36876a6815ed4369fb5e821113950332021-10-01 13:54:46116 days 3 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0x65d468f8493f54deebaad670e3720dc56d15a98f0.005365683869330253 BNB
0xc19747dc02b6ebcb814605fc6acabd1622f695f459b8626470c7721b41316b8b111896212021-09-24 9:12:49123 days 8 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0xc105149bbfe65263ce70249b70bf304c8f509aa10.000157659593619066 BNB
0x3debf4323eaa2bf9937b86636a4e99b7498b4c5821364714a6746444ace07f26111073472021-09-21 12:10:47126 days 5 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0x6e23cdc493851009e7d64c7ce1988fd4d9f6c48c0.000324696504100006 BNB
0xd1c8dd1dd93c4f5b6ae05e8a6be36651bce1aa120c72d9469a12ec11bc785a47110869212021-09-20 19:06:45126 days 22 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0x05affbbcfbeba79bba719e7ca5b9144de766816b0.003038782170342406 BNB
0xe8cde1a46c6820ca83946dc820827137d49ef4e00b0263d798ff50051c850ec5109999202021-09-17 18:15:10129 days 23 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0x39b90e90a7a106f3aee783db983d12d3cea306830.001656721939930575 BNB
0x3d35de4b245f4a1ae0d9a3cc9cb0c9c039ad877ef05a844be9482d8b5ec13f2b108560172021-09-12 18:01:39134 days 23 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0xce094e5caa24f0590805d83ae138a5483f1fddcc0.022066688602724702 BNB
0x8b5c3bb7359315ea0cf58ab70f228725d9afe0bf2760eb80a84f2fbb0b0fdbca108257882021-09-11 16:43:59136 days 42 mins ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0xe5df8862157556d84e36ab133c960b7a2f1e18740.006832426957629321 BNB
0x0161763e173d899d73e64a6e2d763c62099ceb100cf4ee97151d325ef3ab9cfb108024732021-09-10 21:06:19136 days 20 hrs ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0xafdca0103665022949b65ff569ff8c4af2124b120.003566297191205682 BNB
0xa49a7ed31965d4bcfb52b1a47bda22f41c239ab6354d17360c0c0b9bca70690d107695932021-09-09 17:22:57138 days 3 mins ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0x494397b441011aa246cfff2f1087f05749968eea0.002454354531432105 BNB
0x1ff4eebe588aa13fb56d51a152f321a2e34642bc24109a1dbe01724cff8806bb107683272021-09-09 16:19:27138 days 1 hr ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0x61cdadb1f15cd4cd513fa4596ce17006ea091db70.000748836495743134 BNB
0xc9c9ea876fa3112e910733f8b2732a90c6ae0d389e54548f050b15bae256b1cf107679132021-09-09 15:58:45138 days 1 hr ago 0x24938a81d8b3c6544869b293b997b77bf3e22a8d0x969c5daca88652a6f7a20a9dc3ca9417f7a4d0a50.01345494740251357 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
distribution

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-04-23
*/

/**
 *Submitted for verification at BscScan.com on 2021-04-20
*/

/**
 *Submitted for verification at BscScan.com on 2021-04-19
*/

/**
 *Submitted for verification at BscScan.com on 2021-03-04
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.12;
interface IERC20 {

    function totalSupply() external view returns (uint256);
    function tokenHolder(uint256) external view returns(address);
    function numberOfTokenHolders() external view returns(uint256);

    function expectedRewards(address _sender) 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 (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(address indexed owner, address indexed spender, uint256 value);
}

interface IPancakeRouter01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}



// pragma solidity >=0.6.2;

interface IPancakeRouter02 is IPancakeRouter01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}


library SafeMath {

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {

        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;

        return c;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
    
    function ceil(uint256 a, uint256 m) internal pure returns (uint256) {
        uint256 c = add(a,m);
        uint256 d = sub(c,1);
        return mul(div(d,m),m);
    }
}

contract distribution{
    using SafeMath for uint256;
    mapping(address => uint256) public myRewards;
    //mapping(address => bool) public rewardsGranted;
    IERC20 public Scooby = IERC20(0xf0AB4b8Daa51F6Abf6b4C9FEf0ccA5d127029AA9);
    address payable wallet = 0xf0AB4b8Daa51F6Abf6b4C9FEf0ccA5d127029AA9;
    uint256 public loopStarts = 0;
    uint256 public loopCloses = 10;
    address owner = msg.sender;
    
    IPancakeRouter02 public pancakeRouter = IPancakeRouter02(0x05fF2B0DB69458A0750badebc4f9e13aDd608C7F);

    
    modifier onlyOwner() {
        msg.sender == owner;
        _;
        
    }
    
    function swapTokensForBTC(uint256 ethAmount, address receiver) private {
        // generate the pancake pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = pancakeRouter.WETH();
        path[1] = 0x7130d2A12B9BCbFAe4f2634d864A1Ee1Ce3Ead9c;


        // make the swap
        pancakeRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(
            0, // accept any amount of BNB
            path,
            receiver,
            block.timestamp + 360
        );
    }
    
    function distribute() external onlyOwner {
        uint256 _length = Scooby.numberOfTokenHolders();
        require(loopStarts < _length);
        for(uint256 i = loopStarts; i <  loopCloses; i++){
            uint256 _bal = Scooby.balanceOf(Scooby.tokenHolder(i));
            if(_bal > 0){
                uint256 share = (Scooby.expectedRewards(Scooby.tokenHolder(i)));
                myRewards[Scooby.tokenHolder(i)] = myRewards[Scooby.tokenHolder(i)].add(share);
            }
        }
        if((loopCloses + 250) > _length){
            loopCloses = _length;
            loopStarts = loopStarts + 250;
            return;
        }
        loopStarts = loopStarts + 250;
        loopCloses = loopCloses + 250;
    }
    
    function setLoop(uint256 _x, uint256 _y) external onlyOwner{
        loopStarts = _x;
        loopCloses = _y;
    }
    function call(uint256 k) view external returns(address){
        address val = Scooby.tokenHolder(k);
        return val;
    }
    receive() external payable {}
    
    
    function rewards(address sender) external view returns(uint256){
     uint256 _rewards = myRewards[sender];
     return _rewards;
        
    }
    
    function tokenholders() view public returns(uint256){
     uint _th = Scooby.numberOfTokenHolders();
     return _th;
    }
    function claimRewards() external {
        require(myRewards[msg.sender] > 0,'You have zero rewards');
        address payable sender = msg.sender;
        uint256 _share = myRewards[sender];
        myRewards[sender] = 0;
        sender.transfer(_share);
    }
    
    function claimRewardsBTC() external {
        require(myRewards[msg.sender] > 0,'You have zero rewards');
        address payable sender = msg.sender;
        uint256 _share = myRewards[sender];
        myRewards[sender] = 0;
        swapTokensForBTC(_share, msg.sender);
    }
    
    function get() external onlyOwner {
        wallet.transfer(address(this).balance);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"Scooby","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"k","type":"uint256"}],"name":"call","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimRewardsBTC","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"get","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"loopCloses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"loopStarts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"myRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pancakeRouter","outputs":[{"internalType":"contract IPancakeRouter02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_x","type":"uint256"},{"internalType":"uint256","name":"_y","type":"uint256"}],"name":"setLoop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenholders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600180546001600160a01b031990811673f0ab4b8daa51f6abf6b4c9fef0cca5d127029aa99081179092556002805482169092179091556000600355600a60045560058054821633179055600680549091167305ff2b0db69458a0750badebc4f9e13add608c7f17905534801561007a57600080fd5b50610b8e8061008a6000396000f3fe6080604052600436106100c65760003560e01c80632ee2008a1161007f5780636d4ce63c116100595780636d4ce63c1461022b5780639a18347c14610240578063c21ebd0714610255578063e4fc6b6d1461026a576100cd565b80632ee2008a146101d1578063372500ab146102015780633c06c48214610216576100cd565b80630700037d146100d25780630edd5cad1461011757806311d4b0f61461012c578063169b0d7f1461014357806320b9588c146101585780632b0969261461018b576100cd565b366100cd57005b600080fd5b3480156100de57600080fd5b50610105600480360360208110156100f557600080fd5b50356001600160a01b031661027f565b60408051918252519081900360200190f35b34801561012357600080fd5b5061010561029a565b34801561013857600080fd5b506101416102a0565b005b34801561014f57600080fd5b5061010561031b565b34801561016457600080fd5b506101056004803603602081101561017b57600080fd5b50356001600160a01b031661039e565b34801561019757600080fd5b506101b5600480360360208110156101ae57600080fd5b50356103b0565b604080516001600160a01b039092168252519081900360200190f35b3480156101dd57600080fd5b50610141600480360360408110156101f457600080fd5b5080359060200135610434565b34801561020d57600080fd5b5061014161043f565b34801561022257600080fd5b506101b56104e0565b34801561023757600080fd5b506101416104ef565b34801561024c57600080fd5b5061010561052b565b34801561026157600080fd5b506101b5610531565b34801561027657600080fd5b50610141610540565b6001600160a01b031660009081526020819052604090205490565b60035481565b336000908152602081905260409020546102f9576040805162461bcd60e51b8152602060048201526015602482015274596f752068617665207a65726f207265776172647360581b604482015290519081900360640190fd5b3360008181526020819052604081208054919055610317818361093d565b5050565b600080600160009054906101000a90046001600160a01b03166001600160a01b031663178ef3076040518163ffffffff1660e01b815260040160206040518083038186803b15801561036c57600080fd5b505afa158015610380573d6000803e3d6000fd5b505050506040513d602081101561039657600080fd5b505191505090565b60006020819052908152604090205481565b6001546040805163431525f960e11b815260048101849052905160009283926001600160a01b039091169163862a4bf291602480820192602092909190829003018186803b15801561040157600080fd5b505afa158015610415573d6000803e3d6000fd5b505050506040513d602081101561042b57600080fd5b50519392505050565b600391909155600455565b33600090815260208190526040902054610498576040805162461bcd60e51b8152602060048201526015602482015274596f752068617665207a65726f207265776172647360581b604482015290519081900360640190fd5b3360008181526020819052604080822080549083905590519091839183156108fc0291849190818181858888f193505050501580156104db573d6000803e3d6000fd5b505050565b6001546001600160a01b031681565b6002546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610528573d6000803e3d6000fd5b50565b60045481565b6006546001600160a01b031681565b6001546040805163178ef30760e01b815290516000926001600160a01b03169163178ef307916004808301926020929190829003018186803b15801561058557600080fd5b505afa158015610599573d6000803e3d6000fd5b505050506040513d60208110156105af57600080fd5b505160035490915081116105c257600080fd5b6003545b600454811015610902576001546040805163431525f960e11b81526004810184905290516000926001600160a01b0316916370a0823191839163862a4bf2916024808301926020929190829003018186803b15801561062457600080fd5b505afa158015610638573d6000803e3d6000fd5b505050506040513d602081101561064e57600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152516024808301926020929190829003018186803b15801561069557600080fd5b505afa1580156106a9573d6000803e3d6000fd5b505050506040513d60208110156106bf57600080fd5b5051905080156108f9576001546040805163431525f960e11b81526004810185905290516000926001600160a01b0316916377e5006f91839163862a4bf2916024808301926020929190829003018186803b15801561071d57600080fd5b505afa158015610731573d6000803e3d6000fd5b505050506040513d602081101561074757600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152516024808301926020929190829003018186803b15801561078e57600080fd5b505afa1580156107a2573d6000803e3d6000fd5b505050506040513d60208110156107b857600080fd5b50516001546040805163431525f960e11b815260048101879052905192935061086092849260009283926001600160a01b039092169163862a4bf291602480820192602092909190829003018186803b15801561081457600080fd5b505afa158015610828573d6000803e3d6000fd5b505050506040513d602081101561083e57600080fd5b50516001600160a01b0316815260208101919091526040016000205490610af7565b6001546040805163431525f960e11b815260048101879052905160009283926001600160a01b039091169163862a4bf291602480820192602092909190829003018186803b1580156108b157600080fd5b505afa1580156108c5573d6000803e3d6000fd5b505050506040513d60208110156108db57600080fd5b50516001600160a01b03168152602081019190915260400160002055505b506001016105c6565b508060045460fa011115610921576004556003805460fa01905561093b565b60035460fa0160038190555060045460fa01600481905550505b565b60408051600280825260608083018452926020830190803683375050600654604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b1580156109a157600080fd5b505afa1580156109b5573d6000803e3d6000fd5b505050506040513d60208110156109cb57600080fd5b5051815182906000906109da57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050737130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c81600181518110610a1c57fe5b6001600160a01b0392831660209182029290920181019190915260065460405163b6f9de9560e01b81526000600482018181528786166044840152610168420160648401819052608060248501908152885160848601528851959097169663b6f9de95968b9694958a958c95939260a49092019187810191028083838b5b83811015610ab2578181015183820152602001610a9a565b50505050905001955050505050506000604051808303818588803b158015610ad957600080fd5b505af1158015610aed573d6000803e3d6000fd5b5050505050505050565b600082820183811015610b51576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b939250505056fea2646970667358221220cfced39d672d8a14982c277298cb0c9ba90299ec81b24feeb8027bcbbd93392064736f6c634300060c0033

Deployed ByteCode Sourcemap

7725:3225:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9990:148;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9990:148:0;-1:-1:-1;;;;;9990:148:0;;:::i;:::-;;;;;;;;;;;;;;;;8046:29;;;;;;;;;;;;;:::i;10561:283::-;;;;;;;;;;;;;:::i;:::-;;10150:126;;;;;;;;;;;;;:::i;7786:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7786:44:0;-1:-1:-1;;;;;7786:44:0;;:::i;9807:130::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9807:130:0;;:::i;:::-;;;;-1:-1:-1;;;;;9807:130:0;;;;;;;;;;;;;;9682:119;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9682:119:0;;;;;;;:::i;10282:267::-;;;;;;;;;;;;;:::i;7892:73::-;;;;;;;;;;;;;:::i;10856:91::-;;;;;;;;;;;;;:::i;8082:30::-;;;;;;;;;;;;;:::i;8158:100::-;;;;;;;;;;;;;:::i;8928:742::-;;;;;;;;;;;;;:::i;9990:148::-;-1:-1:-1;;;;;10080:17:0;10045:7;10080:17;;;;;;;;;;;;9990:148::o;8046:29::-;;;;:::o;10561:283::-;10626:10;10640:1;10616:21;;;;;;;;;;;10608:58;;;;;-1:-1:-1;;;10608:58:0;;;;;;;;;;;;-1:-1:-1;;;10608:58:0;;;;;;;;;;;;;;;10702:10;10677:22;10740:17;;;;;;;;;;;;10768:21;;;10800:36;10740:17;10702:10;10800:16;:36::i;:::-;10561:283;;:::o;10150:126::-;10194:7;10210:8;10221:6;;;;;;;;;-1:-1:-1;;;;;10221:6:0;-1:-1:-1;;;;;10221:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10221:29:0;;-1:-1:-1;;10150:126:0;:::o;7786:44::-;;;;;;;;;;;;;;:::o;9807:130::-;9887:6;;:21;;;-1:-1:-1;;;9887:21:0;;;;;;;;;;9854:7;;;;-1:-1:-1;;;;;9887:6:0;;;;:18;;:21;;;;;;;;;;;;;;;:6;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9887:21:0;;9807:130;-1:-1:-1;;;9807:130:0:o;9682:119::-;9752:10:::1;:15:::0;;;;9778:10:::1;:15:::0;9682:119::o;10282:267::-;10344:10;10358:1;10334:21;;;;;;;;;;;10326:58;;;;;-1:-1:-1;;;10326:58:0;;;;;;;;;;;;-1:-1:-1;;;10326:58:0;;;;;;;;;;;;;;;10420:10;10395:22;10458:17;;;;;;;;;;;;;10486:21;;;;10518:23;;10458:17;;10420:10;;10518:23;;;;;10458:17;;10518:23;;10395:22;10518:23;10458:17;10420:10;10518:23;;;;;;;;;;;;;;;;;;;;;10282:267;;:::o;7892:73::-;;;-1:-1:-1;;;;;7892:73:0;;:::o;10856:91::-;10901:6:::1;::::0;:38:::1;::::0;-1:-1:-1;;;;;10901:6:0;;::::1;::::0;10917:21:::1;10901:38:::0;::::1;;;::::0;8319:5;10901:38;8319:5;10901:38;10917:21;10901:6;:38;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;10856:91::o:0;8082:30::-;;;;:::o;8158:100::-;;;-1:-1:-1;;;;;8158:100:0;;:::o;8928:742::-;8319:5;8998:6;:29:::1;::::0;;-1:-1:-1;;;8998:29:0;;;;8319:5;;-1:-1:-1;;;;;8998:6:0::1;::::0;:27:::1;::::0;:29:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;:6;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;8998:29:0;9046:10:::1;::::0;8998:29;;-1:-1:-1;9046:20:0;-1:-1:-1;9038:29:0::1;;;::::0;::::1;;9094:10;::::0;9078:351:::1;9111:10;;9106:1;:15;9078:351;;;9157:6;::::0;9174:21:::1;::::0;;-1:-1:-1;;;9174:21:0;;::::1;::::0;::::1;::::0;;;;;9142:12:::1;::::0;-1:-1:-1;;;;;9157:6:0::1;::::0;:16:::1;::::0;:6;;9174:18:::1;::::0;:21;;;;;::::1;::::0;;;;;;;;9157:6;9174:21;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;9174:21:0;9157:39:::1;::::0;;-1:-1:-1;;;;;;9157:39:0::1;::::0;;;;;;-1:-1:-1;;;;;9157:39:0;;::::1;;::::0;::::1;::::0;;;;;;;9174:21:::1;::::0;9157:39;;;;;;;;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;9157:39:0;;-1:-1:-1;9214:8:0;;9211:207:::1;;9259:6;::::0;9282:21:::1;::::0;;-1:-1:-1;;;9282:21:0;;::::1;::::0;::::1;::::0;;;;;9242:13:::1;::::0;-1:-1:-1;;;;;9259:6:0::1;::::0;:22:::1;::::0;:6;;9282:18:::1;::::0;:21;;;;;::::1;::::0;;;;;;;;9259:6;9282:21;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;9282:21:0;9259:45:::1;::::0;;-1:-1:-1;;;;;;9259:45:0::1;::::0;;;;;;-1:-1:-1;;;;;9259:45:0;;::::1;;::::0;::::1;::::0;;;;;;;9282:21:::1;::::0;9259:45;;;;;;;;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;9259:45:0;9369:6:::1;::::0;:21:::1;::::0;;-1:-1:-1;;;9369:21:0;;::::1;::::0;::::1;::::0;;;;;9259:45;;-1:-1:-1;9359:43:0::1;::::0;9259:45;;9359:9:::1;::::0;;;-1:-1:-1;;;;;9369:6:0;;::::1;::::0;:18:::1;::::0;:21;;;;;9259:45:::1;::::0;9369:21;;;;;;;;:6;:21;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;9369:21:0;-1:-1:-1;;;;;9359:32:0::1;::::0;;9369:21:::1;9359:32:::0;::::1;::::0;;;;;;-1:-1:-1;9359:32:0;;;:36:::1;:43::i;:::-;9334:6;::::0;:21:::1;::::0;;-1:-1:-1;;;9334:21:0;;::::1;::::0;::::1;::::0;;;;;9324:9:::1;::::0;;;-1:-1:-1;;;;;9334:6:0;;::::1;::::0;:18:::1;::::0;:21;;;;;::::1;::::0;;;;;;;;;:6;:21;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;9334:21:0;-1:-1:-1;;;;;9324:32:0::1;::::0;;9334:21:::1;9324:32:::0;::::1;::::0;;;;;;-1:-1:-1;9324:32:0;:78;-1:-1:-1;9211:207:0::1;-1:-1:-1::0;9123:3:0::1;;9078:351;;;;9463:7;9443:10;;9456:3;9443:16;9442:28;9439:144;;;9486:10;:20:::0;9534:10:::1;::::0;;9547:3:::1;9534:16;9521:29:::0;;9565:7:::1;;9439:144;9606:10;;9619:3;9606:16;9593:10;:29;;;;9646:10;;9659:3;9646:16;9633:10;:29;;;;8335:1;;8928:742::o:0;8366:550::-;8532:16;;;8546:1;8532:16;;;8508:21;8532:16;;;;;8508:21;8532:16;;;;;;;;-1:-1:-1;;8569:13:0;;:20;;;-1:-1:-1;;;8569:20:0;;;;8508:40;;-1:-1:-1;;;;;;8569:13:0;;;;:18;;-1:-1:-1;8569:20:0;;;;;;;;;;;;;;:13;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8569:20:0;8559:7;;:4;;8564:1;;8559:7;;;;;;;;;:30;-1:-1:-1;;;;;8559:30:0;;;-1:-1:-1;;;;;8559:30:0;;;;;8610:42;8600:4;8605:1;8600:7;;;;;;;;-1:-1:-1;;;;;8600:52:0;;;:7;;;;;;;;;;:52;;;;8693:13;;:215;;-1:-1:-1;;;8693:215:0;;:13;:215;;;;;;;;;;;;;8894:3;8876:15;:21;8693:215;;;;;;;;;;;;;;;;;;;;;:13;;;;;:64;;8765:9;;8693:13;;8834:4;;8853:8;;8693:215;;;;;;;;;;;;;;;:13;:215;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8366:550;;;:::o;6099:181::-;6157:7;6189:5;;;6213:6;;;;6205:46;;;;;-1:-1:-1;;;6205:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6271:1;6099:181;-1:-1:-1;;;6099:181:0:o

Swarm Source

ipfs://cfced39d672d8a14982c277298cb0c9ba90299ec81b24feeb8027bcbbd933920
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.