Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Common end
val memo_size_of_int :
int ->
Tezos_protocol_alpha.Protocol.Alpha_context.Sapling.Memo_size.t
val int_of_memo_size :
Tezos_protocol_alpha.Protocol.Alpha_context.Sapling.Memo_size.t ->
int
val wrap :
'a Tezos_protocol_alpha.Protocol.Environment.Error_monad.tzresult ->
('a, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val print : ?prefix:string -> 'a Data_encoding.Encoding.t -> 'a -> unit
val to_hex : 'a -> 'a Data_encoding.Encoding.t -> string
val randomized_byte : ?pos:int -> 'a -> 'a Data_encoding.Encoding.t -> 'a
val wallet_gen : unit -> wallet
val gen_addr :
int ->
Tezos_sapling.Core.Client.Viewing_key.t ->
Tezos_sapling.Core.Client.Viewing_key.address list
val gen_nf : unit -> Tezos_sapling.Core.Client.Nullifier.t
val gen_cm_cipher :
memo_size:int ->
unit ->
Tezos_sapling.Core.Client.Commitment.t
* Tezos_sapling.Core.Client.Ciphertext.t
val 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
val init :
unit ->
(Block.t
* Tezos_crypto.Signature.public_key_hash
* Tezos_protocol_alpha.Protocol.Alpha_context.Contract.t
* Tezos_protocol_alpha.Protocol.Alpha_context.Contract.t,
Tezos_error_monad.TzCore.error list)
Stdlib.result
Lwt.t
val toplevel_from_string :
string ->
Tezos_protocol_alpha.Protocol.Alpha_context.Script.expr
val expression_from_string :
string ->
Tezos_protocol_alpha.Protocol.Alpha_context.Script.expr
val originate_contract :
string ->
string ->
Tezos_protocol_alpha.Protocol.Alpha_context.Contract.contract ->
Block.t ->
Tezos_protocol_alpha.Protocol.Alpha_context.public_key_hash ->
(Tezos_protocol_alpha.Protocol.Alpha_context.Contract.contract
* Block.t
* string,
Tezos_error_monad.TzCore.error list)
Stdlib.result
Lwt.t
val hex_shield : memo_size:int -> wallet -> string -> string
val transac_and_sync :
memo_size:int ->
Block.t ->
Tezos_protocol_alpha.Protocol.Alpha_context.Script.lazy_expr ->
int ->
Tezos_protocol_alpha.Protocol.Alpha_context.Contract.t ->
Tezos_protocol_alpha.Protocol.Alpha_context.Contract.t ->
Tezos_protocol_alpha.Protocol.Alpha_context.public_key_hash ->
(Block.t
* Tezos_protocol_alpha.Protocol.Alpha_context.context
* Tezos_sapling.Storage.state,
Tezos_error_monad.TzCore.error list)
Stdlib.result
Lwt.t
val shield :
memo_size:int ->
Tezos_sapling.Forge.Core.Spending_key.t ->
int ->
Tezos_sapling.Core.Wallet.Viewing_key.t ->
(string -> 'a) ->
string ->
'a list * int
val next_block :
Block.t ->
Tezos_protocol_alpha.Protocol.Alpha_context.Operation.packed ->
(Block.t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t