Skip to main content

InstantLoanEventType

@liquidium/client


@liquidium/client / InstantLoanEventType

Type Alias: InstantLoanEventType

InstantLoanEventType = { borrowAmount: bigint; borrowAsset: InstantLoanAsset; borrowDestination: InstantLoanAccount; borrowPoolId: string; collateralAsset: InstantLoanAsset; collateralPoolId: string; depositWindowSeconds: bigint; loanId: bigint; ltvMaxBps: bigint; profileId: string; refundDestination: InstantLoanAccount; type: "LoanCreated"; } | { account: InstantLoanAccount; loanId: bigint; poolId: string; type: "FullLendWithdrawalRequested"; } | { account: InstantLoanAccount; amount: bigint; loanId: bigint; poolId: string; type: "BorrowRequested"; } | { loanId: bigint; type: "DepositTimerExceeded"; } | { account: InstantLoanAccount; amount: bigint; leg: InstantLoanLeg; loanId: bigint; poolId: string; type: "StuckFundsWithdrawalRequested"; } | { derivationIndex: Uint8Array; ethAddress: string; profileId: string; type: "ProfileWarmed"; warmedProfileId: bigint; } | { loanId: bigint; profileId: string; type: "RepayComplete"; } | { loanId: bigint; timestamp: bigint; type: "DepositTimerStarted"; }

Defined in: external/liquidium-sdk/packages/client/src/modules/instant-loans/types.ts:178

Direct canister event payload returned by instant-loans event queries.