package tezos-protocol-alpha
Tezos/Protocol: economic-protocol definition
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc
doc/tezos-protocol-alpha.raw/Tezos_raw_protocol_alpha/Tx_rollup_l2_qty/index.html
Module Tezos_raw_protocol_alpha.Tx_rollup_l2_qty
Source
This module is an abstraction on top of int64 to build positive (or zero) quantities within the int64 bounds. It comes with a compact encoding to be used in the transaction rollup batches.
Type of postive quantities. Quantities are bounded by Int64.max_int
.
Build a quantity from an int64. Returns None
if the argument is negative.
Build a quantity from an int64 and raise Invalid_argument
on negative quantities.
Convert a quantity to z
.
Parse a quantity from a string. Returns None
if the string is not a valid quantity representation.
Pretty-printer for quantities.
Compact encoding for quantities
Encoding for quantities
include Tezos_protocol_environment_alpha.Compare.S with type t := t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>