UNPKG

kleros-escrow-data-service

Version:

Data service for interacting with Kleros Escrow

27 lines (26 loc) 580 B
/** * 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; multipleArbitrableTransactionEth?: ContractConfig; multipleArbitrableTransactionToken?: ContractConfig; arbitrator?: ContractConfig; ipfsGateway?: string; subgraphUrl?: string; }