File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,18 @@ export class AccountOpener extends SDKConstruct {
177177 this . #poolDepositMultiplier = BigInt ( poolDepositMultiplier ) ;
178178 this . #minDebtMultiplier = BigInt ( minDebtMultiplier ) ;
179179 this . #leverageDelta = BigInt ( leverageDelta ) ;
180+ this . #logger?. info (
181+ {
182+ borrower : privateKeyToAccount ( this . borrowerKey ) . address ,
183+ depositor : privateKeyToAccount ( this . depositorKey ) . address ,
184+ faucet : this . faucet ,
185+ poolDepositMultiplier : this . #poolDepositMultiplier. toString ( ) ,
186+ minDebtMultiplier : this . #minDebtMultiplier. toString ( ) ,
187+ leverageDelta : this . #leverageDelta. toString ( ) ,
188+ allowMint : this . #allowMint,
189+ } ,
190+ "account opener options" ,
191+ ) ;
180192 }
181193
182194 public get borrower ( ) : PrivateKeyAccount {
@@ -201,6 +213,14 @@ export class AccountOpener extends SDKConstruct {
201213 depositIntoPools = true ,
202214 claimFromFaucet = true ,
203215 ) : Promise < OpenAccountsResult > {
216+ this . #logger?. info (
217+ {
218+ targets,
219+ depositIntoPools,
220+ claimFromFaucet,
221+ } ,
222+ "opening credit accounts" ,
223+ ) ;
204224 let deposits : PoolDepositResult [ ] = [ ] ;
205225 if ( depositIntoPools ) {
206226 try {
You can’t perform that action at this time.
0 commit comments