Skip to content

Latest commit

 

History

History
99 lines (56 loc) · 3.19 KB

types.md

File metadata and controls

99 lines (56 loc) · 3.19 KB
sidebar_position
1

import { Grid } from '@mui/material'; import ThemedDivider from '@site/src/components/Divider.js'

import { types } from './types.js'; import Api from '../../src/components/Api.js';

Types

Basic types


List of all available types.

Conversion

List of conversion functions


Properties

Comparable

Comparable values have a natural order used to order elements in containers (set and map's key). Comparison operators < <= > and >= are available the order of two value.

All types are comparable except: big_map iterable_big_map bls12_381_fr bls12_381_g1 bls12_381_g2 contract lambda list map operation sapling_state sapling_transaction set ticket

<Grid container style={{ marginTop: '18px' }}>

Packable

A packable value can be serialised with pack and deserialised with unpack.

All types are packable except: big_map iterable_big_map operation sapling_state ticket

<Grid container style={{ marginTop: '18px' }}>

Passable

A passable value can be the parameter of an entrypoint, a lambda and (not inlined) function.

All types are passable except: operation

<Grid container style={{ marginTop: '18px' }}>

Storable

A storable value may be a contract's storage element.

All types are storable except: contract operation