You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[account(0, writable, name = "seat_manager", desc = "This account holds the seat manager state")]
117
117
#[account(1, signer, name = "seat_manager_authority", desc = "The seat manager authority must sign to renounce the seat manager authority")]
118
118
ConfirmRenounceSeatManagerAuthority = 11,
119
+
120
+
/// AddApprovedEvictor
121
+
#[account(0, signer, name = "seat_manager_authority", desc = "The seat manager authority must sign to add an authorized delegate for eviction")]
122
+
#[account(1, name = "authorized_delegate")]
123
+
#[account(2, name = "authorized_delegate_pda")]
124
+
#[account(3, name = "system_program", desc = "System program")]
125
+
AddApprovedEvictor = 12,
126
+
127
+
/// RemoveApprovedEvictor
128
+
#[account(0, signer, name = "seat_manager_authority", desc = "The seat manager authority must sign to remove an authorized delegate for eviction")]
129
+
#[account(1, name = "authorized_delegate")]
130
+
#[account(2, name = "authorized_delegate_pda")]
131
+
#[account(3, name = "system_program", desc = "System program")]
132
+
RemoveApprovedEvictor = 13,
133
+
134
+
/// Evict Seat
135
+
#[account(0, name = "phoenix_program", desc = "Phoenix program")]
136
+
#[account(1, name = "log_authority", desc = "Phoenix log authority")]
137
+
#[account(2, writable, name = "market", desc = "This account holds the market state")]
138
+
#[account(3, writable, name = "seat_manager", desc = "The seat manager account must sign to evict a seat")]
139
+
#[account(4, writable, name = "seat_deposit_collector", desc = "Collects deposits for claiming new seats and refunds for evicting seats")]
140
+
#[account(5, name = "base_mint")]
141
+
#[account(6, name = "quote_mint")]
142
+
#[account(7, writable, name = "base_vault")]
143
+
#[account(8, writable, name = "quote_vault")]
144
+
#[account(9, name = "associated_token_account_program", desc = "Associated token account program")]
145
+
#[account(10, name = "token_program", desc = "Token program")]
146
+
#[account(11, name = "system program", desc = "System program to handle refund transfers")]
147
+
#[account(12, signer, name = "signer")]
148
+
#[account(13, name = "authorized_delegate_pda")]
149
+
// There can be multiple traders, so the following pattern can be repeated indefinitely
150
+
#[account(14, writable, name = "trader")]
151
+
#[account(15, name = "seat", desc = "The trader's PDA seat account, seeds are [b'seat', market_address, trader_address]")]
152
+
#[account(16, writable, name = "base_account", desc = "The trader's associated token account for the base mint")]
153
+
#[account(17, writable, name = "quote_account", desc = "The trader's associated token account for the quote mint")]
154
+
#[account(18, writable, name = "base_account_backup", desc = "Non-ATA token account for the base mint, in case the ATA owner is no longer the trader")]
155
+
#[account(19, writable, name = "quote_account_backup", desc = "Non-ATA token account for the quote mint, in case the ATA owner is no longer the trader")]
0 commit comments