> ## Documentation Index
> Fetch the complete documentation index at: https://solana.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# SetNewAdmin

> Mentransfer hak admin ke dompet baru

Mentransfer hak admin ke dompet baru.

## Akun

| Akun                          | Dapat Ditulis | Penanda Tangan | Deskripsi                        |
| -------------------------------- | -------- | ------ | ---------------------------------- |
| `payer`                          | ✓        | ✓      | Pembayar biaya                          |
| `current_admin`                  |          | ✓      | Admin saat ini (harus menandatangani)          |
| `instance`                       | ✓        |        | Instance PDA (kolom admin diperbarui) |
| `new_admin`                      |          | ✓      | Dompet yang menerima hak admin     |
| `event_authority`                |          |        | PDA otoritas acara                |
| `private_channel_escrow_program` |          |        | Program Escrow                     |

Instruksi ini tidak memerlukan parameter.

## Catatan Penting

- **Tidak dapat dibalik dalam satu langkah**: admin saat ini tidak dapat mengambil kembali peran tersebut
  tanpa admin baru memanggil `SetNewAdmin` lagi
- Verifikasi alamat target sebelum memanggil; tidak ada fungsi batalkan
- Mengeluarkan event melalui CPI `EmitEvent`
