kleros-escrow-data-service
Version:
Data service for interacting with Kleros Escrow
25 lines (24 loc) • 493 B
TypeScript
/**
* Interface for provider configuration
*/
export interface ProviderConfig {
url: string;
networkId: number;
timeout?: number;
}
/**
* Interface for contract configuration
*/
export interface ContractConfig {
address: string;
abi: any;
}
/**
* Interface for service configuration
*/
export interface KlerosEscrowConfig {
provider: ProviderConfig;
multipleArbitrableTransaction?: ContractConfig;
arbitrator?: ContractConfig;
ipfsGateway?: string;
}