UNPKG

@volare.finance/volare.js

Version:
18 lines (17 loc) 565 B
/** * @file whitelist.ts * @author astra <astra@volare.finance> * @date 2022 */ import { Address, Provider } from '@volare.finance/utils.js'; import { ContractInterface } from 'ethers'; export declare class Whitelist extends Provider { static ABI(): ContractInterface; constructor(address: Address, endpoint: string); /** * @notice check if an vToken is whitelisted * @param vTokenAddress vToken address * @return boolean, True if the vToken is whitelisted */ isWhitelistedVToken(vTokenAddress: Address): Promise<boolean>; }