💻
MISO
  • Minimal Initial SushiSwap Offering
  • Ingredients
  • Recipes
  • FAQ
  • Navigating and using MISO
    • Participating in an Auction
  • Token Factory
    • Token Minting & Verification
  • Marketplace
    • Marketplace for Tokens
    • Permission Lists
  • Liquidity
    • Post Auction Launcher
  • Farmed Produce
    • MasterChef Farming
  • Fermentation Vaults
    • Vaults & Escrow
  • Developer
    • MISOTokenFactory Contracts
      • Sushi Token Smart Contract
      • Mintable Token Smart Contract
      • Fixed Supply Token Smart Contract
      • Admin Functions Overview
    • MISOMarket Contracts
      • Hyperbolic Auction Smart Contract
      • Batch Auction Smart Contract
      • Dutch Auction Smart Contract
      • Crowdsale Smart Contract
      • Admin Functions Overview
    • MISOFarmFactory Contracts
      • Miso MasterChef Contract
      • Miso MasterChefV2 Contract
      • Admin Functions Overview
    • MISOLauncher Contracts
      • Post Auction Launcher
      • Liquidity ZAP Contract
      • Admin Functions Overview
    • MISOFermentation Contracts
      • Gnosis Safe Factory Contract
      • Token Vault Contract
      • Admin Functions Overview
  • External Links
  • Socials
Powered by GitBook
On this page
  • Address
  • Init functions

Was this helpful?

  1. Developer
  2. MISOTokenFactory Contracts

Fixed Supply Token Smart Contract

Address

Init functions

function getInitData(
        string calldata _name,
        string calldata _symbol,
        address _owner,
        uint256 _initialSupply
    )
        external pure returns (bytes memory _data)

Parameter

Description

_name

Token name.

_symbol

Token symbol.

_owner

Contract owner.

_initialSupply

Amount of tokens minted on creation.

Collects init data and returns them in encoded format.

function initToken(bytes calldata _data) public override

Takes encoded data, decodes them and calls main init function.

function initToken(
    string memory _name, 
    string memory _symbol, 
    address _owner, 
    uint256 _initialSupply
) 
    public override

Initializes ERC20 token with name and symbol and mints token supply to the callers address.

PreviousMintable Token Smart ContractNextAdmin Functions Overview

Last updated 4 years ago

Was this helpful?