CRO Price: $0.09 (-1.52%)

Contract

0x5fae9DbA11AFE1b5B5555bFA2A1f9E8213D7AA9D

Overview

CRO Balance

Cronos Chain LogoCronos Chain LogoCronos Chain Logo0 CRO

CRO Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0x6080604085088832023-05-26 19:45:34391 days ago1685130334IN
 Create: AirdropTester
0 CRO1.045130334,743.26192643

Parent Transaction Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AirdropTester

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *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

        }
    }
}

Contract Security Audit

Contract ABI

[{"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"}]

608060405234801561001057600080fd5b506040516102fe3803806102fe8339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610299806100656000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806355a373d61461003b578063cbc57f401461005f575b600080fd5b610043610123565b604080516001600160a01b039092168252519081900360200190f35b6101216004803603604081101561007557600080fd5b81019060208101813564010000000081111561009057600080fd5b8201836020820111156100a257600080fd5b803590602001918460208302840111640100000000831117156100c457600080fd5b9193909290916020810190356401000000008111156100e257600080fd5b8201836020820111156100f457600080fd5b8035906020019184602083028401116401000000008311171561011657600080fd5b509092509050610132565b005b6000546001600160a01b031681565b82811461017e576040805162461bcd60e51b8152602060048201526015602482015274082e4e4c2f240d8cadccee8d040dad2e6dac2e8c6d605b1b604482015290519081900360640190fd5b60005b8381101561025c57600085858381811061019757fe5b905060200201356001600160a01b0316905060008484848181106101b757fe5b600080546040805163a9059cbb60e01b81526001600160a01b038981166004830152670de0b6b3a7640000602096870298909801359788026024830152915196975091169463a9059cbb94506044808301949391928390030190829087803b15801561022257600080fd5b505af1158015610236573d6000803e3d6000fd5b505050506040513d602081101561024c57600080fd5b5050600190920191506101819050565b505050505056fea2646970667358221220612527ad1675ba9c2205be7e48eb2136e5bade02abb05d6ae06bd21fa593328264736f6c63430007040033000000000000000000000000c03e38278a06cfae98772f3ebff06171b77a7fe6

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100365760003560e01c806355a373d61461003b578063cbc57f401461005f575b600080fd5b610043610123565b604080516001600160a01b039092168252519081900360200190f35b6101216004803603604081101561007557600080fd5b81019060208101813564010000000081111561009057600080fd5b8201836020820111156100a257600080fd5b803590602001918460208302840111640100000000831117156100c457600080fd5b9193909290916020810190356401000000008111156100e257600080fd5b8201836020820111156100f457600080fd5b8035906020019184602083028401116401000000008311171561011657600080fd5b509092509050610132565b005b6000546001600160a01b031681565b82811461017e576040805162461bcd60e51b8152602060048201526015602482015274082e4e4c2f240d8cadccee8d040dad2e6dac2e8c6d605b1b604482015290519081900360640190fd5b60005b8381101561025c57600085858381811061019757fe5b905060200201356001600160a01b0316905060008484848181106101b757fe5b600080546040805163a9059cbb60e01b81526001600160a01b038981166004830152670de0b6b3a7640000602096870298909801359788026024830152915196975091169463a9059cbb94506044808301949391928390030190829087803b15801561022257600080fd5b505af1158015610236573d6000803e3d6000fd5b505050506040513d602081101561024c57600080fd5b5050600190920191506101819050565b505050505056fea2646970667358221220612527ad1675ba9c2205be7e48eb2136e5bade02abb05d6ae06bd21fa593328264736f6c63430007040033

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

Block Transaction Gas Used Reward
view all blocks validated

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.