pub fn thread_create(
ctx: Context<'_, ThreadCreate<'_>>,
amount: u64,
id: ThreadId,
trigger: Trigger,
paused: Option<bool>,
instruction: Option<SerializableInstruction>,
priority_fee: Option<u64>,
lookup_tables: Vec<Pubkey>,
) -> Result<()>