ETH Price: $3,146.78 (-0.20%)

Contract

0xD9D74a29307cc6Fc8BF424ee4217f1A587FBc8Dc
 
Transaction Hash
Method
Block
From
To
Value
Transfer ERC201190629302024-04-21 18:37:173 hrs ago1713724637IN
0xD9D74a29...587FBc8Dc
0 ETH0.000000320.00705675
Transfer1190529082024-04-21 13:03:138 hrs ago1713704593IN
0xD9D74a29...587FBc8Dc
0.0838 ETH0.000000260.00757538
Transfer1190471102024-04-21 9:49:5711 hrs ago1713692997IN
0xD9D74a29...587FBc8Dc
0.1723 ETH0.000000250.00737626
Transfer ERC201190454552024-04-21 8:54:4712 hrs ago1713689687IN
0xD9D74a29...587FBc8Dc
0 ETH0.000000350.00771114
Transfer1190442592024-04-21 8:14:5513 hrs ago1713687295IN
0xD9D74a29...587FBc8Dc
2.6253 ETH0.000000260.0076154
Transfer1190433702024-04-21 7:45:1713 hrs ago1713685517IN
0xD9D74a29...587FBc8Dc
2.3763 ETH0.000000250.00735027
Transfer ERC201190429402024-04-21 7:30:5714 hrs ago1713684657IN
0xD9D74a29...587FBc8Dc
0 ETH0.000000630.01068138
Transfer1190411242024-04-21 6:30:2515 hrs ago1713681025IN
0xD9D74a29...587FBc8Dc
0.0703 ETH0.000000320.0091846
Transfer1190285832024-04-20 23:32:2322 hrs ago1713655943IN
0xD9D74a29...587FBc8Dc
0.0179 ETH0.000000290.0083414
Transfer ERC201190153592024-04-20 16:11:3529 hrs ago1713629495IN
0xD9D74a29...587FBc8Dc
0 ETH0.000000640.010767
Transfer1189995982024-04-20 7:26:1338 hrs ago1713597973IN
0xD9D74a29...587FBc8Dc
0.3063 ETH0.000000360.01049259
Transfer ERC201189988172024-04-20 7:00:1138 hrs ago1713596411IN
0xD9D74a29...587FBc8Dc
0 ETH0.000001660.032758
Transfer1189967602024-04-20 5:51:3739 hrs ago1713592297IN
0xD9D74a29...587FBc8Dc
0.03966 ETH0.000000410.01174669
Transfer1189923662024-04-20 3:25:0942 hrs ago1713583509IN
0xD9D74a29...587FBc8Dc
0.0113 ETH0.000000410.01198162
Transfer1189836362024-04-19 22:34:0947 hrs ago1713566049IN
0xD9D74a29...587FBc8Dc
2.9978 ETH0.000000410.01182462
Transfer1189790392024-04-19 20:00:552 days ago1713556855IN
0xD9D74a29...587FBc8Dc
0.0663 ETH0.000000670.01925442
Transfer ERC201189778102024-04-19 19:19:572 days ago1713554397IN
0xD9D74a29...587FBc8Dc
0 ETH0.000002940.0536607
Transfer ERC201189762952024-04-19 18:29:272 days ago1713551367IN
0xD9D74a29...587FBc8Dc
0 ETH0.000003480.05832621
Transfer ERC201189751342024-04-19 17:50:452 days ago1713549045IN
0xD9D74a29...587FBc8Dc
0 ETH0.000003780.06335149
Transfer ERC201189749402024-04-19 17:44:172 days ago1713548657IN
0xD9D74a29...587FBc8Dc
0 ETH0.000003610.0787188
Transfer1189738262024-04-19 17:07:092 days ago1713546429IN
0xD9D74a29...587FBc8Dc
0.0083 ETH0.000001710.04893777
Transfer1189698092024-04-19 14:53:152 days ago1713538395IN
0xD9D74a29...587FBc8Dc
0.0214 ETH0.000002570.0737803
Transfer1189610132024-04-19 10:00:032 days ago1713520803IN
0xD9D74a29...587FBc8Dc
2.9513 ETH0.000002290.0657457
Transfer1189609482024-04-19 9:57:532 days ago1713520673IN
0xD9D74a29...587FBc8Dc
2.9668 ETH0.000002170.06220732
Transfer1189563392024-04-19 7:24:152 days ago1713511455IN
0xD9D74a29...587FBc8Dc
0.3283 ETH0.00000240.068628
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Txn Hash Block From To Value
1190529082024-04-21 13:03:138 hrs ago1713704593
0xD9D74a29...587FBc8Dc
0.0838 ETH
1190471102024-04-21 9:49:5711 hrs ago1713692997
0xD9D74a29...587FBc8Dc
0.1723 ETH
1190442592024-04-21 8:14:5513 hrs ago1713687295
0xD9D74a29...587FBc8Dc
2.6253 ETH
1190433702024-04-21 7:45:1713 hrs ago1713685517
0xD9D74a29...587FBc8Dc
2.3763 ETH
1190411242024-04-21 6:30:2515 hrs ago1713681025
0xD9D74a29...587FBc8Dc
0.0703 ETH
1190285832024-04-20 23:32:2322 hrs ago1713655943
0xD9D74a29...587FBc8Dc
0.0179 ETH
1189995982024-04-20 7:26:1338 hrs ago1713597973
0xD9D74a29...587FBc8Dc
0.3063 ETH
1189967602024-04-20 5:51:3739 hrs ago1713592297
0xD9D74a29...587FBc8Dc
0.03966 ETH
1189923662024-04-20 3:25:0942 hrs ago1713583509
0xD9D74a29...587FBc8Dc
0.0113 ETH
1189836362024-04-19 22:34:0947 hrs ago1713566049
0xD9D74a29...587FBc8Dc
2.9978 ETH
1189790392024-04-19 20:00:552 days ago1713556855
0xD9D74a29...587FBc8Dc
0.0663 ETH
1189738262024-04-19 17:07:092 days ago1713546429
0xD9D74a29...587FBc8Dc
0.0083 ETH
1189698092024-04-19 14:53:152 days ago1713538395
0xD9D74a29...587FBc8Dc
0.0214 ETH
1189610132024-04-19 10:00:032 days ago1713520803
0xD9D74a29...587FBc8Dc
2.9513 ETH
1189609482024-04-19 9:57:532 days ago1713520673
0xD9D74a29...587FBc8Dc
2.9668 ETH
1189563392024-04-19 7:24:152 days ago1713511455
0xD9D74a29...587FBc8Dc
0.3283 ETH
1189538962024-04-19 6:02:492 days ago1713506569
0xD9D74a29...587FBc8Dc
0.6735 ETH
1189353212024-04-18 19:43:393 days ago1713469419
0xD9D74a29...587FBc8Dc
0.0016 ETH
1189152452024-04-18 8:34:273 days ago1713429267
0xD9D74a29...587FBc8Dc
0.1273 ETH
1189124822024-04-18 7:02:213 days ago1713423741
0xD9D74a29...587FBc8Dc
0.0283 ETH
1189119942024-04-18 6:46:053 days ago1713422765
0xD9D74a29...587FBc8Dc
0.00629 ETH
1189022592024-04-18 1:21:353 days ago1713403295
0xD9D74a29...587FBc8Dc
0.041139 ETH
1188805132024-04-17 13:16:434 days ago1713359803
0xD9D74a29...587FBc8Dc
3.0013 ETH
1188742142024-04-17 9:46:454 days ago1713347205
0xD9D74a29...587FBc8Dc
3.0013 ETH
1188741702024-04-17 9:45:174 days ago1713347117
0xD9D74a29...587FBc8Dc
3.0013 ETH
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OBSource

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 4 : OBSource.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/Context.sol";

