getAppliedPolicyIds(config, rulesEnginePolicyContract, address): Promise<number[]>

Retrieves the IDs of all of the policies that have been applied to a contract address.

Parameters

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

Returns

Promise<number[]>

array of all of the policy ids applied to the contract

Defined in

src/modules/policy.ts:561

getAppliedPolicyIds(config, rulesEnginePolicyContract, address): Promise<number[]>

Retrieves the IDs of all of the policies that have been applied to a contract address.

Parameters

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

Returns

Promise<number[]>

array of all of the policy ids applied to the contract

Defined in

src/modules/policy.ts:561