let seeds = &[
b"some_seed",
&ctx.accounts.some_account.key().to_bytes(),
&[bump],
];
let signer_seeds = &[&seeds[..]];
let authority_bump = ctx.bumps.pool_authority;
let authority_seeds = &[
&ctx.accounts.pool.amm.to_bytes(),
&ctx.accounts.mint_a.key().to_bytes(),
&ctx.accounts.mint_b.key().to_bytes(),
AUTHORITY_SEED,
&[authority_bump],
];
let signer_seeds = &[&authority_seeds[..]];