Skip to content

Commit 84830a7

Browse files
fix variable name
1 parent 9d0bdc5 commit 84830a7

File tree

1 file changed

+2
-2
lines changed
  • projects/interest-protocol-stable-swap

1 file changed

+2
-2
lines changed

projects/interest-protocol-stable-swap/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const sui = require("../helper/chain/sui")
22

3-
const PACKAGE_ID = '0x50052aca3d7b971bd9824e1bb151748d03870adfe3ba06dce384d2a77297c719';
3+
const SUI_PACKAGE_ID = '0x50052aca3d7b971bd9824e1bb151748d03870adfe3ba06dce384d2a77297c719';
44

55
const POW_9 = 1_000_000_000n;
66

@@ -17,7 +17,7 @@ function normalizeAddress(
1717

1818
const tvl = async (api) => {
1919
const newPoolEvents = await sui.queryEvents({
20-
eventType: `${PACKAGE_ID}::event_wrapper::InterestStableSwapEvent<${PACKAGE_ID}::events::NewPool>`
20+
eventType: `${SUI_PACKAGE_ID}::event_wrapper::InterestStableSwapEvent<${SUI_PACKAGE_ID}::events::NewPool>`
2121
});
2222

2323
const statesIds = newPoolEvents.map(

0 commit comments

Comments
 (0)