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] | |||
---|---|---|---|---|---|---|---|---|---|
0xa15f00178412231277ccf653962bef9d880dcb47885a60ef34e2519b332d0da2 | 0x60806040 | 8508883 | 11 days 13 hrs ago | 0x3ee1d521daafcab7016739acb515db69d11ce71a | IN | Create: AirdropTester | 0 CRO | 1.045130332871 |
[ Download CSV Export ]
Contract Name:
AirdropTester
Compiler Version
v0.7.4+commit.3f05b770
Contract Source Code (Solidity)
/** *Submitted for verification at cronoscan.com on 2023-05-26 */ // LAUNCHED BY BadCroTest // CONTRACT DESIGNED FOR BadCrommunity Fam //SPDX-License-Identifier: Unlicensed pragma solidity ^0.7.4; interface IERC20 { function transfer(address recipient, uint256 amount) external returns (bool); } contract AirdropTester { 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 * 10**18); // Convert to Wei } } }
[{"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
608060405234801561001057600080fd5b506040516102fe3803806102fe8339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610299806100656000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806355a373d61461003b578063cbc57f401461005f575b600080fd5b610043610123565b604080516001600160a01b039092168252519081900360200190f35b6101216004803603604081101561007557600080fd5b81019060208101813564010000000081111561009057600080fd5b8201836020820111156100a257600080fd5b803590602001918460208302840111640100000000831117156100c457600080fd5b9193909290916020810190356401000000008111156100e257600080fd5b8201836020820111156100f457600080fd5b8035906020019184602083028401116401000000008311171561011657600080fd5b509092509050610132565b005b6000546001600160a01b031681565b82811461017e576040805162461bcd60e51b8152602060048201526015602482015274082e4e4c2f240d8cadccee8d040dad2e6dac2e8c6d605b1b604482015290519081900360640190fd5b60005b8381101561025c57600085858381811061019757fe5b905060200201356001600160a01b0316905060008484848181106101b757fe5b600080546040805163a9059cbb60e01b81526001600160a01b038981166004830152670de0b6b3a7640000602096870298909801359788026024830152915196975091169463a9059cbb94506044808301949391928390030190829087803b15801561022257600080fd5b505af1158015610236573d6000803e3d6000fd5b505050506040513d602081101561024c57600080fd5b5050600190920191506101819050565b505050505056fea2646970667358221220612527ad1675ba9c2205be7e48eb2136e5bade02abb05d6ae06bd21fa593328264736f6c63430007040033000000000000000000000000c03e38278a06cfae98772f3ebff06171b77a7fe6
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
245:582:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;275:27;;;:::i;:::-;;;;-1:-1:-1;;;;;275:27:0;;;;;;;;;;;;;;412:412;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;412:412:0;;-1:-1:-1;412:412:0;-1:-1:-1;412:412:0;:::i;:::-;;275:27;;;-1:-1:-1;;;;;275:27:0;;:::o;412:412::-;520:32;;;512:66;;;;;-1:-1:-1;;;512:66:0;;;;;;;;;;;;-1:-1:-1;;;512:66:0;;;;;;;;;;;;;;;596:9;591:226;611:18;;;591:226;;;651:14;668:7;;676:1;668:10;;;;;;;;;;;;;-1:-1:-1;;;;;668:10:0;651:27;;693:14;710:7;;718:1;710:10;;;;;;;737:13;;;:47;;;-1:-1:-1;;;737:47:0;;-1:-1:-1;;;;;737:47:0;;;;;;;777:6;710:10;;;;;;;;;768:15;;;737:47;;;;;;710:10;;-1:-1:-1;737:13:0;;;:22;;-1:-1:-1;737:47:0;;;;;710:10;737:47;;;;;;;;;:13;:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;631:3:0;;;;;-1:-1:-1;591:226:0;;-1:-1:-1;591:226:0;;;412:412;;;;:::o
Swarm Source
ipfs://612527ad1675ba9c2205be7e48eb2136e5bade02abb05d6ae06bd21fa5933282
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.