kleros/kleros-v2

View on GitHub
kleros-sdk/src/types/index.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { PublicClientConfig } from "viem";

export type SdkConfig = {
  client: PublicClientConfig;
};

type GetDisputeParametersOptions = {
  sdkConfig?: SdkConfig;
  additionalContext?: Record<string, any>;
};

export type GetDisputeParameters = {
  disputeId: bigint;
  coreSubgraph: string;
  dtrSubgraph: string;
  options?: GetDisputeParametersOptions;
};