Phoenix Integration StagingStaging
deposit
Ember deposit: converts the vault's input mint into the Phoenix-side output mint.
Accounts
| Account | Role | Description |
|---|---|---|
| glam_state | writable | `glam_state` account required by the `deposit` instruction (see program source for the full constraint). |
| glam_vault | writable | `glam_vault` account required by the `deposit` instruction (see program source for the full constraint). |
| glam_signer | signer, writable | `glam_signer` account required by the `deposit` instruction (see program source for the full constraint). |
| integration_authority | read-only | `integration_authority` account required by the `deposit` instruction (see program source for the full constraint). |
| cpi_program | read-only | `cpi_program` account required by the `deposit` instruction (see program source for the full constraint). |
| glam_protocol_program | read-only | `glam_protocol_program` account required by the `deposit` instruction (see program source for the full constraint). |
| system_program | read-only | `system_program` account required by the `deposit` instruction (see program source for the full constraint). |
| ember_state | read-only | `ember_state` account required by the `deposit` instruction (see program source for the full constraint). |
| input_mint | read-only | `input_mint` account required by the `deposit` instruction (see program source for the full constraint). |
| output_mint | writable | `output_mint` account required by the `deposit` instruction (see program source for the full constraint). |
| input_token_account | writable | `input_token_account` account required by the `deposit` instruction (see program source for the full constraint). |
| output_token_account | writable | `output_token_account` account required by the `deposit` instruction (see program source for the full constraint). |
| ember_vault | writable | `ember_vault` account required by the `deposit` instruction (see program source for the full constraint). |
| token_program | read-only | `token_program` account required by the `deposit` instruction (see program source for the full constraint). |
Arguments
| Argument | Type | Notes |
|---|---|---|
| deposit_params | DepositParams |
Policy & permissions
- Marinade integration must be enabled.
- Signer must be the GLAM owner or a delegate holding Marinade
Stakebefore depositing SOL for mSOL.