renounceForeignCallAdminRole(Defined in: src/modules/admin.ts:225 Renounce a foreign call admin in the rules engine admin contract. This function renounces an admin for a specific policy.config,rulesEngineAdminContract,foreignCallContract,functionSignature,renounceAddress,confirmationCount):Promise<void>
Parameters
| Parameter | Type | Description |
|---|---|---|
config | Config | - |
rulesEngineAdminContract | { abi: ({ anonymous: undefined; inputs: object[]; name: string; outputs: object[]; stateMutability: string; type: string; } | { anonymous: boolean; inputs: object[]; name: string; outputs: undefined; stateMutability: undefined; type: string; } | { anonymous: undefined; inputs: object[]; name: string; outputs: undefined; stateMutability: undefined; type: string; })[]; address: `0x${string}`; } | The contract instance containing the address and ABI |
rulesEngineAdminContract.abi | ({ anonymous: undefined; inputs: object[]; name: string; outputs: object[]; stateMutability: string; type: string; } | { anonymous: boolean; inputs: object[]; name: string; outputs: undefined; stateMutability: undefined; type: string; } | { anonymous: undefined; inputs: object[]; name: string; outputs: undefined; stateMutability: undefined; type: string; })[] | - |
rulesEngineAdminContract.address | `0x${string}` | - |
foreignCallContract | `0x${string}` | The address of the foreign call to renounce admin for. |
functionSignature | string | - |
renounceAddress | `0x${string}` | The address to renounce as the admin |
confirmationCount | number | - |
Returns
Promise<void>
A promise