package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

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 wrap : 'a Tezos_protocol_alpha.Environment.Error_monad.tzresult -> 'a Tezos_base.TzPervasives.tzresult Lwt.t
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.tztrace) result 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.tztrace) result Lwt.t
OCaml

Innovation. Community. Security.