Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 41 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Claim | 13931670 | 1516 days ago | IN | 0 ETH | 0.00657578 | ||||
| Claim | 13931654 | 1516 days ago | IN | 0 ETH | 0.007103 | ||||
| Claim | 13931473 | 1516 days ago | IN | 0 ETH | 0.00571494 | ||||
| Claim | 13931473 | 1516 days ago | IN | 0 ETH | 0.00608862 | ||||
| Claim | 13931471 | 1516 days ago | IN | 0 ETH | 0.00541701 | ||||
| Claim | 13931471 | 1516 days ago | IN | 0 ETH | 0.00541701 | ||||
| Claim | 13931469 | 1516 days ago | IN | 0 ETH | 0.00509716 | ||||
| Claim | 13931462 | 1516 days ago | IN | 0 ETH | 0.00538331 | ||||
| Claim | 13931460 | 1516 days ago | IN | 0 ETH | 0.00585412 | ||||
| Claim | 13931460 | 1516 days ago | IN | 0 ETH | 0.00585412 | ||||
| Claim | 13931460 | 1516 days ago | IN | 0 ETH | 0.00585412 | ||||
| Claim | 13931459 | 1516 days ago | IN | 0 ETH | 0.00525218 | ||||
| Claim | 13931452 | 1516 days ago | IN | 0 ETH | 0.005715 | ||||
| Claim | 13931452 | 1516 days ago | IN | 0 ETH | 0.005715 | ||||
| Claim | 13931439 | 1516 days ago | IN | 0 ETH | 0.0062568 | ||||
| Claim | 13931433 | 1516 days ago | IN | 0 ETH | 0.00525538 | ||||
| Claim | 13926757 | 1517 days ago | IN | 0 ETH | 0.00517934 | ||||
| Claim | 13924623 | 1517 days ago | IN | 0 ETH | 0.0049091 | ||||
| Claim | 13924424 | 1517 days ago | IN | 0 ETH | 0.0047087 | ||||
| Claim | 13924291 | 1517 days ago | IN | 0 ETH | 0.0046926 | ||||
| Claim | 13923897 | 1517 days ago | IN | 0 ETH | 0.00615385 | ||||
| Claim | 13923709 | 1518 days ago | IN | 0 ETH | 0.00656802 | ||||
| Claim | 13921705 | 1518 days ago | IN | 0 ETH | 0.0056026 | ||||
| Claim | 13921636 | 1518 days ago | IN | 0 ETH | 0.00594619 | ||||
| Claim | 13921445 | 1518 days ago | IN | 0 ETH | 0.00511165 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
RossDrop
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity)
/**
*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
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
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
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.