@bandz/protocol-js
Version:
Bandz protocol data aggregation tool
31 lines (30 loc) • 994 B
TypeScript
import { InterestRate, tSmartBCHAddress, tStringCurrencyUnits } from '.';
export declare type WBCHDepositParamsType = {
lendingPool: tSmartBCHAddress;
user: tSmartBCHAddress;
amount: tStringCurrencyUnits;
onBehalfOf?: tSmartBCHAddress;
referralCode?: string;
};
export declare type WBCHWithdrawParamsType = {
lendingPool: tSmartBCHAddress;
user: tSmartBCHAddress;
amount: tStringCurrencyUnits;
aTokenAddress: tSmartBCHAddress;
onBehalfOf?: tSmartBCHAddress;
};
export declare type WBCHRepayParamsType = {
lendingPool: tSmartBCHAddress;
user: tSmartBCHAddress;
amount: tStringCurrencyUnits;
interestRateMode: InterestRate;
onBehalfOf?: tSmartBCHAddress;
};
export declare type WBCHBorrowParamsType = {
lendingPool: tSmartBCHAddress;
user: tSmartBCHAddress;
amount: tStringCurrencyUnits;
debtTokenAddress: tSmartBCHAddress;
interestRateMode: InterestRate;
referralCode?: string;
};