Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

[asset-swapper] Add latest BUSD Curve #2506

Merged
merged 2 commits into from
Mar 3, 2020

Conversation

dekz
Copy link
Member

@dekz dekz commented Feb 29, 2020

Description

Adds latest Curve (BUSD)

https://github.com/curvefi/curve-contract/blob/pool_busd/deployed/2020-02-28_busd/mainnet.log

https://explore.duneanalytics.com/public/dashboards/ZaUkVovIfv5jm3OMqRochs3vTlc7PPUD4OjBOfrq

Migrates to latest Compound Curve (version 1)
https://github.com/curvefi/curve-contract/blob/pool_compound/deployed/2020-02-25_compound/mainnet.log

{
  "price": "1.0012382004075",
  "to": "0x61935cbdd02287b511119ddb11aeb42f1593b7ef",
  "data": "...",
  "value": "3150000000000000",
  "gas": "4065253",
  "from": "REDACTED",
  "gasPrice": "7000000000",
  "protocolFee": "3150000000000000",
  "buyTokenAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
  "sellTokenAddress": "0x6b175474e89094c44da98b954eedeac495271d0f",
  "buyAmount": "400495280163",
  "sellAmount": "400000000000000000000000",
  "sources": [
    {
      "name": "Curve_USDC_DAI_USDT_TUSD",
      "proportion": "0.5189"
    },
    {
      "name": "Curve_USDC_DAI_USDT_BUSD",
      "proportion": "0.3696"
    },
    {
      "name": "Curve_USDC_DAI",
      "proportion": "0.1114"
    }
  ],

Follow up:

  • retire version in Curve bridge (everyone is on v1)?

@dekz dekz force-pushed the feature/asset-swapper/add-busd-curve branch 2 times, most recently from 5509aea to 7883db8 Compare February 29, 2020 21:57
@coveralls
Copy link

coveralls commented Feb 29, 2020

Coverage Status

Coverage remained the same at 79.638% when pulling dee571d on feature/asset-swapper/add-busd-curve into cded58c on development.

@dekz dekz force-pushed the feature/asset-swapper/add-busd-curve branch from dcf2292 to dee571d Compare March 2, 2020 22:25
Copy link
Contributor

@dorothy-zbornak dorothy-zbornak left a comment

Choose a reason for hiding this comment

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

Looks great! (°▽°)

@dekz dekz merged commit ea1528a into development Mar 3, 2020
@dekz dekz deleted the feature/asset-swapper/add-busd-curve branch March 3, 2020 06:53
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.

None yet

3 participants