HYPE Price: $39.12 (-1.70%)

Contract

0xf50b8Ecf9C753a6BfF26feA1Db152f27a39dbf79

Overview

HYPE Balance

HyperEvm LogoHyperEvm LogoHyperEvm Logo0 HYPE

HYPE Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DonkeyAirdropper

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IERC20 {
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

contract DonkeyAirdropper {
    function airdrop(address token, address[] calldata recipients, uint256[] calldata amounts) external {
        require(recipients.length == amounts.length, "Mismatched array lengths");
        for (uint256 i = 0; i < recipients.length; i++) {
            IERC20(token).transferFrom(msg.sender, recipients[i], amounts[i]);
        }
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061034b806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063025ff12f14610030575b600080fd5b61004361003e3660046101f5565b610045565b005b82811461006d5760405162461bcd60e51b8152600401610064906102b7565b60405180910390fd5b60005b8381101561016757856001600160a01b03166323b872dd338787858181106100a857634e487b7160e01b600052603260045260246000fd5b90506020020160208101906100bd91906101d4565b8686868181106100dd57634e487b7160e01b600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b815260040161010293929190610293565b602060405180830381600087803b15801561011c57600080fd5b505af1158015610130573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101549190610273565b508061015f816102ee565b915050610070565b505050505050565b80356001600160a01b038116811461018657600080fd5b919050565b60008083601f84011261019c578182fd5b50813567ffffffffffffffff8111156101b3578182fd5b60208301915083602080830285010111156101cd57600080fd5b9250929050565b6000602082840312156101e5578081fd5b6101ee8261016f565b9392505050565b60008060008060006060868803121561020c578081fd5b6102158661016f565b9450602086013567ffffffffffffffff80821115610231578283fd5b61023d89838a0161018b565b90965094506040880135915080821115610255578283fd5b506102628882890161018b565b969995985093965092949392505050565b600060208284031215610284578081fd5b815180151581146101ee578182fd5b6001600160a01b039384168152919092166020820152604081019190915260600190565b60208082526018908201527f4d69736d617463686564206172726179206c656e677468730000000000000000604082015260600190565b600060001982141561030e57634e487b7160e01b81526011600452602481fd5b506001019056fea2646970667358221220c737a45756aded5aa6cde947618fc8cc44c93e037c626363304f1d965c445def64736f6c63430008000033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063025ff12f14610030575b600080fd5b61004361003e3660046101f5565b610045565b005b82811461006d5760405162461bcd60e51b8152600401610064906102b7565b60405180910390fd5b60005b8381101561016757856001600160a01b03166323b872dd338787858181106100a857634e487b7160e01b600052603260045260246000fd5b90506020020160208101906100bd91906101d4565b8686868181106100dd57634e487b7160e01b600052603260045260246000fd5b905060200201356040518463ffffffff1660e01b815260040161010293929190610293565b602060405180830381600087803b15801561011c57600080fd5b505af1158015610130573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101549190610273565b508061015f816102ee565b915050610070565b505050505050565b80356001600160a01b038116811461018657600080fd5b919050565b60008083601f84011261019c578182fd5b50813567ffffffffffffffff8111156101b3578182fd5b60208301915083602080830285010111156101cd57600080fd5b9250929050565b6000602082840312156101e5578081fd5b6101ee8261016f565b9392505050565b60008060008060006060868803121561020c578081fd5b6102158661016f565b9450602086013567ffffffffffffffff80821115610231578283fd5b61023d89838a0161018b565b90965094506040880135915080821115610255578283fd5b506102628882890161018b565b969995985093965092949392505050565b600060208284031215610284578081fd5b815180151581146101ee578182fd5b6001600160a01b039384168152919092166020820152604081019190915260600190565b60208082526018908201527f4d69736d617463686564206172726179206c656e677468730000000000000000604082015260600190565b600060001982141561030e57634e487b7160e01b81526011600452602481fd5b506001019056fea2646970667358221220c737a45756aded5aa6cde947618fc8cc44c93e037c626363304f1d965c445def64736f6c63430008000033

Block Transaction 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

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.