Skip to content

require owner signature for shutdown and strategy execution#39

Open
mooncitydev wants to merge 1 commit into
stabbleorg:mainfrom
mooncitydev:fix-owner-auth-for-shutdown-and-strategy
Open

require owner signature for shutdown and strategy execution#39
mooncitydev wants to merge 1 commit into
stabbleorg:mainfrom
mooncitydev:fix-owner-auth-for-shutdown-and-strategy

Conversation

@mooncitydev

Copy link
Copy Markdown

summary

  • change both weighted and stable shutdown account constraints to require owner as a signer, removing a permissionless path that could close pool state
  • change stable exec_strategy to require owner: Signer and pool ownership, so only pool owner can trigger amp ramp updates
  • wire sdk execStrategy account mapping to include owner for compatibility with the on-chain auth fix

test plan

  • cargo check (blocked in this windows environment by linker/toolchain setup: link.exe argument handling issue before crate compilation completes)
  • ReadLints on edited files reports no diagnostics

close permissionless paths on stable and weighted shutdown, and lock stable strategy execution to the pool owner so third parties cannot trigger sensitive state changes.
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.

1 participant