UNPKG

@safient/contracts

Version:

JavaScript SDK to manage and interact with the safe claims on Safient protocol.

31 lines 879 B
import { Signer } from '../types/Types'; /** * This class implements an interface to interact with the arbitrator contract * to fetch the arbitration details */ export declare class Arbitrator { /** @ignore */ private signer; /** @ignore */ private arbitratorABI; /** @ignore */ private arbitratorAddress; /** @ignore */ private logger; /** @ignore */ private contract; /** * Arbitrator Constructor * @param signer - Signer object * @param chainId - Provider chainId */ constructor(signer: Signer, chainId: number); /** * This function returns the arbitration fee * @returns The arbitration fee in ETH */ getArbitrationFee: () => Promise<number>; /** @ignore */ giveRulingCall: (disputeId: number, ruling: number) => Promise<boolean>; } //# sourceMappingURL=Arbitrator.d.ts.map