Contract Overview
Balance:
0 CRO
CRO Value:
$0.00
My Name Tag:
Not Available, login to update
Txn Hash | Method |
Block
|
From
|
To
|
Value | [Txn Fee] | |||
---|---|---|---|---|---|---|---|---|---|
0x95e73272ef2d05b7a791d63e1f05f1ed48b0c229d859f97a578f9f47589f15e3 | 0x60806040 | 8508676 | 11 days 13 hrs ago | 0x3ee1d521daafcab7016739acb515db69d11ce71a | IN | Create: AirdropTest | 0 CRO | 1.053300353721 |
[ Download CSV Export ]
Contract Name:
AirdropTest
Compiler Version
v0.7.4+commit.3f05b770
Contract Source Code (Solidity)
/** *Submitted for verification at cronoscan.com on 2023-05-26 */ pragma solidity ^0.7.4; // LAUNCHED BY BadCroTest // CONTRACT DESIGNED FOR BadCrommunity Fam //SPDX-License-Identifier: Unlicensed // Import the ERC20 token contract interface IERC20 { function transfer(address recipient, uint256 amount) external returns (bool); } contract AirdropTest { IERC20 public tokenContract; constructor(address _tokenContract) { tokenContract = IERC20(_tokenContract); } function performAirdrop(address[] calldata wallets, uint256[] calldata amounts) external { require(wallets.length == amounts.length, "Array length mismatch"); for (uint256 i = 0; i < wallets.length; i++) { address wallet = wallets[i]; uint256 amount = amounts[i]; tokenContract.transfer(wallet, amount); } } }
[{"inputs":[{"internalType":"address","name":"_tokenContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"performAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenContract","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516103063803806103068339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b03199092169190911790556102a1806100656000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806355a373d61461003b578063cbc57f401461005f575b600080fd5b610043610123565b604080516001600160a01b039092168252519081900360200190f35b6101216004803603604081101561007557600080fd5b81019060208101813564010000000081111561009057600080fd5b8201836020820111156100a257600080fd5b803590602001918460208302840111640100000000831117156100c457600080fd5b9193909290916020810190356401000000008111156100e257600080fd5b8201836020820111156100f457600080fd5b8035906020019184602083028401116401000000008311171561011657600080fd5b509092509050610132565b005b6000546001600160a01b031681565b82811461017e576040805162461bcd60e51b8152602060048201526015602482015274082e4e4c2f240d8cadccee8d040dad2e6dac2e8c6d605b1b604482015290519081900360640190fd5b60005b8381101561026457600085858381811061019757fe5b905060200201356001600160a01b0316905060008484848181106101b757fe5b90506020020135905060008054906101000a90046001600160a01b03166001600160a01b031663a9059cbb83836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561022a57600080fd5b505af115801561023e573d6000803e3d6000fd5b505050506040513d602081101561025457600080fd5b5050600190920191506101819050565b505050505056fea264697066735822122032a8f9b579ea78fb83a2f51fb81be26f565e344e9c008f44d8555cf786f9f45264736f6c63430007040033000000000000000000000000c03e38278a06cfae98772f3ebff06171b77a7fe6
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c03e38278a06cfae98772f3ebff06171b77a7fe6
-----Decoded View---------------
Arg [0] : _tokenContract (address): 0xc03e38278a06cfae98772f3ebff06171b77a7fe6
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c03e38278a06cfae98772f3ebff06171b77a7fe6
Deployed ByteCode Sourcemap
285:550:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;313:27;;;:::i;:::-;;;;-1:-1:-1;;;;;313:27:0;;;;;;;;;;;;;;450:382;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;450:382:0;;-1:-1:-1;450:382:0;-1:-1:-1;450:382:0;:::i;:::-;;313:27;;;-1:-1:-1;;;;;313:27:0;;:::o;450:382::-;558:32;;;550:66;;;;;-1:-1:-1;;;550:66:0;;;;;;;;;;;;-1:-1:-1;;;550:66:0;;;;;;;;;;;;;;;634:9;629:196;649:18;;;629:196;;;689:14;706:7;;714:1;706:10;;;;;;;;;;;;;-1:-1:-1;;;;;706:10:0;689:27;;731:14;748:7;;756:1;748:10;;;;;;;;;;;;;731:27;;775:13;;;;;;;;-1:-1:-1;;;;;775:13:0;-1:-1:-1;;;;;775:22:0;;798:6;806;775:38;;;;;;;;;;;;;-1:-1:-1;;;;;775:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;669:3:0;;;;;-1:-1:-1;629:196:0;;-1:-1:-1;629:196:0;;;450:382;;;;:::o
Swarm Source
ipfs://32a8f9b579ea78fb83a2f51fb81be26f565e344e9c008f44d8555cf786f9f452
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.