Skip to main content
updateCallingFunction(config, rulesEngineComponentContract, policyId, callingFunction, name, encodedValues, confirmationCount): Promise<{ functionId: number; transactionHash: `0x${string}`; }>
Defined in: src/modules/calling-functions.ts:115 Updates a Calling Function in the rules engine component contract.

Parameters

Returns

Promise<{ functionId: number; transactionHash: `0x${string}`; }> A promise that resolves to the result of the contract interaction, or -1 if unsuccessful.

Throws

Will retry indefinitely on contract interaction failure, with a delay between attempts.