| 143 | #[derive(Accounts)] |
| 144 | #[instruction(components: Vec<(Pubkey, Vec<u8>)>)] |
| 145 | pub struct ModifyComponent<'info> { |
| 146 | #[account(mut)] |
| 147 | pub entity: Account<'info, Entity>, |
| 148 | |
| 149 | // Only the Entity's registry can make changes to the Entity |
| 150 | #[account( |
| 151 | owner = entity.registry.key() |
| 152 | )] |
| 153 | pub registry_signer: Signer<'info> |
| 154 | } |
| 155 | |
| 156 | #[derive(Accounts)] |
| 157 | pub struct RemoveEntity<'info>{ |
nothing calls this directly
no outgoing calls
no test coverage detected