> ## Documentation Index
> Fetch the complete documentation index at: https://thrackle.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# isCallingContractAdmin

> **isCallingContractAdmin**(`config`, `rulesEngineAdminContract`, `callingContract`, `account`): `Promise`\<`boolean`>

Determine if address is the calling contract admin.

This function determines whether or not an address is the admin for a specific calling contract.

## Parameters

| Parameter                          | Type                                  | Description                                                         |
| ---------------------------------- | ------------------------------------- | ------------------------------------------------------------------- |
| `config`                           | `Config`                              | The configuration object containing network and wallet information. |
| `rulesEngineAdminContract`         | `object`                              | The contract instance containing the address and ABI                |
| `rulesEngineAdminContract.abi`     | (`object` \| `object` \| `object`)\[] | -                                                                   |
| `rulesEngineAdminContract.address` | \`0x\$\{string}\`                     | -                                                                   |
| `callingContract`                  | \`0x\$\{string}\`                     | The address of the contract to check the admin for.                 |
| `account`                          | \`0x\$\{string}\`                     | The address to check                                                |

## Returns

`Promise`\<`boolean`>

whether or not the address is the calling contract admin.

## Defined in

[src/modules/admin.ts:249](https://github.com/forte-service-company-ltd/forte-rules-engine-sdk/blob/5aad4d7c3c8cc91280e4449c17ac8ea31219fbed/src/modules/admin.ts#L249)
