Type alias CrossCurrencyRenegotiationQuote
CrossCurrencyRenegotiationQuote: Readonly<{
borrower: Address;
previousContract: Address;
replacementContract: Address;
purchaseBundler: Address;
positionMigrator: Address;
loanId: bigint;
loanHash: Hex;
executionHash: Hex;
oldCurrency: Address;
newCurrency: Address;
repaymentAmount: bigint;
oldCurrencyApprovalAmount: bigint;
quotedInput: bigint;
maximumInput: bigint;
premiumBps: bigint;
premium: bigint;
maximumFlashRepayment: bigint;
newPrincipal: bigint;
originationFee: bigint;
replacementProtocolFeeBps: bigint;
netNewPrincipal: bigint;
maximumTopUp: bigint;
minimumSurplus: bigint;
slippageBps: bigint;
deadline: bigint;
blockNumber: bigint;
}>
Type declaration
-
borrower: Address
-
previousContract: Address
-
replacementContract: Address
-
purchaseBundler: Address
-
positionMigrator: Address
-
loanId: bigint
-
loanHash: Hex
-
executionHash: Hex
-
oldCurrency: Address
-
newCurrency: Address
-
repaymentAmount: bigint
-
oldCurrencyApprovalAmount: bigint
-
quotedInput: bigint
-
maximumInput: bigint
-
premiumBps: bigint
-
premium: bigint
-
maximumFlashRepayment: bigint
-
newPrincipal: bigint
-
originationFee: bigint
-
replacementProtocolFeeBps: bigint
-
netNewPrincipal: bigint
-
maximumTopUp: bigint
-
minimumSurplus: bigint
-
slippageBps: bigint
-
deadline: bigint
-
blockNumber: bigint
A short-lived quote; repayment and old-currency approval use oldCurrency units.