Contract 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d73 1

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xdcd8829bb64c503391859826acc39c067c103d33fe6cacea8c04955259673b0dSwap92516082021-07-18 1:47:4866 days 1 hr ago0x0ae9f15955dde682955eb2169bb9de18deb07e76 IN  0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730 BNB0.001040665
0x292db8f24c8da0d846587172260639c3cd16ad3ccde6f13d0eddc2e3055d21f7Swap85523572021-06-23 16:53:0190 days 10 hrs ago0xb2c764f6bb36df1008245a2d8e23b7e62e634049 IN  0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730 BNB0.00017444
0x7a2d403ff710afb6d92232c3251f8dee878994db44c92254f0ff596d04dfbf06Swap85522602021-06-23 16:48:1090 days 10 hrs ago0xb2c764f6bb36df1008245a2d8e23b7e62e634049 IN  0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730 BNB0.001040665
0xcb190b1dc75e8ac36e9d86d2b747e8858ebdcd1c1561a0c422e0aa77365b407cBuy And Burn83181262021-06-15 12:22:4198 days 14 hrs ago0x67b0f7c5b67ecbe48fb961e4b34fde6b88a2eb1f IN  0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730 BNB0.002178655
0x7e38a370d2008d47a0383dd908a72512375765875890ea172e1e9156db1cd0aeTransfer82555952021-06-13 7:34:22100 days 19 hrs ago0x9bd23a97689401c87484eda99ed29db3db815bf3 IN  0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.02 BNB0.00042
0xc1aec17212587403c020e83c2c34594244e97213e73fe58f4eeef4fb3d5db8fcTransfer82554242021-06-13 7:25:49100 days 19 hrs ago0x9bd23a97689401c87484eda99ed29db3db815bf3 IN  0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.007 BNB0.00042
0xb546234a54312b953bac564ce9a47dc92a2990b8be2af28ac90bf95c4d2389c6Transfer82553862021-06-13 7:23:55100 days 19 hrs ago0x9bd23a97689401c87484eda99ed29db3db815bf3 IN  0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.005 BNB0.00042
0xcf9934a0ba2da253a24ca2990f9b9b6ebbce156778911fe0ec13aa99a6affceaTransfer82553622021-06-13 7:22:43100 days 19 hrs ago0x9bd23a97689401c87484eda99ed29db3db815bf3 IN  0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.005 BNB0.00042
0x4fda32fa9132bd453004c622776e1d7a57351280d84b2fcc2d8178940bd91b2dSet Dev80018462021-06-04 11:28:23109 days 15 hrs agoDina Protocol: Deployer IN  0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730 BNB0.000142165
0xfeac218b761991fffe45fde525b844401dec08a31c9a172ab781b03c0df402dc0x6080604077969132021-05-28 8:04:57116 days 18 hrs agoDina Protocol: Deployer IN  Contract Creation0 BNB0.00426981
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x8db1b8bf2b73cc1a61b02fe3567a4b06f2317fe511ac0db8e32ae40afde1c442103780842021-08-26 22:51:5626 days 4 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.07386909644248266 BNB
0xf479c6edbc48f11c3547d19200a3488f0515e452f6306ee1ff0c04bec45c8be6102596092021-08-22 19:41:4230 days 7 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.07352178372627244 BNB
0x3033b79e3b9553d6a488a46be5569cf12d707389ef85c8ae2f49d6c2defdfa8396935892021-08-02 18:58:4050 days 7 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.072721257465979847 BNB
0x28020a02769e829f1fbf3cb9edfb1c9eaf1f73db196c6177944a4941713440a495804202021-07-29 17:51:5054 days 9 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.072721257465979847 BNB
0xf58e576898d18b7f361678a6734580853164ac669ccfc7fd44af66df99c3dd4292949872021-07-19 13:57:3364 days 12 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.072721257465979847 BNB
0x1f68be935b0666013a1f2a00297fa99ee80a9583f1edecf529f544aef7a66b8b91122872021-07-13 5:38:2470 days 21 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.072315673349708625 BNB
0xec2b25dc8762674ce85c22dc2dc24090ea970e5f0f3124d80b7379c35964c9dd88791882021-07-05 2:58:4178 days 23 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.072315673349708625 BNB
0x9d728abdf555b4d940790b4e721900a17ecef6a2e173613a62777f37436ede7787032952021-06-28 23:07:3685 days 3 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.071588460115656926 BNB
0x3ef04f3d3c9f3f03999bc90ba2ac407c7f8a91ab2c92831300f044628c1c586186577892021-06-27 8:57:4886 days 17 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.071588460115656926 BNB
0xf0fc746b959f1d7944a0335d41fa3a52ef508d5356cd3d0f389a2f5cfb37c54585486692021-06-23 13:48:3190 days 13 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.071588460115656926 BNB
0xfca6ff65b2ce516cdef9a77dade485aa20ddb4a906969f91970d0dbb7a087b4c85011592021-06-21 21:57:1092 days 4 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.070816706662617718 BNB
0xe4727b91ccc2d37946dbc03ac30092cffcb0b01a245cc5fcbbe89570f42f4aef84167132021-06-18 23:18:5795 days 3 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.070462729092486341 BNB
0xfba60f76a591bcdf12542aaf06b1a86728144af58e1c40f91b328d71c775c54e84038462021-06-18 12:28:1195 days 14 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.070462729092486341 BNB
0x821ec2b30da50a6bef1f6c7a11f8281dd2d61538a53d3b46cb2d5471826dbbde83853332021-06-17 20:53:2096 days 6 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.070462729092486341 BNB
0xc4af7534fe154f031a7f76f7863f84abd27548ec41baf54e86ef36d56734cd5483763672021-06-17 13:22:4896 days 13 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.065188614258990088 BNB
0x2b3653bc37ec2bd673d3387e7a18d347242a574d72d8c2430660177958ae6dc283566332021-06-16 20:46:5597 days 6 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.065188614258990088 BNB
0x8904bdbeb5a09d2f68b5f90f6d9bfee26e49233924387cf295257c3bd2b5cc2f83471682021-06-16 12:50:4497 days 14 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.064765913716173312 BNB
0xd9fc4f4825f622354c585bd705aa2cb3d400657bb0e0d92c708b20e984739f3e83407832021-06-16 7:29:1897 days 19 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.064765913716173312 BNB
0x32932a0cfbea9c05293d9055fd601518e580cfa1314f84bd5fb76caae1c03bdd83327712021-06-16 0:44:0198 days 2 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.064765913716173312 BNB
0xa06fc306c8321a19481716f2536779e515d47983c2d9719b3711b5b7c91bfd0c83262752021-06-15 19:16:5698 days 7 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.063237251918876111 BNB
0x867f3b148c6d8073ce28f3cdc7fdb3c280fcf4c3b87c320be37bc9e03751ebaa83182552021-06-15 12:30:0498 days 14 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.061073033247047528 BNB
0x6e9105041cf5fcb55717c1769201b82d21004b7a1a66d4715b1c7de9b01a288583077462021-06-15 3:35:3098 days 23 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.060729779211000033 BNB
0x942f2fc4166dc569c83545de827e06d1681b21b48d87f335ffb7109c9edd3caf82996002021-06-14 20:41:1599 days 6 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.058345368237608136 BNB
0xa8eeb24fb986ec3442de63c6342197af84c7c156004fd335a3ea9a0b8ce9b44582917562021-06-14 14:06:3499 days 12 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.05635361093023283 BNB
0xcce19b1fa19f26180fab89ac34241b899b348c77612a5db830ab32a3fd3658e682846592021-06-14 8:07:1799 days 18 hrs ago 0x7fe2dbb54ba7230f905ff1a828da7826c6bcf90e 0xd6f9e8d54bf26b9a57dc7d60675f23c45cda0d730.055980280603631492 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Fomo

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-05-28
*/

pragma solidity ^0.6.12;
// SPDX-License-Identifier: Unlicensed

interface IERC20 {

    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}



/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
 
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

interface IUniswapV2Router01 {
    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);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    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;
}

contract Fomo {
    using SafeMath for uint256;

    address public candidate;
    uint256 public lastTransfer;
    bool inSwap = false;
    IERC20 public dina;
    IERC20 public usdt = IERC20(0x55d398326f99059fF775485246999027B3197955);
    uint256 constant public INTERVAL = 4 * 60 * 60; // 4 hours 
    IUniswapV2Router02 public uniswapV2Router;
    address public dev;
    address public constant blackHole = 0x0000000000000000000000000000000000000001;

    event Reward(address user, uint256 amount);

    constructor (IERC20 _dina) public {
        dina = _dina;
        uniswapV2Router = IUniswapV2Router02(0x10ED43C718714eb63d5aA57B78B54704E256024E);
        candidate = msg.sender;
        lastTransfer = block.timestamp;
        dev = msg.sender;
    }

    function transferNotify(address user) external {
        require(msg.sender == address(dina), "permission denied");
        if (block.timestamp.sub(lastTransfer, "calc interval") > INTERVAL) {
            uint256 reward = usdt.balanceOf(address(this)).div(2); // 50%
            if (reward > 0) {
                usdt.transfer(candidate, reward);
                emit Reward(candidate, reward);
            }
        }
        candidate = user;
        lastTransfer = block.timestamp;
    }

    function swap() public {
        if (inSwap) {
            return;
        }
        inSwap = true;
        uint256 tokenAmount = dina.balanceOf(address(this));
        if (tokenAmount == 0) {
            inSwap = false;
            return;
        }
        address[] memory path = new address[](2);
        path[0] = address(dina);
        path[1] = address(usdt);

        dina.approve(address(uniswapV2Router), tokenAmount);

        // make the swap
        uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
        inSwap = false;
    }

    function buyAndBurn() public {
        require(msg.sender == dev, "permission denied");
        // swap first
        swap();

        // buy token
        uint256 amount = usdt.balanceOf(address(this)).div(2);
        if (amount == 0) {
            return;
        }

        address[] memory path = new address[](2);
        path[0] = address(usdt);
        path[1] = address(dina);

        usdt.approve(address(uniswapV2Router), amount);
        
        uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            amount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );

        // burn token
        uint256 tokenBalance = dina.balanceOf(address(this));
        if (tokenBalance > 0) {
            dina.transfer(blackHole, tokenBalance);
        }
    }

    function setDev(address _dev) public {
        require(msg.sender == dev, "permission denied");
        dev = _dev;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_dina","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Reward","type":"event"},{"inputs":[],"name":"INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blackHole","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyAndBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"candidate","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dev","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dina","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_dev","type":"address"}],"name":"setDev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"transferNotify","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"usdt","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040526002805460ff19169055600380546001600160a01b0319167355d398326f99059ff775485246999027b319795517905534801561004057600080fd5b50604051610d04380380610d048339818101604052602081101561006357600080fd5b5051600280546001600160a01b0390921661010002610100600160a81b0319909216919091179055600480546001600160a01b03199081167310ed43c718714eb63d5aa57b78b54704e256024e17909155600080548216339081179091554260015560058054909216179055610c26806100de6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806389facb201161007157806389facb201461012557806391cca3db1461013f5780639e90f9aa14610147578063aa6df2991461014f578063d477f05f14610157578063e84d26961461017d576100b4565b80631694505e146100b95780632ce01aae146100dd5780632f48ab7d146100e557806360c16e3e146100ed5780636c8381f8146101155780638119c0651461011d575b600080fd5b6100c1610185565b604080516001600160a01b039092168252519081900360200190f35b6100c1610194565b6100c16101a8565b6101136004803603602081101561010357600080fd5b50356001600160a01b03166101b7565b005b6100c16103dc565b6101136103eb565b61012d61067d565b60408051918252519081900360200190f35b6100c1610683565b6100c1610692565b610113610697565b6101136004803603602081101561016d57600080fd5b50356001600160a01b0316610a30565b61012d610aa5565b6004546001600160a01b031681565b60025461010090046001600160a01b031681565b6003546001600160a01b031681565b60025461010090046001600160a01b0316331461020f576040805162461bcd60e51b81526020600482015260116024820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b61384061024e6001546040518060400160405280600d81526020016c18d85b18c81a5b9d195c9d985b609a1b81525042610aab9092919063ffffffff16565b11156103b657600354604080516370a0823160e01b815230600482015290516000926102db926002926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156102a957600080fd5b505afa1580156102bd573d6000803e3d6000fd5b505050506040513d60208110156102d357600080fd5b505190610b42565b905080156103b457600354600080546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018690529051919093169263a9059cbb9260448083019360209390929083900390910190829087803b15801561034057600080fd5b505af1158015610354573d6000803e3d6000fd5b505050506040513d602081101561036a57600080fd5b5050600054604080516001600160a01b0390921682526020820183905280517f619caafabdd75649b302ba8419e48cccf64f37f1983ac4727cfb38b57703ffc99281900390910190a15b505b600080546001600160a01b0319166001600160a01b039290921691909117905542600155565b6000546001600160a01b031681565b60025460ff16156103fb5761067b565b6002805460ff191660011790819055604080516370a0823160e01b815230600482015290516000926001600160a01b0361010090910416916370a08231916024808301926020929190829003018186803b15801561045857600080fd5b505afa15801561046c573d6000803e3d6000fd5b505050506040513d602081101561048257600080fd5b505190508061049b57506002805460ff1916905561067b565b6040805160028082526060808301845292602083019080368337019050509050600260019054906101000a90046001600160a01b0316816000815181106104de57fe5b6001600160a01b03928316602091820292909201015260035482519116908290600190811061050957fe5b6001600160a01b03928316602091820292909201810191909152600254600480546040805163095ea7b360e01b8152918616928201929092526024810187905290516101009092049093169263095ea7b39260448083019391928290030181600087803b15801561057957600080fd5b505af115801561058d573d6000803e3d6000fd5b505050506040513d60208110156105a357600080fd5b505060048054604051635c11d79560e01b81529182018481526000602484018190523060648501819052426084860181905260a060448701908152875160a488015287516001600160a01b0390961696635c11d795968a968a9594939092909160c490910190602087810191028083838b5b8381101561062d578181015183820152602001610615565b505050509050019650505050505050600060405180830381600087803b15801561065657600080fd5b505af115801561066a573d6000803e3d6000fd5b50506002805460ff19169055505050505b565b61384081565b6005546001600160a01b031681565b600181565b6005546001600160a01b031633146106ea576040805162461bcd60e51b81526020600482015260116024820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b6106f26103eb565b600354604080516370a0823160e01b81523060048201529051600092610747926002926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156102a957600080fd5b905080610754575061067b565b6040805160028082526060808301845292602083019080368337505060035482519293506001600160a01b03169183915060009061078e57fe5b6001600160a01b039283166020918202929092010152600254825161010090910490911690829060019081106107c057fe5b6001600160a01b03928316602091820292909201810191909152600354600480546040805163095ea7b360e01b815291861692820192909252602481018790529051919093169263095ea7b39260448083019391928290030181600087803b15801561082b57600080fd5b505af115801561083f573d6000803e3d6000fd5b505050506040513d602081101561085557600080fd5b505060048054604051635c11d79560e01b81529182018481526000602484018190523060648501819052426084860181905260a060448701908152875160a488015287516001600160a01b0390961696635c11d795968a968a9594939092909160c490910190602087810191028083838b5b838110156108df5781810151838201526020016108c7565b505050509050019650505050505050600060405180830381600087803b15801561090857600080fd5b505af115801561091c573d6000803e3d6000fd5b5050600254604080516370a0823160e01b81523060048201529051600094506101009092046001600160a01b031692506370a08231916024808301926020929190829003018186803b15801561097157600080fd5b505afa158015610985573d6000803e3d6000fd5b505050506040513d602081101561099b57600080fd5b505190508015610a2b576002546040805163a9059cbb60e01b8152600160048201526024810184905290516101009092046001600160a01b03169163a9059cbb916044808201926020929091908290030181600087803b1580156109fe57600080fd5b505af1158015610a12573d6000803e3d6000fd5b505050506040513d6020811015610a2857600080fd5b50505b505050565b6005546001600160a01b03163314610a83576040805162461bcd60e51b81526020600482015260116024820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b60015481565b60008184841115610b3a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610aff578181015183820152602001610ae7565b50505050905090810190601f168015610b2c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000610b8483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610b8b565b9392505050565b60008183610bda5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610aff578181015183820152602001610ae7565b506000838581610be657fe5b049594505050505056fea264697066735822122084deb6a49bda62485e4bce97ec9c7ac2e58a6cafe274b017d75995829304fffb64736f6c634300060c0033000000000000000000000000a75e17a061ed826c65f138b7a85b44c5d3156aff

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000a75e17a061ed826c65f138b7a85b44c5d3156aff

-----Decoded View---------------
Arg [0] : _dina (address): 0xa75e17a061ed826c65f138b7a85b44c5d3156aff

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a75e17a061ed826c65f138b7a85b44c5d3156aff


Deployed ByteCode Sourcemap

12803:3074:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13118:41;;;:::i;:::-;;;;-1:-1:-1;;;;;13118:41:0;;;;;;;;;;;;;;12950:18;;;:::i;12975:71::-;;;:::i;13594:501::-;;;;;;;;;;;;;;;;-1:-1:-1;13594:501:0;-1:-1:-1;;;;;13594:501:0;;:::i;:::-;;12859:24;;;:::i;14103:740::-;;;:::i;13053:46::-;;;:::i;:::-;;;;;;;;;;;;;;;;13166:18;;;:::i;13191:78::-;;;:::i;14851:891::-;;;:::i;15750:124::-;;;;;;;;;;;;;;;;-1:-1:-1;15750:124:0;-1:-1:-1;;;;;15750:124:0;;:::i;12890:27::-;;;:::i;13118:41::-;;;-1:-1:-1;;;;;13118:41:0;;:::o;12950:18::-;;;;;;-1:-1:-1;;;;;12950:18:0;;:::o;12975:71::-;;;-1:-1:-1;;;;;12975:71:0;;:::o;13594:501::-;13682:4;;;;;-1:-1:-1;;;;;13682:4:0;13660:10;:27;13652:57;;;;;-1:-1:-1;;;13652:57:0;;;;;;;;;;;;-1:-1:-1;;;13652:57:0;;;;;;;;;;;;;;;13088:11;13724:50;13744:12;;13724:50;;;;;;;;;;;;;-1:-1:-1;;;13724:50:0;;;:15;:19;;:50;;;;;:::i;:::-;:61;13720:300;;;13819:4;;:29;;;-1:-1:-1;;;13819:29:0;;13842:4;13819:29;;;;;;13802:14;;13819:36;;13853:1;;-1:-1:-1;;;;;13819:4:0;;;;:14;;:29;;;;;;;;;;;;;;;:4;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13819:29:0;;:33;:36::i;:::-;13802:53;-1:-1:-1;13881:10:0;;13877:132;;13912:4;;;13926:9;;13912:32;;;-1:-1:-1;;;13912:32:0;;-1:-1:-1;;;;;13926:9:0;;;13912:32;;;;;;;;;;;;:4;;;;;:13;;:32;;;;;;;;;;;;;;;;;;;:4;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13975:9:0;;13968:25;;;-1:-1:-1;;;;;13975:9:0;;;13968:25;;13912:32;13968:25;;;;;;;;;;;;;;;;;13877:132;13720:300;;14030:9;:16;;-1:-1:-1;;;;;;14030:16:0;-1:-1:-1;;;;;14030:16:0;;;;;;;;;;14072:15;-1:-1:-1;14057:30:0;13594:501::o;12859:24::-;;;-1:-1:-1;;;;;12859:24:0;;:::o;14103:740::-;14141:6;;;;14137:45;;;14164:7;;14137:45;14192:6;:13;;-1:-1:-1;;14192:13:0;14201:4;14192:13;;;;;14238:29;;;-1:-1:-1;;;14238:29:0;;14261:4;14238:29;;;;;;14192:6;;-1:-1:-1;;;;;14192:13:0;14238:4;;;;;:14;;:29;;;;;;;;;;;;;;:4;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14238:29:0;;-1:-1:-1;14282:16:0;14278:84;;-1:-1:-1;14315:6:0;:14;;-1:-1:-1;;14315:14:0;;;14344:7;;14278:84;14396:16;;;14410:1;14396:16;;;14372:21;14396:16;;;;;14372:21;14396:16;;;;;;;;;;-1:-1:-1;14396:16:0;14372:40;;14441:4;;;;;;;;;-1:-1:-1;;;;;14441:4:0;14423;14428:1;14423:7;;;;;;;;-1:-1:-1;;;;;14423:23:0;;;:7;;;;;;;;;:23;14475:4;;14457:7;;14475:4;;;14457;;14475;;14457:7;;;;;;-1:-1:-1;;;;;14457:23:0;;;:7;;;;;;;;;;:23;;;;14493:4;;14514:15;;;14493:51;;;-1:-1:-1;;;14493:51:0;;14514:15;;;14493:51;;;;;;;;;;;;;;;:4;;;;;;;;:12;;:51;;;;;14457:7;;14493:51;;;;;14514:15;14493:4;:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14583:15:0;;;:227;;-1:-1:-1;;;14583:227:0;;;;;;;;:15;:227;;;;;;14764:4;14583:227;;;;;;14784:15;14583:227;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14583:15:0;;;;:69;;14667:11;;14737:4;;14764;14784:15;14583:227;;;;;;;;;14493:51;14583:227;;;;;;;;:15;:227;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14821:6:0;:14;;-1:-1:-1;;14821:14:0;;;-1:-1:-1;;;;14103:740:0;:::o;13053:46::-;13088:11;13053:46;:::o;13166:18::-;;;-1:-1:-1;;;;;13166:18:0;;:::o;13191:78::-;13227:42;13191:78;:::o;14851:891::-;14913:3;;-1:-1:-1;;;;;14913:3:0;14899:10;:17;14891:47;;;;;-1:-1:-1;;;14891:47:0;;;;;;;;;;;;-1:-1:-1;;;14891:47:0;;;;;;;;;;;;;;;14972:6;:4;:6::i;:::-;15030:4;;:29;;;-1:-1:-1;;;15030:29:0;;15053:4;15030:29;;;;;;15013:14;;15030:36;;15064:1;;-1:-1:-1;;;;;15030:4:0;;;;:14;;:29;;;;;;;;;;;;;;;:4;:29;;;;;;;;;;:36;15013:53;-1:-1:-1;15081:11:0;15077:50;;15109:7;;;15077:50;15163:16;;;15177:1;15163:16;;;15139:21;15163:16;;;;;15139:21;15163:16;;;;;;;;-1:-1:-1;;15208:4:0;;15190:7;;;;-1:-1:-1;;;;;;15208:4:0;;15190:7;;-1:-1:-1;15208:4:0;;15190:7;;;;-1:-1:-1;;;;;15190:23:0;;;:7;;;;;;;;;:23;15242:4;;15224:7;;15242:4;;;;;;;;15224;;15242;;15224:7;;;;;;-1:-1:-1;;;;;15224:23:0;;;:7;;;;;;;;;;:23;;;;15260:4;;15281:15;;;15260:46;;;-1:-1:-1;;;15260:46:0;;15281:15;;;15260:46;;;;;;;;;;;;;;;:4;;;;;:12;;:46;;;;;15224:7;;15260:46;;;;;:4;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15327:15:0;;;:222;;-1:-1:-1;;;15327:222:0;;;;;;;;:15;:222;;;;;;15503:4;15327:222;;;;;;15523:15;15327:222;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15327:15:0;;;;:69;;15411:6;;15476:4;;15503;15523:15;15327:222;;;;;;;;;15260:46;15327:222;;;;;;;;:15;:222;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15608:4:0;;:29;;;-1:-1:-1;;;15608:29:0;;15631:4;15608:29;;;;;;-1:-1:-1;;;15608:4:0;;;;-1:-1:-1;;;;;15608:4:0;;-1:-1:-1;15608:14:0;;:29;;;;;;;;;;;;;;:4;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15608:29:0;;-1:-1:-1;15652:16:0;;15648:87;;15685:4;;:38;;;-1:-1:-1;;;15685:38:0;;:4;:38;;;;;;;;;;;;:4;;;;-1:-1:-1;;;;;15685:4:0;;:13;;:38;;;;;;;;;;;;;;;-1:-1:-1;15685:4:0;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15648:87:0;14851:891;;;:::o;15750:124::-;15820:3;;-1:-1:-1;;;;;15820:3:0;15806:10;:17;15798:47;;;;;-1:-1:-1;;;15798:47:0;;;;;;;;;;;;-1:-1:-1;;;15798:47:0;;;;;;;;;;;;;;;15856:3;:10;;-1:-1:-1;;;;;;15856:10:0;-1:-1:-1;;;;;15856:10:0;;;;;;;;;;15750:124::o;12890:27::-;;;;:::o;4385:192::-;4471:7;4507:12;4499:6;;;;4491:29;;;;-1:-1:-1;;;4491:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4543:5:0;;;4385:192::o;5783:132::-;5841:7;5868:39;5872:1;5875;5868:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;5861:46;5783:132;-1:-1:-1;;;5783:132:0:o;6411:278::-;6497:7;6532:12;6525:5;6517:28;;;;-1:-1:-1;;;6517:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6556:9;6572:1;6568;:5;;;;;;;6411:278;-1:-1:-1;;;;;6411:278:0:o

Swarm Source

ipfs://84deb6a49bda62485e4bce97ec9c7ac2e58a6cafe274b017d75995829304fffb
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.