isCementedPolicy(config, rulesEnginePolicyContract, policyId): Promise<boolean>

Retrieves whether a policy is cemented.

Parameters

ParameterTypeDescription
configConfig-
rulesEnginePolicyContractobjectThe contract instance for interacting with the Rules Engine Policy.
rulesEnginePolicyContract.abi(object | object)[]-
rulesEnginePolicyContract.address`0x${string}`-
policyIdnumberThe ID of the policy to check.

Returns

Promise<boolean>

whether or not the policy is cemented

Defined in

src/modules/policy.ts:817

isCementedPolicy(config, rulesEnginePolicyContract, policyId): Promise<boolean>

Retrieves whether a policy is cemented.

Parameters

ParameterTypeDescription
configConfig-
rulesEnginePolicyContractobjectThe contract instance for interacting with the Rules Engine Policy.
rulesEnginePolicyContract.abi(object | object)[]-
rulesEnginePolicyContract.address`0x${string}`-
policyIdnumberThe ID of the policy to check.

Returns

Promise<boolean>

whether or not the policy is cemented

Defined in

src/modules/policy.ts:817