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
23 lines (22 loc) • 677 B
TypeScript
import { ethers, Signer } from 'ethers';
import { RPC } from '@providers';
/**
* @title Pool Contract
* @notice Contract wrapper for Evx Pool interactions
* @dev Provides methods to interact with a specific pool instance
*/
export declare class PoolContract {
instance: ethers.Contract;
rpc: RPC;
address: string;
/**
* @notice Creates a new pool contract instance
* @param address The address of the pool contract
*/
constructor(address: string);
/**
* @notice Sets the signer for pool contract interactions
* @param signer The signer to use for transactions
*/
setSigner(signer?: Signer | null): Promise<void>;
}