package tezos-tx-rollup-015-PtLimaPt

  1. Overview
  2. Docs

The metadata associated to an address.

get ctxt idx returns the current metadata associated to the address indexed by idx.

incr_counter ctxt idx increments the counter of the address indexed by idx.

This function can fail with Counter_overflow iff the counter has reached the Int64.max_int limit.

This function can fail with Unknown_address_index if idx has not been associated with a layer-2 address already.

init_with_public_key ctxt idx pk initializes the metadata associated to the address indexed by idx.

This can fails with Metadata_already_initialized if this function has already been called with idx.

OCaml

Innovation. Community. Security.