import { Address , Bytes32 , UInt } from "../../../types/common" ; import * as ABIDecoder from "abi-decoder" ; import * as LogUtils from "./log_utils" ; export function LogDebtOfferCancelled ( contract , creditor , creditorCommitmentHash ) { return { address : contract , events : LogUtils . getParams ( [ [ "_creditor" , creditor ] , [ "_creditorCommitmentHash" , creditorCommitmentHash ] , ] ) , name : "LogDebtOfferCancelled" , } ; } export function LogDebtOfferFilled ( contract , creditor , creditorCommitmentHash , agreementId ) { return { address : contract , events : LogUtils . getParams ( [ [ "_creditor" , creditor ] , [ "_creditorCommitmentHash" , creditorCommitmentHash ] , [ "_agreementId" , agreementId ] , ] ) , name : "LogDebtOfferFilled" , } ; } export function LogError ( contract , errorId , creditor , creditorCommitmentHash ) { return { address : contract , events : LogUtils . getParams ( [ [ "_errorId" , errorId ] , [ "_creditor" , creditor ] , [ "_creditorCommitmentHash" , creditorCommitmentHash ] , ] , [ "uint8" , "address" , "bytes32" ] ) , name : "LogError" , } ; }