Skip to content

Commit

Permalink
add batcher script
Browse files Browse the repository at this point in the history
  • Loading branch information
cerraio authored May 11, 2024
1 parent da01473 commit 8407e11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/cerra/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ const { sumTokens2 } = require("../helper/chain/cardano");

const LENDING_SCRIPT = "addr1z878lgw0676mfkusf0f2h9wl3w5q2zu0klrlcamv6g2werc0pqnxu0fg7wvwgjtgzvg6lg6avzczmwf84aclygrvlkhqfmh5zc";
const AMM_SCRIPT = "addr1zyl8u7cw93g99g2e68cq3k27ad7rd8p6yy3yg9vesgahrus0pqnxu0fg7wvwgjtgzvg6lg6avzczmwf84aclygrvlkhq2a0paj";
const BATCHER_SCRIPT = "addr_test1wpw0ds4d59mlr639ya84guh3p8nzyxxmh5cdk6x8fz35agsmnawle";

async function tvl() {
return sumTokens2({ scripts: [LENDING_SCRIPT, AMM_SCRIPT] })
return sumTokens2({ scripts: [LENDING_SCRIPT, AMM_SCRIPT, BATCHER_SCRIPT] })
}

module.exports = {
Expand Down

0 comments on commit 8407e11

Please sign in to comment.