lib.rs 441 B

12345678910111213141516171819202122
  1. use bolt_lang::*;
  2. use component_small::Small;
  3. declare_id!("8KsdHMGdS4mQjpKFhc2PWBw2tyxwNbEKCnZLKp3riC5o");
  4. #[system]
  5. pub mod with_5_components {
  6. pub fn execute(_ctx: Context<Components>, _args_p: Vec<u8>) -> Result<()> {
  7. Ok(())
  8. }
  9. #[system_input]
  10. pub struct Components {
  11. pub small1: Small,
  12. pub small2: Small,
  13. pub small3: Small,
  14. pub small4: Small,
  15. pub small5: Small,
  16. }
  17. }