contract OBSource is ReentrancyGuard, Context {
    function transfer(address payable _to, bytes calldata _ext)
        public
        payable
        nonReentrant
    {
        (bool sent, ) = _to.call{value: msg.value}("");
        require(sent, "ERROR");
    }

    function transferERC20(
        IERC20 _token,
        address _to,
        uint256 _amount,
        bytes calldata _ext
    ) external nonReentrant {
        bool sent = _token.transferFrom(msg.sender, _to, _amount);
        require(sent, "ERROR");
    }
}

File 2 of 4 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 3 of 4 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        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 4 of 4 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"_to","type":"address"},{"internalType":"bytes","name":"_ext","type":"bytes"}],"name":"transfer","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_ext","type":"bytes"}],"name":"transferERC20","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060016000819055506106f9806100286000396000f3fe6080604052600436106100295760003560e01c8063297235111461002e57806346f506ad1461004a575b600080fd5b6100486004803603810190610043919061035f565b610073565b005b34801561005657600080fd5b50610071600480360381019061006c91906103e0565b61017b565b005b600260005414156100b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100b090610553565b60405180910390fd5b600260008190555060008373ffffffffffffffffffffffffffffffffffffffff16346040516100e7906104e7565b60006040518083038185875af1925050503d8060008114610124576040519150601f19603f3d011682016040523d82523d6000602084013e610129565b606091505b505090508061016d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016490610533565b60405180910390fd5b506001600081905550505050565b600260005414156101c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890610553565b60405180910390fd5b600260008190555060008573ffffffffffffffffffffffffffffffffffffffff166323b872dd3387876040518463ffffffff1660e01b8152600401610208939291906104fc565b602060405180830381600087803b15801561022257600080fd5b505af1158015610236573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061025a91906103b7565b90508061029c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029390610533565b60405180910390fd5b5060016000819055505050505050565b6000813590506102bb81610650565b92915050565b6000813590506102d081610667565b92915050565b6000815190506102e58161067e565b92915050565b60008083601f8401126102fd57600080fd5b8235905067ffffffffffffffff81111561031657600080fd5b60208301915083600182028301111561032e57600080fd5b9250929050565b60008135905061034481610695565b92915050565b600081359050610359816106ac565b92915050565b60008060006040848603121561037457600080fd5b6000610382868287016102c1565b935050602084013567ffffffffffffffff81111561039f57600080fd5b6103ab868287016102eb565b92509250509250925092565b6000602082840312156103c957600080fd5b60006103d7848285016102d6565b91505092915050565b6000806000806000608086880312156103f857600080fd5b600061040688828901610335565b9550506020610417888289016102ac565b94505060406104288882890161034a565b935050606086013567ffffffffffffffff81111561044557600080fd5b610451888289016102eb565b92509250509295509295909350565b6104698161058f565b82525050565b600061047c60058361057e565b9150610487826105fb565b602082019050919050565b600061049f600083610573565b91506104aa82610624565b600082019050919050565b60006104c2601f8361057e565b91506104cd82610627565b602082019050919050565b6104e1816105f1565b82525050565b60006104f282610492565b9150819050919050565b60006060820190506105116000830186610460565b61051e6020830185610460565b61052b60408301846104d8565b949350505050565b6000602082019050818103600083015261054c8161046f565b9050919050565b6000602082019050818103600083015261056c816104b5565b9050919050565b600081905092915050565b600082825260208201905092915050565b600061059a826105d1565b9050919050565b60006105ac826105d1565b9050919050565b60008115159050919050565b60006105ca8261058f565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4552524f52000000000000000000000000000000000000000000000000000000600082015250565b50565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6106598161058f565b811461066457600080fd5b50565b610670816105a1565b811461067b57600080fd5b50565b610687816105b3565b811461069257600080fd5b50565b61069e816105bf565b81146106a957600080fd5b50565b6106b5816105f1565b81146106c057600080fd5b5056fea26469706673582212206979fce200144ee5ab7e0a9de930105a83d9c5e3759de6b7f7e43fababa415b864736f6c63430008040033

