Skip to content

Commit

Permalink
Add more info of SHUI (#10094)
Browse files Browse the repository at this point in the history
* Added more info for SHUI

* Revert "Added more info for SHUI"

This reverts commit 6966ad3.

* Added more info for SHUI

* Added and more info for SHUI (fixed previous pr)

* Fixed pool2 function, now the contract should be right
  • Loading branch information
larkloss authored May 6, 2024
1 parent d643342 commit 28c5c81
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions projects/shui/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
const ADDRESSES = require('../helper/coreAssets.json')
const SCFX_TokenAddress = "0x1858a8d367e69cd9E23d0Da4169885a47F05f1bE";
const { sumTokensExport, } = require("../helper/unknownTokens");
const SHUI2CFX = "0x4f57462a355902d6263aC4E8F6CE7Bf215B577F2";

const WCFX = ADDRESSES.conflux.WCFX;
const CFX_SHUI_LP_TokenAddress = "0x561c1412D926b3D75BaB15ABA1d7c10E31Ffb721";
const CFX_SCFX_LP_TokenAddress = "0x41e9e50952d8a2e489d0b866b78835bc2ad2a0fa";

module.exports = {
conflux: {
Expand All @@ -17,6 +21,7 @@ module.exports = {
return {
["conflux:" + WCFX]: totalDeposited * ratioDepositedBySupply / 1e9
};
}
},
pool2: sumTokensExport({ owner: SHUI2CFX, coreAssets: [WCFX], tokens: [CFX_SHUI_LP_TokenAddress, CFX_SCFX_LP_TokenAddress] }),
}
};
};

0 comments on commit 28c5c81

Please sign in to comment.