Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0xa2040ab80f22508dc9cd7176e4b9d31937f96222f84818bb5d3347e05bf21dc9 | Transfer | (pending) | 2 days ago | IN | 0.0512 ETH | (Pending) | |||
0x1304cc8fd5861599940e32993ff1201f223a17d91cceef2de1e23f3a08d05d6c | Transfer | (pending) | 2 days ago | IN | 0.0094 ETH | (Pending) | |||
0x5e7196978b202c5b36b3322cf56f80ab54d088e319159338831443580d5d7b9c | Transfer | (pending) | 2 days ago | IN | 0.006637 ETH | (Pending) | |||
0xb55783b53789536290eec02578f0cecca4a6f41c82778bd8718f5747fc4eae12 | Transfer | (pending) | 4 days ago | IN | 0.008757 ETH | (Pending) | |||
Transfer | 21255450 | 46 days ago | IN | 0.3614 ETH | 0.00033674 | ||||
Transfer | 21129917 | 63 days ago | IN | 0.7364 ETH | 0.00064378 | ||||
Transfer | 20740258 | 118 days ago | IN | 0.062439 ETH | 0.00008378 | ||||
Transfer | 20740126 | 118 days ago | IN | 0.3764 ETH | 0.00007096 | ||||
Transfer ERC20 | 20729279 | 119 days ago | IN | 0 ETH | 0.00026141 | ||||
Transfer ERC20 | 20729157 | 119 days ago | IN | 0 ETH | 0.00035247 | ||||
Transfer ERC20 | 20729130 | 119 days ago | IN | 0 ETH | 0.00040077 | ||||
Transfer ERC20 | 20726777 | 119 days ago | IN | 0 ETH | 0.00011934 | ||||
Transfer ERC20 | 20725143 | 120 days ago | IN | 0 ETH | 0.00011215 | ||||
Transfer | 20721308 | 120 days ago | IN | 1.009177 ETH | 0.00038786 | ||||
Transfer | 20720531 | 120 days ago | IN | 2.5014 ETH | 0.00030408 | ||||
Transfer ERC20 | 20719085 | 121 days ago | IN | 0 ETH | 0.00024763 | ||||
Transfer | 20715603 | 121 days ago | IN | 0.5014 ETH | 0.00022502 | ||||
Transfer | 20715564 | 121 days ago | IN | 0.0024 ETH | 0.00014407 | ||||
Transfer | 20698505 | 123 days ago | IN | 0.0024 ETH | 0.0000688 | ||||
Transfer | 20686692 | 125 days ago | IN | 1.1214 ETH | 0.00014352 | ||||
Transfer | 20686687 | 125 days ago | IN | 0.1014 ETH | 0.00014011 | ||||
Transfer ERC20 | 20682865 | 126 days ago | IN | 0 ETH | 0.00015206 | ||||
Transfer | 20679305 | 126 days ago | IN | 0.4514 ETH | 0.00018478 | ||||
Transfer | 20678391 | 126 days ago | IN | 0.3014 ETH | 0.00051003 | ||||
Transfer | 20671280 | 127 days ago | IN | 1.7014 ETH | 0.00010358 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
21255450 | 46 days ago | 0.3614 ETH | ||||
21129917 | 63 days ago | 0.7364 ETH | ||||
20740258 | 118 days ago | 0.062439 ETH | ||||
20740126 | 118 days ago | 0.3764 ETH | ||||
20721308 | 120 days ago | 1.009177 ETH | ||||
20720531 | 120 days ago | 2.5014 ETH | ||||
20715603 | 121 days ago | 0.5014 ETH | ||||
20715564 | 121 days ago | 0.0024 ETH | ||||
20698505 | 123 days ago | 0.0024 ETH | ||||
20686692 | 125 days ago | 1.1214 ETH | ||||
20686687 | 125 days ago | 0.1014 ETH | ||||
20679305 | 126 days ago | 0.4514 ETH | ||||
20678391 | 126 days ago | 0.3014 ETH | ||||
20671280 | 127 days ago | 1.7014 ETH | ||||
20668804 | 128 days ago | 0.1314 ETH | ||||
20661703 | 129 days ago | 0.0084 ETH | ||||
20656478 | 129 days ago | 0.911438 ETH | ||||
20654610 | 130 days ago | 0.0514 ETH | ||||
20654378 | 130 days ago | 0.013863 ETH | ||||
20648928 | 130 days ago | 0.43676 ETH | ||||
20643515 | 131 days ago | 0.3514 ETH | ||||
20631590 | 133 days ago | 0.0114 ETH | ||||
20630503 | 133 days ago | 0.1014 ETH | ||||
20628733 | 133 days ago | 0.5014 ETH | ||||
20627069 | 133 days ago | 0.173415 ETH |
Loading...
Loading
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)
//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"); } }
// 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; } }
// 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); }
// 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; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
608060405234801561001057600080fd5b5060016000819055506106f9806100286000396000f3fe6080604052600436106100295760003560e01c8063297235111461002e57806346f506ad1461004a575b600080fd5b6100486004803603810190610043919061035f565b610073565b005b34801561005657600080fd5b50610071600480360381019061006c91906103e0565b61017b565b005b600260005414156100b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100b090610553565b60405180910390fd5b600260008190555060008373ffffffffffffffffffffffffffffffffffffffff16346040516100e7906104e7565b60006040518083038185875af1925050503d8060008114610124576040519150601f19603f3d011682016040523d82523d6000602084013e610129565b606091505b505090508061016d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016490610533565b60405180910390fd5b506001600081905550505050565b600260005414156101c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890610553565b60405180910390fd5b600260008190555060008573ffffffffffffffffffffffffffffffffffffffff166323b872dd3387876040518463ffffffff1660e01b8152600401610208939291906104fc565b602060405180830381600087803b15801561022257600080fd5b505af1158015610236573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061025a91906103b7565b90508061029c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029390610533565b60405180910390fd5b5060016000819055505050505050565b6000813590506102bb81610650565b92915050565b6000813590506102d081610667565b92915050565b6000815190506102e58161067e565b92915050565b60008083601f8401126102fd57600080fd5b8235905067ffffffffffffffff81111561031657600080fd5b60208301915083600182028301111561032e57600080fd5b9250929050565b60008135905061034481610695565b92915050565b600081359050610359816106ac565b92915050565b60008060006040848603121561037457600080fd5b6000610382868287016102c1565b935050602084013567ffffffffffffffff81111561039f57600080fd5b6103ab868287016102eb565b92509250509250925092565b6000602082840312156103c957600080fd5b60006103d7848285016102d6565b91505092915050565b6000806000806000608086880312156103f857600080fd5b600061040688828901610335565b9550506020610417888289016102ac565b94505060406104288882890161034a565b935050606086013567ffffffffffffffff81111561044557600080fd5b610451888289016102eb565b92509250509295509295909350565b6104698161058f565b82525050565b600061047c60058361057e565b9150610487826105fb565b602082019050919050565b600061049f600083610573565b91506104aa82610624565b600082019050919050565b60006104c2601f8361057e565b91506104cd82610627565b602082019050919050565b6104e1816105f1565b82525050565b60006104f282610492565b9150819050919050565b60006060820190506105116000830186610460565b61051e6020830185610460565b61052b60408301846104d8565b949350505050565b6000602082019050818103600083015261054c8161046f565b9050919050565b6000602082019050818103600083015261056c816104b5565b9050919050565b600081905092915050565b600082825260208201905092915050565b600061059a826105d1565b9050919050565b60006105ac826105d1565b9050919050565b60008115159050919050565b60006105ca8261058f565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4552524f52000000000000000000000000000000000000000000000000000000600082015250565b50565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6106598161058f565b811461066457600080fd5b50565b610670816105a1565b811461067b57600080fd5b50565b610687816105b3565b811461069257600080fd5b50565b61069e816105bf565b81146106a957600080fd5b50565b6106b5816105f1565b81146106c057600080fd5b5056fea26469706673582212206979fce200144ee5ab7e0a9de930105a83d9c5e3759de6b7f7e43fababa415b864736f6c63430008040033
Deployed Bytecode
0x6080604052600436106100295760003560e01c8063297235111461002e57806346f506ad1461004a575b600080fd5b6100486004803603810190610043919061035f565b610073565b005b34801561005657600080fd5b50610071600480360381019061006c91906103e0565b61017b565b005b600260005414156100b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100b090610553565b60405180910390fd5b600260008190555060008373ffffffffffffffffffffffffffffffffffffffff16346040516100e7906104e7565b60006040518083038185875af1925050503d8060008114610124576040519150601f19603f3d011682016040523d82523d6000602084013e610129565b606091505b505090508061016d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161016490610533565b60405180910390fd5b506001600081905550505050565b600260005414156101c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b890610553565b60405180910390fd5b600260008190555060008573ffffffffffffffffffffffffffffffffffffffff166323b872dd3387876040518463ffffffff1660e01b8152600401610208939291906104fc565b602060405180830381600087803b15801561022257600080fd5b505af1158015610236573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061025a91906103b7565b90508061029c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161029390610533565b60405180910390fd5b5060016000819055505050505050565b6000813590506102bb81610650565b92915050565b6000813590506102d081610667565b92915050565b6000815190506102e58161067e565b92915050565b60008083601f8401126102fd57600080fd5b8235905067ffffffffffffffff81111561031657600080fd5b60208301915083600182028301111561032e57600080fd5b9250929050565b60008135905061034481610695565b92915050565b600081359050610359816106ac565b92915050565b60008060006040848603121561037457600080fd5b6000610382868287016102c1565b935050602084013567ffffffffffffffff81111561039f57600080fd5b6103ab868287016102eb565b92509250509250925092565b6000602082840312156103c957600080fd5b60006103d7848285016102d6565b91505092915050565b6000806000806000608086880312156103f857600080fd5b600061040688828901610335565b9550506020610417888289016102ac565b94505060406104288882890161034a565b935050606086013567ffffffffffffffff81111561044557600080fd5b610451888289016102eb565b92509250509295509295909350565b6104698161058f565b82525050565b600061047c60058361057e565b9150610487826105fb565b602082019050919050565b600061049f600083610573565b91506104aa82610624565b600082019050919050565b60006104c2601f8361057e565b91506104cd82610627565b602082019050919050565b6104e1816105f1565b82525050565b60006104f282610492565b9150819050919050565b60006060820190506105116000830186610460565b61051e6020830185610460565b61052b60408301846104d8565b949350505050565b6000602082019050818103600083015261054c8161046f565b9050919050565b6000602082019050818103600083015261056c816104b5565b9050919050565b600081905092915050565b600082825260208201905092915050565b600061059a826105d1565b9050919050565b60006105ac826105d1565b9050919050565b60008115159050919050565b60006105ca8261058f565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b7f4552524f52000000000000000000000000000000000000000000000000000000600082015250565b50565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6106598161058f565b811461066457600080fd5b50565b610670816105a1565b811461067b57600080fd5b50565b610687816105b3565b811461069257600080fd5b50565b61069e816105bf565b81146106a957600080fd5b50565b6106b5816105f1565b81146106c057600080fd5b5056fea26469706673582212206979fce200144ee5ab7e0a9de930105a83d9c5e3759de6b7f7e43fababa415b864736f6c63430008040033
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.