Skip to content

Commit

Permalink
Merge pull request #24 from traderjoe-xyz/update-circulating
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptofish7 authored Dec 28, 2023
2 parents f7b2701 + b793538 commit a1fb4a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/supply/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const {
BURN_ADDRESS,
JOE_ADDRESS,
TEAM_TREASURY_WALLETS,
MASTER_CHEF_ADDRESS,
LOCKING_WRAPPER_ADDRESS,
} = require("../../constants");
const { web3Factory } = require("../../utils/web3");
Expand Down Expand Up @@ -68,6 +69,7 @@ class Cache {
this.getTotalSupply(),
...teamTreasuryBalances,
lockingBalance(),
getBalanceOf(MASTER_CHEF_ADDRESS),
]);

let circulatingSupply = new BN(results[0]);
Expand Down
2 changes: 2 additions & 0 deletions constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const WAVAX_USDT_ADDRESS = "0xeD8CBD9F0cE3C6986b22002F03c6475CEb7a6256";
const WAVAX_USDC_ADDRESS = "0xA389f9430876455C36478DeEa9769B7Ca4E3DDB1";
const TOTALSUPPLYANDBORROW_ADDRESS =
"0x8E94d4C235bb07301A07956ddd50aa7f13be2b53";
const MASTER_CHEF_ADDRESS = "0xd6a4F121CA35509aF06A0Be99093d08462f53052";

const TEAM_TREASURY_WALLETS = [
"0xaFF90532E2937fF290009521e7e120ed062d4F34", // 1st Team vesting contract
Expand Down Expand Up @@ -49,6 +50,7 @@ module.exports = {
BN_2,
JOE_ADDRESS,
JOEFACTORY_ADDRESS,
MASTER_CHEF_ADDRESS,
TEAM_TREASURY_WALLETS,
LOCKING_WRAPPER_ADDRESS,
TOTALSUPPLYANDBORROW_ADDRESS,
Expand Down

0 comments on commit a1fb4a9

Please sign in to comment.