import type { AddressLike } from '@enzymefinance/ethers' ; import type { SignerWithAddress } from '@enzymefinance/hardhat' ; import type { ComptrollerLib , IntegrationManager } from '@enzymefinance/protocol' ; import { addTrackedAssetsToVaultArgs , IntegrationManagerActionId , removeTrackedAssetsFromVaultArgs , } from '@enzymefinance/protocol' ; export function addTrackedAssetsToVault ( { signer , comptrollerProxy , integrationManager , assets , } ) { return comptrollerProxy . connect ( signer ) . callOnExtension ( integrationManager , IntegrationManagerActionId . AddTrackedAssetsToVault , addTrackedAssetsToVaultArgs ( { assets } ) ) ; } export function removeTrackedAssetsFromVault ( { signer , comptrollerProxy , integrationManager , assets , } ) { return comptrollerProxy . connect ( signer ) . callOnExtension ( integrationManager , IntegrationManagerActionId . RemoveTrackedAssetsFromVault , removeTrackedAssetsFromVaultArgs ( { assets } ) ) ; }