Private
cdpProtected
sdkPrivate
#_Optional
message: anyRest
...optionalParams: any[]The address of the signer.
The address of the position manager.
The position manager approval.
The deadline for the permit.
The generated permit signature.
Converts a GeneratePermitResponse object to bytes using defaultAbiCoder.
The GeneratePermitResponse object containing the necessary parameters.
The converted bytes.
Returns the string representation of the given CDP status.
The CDP status to convert to a string.
The string representation of the given CDP status.
An error if the input is not a valid CDP status.
Generates a permit for ZAP transactions.
Optional
options: GeneratePermitOptionsOptional parameters for generating the permit.
A promise that resolves to a GeneratePermitResponse object.
Error if no signer is provided.
Generated using TypeDoc
Generates a permit signature for the Zap contract.