package tezos-protocol-014-PtKathma

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Sc_rollups.KindSource

A smart contract rollup has a kind, which assigns meaning to rollup operations.

Sourcetype t =
  1. | Example_arith
  2. | Wasm_2_0_0

The list of available rollup kinds.

This list must only be appended for backward compatibility.

Sourceval equal : t -> t -> bool
Sourceval pvm_of : t -> PVM.t

pvm_of kind returns the PVM of the given kind.

Sourceval of_pvm : PVM.t -> t

of_pvm pvm returns the kind of the given PVM.

Sourceval pvm_of_name : name:string -> PVM.t option

pvm_of_name ~name is Some (module I) if an implemented PVM called name. This function returns None otherwise.

Sourceval all : t list

all returns all implemented PVM.

Sourceval all_names : string list

all_names returns all implemented PVM names.

Sourceval of_name : string -> t option

of_name name returns the kind of the PVM of the specified name.

Sourceval name_of : t -> string

name_of kind returns a human-readable representation of kind.

OCaml

Innovation. Community. Security.