getDeployOptions

Returns the names of all available modules.

Parameters:

(factoryType?: FactoryType = 'default')

Returns: an object with the following properties

{
    fundingManager: RequestedModule<'fundingManager'>[]
    authorizer: RequestedModule<'authorizer'>[]
    paymentProcessor: RequestedModule<'paymentProcessor'>[]
    optionalModules: RequestedModule<'optionalModule'>[]
}

Example:

import { getDeployOptions } from '@inverter-network/sdk'

const {
    fundingManager,
    authorizer,
    paymentProcessor,
    optionalModules
} = getDeployOptions()

Last updated