package octez-protocol-alpha-libs

  1. Overview
  2. Docs
Octez protocol alpha libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

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__V1.Encoding.t -> 'a -> unit
Sourceval to_hex : 'a -> 'a Data_encoding__V1.Encoding.t -> string
Sourceval randomized_byte : ?pos:int -> 'a -> 'a Data_encoding__V1.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.