API ReferenceValidationFunction
checkVaultAllowance()
function checkVaultAllowance(ctx, params): Promise<ValidationIssue[]>;Checks whether a collateralizable contract has sufficient vault allowance for the required token amount.
Parameters
| Parameter | Type |
|---|---|
ctx | SDKContext |
params | VaultAllowanceCheckParams |
Returns
Promise<ValidationIssue[]>