ERC20PresetFixedSupply deployer

[blockchain/ethereum/contracts/erc20/presets/ERC20PresetFixedSupply deployer]


Compiles and deploys an ERC20 interface compatible token contract. The particular implementation is derived from a public openzeppelin preset: "ERC20PresetFixedSupply" base contract at openzeppelin


Keywords: erc20, token

Input ports

  • contract name: string

    The name of the created contract. It must be a valid Solidity contract name (no spaces, special characters).

  • init parameters:

    {
      "name": string,
      "symbol": string,
      "initialSupply": string,
      "ownerAddress": string
    }

    Receives the parameters to be given to the contract's constructor when deployed. Reference: See the constructor of the contract in base contract at openzeppelin

  • credentials: {"providerUrl": string, "privateKey": string}

Output ports

  • events:

    {
      "field": (
        "transaction hash"
        or "receipt"
        or "confirmation"
        or "contract"
        or "error"
      ),
      "data": any
    }
  • source: string

  • compile settings:

    {optional "evmVersion": string, "optimizer": {"enabled": boolean, "runs": number}}
  • error: {"error": string}

Last updated