Mavkit_injector.Injector_common
type signer = {
alias : string;
pkh : Mavryk_base.TzPervasives.Signature.public_key_hash;
pk : Mavryk_base.TzPervasives.Signature.public_key;
sk : Mavryk_client_base.Client_keys.sk_uri;
}
The type of signers for operations injected by the injector
val get_signer :
Mavryk_client_base.Client_context.wallet ->
Mavryk_base.TzPervasives.Signature.public_key_hash ->
signer Mavryk_base.TzPervasives.tzresult Lwt.t
Retrieve a signer from the client wallet.
type fee_parameter = {
minimal_fees : mav;
minimal_nanomav_per_byte : Q.t;
minimal_nanomav_per_gas_unit : Q.t;
force_low_fee : bool;
fee_cap : mav;
burn_cap : mav;
}
fee parameters for each operation type
val fee_parameter_encoding :
default_fee_parameter:fee_parameter ->
fee_parameter Mavryk_base.TzPervasives.Data_encoding.t
fee_parameter_encoding default_parameter_encoding
generates the encoding using default value from default_fee_parameter