package tezos-protocol-010-PtGRANAD

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type Tezos_protocol_environment_010_PtGRANAD__Environment.Error_monad.error +=
  1. | Cannot_pay_storage_fee
type Tezos_protocol_environment_010_PtGRANAD__Environment.Error_monad.error +=
  1. | Operation_quota_exceeded
type Tezos_protocol_environment_010_PtGRANAD__Environment.Error_monad.error +=
  1. | Storage_limit_too_high
val origination_burn : Raw_context.t -> (Raw_context.t * Tez_repr.t, Tezos_protocol_environment_010_PtGRANAD__Environment.Error_monad.error Tezos_protocol_environment_010_PtGRANAD__Environment.Error_monad.trace) Stdlib.result

Does not burn, only adds the burn to storage space to be paid

val record_paid_storage_space : Raw_context.t -> Contract_repr.t -> (Raw_context.t * Z.t * Z.t * Tez_repr.t, Tezos_protocol_environment_010_PtGRANAD__Environment.Error_monad.error Tezos_protocol_environment_010_PtGRANAD__Environment.Error_monad.trace) Stdlib.result Lwt.t

The returned Tez quantity is for logging purpose only

val record_paid_storage_space_subsidy : Raw_context.t -> Contract_repr.t -> (Raw_context.t * Z.t * Z.t, Tezos_protocol_environment_010_PtGRANAD__Environment.Error_monad.error Tezos_protocol_environment_010_PtGRANAD__Environment.Error_monad.trace) Stdlib.result Lwt.t

Record paid storage space for contract without burn. For use only in subsidies. Will fail if storage_space_to_pay has been initialized.

val check_storage_limit : Raw_context.t -> storage_limit:Z.t -> (unit, Tezos_protocol_environment_010_PtGRANAD__Environment.Error_monad.error Tezos_protocol_environment_010_PtGRANAD__Environment.Error_monad.trace) Stdlib.result
val start_counting_storage_fees : Raw_context.t -> Raw_context.t
val burn_storage_fees : Raw_context.t -> storage_limit:Z.t -> payer:Contract_repr.t -> (Raw_context.t, Tezos_protocol_environment_010_PtGRANAD__Environment.Error_monad.error Tezos_protocol_environment_010_PtGRANAD__Environment.Error_monad.trace) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.