isCementedPolicy(
config
,rulesEnginePolicyContract
,policyId
):Promise
<boolean
>
Retrieves whether a policy is cemented.
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}` | - |
policyId | number | The ID of the policy to check. |
Promise
<boolean
>
whether or not the policy is cemented
isCementedPolicy(
config
,rulesEnginePolicyContract
,policyId
):Promise
<boolean
>
Retrieves whether a policy is cemented.
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}` | - |
policyId | number | The ID of the policy to check. |
Promise
<boolean
>
whether or not the policy is cemented