import { CreatedPdaAccount, PubkeyUtil } from '@saturnbtcio/arch-sdk'; import { createNewAccount } from '../../account/pda-finder'; import { PdaType } from '../../account/pda-type'; import { IArchProvider } from '../../providers/arch.provider'; export const createAccountsForInitializeProtocol = ( programAccount: string, archProvider: IArchProvider, ) => { const accounts: Promise[] = []; // Create config pool account accounts.push( createNewAccount( { pdaType: PdaType.Protocol, programId: PubkeyUtil.fromHex(programAccount), }, archProvider, ), ); return accounts; };