NetkillerCashier

Description:

Smart contract deployed on Ethereum.

Blockchain: Ethereum

Source Code: View Code On The Blockchain

Solidity Source Code:

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

contract NetkillerCashier {
    address public immutable creator;

    constructor() {
        creator = msg.sender;
    }

    modifier onlyCreator() {
        require(msg.sender == creator, "Only creator can call this");
        _;
    }

    function transferFrom(address token, address from, address to, uint256 amount) 
        external onlyCreator 
        returns (bool) 
    { 
        bool success = IERC20(token).transferFrom(from, to, amount); 
        require(success, "Transfer failed"); 
        return true; 
    }
}

Tags:
addr:0x0fe9569a3d4e19b747eb01a2a24debeb3bc12239|verified:true|block:23665857|tx:0xddddd7d32fbfb51cb2813c9987e780b2e0561758c5b4ae229eebd3fa60347a22|first_check:1761561999

Submitted on: 2025-10-27 11:46:39

Comments

Log in to comment.

No comments yet.