• Preparing search index...
  • The search index is not available
Taquito
  • Taquito
  • @taquito/michel-codec
  • assertMichelsonContract

Function assertMichelsonContract

  • assertMichelsonContract(ex): ex is MichelsonContract
  • Checks if the node is a valid Michelson smart contract source containing all required and valid properties such as parameter, storage and code. This is a type guard function which either returns true of throws an exception.

    Parameters

    • ex: Expr

      An AST node

    Returns ex is MichelsonContract

    • Defined in packages/taquito-michel-codec/src/michelson-validator.ts:772

Settings

Member Visibility
Taquito
  • Loading...

Generated using TypeDoc