Deployed Bytecode

0x6080604052600436106100295760003560e01c8063297235111461002e57806346f506ad1461004a575b600080fd5b6100486004803603810190610043919061035f565b610073565b005b34801561005657600080fd5b50610071600480360381019061006c91906103e0565b61017b565b005b600260005414156100b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100b090610553565b60405180910390fd5b600260008190555060008373ffffffffffffffffffffffffffffffffffffffff16346040516100e7906104e7565b60006040518083038185875af1925050503d8060008114610124576040519150601f19603f3d011682016040523d82523d6000602084013e610129565b606091505b505090508061016d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016490610533565b60405180910390fd5b506001600081905550505050565b600260005414156101c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890610553565b60405180910390fd5b600260008190555060008573ffffffffffffffffffffffffffffffffffffffff166323b872dd3387876040518463ffffffff1660e01b8152600401610208939291906104fc565b602060405180830381600087803b15801561022257600080fd5b505af1158015610236573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061025a91906103b7565b90508061029c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029390610533565b60405180910390fd5b5060016000819055505050505050565b6000813590506102bb81610650565b92915050565b6000813590506102d081610667565b92915050565b6000815190506102e58161067e565b92915050565b60008083601f8401126102fd57600080fd5b8235905067ffffffffffffffff81111561031657600080fd5b60208301915083600182028301111561032e57600080fd5b9250929050565b60008135905061034481610695565b92915050565b600081359050610359816106ac565b92915050565b60008060006040848603121561037457600080fd5b6000610382868287016102c1565b935050602084013567ffffffffffffffff81111561039f57600080fd5b6103ab868287016102eb565b92509250509250925092565b6000602082840312156103c957600080fd5b60006103d7848285016102d6565b91505092915050565b6000806000806000608086880312156103f857600080fd5b600061040688828901610335565b9550506020610417888289016102ac565b94505060406104288882890161034a565b935050606086013567ffffffffffffffff81111561044557600080fd5b610451888289016102eb565b92509250509295509295909350565b6104698161058f565b82525050565b600061047c60058361057e565b9150610487826105fb565b602082019050919050565b600061049f600083610573565b91506104aa82610624565b600082019050919050565b60006104c2601f8361057e565b91506104cd82610627565b602082019050919050565b6104e1816105f1565b82525050565b60006104f282610492565b9150819050919050565b60006060820190506105116000830186610460565b61051e6020830185610460565b61052b60408301846104d8565b949350505050565b6000602082019050818103600083015261054c8161046f565b9050919050565b6000602082019050818103600083015261056c816104b5565b9050919050565b600081905092915050565b600082825260208201905092915050565b600061059a826105d1565b9050919050565b60006105ac826105d1565b9050919050565b60008115159050919050565b60006105ca8261058f565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4552524f52000000000000000000000000000000000000000000000000000000600082015250565b50565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6106598161058f565b811461066457600080fd5b50565b610670816105a1565b811461067b57600080fd5b50565b610687816105b3565b811461069257600080fd5b50565b61069e816105bf565b81146106a957600080fd5b50565b6106b5816105f1565b81146106c057600080fd5b5056fea26469706673582212206979fce200144ee5ab7e0a9de930105a83d9c5e3759de6b7f7e43fababa415b864736f6c63430008040033

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

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ 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.