The Move transaction script to be executed
| 50 | #[derive(Debug, Clone)] |
| 51 | /// The Move transaction script to be executed |
| 52 | pub struct Script { |
| 53 | /// The source location for this script |
| 54 | pub loc: Loc, |
| 55 | /// The dependencies of `main`, i.e. of the transaction script |
| 56 | pub imports: Vec<ImportDefinition>, |
| 57 | /// Explicit declaration of dependencies. If not provided, will be inferred based on given |
| 58 | /// dependencies to the IR compiler |
| 59 | pub explicit_dependency_declarations: Vec<ModuleDependency>, |
| 60 | /// the constants that the module defines. Only a utility, the identifiers are not carried into |
| 61 | /// the Move bytecode |
| 62 | pub constants: Vec<Constant>, |
| 63 | /// The transaction script's `main` procedure |
| 64 | pub main: Function, |
| 65 | } |
| 66 | |
| 67 | //************************************************************************************************** |
| 68 | // Modules |
no outgoing calls