import { BigNumber } from "bignumber.js" ; import { DEFAULT_SEIZE_COLLATERAL_ARGS , SeizeCollateralScenario } from "./" ; const DEFAULT_UNSUCCESSFUL_SEIZE_ARGS = { succeeds : true , amortizationUnitType : new BigNumber ( 0 ) , termLengthUnits : new BigNumber ( 1 ) , secondsSinceFill : 60 * 60 * 2 , repaymentAmount : new BigNumber ( 0 ) , } ; export const SUCCESSFUL_SEIZE_COLLATERAL_SCENARIOS = [ { ... DEFAULT_SEIZE_COLLATERAL_ARGS , ... DEFAULT_UNSUCCESSFUL_SEIZE_ARGS , description : "when the loan is in default" , collateralId : new BigNumber ( 20 ) , } , { ... DEFAULT_SEIZE_COLLATERAL_ARGS , ... DEFAULT_UNSUCCESSFUL_SEIZE_ARGS , description : "when the collateral was a CryptoKitty" , isCryptoKitty : true , collateralId : new BigNumber ( 4 ) , } , ] ;