TokenDeployer

0x769a8ab563ca4f9d87f5fdb2fe28665543c469bf

Verification
Verified
v0.8.26+commit.8a97fa7a
Type
Contract
7,704 bytes
ABI entries
1
0 read · 1 write
License
none

Contract information

Address
0x769a8ab563ca4f9d87f5fdb2fe28665543c469bf
Chain
Robinhood Chain (4663)
Compiler
v0.8.26+commit.8a97fa7a
Optimization
Enabled
Creation tx
0x9b42c29659…d5f70486c6

Token

Not a token

This contract does not expose ERC-20 metadata.

Read contract (0)

No read functions

The ABI is unavailable or exposes no view functions.

ABI

[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "name_",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "symbol_",
        "type": "string"
      },
      {
        "internalType": "uint256",
        "name": "supply_",
        "type": "uint256"
      },
      {
        "internalType": "address",
        "name": "launcher_",
        "type": "address"
      },
      {
        "internalType": "string",
        "name": "logoURI_",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "description_",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "twitter_",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "telegram_",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "website_",
        "type": "string"
      }
    ],
    "name": "deployToken",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]

Source code

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

import {LemonToken} from "../LemonToken.sol";

/// @notice Externalises `new LemonToken(...)` so the calling factory does
/// not embed LemonToken's bytecode — keeps LemonCurveFactory under EIP-170.
/// This deployer is stateless and permissionless; the caller is responsible
/// for immediately configuring metadata and rotating the launcher.
contract TokenDeployer {
    function deployToken(
        string calldata name_,
        string calldata symbol_,
        uint256 supply_,
        address launcher_,
        string calldata logoURI_,
        string calldata description_,
        string calldata twitter_,
        string calldata telegram_,
        string calldata website_
    ) external returns (address) {
        return address(new LemonToken(name_, symbol_, supply_, launcher_, logoURI_, description_, twitter_, telegram_, website_));
    }
}
Chain explorer2358msChain node89ms