fix(stablecoin): require controller initialization signer

This commit is contained in:
Ricardo Guilherme Schmidt
2026-07-03 09:42:45 -03:00
parent 5626f3af76
commit 7e4e9eeaf0
5 changed files with 41 additions and 6 deletions
@@ -130,6 +130,7 @@ mod stablecoin {
ctx: ProgramContext,
#[account(init)]
controller: AccountWithMetadata,
#[account(signer)]
stablecoin_definition: AccountWithMetadata,
price_feed: AccountWithMetadata,
collateral_definition_id: AccountId,