Tezos_alpha_test_helpers.StateSourcetype 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
val find_account_from_pkh :
Tezos_base.TzPervasives.Signature.public_key_hash ->
t ->
string * State_account.account_stateval liquid_delegated :
name:Tezos_base.TzPervasives.String.t ->
t ->
(Tezos_alpha_test_helpers.State_account.Tez.t,
Tezos_base.TzPervasives.tztrace)
resultval update_map :
?log_updates:Tezos_base.TzPervasives.String.t list ->
f:(State_account.account_map -> State_account.account_map) ->
t ->
tval 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.tval apply_burn :
Tezos_alpha_test_helpers.State_account.Tez.t ->
Tezos_base.TzPervasives.String.Map.key ->
t ->
tval apply_transfer :
Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t ->
Tezos_base.TzPervasives.String.Map.key ->
Tezos_base.TzPervasives.String.Map.key ->
t ->
tval 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 ->
tval 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 ->
tval 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