MCPcopy Create free account
hub / github.com/JumpCrypto/sol-arc / ModifyComponent

Class ModifyComponent

programs/core-ds/src/context.rs:145–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143#[derive(Accounts)]
144#[instruction(components: Vec<(Pubkey, Vec<u8>)>)]
145pub 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)]
157pub struct RemoveEntity<'info>{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected