package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053

doc/octez-protocol-alpha-libs.test-helpers/Tezos_alpha_test_helpers/Sapling_helpers/Alpha_context_helpers/index.html

Module Sapling_helpers.Alpha_context_helpersSource

include module type of struct include Common end
Sourceval memo_size_of_int : int -> Tezos_protocol_alpha.Protocol.Alpha_context.Sapling.Memo_size.t
Sourceval int_of_memo_size : Tezos_protocol_alpha.Protocol.Alpha_context.Sapling.Memo_size.t -> int
Sourceval assert_true : (bool, 'a) result Lwt.t -> (unit, 'a) result Lwt.t
Sourceval assert_false : (bool, 'a) result Lwt.t -> (unit, 'a) result Lwt.t
Sourceval assert_some : ('a option, 'b) result Lwt.t -> ('a, 'b) result Lwt.t
Sourceval assert_none : ('a option, 'b) result Lwt.t -> (unit, 'b) result Lwt.t
Sourceval assert_error : ('a, 'b) result Lwt.t -> (unit, 'c) result Lwt.t
Sourceval print : ?prefix:string -> 'a Data_encoding.Encoding.t -> 'a -> unit
Sourceval to_hex : 'a -> 'a Data_encoding.Encoding.t -> string
Sourceval randomized_byte : ?pos:int -> 'a -> 'a Data_encoding.Encoding.t -> 'a
Sourcetype wallet = Common.wallet = {
  1. sk : Tezos_sapling.Core.Wallet.Spending_key.t;
  2. vk : Tezos_sapling.Core.Wallet.Viewing_key.t;
}
Sourceval wallet_gen : unit -> wallet
Sourceval gen_addr : int -> Tezos_sapling.Core.Client.Viewing_key.t -> Tezos_sapling.Core.Client.Viewing_key.address list
Sourceval gen_nf : unit -> Tezos_sapling.Core.Client.Nullifier.t
Sourceval gen_cm_cipher : memo_size:int -> unit -> Tezos_sapling.Core.Client.Commitment.t * Tezos_sapling.Core.Client.Ciphertext.t
Sourceval client_state_of_diff : memo_size:int -> (Tezos_sapling.Core.Validator.Hash.t * Tezos_protocol_alpha.Protocol.Alpha_context.Sapling.diff) -> Tezos_sapling.Storage.state
Sourceval init : unit -> (Tezos_protocol_alpha.Protocol.Alpha_context.context, Tezos_base.TzPervasives.tztrace) result Lwt.t
Sourceval finalize : Tezos_raw_protocol_alpha__Alpha_context.context -> Tezos_protocol_alpha.Protocol.Alpha_context.Sapling.state -> (Tezos_raw_protocol_alpha__Alpha_context.t * Tezos_protocol_alpha.Protocol.Alpha_context.Sapling.Id.t) Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval verify_update : Tezos_raw_protocol_alpha__Alpha_context.context -> ?memo_size:int -> ?id:Tezos_protocol_alpha.Protocol.Alpha_context.Sapling.Id.t -> Tezos_protocol_alpha.Environment.Sapling.UTXO.transaction -> ((Tezos_protocol_alpha.Protocol.Alpha_context.context * Tezos_protocol_alpha.Protocol.Alpha_context.Sapling.Id.t) option, Tezos_base.TzPervasives.tztrace) result Lwt.t
Sourceval verify_update_legacy : Tezos_raw_protocol_alpha__Alpha_context.context -> ?memo_size:int -> ?id:Tezos_protocol_alpha.Protocol.Alpha_context.Sapling.Id.t -> Tezos_protocol_alpha.Environment.Sapling.UTXO.Legacy.transaction -> ((Tezos_protocol_alpha.Protocol.Alpha_context.context * Tezos_protocol_alpha.Protocol.Alpha_context.Sapling.Id.t) option, Tezos_base.TzPervasives.tztrace) result Lwt.t
Sourceval transfer_inputs_outputs : wallet -> Tezos_sapling__Forge.S.state -> int list -> Tezos_sapling.Forge.Input.t list * Tezos_sapling.Forge.output list
Sourceval transfer : wallet -> Tezos_sapling__Forge.S.state -> int list -> Tezos_sapling.Forge.Core.UTXO.transaction
Sourceval transfer_legacy : wallet -> Tezos_sapling__Forge.S.state -> int list -> Tezos_sapling.Forge.Core.UTXO.Legacy.transaction
Sourceval client_state_alpha : Tezos_raw_protocol_alpha__Alpha_context.context -> Tezos_protocol_alpha.Protocol.Alpha_context.Sapling.Id.t -> Tezos_sapling.Storage.state Tezos_base.TzPervasives.tzresult Lwt.t
OCaml

Innovation. Community. Security.