Skip to content

API ReferenceValidationFunction

checkVaultAllowance()

function checkVaultAllowance(ctx, params): Promise<ValidationIssue[]>;

Checks whether a collateralizable contract has sufficient vault allowance for the required token amount.

Parameters

ParameterType
ctxSDKContext
paramsVaultAllowanceCheckParams

Returns

Promise<ValidationIssue[]>