pub type GlobalState<Z> = GlobalStateSkeleton<<Z as ZkappApplication>::Ledger, <Z as ZkappApplication>::SignedAmount, <Z as ZkappApplication>::GlobalSlotSinceGenesis>;
Aliased Type§
pub struct GlobalState<Z> {
pub first_pass_ledger: <Z as ZkappApplication>::Ledger,
pub second_pass_ledger: <Z as ZkappApplication>::Ledger,
pub fee_excess: <Z as ZkappApplication>::SignedAmount,
pub supply_increase: <Z as ZkappApplication>::SignedAmount,
pub protocol_state: ProtocolStateView,
pub block_global_slot: <Z as ZkappApplication>::GlobalSlotSinceGenesis,
}
Fields§
§first_pass_ledger: <Z as ZkappApplication>::Ledger
§second_pass_ledger: <Z as ZkappApplication>::Ledger
§fee_excess: <Z as ZkappApplication>::SignedAmount
§supply_increase: <Z as ZkappApplication>::SignedAmount
§protocol_state: ProtocolStateView
§block_global_slot: <Z as ZkappApplication>::GlobalSlotSinceGenesis
Slot of block when the transaction is applied. NOTE: This is at least 1 slot after the protocol_state’s view, which is for the previous slot.