package octez-protocol-alpha-libs
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Octez protocol alpha libraries
Install
dune-project
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/State/index.html
Module Tezos_alpha_test_helpers.StateSource
Source
type t = {account_map : State_account.account_map;total_supply : Tezos_alpha_test_helpers.State_account.Tez.t;constants : Tezos_protocol_alpha.Protocol.Alpha_context.Constants.Parametric.t;param_requests : (string * Adaptive_issuance_helpers.staking_parameters * int) list;force_ai_vote_yes : bool;baking_policy : Block.baker_policy option;last_level_rewards : Tezos_protocol_alpha.Protocol.Alpha_context.Raw_level.t;snapshot_balances : (string * State_account.balance) list Tezos_base.TzPervasives.String.Map.t;saved_rate : Q.t option;burn_rewards : bool;pending_operations : Tezos_protocol_alpha.Protocol.Alpha_context.packed_operation list;pending_slashes : (Tezos_base.TzPervasives.Signature.Public_key_hash.t * Tezos_protocol_alpha.Protocol.Denunciations_repr.item) list;double_signings : double_signing_state list;ai_activation_cycle : Tezos_protocol_alpha.Protocol.Alpha_context.Cycle.t option;force_attest_all : bool;
}Type of the state
Expected number of cycles before staking unstaked funds get unfrozen
From a name, returns the corresponding account
Source
val find_account_from_pkh :
Tezos_base.TzPervasives.Signature.public_key_hash ->
t ->
string * State_account.account_stateSource
val liquid_delegated :
name:Tezos_base.TzPervasives.String.t ->
t ->
(Tezos_alpha_test_helpers.State_account.Tez.t,
Tezos_base.TzPervasives.tztrace)
resultSource
val update_map :
?log_updates:Tezos_base.TzPervasives.String.t list ->
f:(State_account.account_map -> State_account.account_map) ->
t ->
tSource
val update_map_es :
?log_updates:Tezos_base.TzPervasives.String.t list ->
f:
(State_account.account_map ->
State_account.account_map Tezos_base.TzPervasives.tzresult Lwt.t) ->
t ->
t Tezos_base.TzPervasives.tzresult Lwt.tSource
val apply_burn :
Tezos_alpha_test_helpers.State_account.Tez.t ->
Tezos_base.TzPervasives.String.Map.key ->
t ->
tSource
val apply_transfer :
Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t ->
Tezos_base.TzPervasives.String.Map.key ->
Tezos_base.TzPervasives.String.Map.key ->
t ->
tSource
val apply_stake :
Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t ->
Tezos_alpha_test_helpers.State_account.Cycle.cycle ->
Tezos_base.TzPervasives.String.Map.key ->
t ->
tSource
val apply_unstake :
Tezos_alpha_test_helpers__Tez_staking_helpers.Cycle.t ->
Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t ->
Tezos_base.TzPervasives.String.Map.key ->
t ->
tSource
val apply_unslashable :
Tezos_alpha_test_helpers.State_account.Cycle.cycle ->
Tezos_base.TzPervasives.String.Map.key ->
t ->
tGiven an account name and new account state, updates state accordingly Preferably use other specific update functions
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>