ZephyrTokenDeployer

0x76c214451d20fb6a68a90d5c8363583444a2e5be

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

Contract information

Address
0x76c214451d20fb6a68a90d5c8363583444a2e5be
Chain
Robinhood Chain (4663)
Compiler
v0.8.26+commit.8a97fa7a
Optimization
Enabled
Creation tx
0x682c52fe3a…7441763c04

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": "",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "deploy",
    "outputs": [
      {
        "internalType": "address",
        "name": "token",
        "type": "address"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]

Source code

// SPDX-License-Identifier: MIT
//  TokenDeployer — deterministic CREATE2 deployment of standard tokens.
pragma solidity ^0.8.26;

import {ITokenDeployer} from "./interfaces/ITokenDeployer.sol";
import {ZephyrToken}  from "./ZephyrToken.sol";

/**
 * @notice Deploys standard ZephyrToken instances on behalf of the factory.
 *         Keeping token bytecode here (not in the factory) reduces factory size.
 */
contract ZephyrTokenDeployer is ITokenDeployer {
    function deploy(
        string  calldata name,
        string  calldata symbol,
        uint256          supply,
        address          /* poolManager — unused for standard token */,
        address          /* devWallet   — unused for standard token */
    ) external override returns (address token) {
        token = address(new ZephyrToken(name, symbol, supply, msg.sender));
    }
}
Chain explorer1069msChain node94ms