getForeignCallPermissionList(Retrieves the permission list for a permissioned foreign call.config
,rulesEngineForeignCallContract
,foreignCallAddress
,functionSelector
):Promise
<`0x${string}`[]>
Parameter | Type | Description |
---|---|---|
config | Config | The configuration object containing network and wallet information. |
rulesEngineForeignCallContract | object | An 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. |
functionSelector | string | The selector for the specific foreign call |
Promise
<`0x${string}`[]>
Array of addresses that make up the permission list