Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

chore: add xARGO logo and fix labels #765

Merged
merged 8 commits into from
Jun 28, 2022
Merged

Conversation

0xoats
Copy link
Contributor

@0xoats 0xoats commented Jun 27, 2022

Description

adding image for xARGO and updating some labels

Checklist

How to test?

const baseToken = baseTokens.find(t => t.address === baseAddress)!;
let baseToken = baseTokens.find(t => t.address === baseAddress)!;
baseToken.address = address
baseToken.symbol = 'xARGO'
Copy link
Contributor

@immasandwich immasandwich Jun 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll want the xARGO token from your other group:

const appTokens = this.appToolkit.getAppTokenPositions({
  appId: ARGO_FINANCE_DEFINITION.id,
  groupIds: [ARGO_FINANCE_DEFINITION.groups.pledging], // I would make add a separate group "xArgo" instead
  network: Network.CRONOS,
});

const underlyingToken = appTokens.find(v => v.symbol === 'xARGO');

@0xoats 0xoats requested a review from immasandwich June 27, 2022 16:15
const baseToken = baseTokens.find(t => t.address === baseAddress)!;
let baseToken = baseTokens.find(t => t.address === baseAddress)!;
baseToken.address = address
baseToken.symbol = 'xARGO'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not necessary, the underlying token is ARGO

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(the tokens array is intended to represent the underlying token, and here, you'd want the ARGO underlying in xARGO)

@immasandwich immasandwich merged commit efba3b4 into Zapper-fi:main Jun 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants