Contract 0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b 3

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xcc36cb1dc15ec0b683ed410e2f40af781f59e8623d738660e0bd5abfa007054eClaim109469402021-09-15 22:01:354 days 11 hrs ago0x32502d9fa3963d24ab57f4155e8d1b460c1ddc6c IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0x823380b8c383a325419c254b8bf2e2d85a495b74ef708e009596e1bb3295bfafClaim109012182021-09-14 7:45:596 days 1 hr ago0x471dc4b29a6d8d500e1b6fb93e646b1728ad0e0b IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0xe19151f6fa313e051fd25b744351c30020d4ea8b8e0c64b59261e7accdb1bf5aClaim108852582021-09-13 18:27:346 days 14 hrs ago0x52192bd8d23be7a60a78d752ee7c341f8de36c44 IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0x43c3e2a2870a3b39e2b12d0cdcabacd7efb03edbb1aa232302330afaa7241545Claim108827312021-09-13 16:21:036 days 16 hrs ago0xef5ad9a93b70ab0aacd7f9bc2f46e931c1665719 IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0x4cd847ec7e49f8f9cd005ee04e9e0eee1812710d488e38f30609e7fb957722a8Claim106640062021-09-06 0:18:0014 days 8 hrs ago0x7114fddf2f16a737726267990ccd9937f1d03e9d IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0x580aa1315286dc01680809e3518a8c8f776f631feb0f5112b6ad6114536d2bdaClaim106293532021-09-04 19:22:2115 days 13 hrs ago0x6a5b5f23fd4437003c7c1f767ce69cd09f3cdc5a IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0x741bbcd6bc9d243b57a1d770fe38c897c731a9f4f98adcd918724df04418f3a7Claim106246772021-09-04 15:22:3315 days 17 hrs ago0xfdbf7fd3fe74dd3ce86699c5c6a607cce66a807a IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0x1b03e3a50c42cda4686384b99e904dafc7c1d847bea972dbaa776807e0665951Claim106096112021-09-04 2:49:1416 days 6 hrs ago0x3492f5a4c3d3764ada5f4a17d7c8b575b5a99ad4 IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0xb63815eea969a4cf27c5a66a1bd43d859c010f552b06d2a4e682f31d59c49561Claim104996122021-08-31 5:57:0220 days 3 hrs ago0xb8989cdca809c201c6a15c400585da728ed5364f IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0x438ef5cbee35415bcf35a4945fbe873b8d15a908050ae729891ce6490a4bd494Claim103586252021-08-26 6:37:4925 days 2 hrs ago0xcff72813c67c96568cf634321d562374bf4b0be2 IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0xefe02d710f5b3112e2454d31d3cf4e52960457a363d4a25873e80b9937781df1Claim102503912021-08-22 12:00:1228 days 21 hrs ago0x231e76ac5ffb0f4a2d18389973dc750751dbf132 IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0xbe3b1560c80d87d1681081adab9ef3a9fa014d2d889164310cc9e44d86b8d1e6Claim100510532021-08-15 13:01:0735 days 20 hrs ago0xb4c5430fdfb707943ab6eed66d8602c3ac1d3496 IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0x5989952147b1947b5ec5dcad56a5af136a38c2fae9b760f2288dbe40edce0321Claim100241412021-08-14 14:31:2436 days 18 hrs ago0x8042bae5682f250668fafcc6b84a2fc13012a9d5 IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0x66c94327084e6b83a90b3a2d2de0b404b29e4778d88b87ef49f660b66270fee1Claim100173312021-08-14 8:47:5937 days 22 mins ago0xbab7021edd044b707111ad97ff3b500767792073 IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0x0e9661662c920f8c4661a77f60f52db7f2f952ff93f7bbe1bed81e908fec4ba3Claim99884482021-08-13 8:21:0138 days 49 mins ago0xab43197b38ace9e855d63d70b5c021ff7d3f3db1 IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0xa765e7ed5909fd9e15c7393e2799908833160e916a37d3538e58eaac89fca067Claim99048442021-08-10 8:54:5141 days 15 mins ago0xb0a32a5e953f3d30bff99be4111af89c400a4551 IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.001427915
0xb31c36f2fb9459268ad4a9aa1605fa86eac7fcfb60e4d44cae26fc962594af20Claim98858392021-08-09 16:42:0041 days 16 hrs ago0x796c7d5188ae6c46a67d4c8f3a008a6e09e9e7f1 IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0x252b88a631b9685dcafd4c358ade632b76b92d18655be99ab92b4bd31e1be4deClaim98698922021-08-09 3:00:5142 days 6 hrs ago0x69b94f808e3fbfab666468688def5461b86f0f1f IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0x6c2cc2a3640c2e18bb8c894fd43fbe48039f019714395aad59e4074d4d7b501fClaim98489862021-08-08 9:07:2543 days 3 mins ago0x90a5b2813d50037760021b2766aeff8b9169e7cc IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0xebb59495ef2f9ce59fc864f378bd8dfd3327b106a3a65de61b30cd1c15a3b66cClaim98263082021-08-07 13:48:2843 days 19 hrs ago0x9fb529e1a9eefaf12d0fa91723ce5b092c6071b4 IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0x2f31199356614e6c205e579851fda170e11ff986777f19bf683a8f126d0cc960Claim98204822021-08-07 8:51:4644 days 18 mins ago0x4b36dae68ae191443fdcff240f070ab8d7a4e00a IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0xd986555de3d38e9f8e3f1d2ff5e216690e4c3be62acc463fc8b05c0d5f952dbdClaim97790562021-08-05 21:06:0745 days 12 hrs ago0xf502a8c3156cc40352c67c0af3ea1082f291374f IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0xea33e2c3e5bd120561f2b07ef56994c02c62377f855e34b1ee8bbf316f3f5902Claim97577122021-08-05 2:46:2746 days 6 hrs ago0xd4814ec62c8d830e26bebd4f24738a6c5d0e3cda IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0xa22afa1bbe0f23214cfdbd75faaf3d535a6a30e4ec0f1c051d724ab5e7181d3eClaim97424622021-08-04 13:41:1846 days 19 hrs ago0x6503f867fcb2f822b9d2f09625b1240c654a8b42 IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
0x4a836c1b63f15e6332f7299c02d651bc58f5068f1594af15a403799b5d815b3bClaim96975872021-08-02 22:21:2948 days 10 hrs ago0x8ed2beee4d494fe81b2e659e5fe4fff5f09b4e25 IN  0xd0842b8a83e3ffd988f589ad778c5cf4e142f20b0 BNB0.00095174
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Airdrop

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-05-14
*/

// Sources flattened with hardhat v2.2.1 https://hardhat.org

// File @openzeppelin/contracts/token/ERC20/[email protected]


pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of 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);
}


// File @openzeppelin/contracts/math/[email protected]


pragma solidity >=0.6.0 <0.8.0;

/**
 * @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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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;
    }
}


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
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.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


// File @openzeppelin/contracts/token/ERC20/[email protected]


pragma solidity >=0.6.0 <0.8.0;



/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}


// File @openzeppelin/contracts/access/[email protected]


pragma solidity >=0.6.0 <0.8.0;

/**
 * @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 through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


// File contracts/IToken.sol

pragma solidity >=0.6.0;

interface IToken {
    function balanceOf(address account) external view returns (uint256);

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

    function mint(address to, uint256 amount) external;

    function maxSupply() external view returns (uint256);
}


// File contracts/Airdrop.sol

pragma solidity >=0.6.0;





contract Airdrop {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    IToken public _token;
    mapping(address => bool) public isAddressClaimed;
    uint256 public maxTokenMint;
    uint256 public startTimestamp;
    uint256 public claimedToken;
    uint256 public currentClaimPeriodInAmount;
    uint256 public currentClaimableClaimAmonutPerAddress = 1_000_000e18;

    constructor(IToken token, uint256 _startTimestamp) public {
        assert(_startTimestamp >= block.timestamp);
        _token = token;
        maxTokenMint = _token.maxSupply().mul(405).div(1000);
        startTimestamp = _startTimestamp;
    }

    function claim() public {
        assert(startTimestamp > 0 && block.timestamp >= startTimestamp);
        assert(!isAddressClaimed[msg.sender]);
        assert(
            claimedToken.add(currentClaimableClaimAmonutPerAddress) <=
                maxTokenMint
        );
        isAddressClaimed[msg.sender] = true;
        claimedToken = claimedToken.add(currentClaimableClaimAmonutPerAddress);
        currentClaimPeriodInAmount = currentClaimPeriodInAmount.add(
            currentClaimableClaimAmonutPerAddress
        );
        _token.mint(msg.sender, currentClaimableClaimAmonutPerAddress);
        if (currentClaimPeriodInAmount >= maxTokenMint.mul(3).div(100)) {
            currentClaimableClaimAmonutPerAddress = currentClaimableClaimAmonutPerAddress
                .div(2);
            currentClaimPeriodInAmount = 0;
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IToken","name":"token","type":"address"},{"internalType":"uint256","name":"_startTimestamp","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"_token","outputs":[{"internalType":"contract IToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimedToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentClaimPeriodInAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentClaimableClaimAmonutPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAddressClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405269d3c21bcecceda100000060065534801561001e57600080fd5b506040516108f93803806108f98339818101604052604081101561004157600080fd5b8101908080519060200190929190805190602001909291905050504281101561006657fe5b816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101776103e861016561019560008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d5abeb016040518163ffffffff1660e01b815260040160206040518083038186803b15801561011857600080fd5b505afa15801561012c573d6000803e3d6000fd5b505050506040513d602081101561014257600080fd5b810190808051906020019092919050505061018b60201b6104411790919060201c565b61021160201b6104c71790919060201c565b60028190555080600381905550505061029a565b60008083141561019e576000905061020b565b60008284029050828482816101af57fe5b0414610206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806108d86021913960400191505060405180910390fd5b809150505b92915050565b6000808211610288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161029157fe5b04905092915050565b61062f806102a96000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063517290271161005b578063517290271461012d578063535d7c551461014b578063e6fd48bc14610169578063ecd0c0c31461018757610088565b8063188413f31461008d5780632a1952a1146100ab5780632b76364e146100c95780634e71d92d14610123575b600080fd5b6100956101bb565b6040518082815260200191505060405180910390f35b6100b36101c1565b6040518082815260200191505060405180910390f35b61010b600480360360208110156100df57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506101c7565b60405180821515815260200191505060405180910390f35b61012b6101e7565b005b61013561040b565b6040518082815260200191505060405180910390f35b610153610411565b6040518082815260200191505060405180910390f35b610171610417565b6040518082815260200191505060405180910390f35b61018f61041d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60055481565b60045481565b60016020528060005260406000206000915054906101000a900460ff1681565b60006003541180156101fb57506003544210155b61020157fe5b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561025557fe5b60025461026f60065460045461055090919063ffffffff16565b111561027757fe5b60018060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506102e560065460045461055090919063ffffffff16565b60048190555061030260065460055461055090919063ffffffff16565b60058190555060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19336006546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561039b57600080fd5b505af11580156103af573d6000803e3d6000fd5b505050506103dc60646103ce600360025461044190919063ffffffff16565b6104c790919063ffffffff16565b60055410610409576103fa60026006546104c790919063ffffffff16565b60068190555060006005819055505b565b60065481565b60025481565b60035481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008083141561045457600090506104c1565b600082840290508284828161046557fe5b04146104bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806105d96021913960400191505060405180910390fd5b809150505b92915050565b600080821161053e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161054757fe5b04905092915050565b6000808284019050838110156105ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b809150509291505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220a6cd70e6f7c9289a67fa9f2842a6dc33e8a4f9eb2464900da3d55ad107fd8f5364736f6c634300060c0033536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77000000000000000000000000fd79a19b3ebb5509241b0516d9b1fbc6e1dc34ff00000000000000000000000000000000000000000000000000000000609fc5d0

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

000000000000000000000000fd79a19b3ebb5509241b0516d9b1fbc6e1dc34ff00000000000000000000000000000000000000000000000000000000609fc5d0

-----Decoded View---------------
Arg [0] : token (address): 0xfd79a19b3ebb5509241b0516d9b1fbc6e1dc34ff
Arg [1] : _startTimestamp (uint256): 1621083600

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000fd79a19b3ebb5509241b0516d9b1fbc6e1dc34ff
Arg [1] : 00000000000000000000000000000000000000000000000000000000609fc5d0


Deployed ByteCode Sourcemap

25904:1529:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26182:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26148:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26023:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;26564:866;;;:::i;:::-;;26230:67;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26078:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26112:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25996:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;26182:41;;;;:::o;26148:27::-;;;;:::o;26023:48::-;;;;;;;;;;;;;;;;;;;;;;:::o;26564:866::-;26623:1;26606:14;;:18;:55;;;;;26647:14;;26628:15;:33;;26606:55;26599:63;;;;26681:16;:28;26698:10;26681:28;;;;;;;;;;;;;;;;;;;;;;;;;26680:29;26673:37;;;;26818:12;;26742:55;26759:37;;26742:12;;:16;;:55;;;;:::i;:::-;:88;;26721:120;;;;26883:4;26852:16;:28;26869:10;26852:28;;;;;;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;26913:55;26930:37;;26913:12;;:16;;:55;;;;:::i;:::-;26898:12;:70;;;;27008:93;27053:37;;27008:26;;:30;;:93;;;;:::i;:::-;26979:26;:122;;;;27112:6;;;;;;;;;;:11;;;27124:10;27136:37;;27112:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27219:28;27243:3;27219:19;27236:1;27219:12;;:16;;:19;;;;:::i;:::-;:23;;:28;;;;:::i;:::-;27189:26;;:58;27185:238;;27304:62;27364:1;27304:37;;:59;;:62;;;;:::i;:::-;27264:37;:102;;;;27410:1;27381:26;:30;;;;27185:238;26564:866::o;26230:67::-;;;;:::o;26078:27::-;;;;:::o;26112:29::-;;;;:::o;25996:20::-;;;;;;;;;;;;:::o;6561:220::-;6619:7;6648:1;6643;:6;6639:20;;;6658:1;6651:8;;;;6639:20;6670:9;6686:1;6682;:5;6670:17;;6715:1;6710;6706;:5;;;;;;:10;6698:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6772:1;6765:8;;;6561:220;;;;;:::o;7259:153::-;7317:7;7349:1;7345;:5;7337:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7403:1;7399;:5;;;;;;7392:12;;7259:153;;;;:::o;5682:179::-;5740:7;5760:9;5776:1;5772;:5;5760:17;;5801:1;5796;:6;;5788:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5852:1;5845:8;;;5682:179;;;;:::o

Swarm Source

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