File tree Expand file tree Collapse file tree
packages/sdk/src/IonicSdk Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,14 +125,19 @@ export class IonicBase {
125125 address : this . chainDeployment . PoolLensSecondary . address as Address ,
126126 client : this . publicClient
127127 } ) ,
128- IonicLiquidator :
129- this . chainId === bob . id || this . chainId === lisk . id
130- ? ( { } as any )
131- : getContract ( {
132- abi : ionicUniV3LiquidatorAbi ,
133- address : this . chainDeployment . IonicUniV3Liquidator . address as Address ,
134- client : this . walletClient !
135- } ) ,
128+ IonicLiquidator : this . chainDeployment ?. IonicUniV3Liquidator ?. address
129+ ? getContract ( {
130+ abi : ionicUniV3LiquidatorAbi ,
131+ address : this . chainDeployment . IonicUniV3Liquidator . address as Address ,
132+ client : this . walletClient !
133+ } )
134+ : this . chainDeployment ?. IonicLiquidator ?. address
135+ ? getContract ( {
136+ abi : ionicLiquidatorAbi ,
137+ address : this . chainDeployment . IonicLiquidator . address as Address ,
138+ client : this . publicClient
139+ } )
140+ : ( { } as any ) ,
136141 FeeDistributor : getContract ( {
137142 abi : feeDistributorAbi ,
138143 address : this . chainDeployment . FeeDistributor . address as Address ,
You can’t perform that action at this time.
0 commit comments