Documentation Index
Fetch the complete documentation index at: https://thrackle.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
proposeNewPolicyAdmin(Propose a new admin in the rules engine admin contract. This function proposes a new admin for a specific policy.config,rulesEngineAdminContract,policyId,newAdminAddress):Promise<void>
Parameters
| Parameter | Type | Description |
|---|---|---|
config | Config | The configuration object containing network and wallet information. |
rulesEngineAdminContract | object | The contract instance containing the address and ABI |
rulesEngineAdminContract.abi | (object | object | object)[] | - |
rulesEngineAdminContract.address | `0x${string}` | - |
policyId | number | The ID of the policy to set the admin for. |
newAdminAddress | `0x${string}` | The address to propose as the new admin |
Returns
Promise<void>
A promise