@aave/protocol-js
Version:
Aave protocol data aggregation tool
6 lines (5 loc) • 531 B
TypeScript
import { EthereumTransactionTypeExtended, tEthereumAddress, tStringCurrencyUnits, tStringDecimalUnits } from '../types';
export default interface BaseDebtTokenInterface {
approveDelegation: (user: tEthereumAddress, delegatee: tEthereumAddress, debtTokenAddress: tEthereumAddress, amount: tStringDecimalUnits) => EthereumTransactionTypeExtended;
isDelegationApproved: (debtTokenAddress: tEthereumAddress, allowanceGiver: tEthereumAddress, spender: tEthereumAddress, amount: tStringCurrencyUnits) => Promise<boolean>;
}