fuels_programs/calls.rs
1mod call_handler;
2mod contract_call;
3pub mod receipt_parser;
4mod script_call;
5pub mod traits;
6pub mod utils;
7
8pub use call_handler::*;
9pub use contract_call::*;
10pub use script_call::*;
11
12/// Used to control simulations/dry-runs
13#[derive(Debug, Clone, Default)]
14pub enum Execution {
15 /// The transaction will be subject to all validations -- the tx fee must be covered, witnesses
16 /// and UTXOs must be valid, etc.
17 #[default]
18 Realistic,
19 /// Most validation is disabled. Witnesses are replaced with fake ones, fake base assets are
20 /// added if necessary. Useful for fetching state without needing an account with base assets.
21 StateReadOnly,
22}