magic-domain-program 0.3.0

Domain registration program for Ephemeral Rollups
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use borsh::{BorshDeserialize, BorshSerialize};
use solana_program::pubkey::Pubkey;
use sync::SyncInstruction;

use crate::state::record::ErRecord;

pub mod sync;
pub mod version;

/// Supported program instructions
#[derive(BorshSerialize, BorshDeserialize)]
pub enum Instruction {
    Register(ErRecord),
    Unregister(Pubkey),
    Sync(SyncInstruction),
}