ETH Price: $3,182.94 (-7.53%)
Gas: 2 Gwei

Contract

0xc40bE3A801A39bdC151BF6b3468B4035F8A4d440
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Transaction Hash
Method
Block
From
To
Claim203582412024-07-21 23:37:593 days ago1721605079IN
0xc40bE3A8...5F8A4d440
0 ETH0.000404774.55906669
Claim201367612024-06-21 1:17:4734 days ago1718932667IN
0xc40bE3A8...5F8A4d440
0 ETH0.000447555.04091428
Claim200815562024-06-13 7:56:5941 days ago1718265419IN
0xc40bE3A8...5F8A4d440
0 ETH0.0012667814.26813957
Claim200218422024-06-04 23:48:1150 days ago1717544891IN
0xc40bE3A8...5F8A4d440
0 ETH0.000812629.1528601
Claim200053002024-06-02 16:22:4752 days ago1717345367IN
0xc40bE3A8...5F8A4d440
0 ETH0.0012876314.50138721
Claim199930292024-05-31 23:15:4754 days ago1717197347IN
0xc40bE3A8...5F8A4d440
0 ETH0.000631588.41047999
Claim199860882024-05-30 23:59:1155 days ago1717113551IN
0xc40bE3A8...5F8A4d440
0 ETH0.000813299.16038233
Claim199016662024-05-19 4:41:2367 days ago1716093683IN
0xc40bE3A8...5F8A4d440
0 ETH0.000506025.69952583
Claim198884512024-05-17 8:18:3568 days ago1715933915IN
0xc40bE3A8...5F8A4d440
0 ETH0.001475716.61755541
Claim198097762024-05-06 8:13:3579 days ago1714983215IN
0xc40bE3A8...5F8A4d440
0 ETH0.000450135.07052844
Claim197850062024-05-02 21:06:1183 days ago1714683971IN
0xc40bE3A8...5F8A4d440
0 ETH0.000736238.29242018
Claim197806862024-05-02 6:35:2383 days ago1714631723IN
0xc40bE3A8...5F8A4d440
0 ETH0.00078788.87328719
Claim197658022024-04-30 4:41:1186 days ago1714452071IN
0xc40bE3A8...5F8A4d440
0 ETH0.000791498.91383499
Claim197631552024-04-29 19:49:3586 days ago1714420175IN
0xc40bE3A8...5F8A4d440
0 ETH0.0009263512.33270288
Claim197631352024-04-29 19:45:2386 days ago1714419923IN
0xc40bE3A8...5F8A4d440
0 ETH0.0011113812.51911078
Claim197552332024-04-28 17:13:3587 days ago1714324415IN
0xc40bE3A8...5F8A4d440
0 ETH0.0009908411.16133121
Claim197134872024-04-22 21:01:2393 days ago1713819683IN
0xc40bE3A8...5F8A4d440
0 ETH0.0011040312.43638003
Claim197028242024-04-21 9:15:5994 days ago1713690959IN
0xc40bE3A8...5F8A4d440
0 ETH0.0009429410.6206461
Claim197023802024-04-21 7:46:3594 days ago1713685595IN
0xc40bE3A8...5F8A4d440
0 ETH0.000820519.24060595
Claim197023012024-04-21 7:30:3594 days ago1713684635IN
0xc40bE3A8...5F8A4d440
0 ETH0.000906769.95436882
Claim196984442024-04-20 18:34:3595 days ago1713638075IN
0xc40bE3A8...5F8A4d440
0 ETH0.0009793511.03077108
Claim196977262024-04-20 16:10:2395 days ago1713629423IN
0xc40bE3A8...5F8A4d440
0 ETH0.0010843612.21217895
Claim196890172024-04-19 10:54:1196 days ago1713524051IN
0xc40bE3A8...5F8A4d440
0 ETH0.0009176610.335925
Claim196759522024-04-17 15:00:5998 days ago1713366059IN
0xc40bE3A8...5F8A4d440
0 ETH0.0036568241.18785621
Claim196635852024-04-15 21:27:47100 days ago1713216467IN
0xc40bE3A8...5F8A4d440
0 ETH0.0014936116.40325326
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ClaimTokensDyp

Compiler Version
v0.6.11+commit.5ef660b1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, BSD-3-Clause license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-10-30
*/

// SPDX-License-Identifier: BSD-3-Clause
pragma solidity 0.6.11;

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return c;
  }

  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}

/**
 * @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.3._
     */
    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.3._
     */
    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);
            }
        }
    }
}

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;


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


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  constructor() public {
    owner = msg.sender;
  }


  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }


  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) onlyOwner public {
    require(newOwner != address(0));
    emit OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }
}

interface Token {
    function transferFrom(address, address, uint) external returns (bool);
    function transfer(address, uint) external returns (bool);
}

interface LegacyToken {
    function transfer(address, uint) external;
}

contract ClaimTokensDyp is Ownable {
    using Address for address;
    using SafeMath for uint;
    using EnumerableSet for EnumerableSet.AddressSet;
    
    event ClaimedTokens(address indexed holder, uint amount);
    
    // ============================= CONTRACT VARIABLES ==============================
    
    // Old DYP Token
    address public constant TRUSTED_OLD_DYP = 0x961C8c0B1aaD0c0b10a51FeF6a867E3091BCef17;

    // New DYP Token
    address public constant TRUSTED_NEW_DYP = 0x39b46B212bDF15b42B166779b9d1787A68b9D0c3;

    // Burn Address
    address public constant TRUSTED_BURN = 0x000000000000000000000000000000000000dEaD;

    // Count no of Claimed Tokens
    uint public claimedTokens = 0;
    
    // ========================= END CONTRACT VARIABLES ==============================
    
    // Contracts are not allowed to deposit, claim or withdraw
    modifier noContractsAllowed() {
        require(!(address(msg.sender).isContract()) && tx.origin == msg.sender, "No Contracts Allowed!");
        _;
    }
    
    constructor() public {
    }
    
    function claim(uint amounToClaim) external noContractsAllowed {
        require(amounToClaim > 0, "Cannot deposit 0 Tokens");
        require(Token(TRUSTED_OLD_DYP).transferFrom(msg.sender, address(this), amounToClaim), "Insufficient Token Allowance");

        require(Token(TRUSTED_OLD_DYP).transfer(TRUSTED_BURN, amounToClaim), "Could not burn tokens.");

        claimedTokens += amounToClaim;

        uint amountToClaimRate = amounToClaim.mul(6);
        
        require(Token(TRUSTED_NEW_DYP).transfer(msg.sender, amountToClaimRate), "Could not transfer tokens.");

        emit ClaimedTokens(msg.sender, amounToClaim);
    }
    
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"holder","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimedTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"TRUSTED_BURN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRUSTED_NEW_DYP","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRUSTED_OLD_DYP","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amounToClaim","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060015534801561001557600080fd5b50600080546001600160a01b031916331790556105e2806100376000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80634f207bab1161005b5780634f207bab146100df578063619094ca146100e75780638da5cb5b146100ef578063f2fde38b146100f75761007d565b80630d92e3e8146100825780630f492e121461009c578063379607f5146100c0575b600080fd5b61008a61011d565b60408051918252519081900360200190f35b6100a4610123565b604080516001600160a01b039092168252519081900360200190f35b6100dd600480360360208110156100d657600080fd5b5035610129565b005b6100a46104bb565b6100a46104d3565b6100a46104eb565b6100dd6004803603602081101561010d57600080fd5b50356001600160a01b03166104fa565b60015481565b61dead81565b6101323361057f565b15801561013e57503233145b610187576040805162461bcd60e51b81526020600482015260156024820152744e6f20436f6e74726163747320416c6c6f7765642160581b604482015290519081900360640190fd5b600081116101dc576040805162461bcd60e51b815260206004820152601760248201527f43616e6e6f74206465706f736974203020546f6b656e73000000000000000000604482015290519081900360640190fd5b604080516323b872dd60e01b815233600482015230602482015260448101839052905173961c8c0b1aad0c0b10a51fef6a867e3091bcef17916323b872dd9160648083019260209291908290030181600087803b15801561023c57600080fd5b505af1158015610250573d6000803e3d6000fd5b505050506040513d602081101561026657600080fd5b50516102b9576040805162461bcd60e51b815260206004820152601c60248201527f496e73756666696369656e7420546f6b656e20416c6c6f77616e636500000000604482015290519081900360640190fd5b6040805163a9059cbb60e01b815261dead600482015260248101839052905173961c8c0b1aad0c0b10a51fef6a867e3091bcef179163a9059cbb9160448083019260209291908290030181600087803b15801561031557600080fd5b505af1158015610329573d6000803e3d6000fd5b505050506040513d602081101561033f57600080fd5b505161038b576040805162461bcd60e51b815260206004820152601660248201527521b7bab632103737ba10313ab937103a37b5b2b7399760511b604482015290519081900360640190fd5b600180548201905560006103a682600663ffffffff61058516565b6040805163a9059cbb60e01b81523360048201526024810183905290519192507339b46b212bdf15b42b166779b9d1787a68b9d0c39163a9059cbb916044808201926020929091908290030181600087803b15801561040457600080fd5b505af1158015610418573d6000803e3d6000fd5b505050506040513d602081101561042e57600080fd5b5051610481576040805162461bcd60e51b815260206004820152601a60248201527f436f756c64206e6f74207472616e7366657220746f6b656e732e000000000000604482015290519081900360640190fd5b60408051838152905133917fe9aa550fd75d0d28e07fa9dd67d3ae705678776f6c4a75abd09534f93e7d7907919081900360200190a25050565b73961c8c0b1aad0c0b10a51fef6a867e3091bcef1781565b7339b46b212bdf15b42b166779b9d1787a68b9d0c381565b6000546001600160a01b031681565b6000546001600160a01b0316331461051157600080fd5b6001600160a01b03811661052457600080fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3b151590565b600082820283158061059f57508284828161059c57fe5b04145b6105a557fe5b939250505056fea26469706673582212208754b79b653e460419f5222ff16964a49b634a3be26466853c11730f78da171564736f6c634300060b0033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80634f207bab1161005b5780634f207bab146100df578063619094ca146100e75780638da5cb5b146100ef578063f2fde38b146100f75761007d565b80630d92e3e8146100825780630f492e121461009c578063379607f5146100c0575b600080fd5b61008a61011d565b60408051918252519081900360200190f35b6100a4610123565b604080516001600160a01b039092168252519081900360200190f35b6100dd600480360360208110156100d657600080fd5b5035610129565b005b6100a46104bb565b6100a46104d3565b6100a46104eb565b6100dd6004803603602081101561010d57600080fd5b50356001600160a01b03166104fa565b60015481565b61dead81565b6101323361057f565b15801561013e57503233145b610187576040805162461bcd60e51b81526020600482015260156024820152744e6f20436f6e74726163747320416c6c6f7765642160581b604482015290519081900360640190fd5b600081116101dc576040805162461bcd60e51b815260206004820152601760248201527f43616e6e6f74206465706f736974203020546f6b656e73000000000000000000604482015290519081900360640190fd5b604080516323b872dd60e01b815233600482015230602482015260448101839052905173961c8c0b1aad0c0b10a51fef6a867e3091bcef17916323b872dd9160648083019260209291908290030181600087803b15801561023c57600080fd5b505af1158015610250573d6000803e3d6000fd5b505050506040513d602081101561026657600080fd5b50516102b9576040805162461bcd60e51b815260206004820152601c60248201527f496e73756666696369656e7420546f6b656e20416c6c6f77616e636500000000604482015290519081900360640190fd5b6040805163a9059cbb60e01b815261dead600482015260248101839052905173961c8c0b1aad0c0b10a51fef6a867e3091bcef179163a9059cbb9160448083019260209291908290030181600087803b15801561031557600080fd5b505af1158015610329573d6000803e3d6000fd5b505050506040513d602081101561033f57600080fd5b505161038b576040805162461bcd60e51b815260206004820152601660248201527521b7bab632103737ba10313ab937103a37b5b2b7399760511b604482015290519081900360640190fd5b600180548201905560006103a682600663ffffffff61058516565b6040805163a9059cbb60e01b81523360048201526024810183905290519192507339b46b212bdf15b42b166779b9d1787a68b9d0c39163a9059cbb916044808201926020929091908290030181600087803b15801561040457600080fd5b505af1158015610418573d6000803e3d6000fd5b505050506040513d602081101561042e57600080fd5b5051610481576040805162461bcd60e51b815260206004820152601a60248201527f436f756c64206e6f74207472616e7366657220746f6b656e732e000000000000604482015290519081900360640190fd5b60408051838152905133917fe9aa550fd75d0d28e07fa9dd67d3ae705678776f6c4a75abd09534f93e7d7907919081900360200190a25050565b73961c8c0b1aad0c0b10a51fef6a867e3091bcef1781565b7339b46b212bdf15b42b166779b9d1787a68b9d0c381565b6000546001600160a01b031681565b6000546001600160a01b0316331461051157600080fd5b6001600160a01b03811661052457600080fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3b151590565b600082820283158061059f57508284828161059c57fe5b04145b6105a557fe5b939250505056fea26469706673582212208754b79b653e460419f5222ff16964a49b634a3be26466853c11730f78da171564736f6c634300060b0033

Deployed Bytecode Sourcemap

18045:1769:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18749:29;;;:::i;:::-;;;;;;;;;;;;;;;;18624:81;;;:::i;:::-;;;;-1:-1:-1;;;;;18624:81:0;;;;;;;;;;;;;;19159:646;;;;;;;;;;;;;;;;-1:-1:-1;19159:646:0;;:::i;:::-;;18395:84;;;:::i;18510:::-;;;:::i;17000:20::-;;;:::i;17619:178::-;;;;;;;;;;;;;;;;-1:-1:-1;17619:178:0;-1:-1:-1;;;;;17619:178:0;;:::i;18749:29::-;;;;:::o;18624:81::-;18663:42;18624:81;:::o;19159:646::-;19000:32;19008:10;19000:30;:32::i;:::-;18998:35;:62;;;;-1:-1:-1;19037:9:0;19050:10;19037:23;18998:62;18990:96;;;;;-1:-1:-1;;;18990:96:0;;;;;;;;;;;;-1:-1:-1;;;18990:96:0;;;;;;;;;;;;;;;19255:1:::1;19240:12;:16;19232:52;;;::::0;;-1:-1:-1;;;19232:52:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;19303:76;::::0;;-1:-1:-1;;;19303:76:0;;19339:10:::1;19303:76;::::0;::::1;::::0;19359:4:::1;19303:76:::0;;;;;;;;;;;;18437:42:::1;::::0;19303:35:::1;::::0;:76;;;;;::::1;::::0;;;;;;;;-1:-1:-1;18437:42:0;19303:76;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;19303:76:0;19295:117:::1;;;::::0;;-1:-1:-1;;;19295:117:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;19433:59;::::0;;-1:-1:-1;;;19433:59:0;;18663:42:::1;19433:59;::::0;::::1;::::0;;;;;;;;;18437:42:::1;::::0;19433:31:::1;::::0;:59;;;;;::::1;::::0;;;;;;;;-1:-1:-1;18437:42:0;19433:59;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;19433:59:0;19425:94:::1;;;::::0;;-1:-1:-1;;;19425:94:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;19425:94:0;;;;;;;;;;;;;::::1;;19532:13;:29:::0;;;::::1;::::0;;:13:::1;19599:19;19549:12:::0;19616:1:::1;19599:19;:16;:19;:::i;:::-;19647:62;::::0;;-1:-1:-1;;;19647:62:0;;19679:10:::1;19647:62;::::0;::::1;::::0;;;;;;;;;19574:44;;-1:-1:-1;18552:42:0::1;::::0;19647:31:::1;::::0;:62;;;;;::::1;::::0;;;;;;;;;-1:-1:-1;18552:42:0;19647:62;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;19647:62:0;19639:101:::1;;;::::0;;-1:-1:-1;;;19639:101:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;19758:39;::::0;;;;;;;19772:10:::1;::::0;19758:39:::1;::::0;;;;;::::1;::::0;;::::1;19097:1;19159:646:::0;:::o;18395:84::-;18437:42;18395:84;:::o;18510:::-;18552:42;18510:84;:::o;17000:20::-;;;-1:-1:-1;;;;;17000:20:0;;:::o;17619:178::-;17430:5;;-1:-1:-1;;;;;17430:5:0;17416:10;:19;17408:28;;;;;;-1:-1:-1;;;;;17696:22:0;::::1;17688:31;;;::::0;::::1;;17752:5;::::0;;17731:37:::1;::::0;-1:-1:-1;;;;;17731:37:0;;::::1;::::0;17752:5;::::1;::::0;17731:37:::1;::::0;::::1;17775:5;:16:::0;;-1:-1:-1;;;;;;17775:16:0::1;-1:-1:-1::0;;;;;17775:16:0;;;::::1;::::0;;;::::1;::::0;;17619:178::o;1554:422::-;1921:20;1960:8;;;1554:422::o;185:147::-;243:7;271:5;;;290:6;;;:20;;;309:1;304;300;:5;;;;;;:10;290:20;283:28;;;;325:1;185:147;-1:-1:-1;;;185:147:0:o

Swarm Source

ipfs://8754b79b653e460419f5222ff16964a49b634a3be26466853c11730f78da1715

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.