getForeignCallPermissionList(config, rulesEngineForeignCallContract, foreignCallAddress, functionSelector): Promise<`0x${string}`[]>
Retrieves the permission list for a permissioned foreign call.

Parameters

ParameterTypeDescription
configConfigThe configuration object containing network and wallet information.
rulesEngineForeignCallContractobjectAn object representing the Rules Engine Component Contract,
rulesEngineForeignCallContract.abi(object | object | object)[]-
rulesEngineForeignCallContract.address`0x${string}`-
foreignCallAddress`0x${string}`the address of the contract the foreign call belongs to.
functionSelectorstringThe selector for the specific foreign call

Returns

Promise<`0x${string}`[]> Array of addresses that make up the permission list

Throws

Will log an error to the console if the operation fails.

Defined in

src/modules/foreign-calls.ts:519