Skip to content

Conversation

@joebuild
Copy link

@joebuild joebuild commented May 31, 2024

Add an authorized delegate for evicting traders who have no locked funds. The authorized delegate is based on the seat_manager_authority key, we create a PDA derived from: seat_manager_authority + delegate. If the PDA exists, then the delegate has permissions.

The core permission logic is here:
Screenshot 2024-06-04 at 5 44 35 PM

@joebuild joebuild force-pushed the joe/eviction-authorized-delegate branch from 07de726 to 6313918 Compare June 3, 2024 21:21
@jarry-xiao jarry-xiao changed the title [WIP] Seat eviction: authorized delegate Seat eviction: authorized delegate Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants