Skip to content

Commit e9a1db7

Browse files
committed
fix: update create2 deploy of llamathena
1 parent 623f04c commit e9a1db7

File tree

2 files changed

+26
-12
lines changed

2 files changed

+26
-12
lines changed

src/services/liquidate/LiquidationStrategyLlamaThena.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default class LiquidationStrategyLlamaThena
5656
@Logger("LlamaThenaStrategy")
5757
logger!: ILogger;
5858

59-
public readonly name = "LlamaThena";
59+
public readonly name = "llamathena";
6060

6161
#liquidator: Address | undefined;
6262

@@ -65,7 +65,7 @@ export default class LiquidationStrategyLlamaThena
6565
const { address } = await deployer.ensureExists({
6666
abi: LlamaThenaLiquidatorJson.abi,
6767
bytecode: LlamaThenaLiquidatorJson.bytecode.object as Hex,
68-
args: [AAVE_V3_LENDING_POOL.Mainnet],
68+
args: [this.owner, AAVE_V3_LENDING_POOL.Mainnet],
6969
});
7070
this.#liquidator = address;
7171
this.logger.info(`LlamaThena legacy liquidator deployed at ${address}`);
@@ -162,4 +162,8 @@ export default class LiquidationStrategyLlamaThena
162162
protected get sdk(): GearboxSDK {
163163
return this.creditAccountService.sdk;
164164
}
165+
166+
protected get owner(): Address {
167+
return this.client.wallet.account.address;
168+
}
165169
}

0 commit comments

Comments
 (0)