pub fn thread_create<'info>(
    ctx: CpiContext<'_, '_, '_, 'info, ThreadCreate<'info>>,
    amount: u64,
    id: Vec<u8>,
    instructions: Vec<SerializableInstruction>,
    trigger: Trigger
) -> Result<()>