Skip to main content
4 events
when toggle format what by license comment
Jul 26, 2022 at 16:33 comment added Henry E This sounds like a different question. You need to understand what the different structs are and what they are for so that you can change existing code to suit your own needs
Jul 26, 2022 at 15:01 comment added Dylan Molina Very clear and helpful answer! I just wanted to ask what you would put in place of Example if my program account is called BaseAccount? I've already defined this account as pub struct BaseAccount with the macro #[account] so should I write this in a separate #[derive(Accounts)] macro with the same exact struct name as the one under #[account]?
Jul 21, 2022 at 12:20 vote accept TovarishFin
Jul 21, 2022 at 10:35 history answered Henry E CC BY-SA 4.0