ETH Price: $1,921.28 (-5.95%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

ContractCreator

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim139316702022-01-03 9:21:511516 days ago1641201711IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0065757889.57610687
Claim139316542022-01-03 9:16:411516 days ago1641201401IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.00710390.8196364
Claim139314732022-01-03 8:35:361516 days ago1641198936IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0057149477.8496458
Claim139314732022-01-03 8:35:361516 days ago1641198936IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0060886277.8496458
Claim139314712022-01-03 8:35:171516 days ago1641198917IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0054170169.26240025
Claim139314712022-01-03 8:35:171516 days ago1641198917IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0054170169.26240025
Claim139314692022-01-03 8:34:131516 days ago1641198853IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0050971665.17281669
Claim139314622022-01-03 8:33:081516 days ago1641198788IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0053833168.83156183
Claim139314602022-01-03 8:32:371516 days ago1641198757IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0058541274.85132983
Claim139314602022-01-03 8:32:371516 days ago1641198757IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0058541274.85132983
Claim139314602022-01-03 8:32:371516 days ago1641198757IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0058541274.85132983
Claim139314592022-01-03 8:32:211516 days ago1641198741IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0052521867.15485613
Claim139314522022-01-03 8:30:541516 days ago1641198654IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.00571573.07260274
Claim139314522022-01-03 8:30:541516 days ago1641198654IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.00571573.07260274
Claim139314392022-01-03 8:28:521516 days ago1641198532IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.006256880
Claim139314332022-01-03 8:26:301516 days ago1641198390IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0052553867.19579522
Claim139267572022-01-02 15:10:061517 days ago1641136206IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0051793466.22355424
Claim139246232022-01-02 7:12:201517 days ago1641107540IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.004909162.76823934
Claim139244242022-01-02 6:26:511517 days ago1641104811IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.004708760.20593279
Claim139242912022-01-02 6:00:231517 days ago1641103223IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.004692660
Claim139238972022-01-02 4:34:491517 days ago1641098089IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0061538583.82852999
Claim139237092022-01-02 3:51:461518 days ago1641095506IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0065680283.97933277
Claim139217052022-01-01 20:29:171518 days ago1641068957IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.005602671.63544989
Claim139216362022-01-01 20:15:371518 days ago1641068137IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0059461997.30306996
Claim139214452022-01-01 19:33:491518 days ago1641065629IN
0xC9dc2094...bFd2Ff9c3
0 ETH0.0051116565.35802686
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RossDrop

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion, GNU AGPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2022-01-01
*/

// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Safe ERC20 transfer library that gracefully handles missing return values.
/// @author Modified from Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/utils/SafeTransferLib.sol)
/// @author Modified from Gnosis (https://github.com/gnosis/gp-v2-contracts/blob/main/src/contracts/libraries/GPv2SafeERC20.sol)
/// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer.
library SafeTransferLib {
    /*///////////////////////////////////////////////////////////////
                           ERC20 OPERATIONS
    //////////////////////////////////////////////////////////////*/

    function safeTransfer(
        address token,
        address to,
        uint256 amount
    ) internal {
        bool callStatus;

        assembly {
            // Get a pointer to some free memory.
            let freeMemoryPointer := mload(0x40)

            // Write the abi-encoded calldata to memory piece by piece:
            mstore(freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000) // Begin with the function selector.
            mstore(add(freeMemoryPointer, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Mask and append the "to" argument.
            mstore(add(freeMemoryPointer, 36), amount) // Finally append the "amount" argument. No mask as it's a full 32 byte value.

            // Call the token and store if it succeeded or not.
            // We use 68 because the calldata length is 4 + 32 * 2.
            callStatus := call(gas(), token, 0, freeMemoryPointer, 68, 0, 0)
        }

        require(didLastOptionalReturnCallSucceed(callStatus), "TRANSFER_FAILED");
    }

    /*///////////////////////////////////////////////////////////////
                         INTERNAL HELPER LOGIC
    //////////////////////////////////////////////////////////////*/

    function didLastOptionalReturnCallSucceed(bool callStatus) private pure returns (bool success) {
        assembly {
            // Get how many bytes the call returned.
            let returnDataSize := returndatasize()

            // If the call reverted:
            if iszero(callStatus) {
                // Copy the revert message into memory.
                returndatacopy(0, 0, returnDataSize)

                // Revert with the same message.
                revert(0, returnDataSize)
            }

            switch returnDataSize
            case 32 {
                // Copy the return data into memory.
                returndatacopy(0, 0, returnDataSize)

                // Set success to whether it returned true.
                success := iszero(iszero(mload(0)))
            }
            case 0 {
                // There was no return data.
                success := 1
            }
            default {
                // It returned some malformed input.
                success := 0
            }
        }
    }
}

/// @notice Claim some Ross. 
/// Don't be an asshole. 
/// Ross can read receipts and will nullify claims.
contract RossDrop {
    using SafeTransferLib for address;

    address ross = 0xB13784c5e23Be3a430A5db7D0b7C32f15B07aFE7;

    mapping(address => bool) claimed;

    function claim() public {
        require(!claimed[msg.sender], "CLAIMED");

        ross.safeTransfer(msg.sender, 5 ether);

        claimed[msg.sender] = true;
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600080546001600160a01b03191673b13784c5e23be3a430a5db7d0b7c32f15b07afe717905534801561003657600080fd5b5061026c806100466000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80634e71d92d14610030575b600080fd5b61003861003a565b005b3360009081526001602052604090205460ff16156100b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f434c41494d45440000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b6000546100e59073ffffffffffffffffffffffffffffffffffffffff1633674563918244f40000610122565b33600090815260016020819052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169091179055565b60006040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201528260248201526000806044836000895af1915050610183816101ef565b6101e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5452414e534645525f4641494c4544000000000000000000000000000000000060448201526064016100b0565b50505050565b60003d8261020157806000803e806000fd5b806020811461021957801561022a576000925061022f565b816000803e6000511515925061022f565b600192505b505091905056fea2646970667358221220d41be035b6bd3e8d9aa2e2e9620aa2a241300659994752b9cc9f0d390320b78264736f6c634300080b0033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80634e71d92d14610030575b600080fd5b61003861003a565b005b3360009081526001602052604090205460ff16156100b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600760248201527f434c41494d45440000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b6000546100e59073ffffffffffffffffffffffffffffffffffffffff1633674563918244f40000610122565b33600090815260016020819052604090912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169091179055565b60006040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201528260248201526000806044836000895af1915050610183816101ef565b6101e9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5452414e534645525f4641494c4544000000000000000000000000000000000060448201526064016100b0565b50505050565b60003d8261020157806000803e806000fd5b806020811461021957801561022a576000925061022f565b816000803e6000511515925061022f565b600192505b505091905056fea2646970667358221220d41be035b6bd3e8d9aa2e2e9620aa2a241300659994752b9cc9f0d390320b78264736f6c634300080b0033

Deployed Bytecode Sourcemap

3215:350:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3389:173;;;:::i;:::-;;;3441:10;3433:19;;;;:7;:19;;;;;;;;3432:20;3424:40;;;;;;;216:2:1;3424:40:0;;;198:21:1;255:1;235:18;;;228:29;293:9;273:18;;;266:37;320:18;;3424:40:0;;;;;;;;;3477:4;;:38;;:4;;3495:10;3507:7;3477:17;:38::i;:::-;3536:10;3528:19;;;;3550:4;3528:19;;;;;;;;:26;;;;;;;;;3389:173::o;759:1067::-;878:15;1012:4;1006:11;1132:66;1113:17;1106:93;1292:42;1288:2;1284:51;1280:1;1261:17;1257:25;1250:86;1423:6;1418:2;1399:17;1395:26;1388:42;1721:1;1718;1714:2;1695:17;1692:1;1685:5;1678;1673:50;1659:64;;;1754:44;1787:10;1754:32;:44::i;:::-;1746:72;;;;;;;551:2:1;1746:72:0;;;533:21:1;590:2;570:18;;;563:30;629:17;609:18;;;602:45;664:18;;1746:72:0;349:339:1;1746:72:0;867:959;759:1067;;;:::o;2025:1072::-;2106:12;2231:16;2311:10;2301:244;;2420:14;2417:1;2414;2399:36;2515:14;2512:1;2505:25;2301:244;2568:14;2601:2;2596:248;;;;2858:99;;;;3063:1;3052:12;;2561:518;;2596:248;2698:14;2695:1;2692;2677:36;2825:1;2819:8;2812:16;2805:24;2794:35;;2596:248;;2858:99;2941:1;2930:12;;2561:518;;;2025:1072;;;:::o

Swarm Source

ipfs://d41be035b6bd3e8d9aa2e2e9620aa2a241300659994752b9cc9f0d390320b782

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.