smartcontractkit / external-adapters-js

Monorepo containing JavaScript implementation of external adapters
MIT License
268 stars 302 forks source link

Added GM-token support for single sided tokens #3328

Closed karen-stepanyan closed 2 months ago

karen-stepanyan commented 2 months ago

DF-20055

Removed explicit options for EA input params for GM-TOKEN. This ensures that we don't need to change the EA for new single sided tokens in the future

Current single sided tokens

single sided gmBTC

{
  "data": {
    "index":"BTC",
    "long": "WBTC.b",
    "short": "WBTC.b",
    "market": "0x7C11F78Ce78768518D743E81Fdfa2F860C6b9A77"
  }
}

single sided gmETH

{
  "data": {
    "index":"ETH",
    "long": "WETH",
    "short": "WETH",
    "market": "0x450bb6774Dd8a756274E0ab4107953259d2ac541"
  }
}
changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: 47859addd5524c31cdbcc3d42bab3678fae0d4d0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------------- | ----- | | @chainlink/gm-token-adapter | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR