kleros-escrow-data-service
Version:
Data service for interacting with Kleros Escrow
24 lines (23 loc) • 1.22 kB
TypeScript
export * from "./types";
export * from "./services";
export * from "./actions";
export * from "./client/KlerosEscrowEthClient";
export * from "./client/KlerosEscrowTokenClient";
import { ethers } from "ethers";
import { KlerosEscrowConfig } from "./types/config";
import { KlerosEscrowEthClient } from "./client/KlerosEscrowEthClient";
import { KlerosEscrowTokenClient } from "./client/KlerosEscrowTokenClient";
/**
* Creates a Kleros Escrow ETH client for ETH transactions
* @param config The Kleros Escrow configuration
* @param signer Optional signer for write operations
* @returns A client for interacting with Kleros Escrow ETH transactions
*/
export declare function createKlerosEscrowEthClient(config: KlerosEscrowConfig, signer?: ethers.Signer): KlerosEscrowEthClient;
/**
* Creates a Kleros Escrow Token client for ERC20 token transactions
* @param config The Kleros Escrow configuration (must include multipleArbitrableTransactionToken)
* @param signer Optional signer for write operations
* @returns A client for interacting with Kleros Escrow Token transactions
*/
export declare function createKlerosEscrowTokenClient(config: KlerosEscrowConfig, signer?: ethers.Signer): KlerosEscrowTokenClient;