Skip to content

Commit

Permalink
Merge pull request #198 from mvp1983/main
Browse files Browse the repository at this point in the history
ClipFinance: additional proxy strategy
  • Loading branch information
0xroll authored Jun 3, 2024
2 parents 5476e6c + 8ae1804 commit c38f215
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion adapters/clip_finance/src/sdk/subgraphDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ export const getUserBalanceSnapshotAtBlock = async (
const addBalance = (balance: UserBalanceSnapshot, share: UserBalanceSnapshot) => {
const user= share.id.substring(0, 42);
const key = user.concat(balance.token);
if (user == "0xa663f143055254a503467ff8b18aa9e70b9455b6") {
if (user == "0xa663f143055254a503467ff8b18aa9e70b9455b6" ||
user == "0x8355fb68ecb3f705f0ef14263a1f7fcbede67b42") {
strategyRouterBalance.set(key.concat(balance.token), balance);
} else if (balance.balance.gt(0)) {
if (!balanceMap.has(key)) {
Expand Down

0 comments on commit c38f215

Please sign in to comment.