Private
borrowerPrivate
cdpProtected
sdkPrivate
zapPrivate
zapPrivate
#_Optional
message: anyRest
...optionalParams: any[]Private
_zapThe options for opening the CDP.
The method for opening the CDP.
Optional
overrides: Overrides & { Indicates whether the transaction is with ETH.
A promise that resolves to a ContractTransaction object.
Error if unable to generate permit.
Private
_zapExecutes the common logic for opening a CDP.
The options for opening the CDP.
The helper function for opening the CDP.
Optional
overrides: Overrides & { Flag to indicate if the transaction includes ETH. Defaults to false.
A promise that resolves to a ContractTransaction.
Open a CDP for eBTC
Open transaction parameters Note: value override must be provided to supply collateral for initial open
Transaction status of submitted open operation
Open a CDP for eBTC with Hint Helper
Open transaction parameters Note: value override must be provided to supply collateral for initial open
Transaction status of submitted open operation
Zaps leverage to open a CDP (Collateralized Debt Position).
The options for zapping leverage to open a CDP.
A promise that resolves to a TransactionStatus object.
Zaps leverage to open a CDP with ETH.
The options for opening a CDP with ETH.
A promise that resolves to a TransactionStatus object.
Zaps leverage to open a CDP with Wrapped Ether (WETH).
The options for zapping leverage to open a CDP.
A promise that resolves to a TransactionStatus object.
Zaps leverage and opens a CDP with Wrapped stETH (wstETH).
The options for zapping leverage and opening the CDP.
A promise that resolves to a TransactionStatus object.
Open CDP with stETH collateral Note: To use this method, you must first call approve on the zapRouter to authorize it to spend StETH
The options for opening the CDP.
A promise that resolves to a TransactionStatus object.
Opens a CDP (Collateralized Debt Position) with ETH.
The options for opening the CDP.
A promise that resolves to a TransactionStatus object.
Opens a CDP (Collateralized Debt Position) with wrapped Ether. Note: To use this method, you must first call approve on the zapRouter to authorize it to spend wETH
The options for opening the CDP.
A promise that resolves to a TransactionStatus object.
Opens a CDP (Collateralized Debt Position) with wrapped stETH. Note: To use this method, you must first call approve on the zapRouter to authorize it to spend wstETH
The options for opening the CDP.
A promise that resolves to a TransactionStatus object.
Generated using TypeDoc
Executes the common logic for opening a leveraged CDP with the Zap protocol.