Phoenix Integration StagingStaging
register_trader
Initializes a Phoenix trader account (parent or child subaccount) owned by the vault.
Accounts
| Account | Role | Description |
|---|---|---|
| glam_state | writable | `glam_state` account required by the `register_trader` instruction (see program source for the full constraint). |
| glam_vault | writable | `glam_vault` account required by the `register_trader` instruction (see program source for the full constraint). |
| glam_signer | signer, writable | `glam_signer` account required by the `register_trader` instruction (see program source for the full constraint). |
| integration_authority | read-only | `integration_authority` account required by the `register_trader` instruction (see program source for the full constraint). |
| cpi_program | read-only | `cpi_program` account required by the `register_trader` instruction (see program source for the full constraint). |
| glam_protocol_program | read-only | `glam_protocol_program` account required by the `register_trader` instruction (see program source for the full constraint). |
| system_program | read-only | `system_program` account required by the `register_trader` instruction (see program source for the full constraint). |
| log_authority | read-only | `log_authority` account required by the `register_trader` instruction (see program source for the full constraint). |
| global_config | read-only | `global_config` account required by the `register_trader` instruction (see program source for the full constraint). |
| trader_account | writable | `trader_account` account required by the `register_trader` instruction (see program source for the full constraint). |
Arguments
| Argument | Type | Notes |
|---|---|---|
| args | RegisterTraderParams |