1- import LiquidOps from "./src" ;
1+ import LiquidOps , { DryRunFIFO } from "./src" ;
22import { ownerToAddress } from "./tests/testsHelpers/arweaveUtils" ;
33import { createDataItemSigner } from "@permaweb/aoconnect" ;
44import { formatGlobalPosition } from "./src/ao/utils/formatGlobalPosition" ;
@@ -9,6 +9,16 @@ if (!process.env.JWK) {
99
1010const JWK : any = JSON . parse ( process . env . JWK ) ;
1111const signer = createDataItemSigner ( JWK ) ;
12+
13+ LiquidOps . dryRunFifo = new DryRunFIFO ( [
14+ "https://cu1.ao-testnet.xyz" ,
15+ "https://cu24.ao-testnet.xyz" ,
16+ "https://cu-af.dataos.so" ,
17+ "https://cu.perplex.finance" ,
18+ "https://cu.arweave.asia" ,
19+ "https://cu.ardrive.io" ,
20+ ] ) ;
21+
1222const client = new LiquidOps ( signer ) ;
1323
1424const walletAddress = await ownerToAddress ( JWK . n ) ;
@@ -80,9 +90,9 @@ const walletAddress = await ownerToAddress(JWK.n);
8090
8191//--------------------------------------------------------------------------------------------------------------- liquidations
8292
83- // const getLiquidationsMap = await client.getLiquidationsMap();
93+ const getLiquidationsMap = await client . getLiquidationsMap ( ) ;
8494
85- // console.log(getLiquidationsMap);
95+ console . log ( getLiquidationsMap ) ;
8696
8797//-------------------------------
8898
0 commit comments