Question about SPL Stake Pool + Squads v4

Question about SPL Stake Pool + Squads v4

Manage alerts

Loading saved threads...

blake · External communityPost link
External question — Solana Stack Exchange Author: blake Original post: https://solana.stackexchange.com/questions/24531 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. Question about SPL Stake Pool + Squads v4. I'm creating an SPL stake pool (20% epoch fee, all other fees 0) and want the manager role held by a Squads v4 vault with a 48h time lock, so fee changes can't happen instantly. Problem: SetManager needs both the current manager and the new manager to sign. The new manager is the vault PDA, which can only sign through a Squads vault transaction. Can a Squads vaultTransactionExecute include an extra outside signer (my current manager wallet) for the inner SetManager instruction? Or is there a better pattern, like creating the pool with the vault as manager from the start? Testing on devnet first. Thanks!
Quote
Report
Jon C · External communityPost link
External answer — Solana Stack Exchange Author: Jon C Original post: https://solana.stackexchange.com/a/24532 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I don't know enough about squads functionality, but I imagine it's possible to set an additional top-level signer for a transaction. I do know a bit about the stake pool program though! The stake pool program already enforces a wait time when updating most fees, so you can lean on that functionality and avoid the whole timelock: https://www.solana-program.com/docs/stake-pool/cli#set-fee Otherwise, it sounds like the easiest option would be to set the manager to your squads PDA right away.
Quote
Report

Post Reply

Quoted from Forex.com.bd-Editorial External question — Solana Stack Exchange Author: blake Source score (net votes, not local likes): 1 Original post: https://solana.stackexchange.com/questions/24531 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. Question about SPL Stake Pool + Squads v4. I'm creating an SPL stake pool (20% epoch fee, all other fees 0) and want the manager role held by a Squads v4 vault with a 48h time lock, so fee changes can't happen instantly. Problem: SetManager needs both the current manager and the new manager to sign. The new manager is the vault PDA, which can only sign through a Squads vault transaction. Can a Squads vaultTransactionExecute include an extra outside signer (my current manager wallet) for the inner SetManager instruction? Or is there a better pattern, like creating the pool with the vault as manager from the start? Testing on devnet first. Thanks!

Cancel quote

Checking account access…