getAppliedPolicyIds(
config
,rulesEnginePolicyContract
,address
):Promise
<number
[]>
Retrieves the IDs of all of the policies that have been applied to a contract address.
Parameter | Type | Description |
---|---|---|
config | Config | - |
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. |
Promise
<number
[]>
array of all of the policy ids applied to the contract
getAppliedPolicyIds(
config
,rulesEnginePolicyContract
,address
):Promise
<number
[]>
Retrieves the IDs of all of the policies that have been applied to a contract address.
Parameter | Type | Description |
---|---|---|
config | Config | - |
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. |
Promise
<number
[]>
array of all of the policy ids applied to the contract