---
# System prepended metadata

title: '[]'

---

{"balance":0,"network":"ftm","tokenAddress":"0x049d68029688eAbF473097a2fC38ef61633A3C7A","tokenName":"Fantom USDT","tokenSymbol":"USDT"},{"balance":0,"network":"cronos","tokenAddress":"0x66e428c3f67a68878562e79a0234c1f83c208770","tokenName":"Tether USDT","tokenSymbol":"USDT"},{"balance":0,"network":"base","tokenAddress":"0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca","tokenName":"USD Coin","tokenSymbol":"USDC"},{"balance":0,"network":"optimism","tokenAddress":"0x94b008aA00579c1307B0EF2c499aD98a8ce58e58","tokenName":"Tether USDT","tokenSymbol":"USDT"}



````
  const leaderboardObj = await models.contestLeaderBoard.findOne({
                where: {
                  contestId,
                },
              });
              if (leaderboardObj !== null) {
                const dataArr = Object.assign(
                  [],
                  leaderboardObj?.dataValues?.leaderboard
                );
                const userIndex = dataArr.findIndex(
                  (userItm) => userItm.userId === userId
                );
                if (userIndex > -1) {
                  dataArr.splice(userIndex, 1);
                  await models.contestLeaderBoard.update(
                    {
                      leaderboard: dataArr,
                    },
                    {
                      where: {
                        contestId,
                      },
                    }
                  );
                }
              }


````