evx-sdk
Version:
The Evx SDK is a developer toolkit designed to simplify interaction with the Evx decentralized liquidity protocol. It provides an abstraction layer over the smart contracts, allowing developers to easily build applications, integrate liquidity pools, fetc
15 lines (14 loc) • 407 B
TypeScript
import { JsonRpcProvider } from 'ethers';
/**
* @title RPC Provider Interface
* @notice Interface for RPC provider management
* @dev Defines the contract for RPC provider implementations
*/
export interface IRPC {
provider: JsonRpcProvider | null;
/**
* @notice Sets a new RPC provider URL
* @param newRPC The new RPC URL to connect to
*/
setProvider(newRPC: string): void;
}