pchain_runtime/execution/mod.rs
1/*
2 Copyright © 2023, ParallelChain Lab
3 Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
4*/
5
6//! Implementation of state transition functions.
7//!
8//! The transition function basically [executes](execute) sequence of commands across [phases](phase):
9//! Pre-Charge -> Command(s) -> Charge. The Commands to execute includes [Account](account) Command,
10//! [Staking](staking) Command and [Protocol](protocol) Command.
11//! During execution of Account Command, [internal] transactions can happens inside a [contract] call.
12
13pub mod account;
14
15pub mod contract;
16
17pub mod execute;
18
19pub mod internal;
20
21pub mod staking;
22
23pub mod phase;
24
25pub mod protocol;
26
27pub mod state;