getAppliedPolicyIds(Retrieves the IDs of all of the policies that have been applied to a contract address.config,rulesEnginePolicyContract,address):Promise<number[]>
Parameters
| Parameter | Type | Description |
|---|---|---|
config | Config | The configuration object containing network and wallet information. |
rulesEnginePolicyContract | object | The contract instance for interacting with the Rules Engine Policy. |
rulesEnginePolicyContract.abi | (object | object)[] | - |
rulesEnginePolicyContract.address | `0x${string}` | - |
address | string | The address to check. |
Returns
Promise<number[]>
array of all of the policy ids applied to the contract