it might be better for this method to accept the tokenInfos need rather than passing the list and having it search. ```typescript export async function calcTotalValueLockedForTerm( trancheInfo: PrincipalTokenInfo, balancerVaultAddress: string, ptPoolInfo: PoolInfo, ytPoolInfo: PoolInfo, // etc etc assetProxyTokenInfo: AssetProxyTokenInfo, signerOrProvider: Signer | Provider ): Promise<Money> { ``` _Originally posted by @jrhea in https://github.com/element-fi/elf-sdk/pull/37#discussion_r735995392_
it might be better for this method to accept the tokenInfos need rather than passing the list and having it search.
Originally posted by @jrhea in #37 (comment)