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

Class Initialize

programs/registry/src/context.rs:17–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16#[derive(Accounts)]
17pub struct Initialize<'info>{
18 #[account(mut)]
19 pub payer: Signer<'info>,
20 pub system_program: Program<'info, System>,
21
22 #[account(
23 init,
24 payer=payer,
25 seeds=[b"registry_signer"],
26 bump,
27 space=8+RegistryConfig::get_max_size() as usize
28 )]
29 pub registry_config: Account<'info, RegistryConfig>,
30}
31
32#[derive(Accounts)]
33pub struct InstanceRegistry<'info>{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected