0xProject / 0x-monorepo

0x protocol monorepo - includes our smart contracts and many developer tools
Other
1.41k stars 466 forks source link

feat: DODO #2701

Closed dekz closed 3 years ago

dekz commented 4 years ago

Description

Sells simbot

Buys simbot

BUY WBTC->USDC 2.02 -> 22827.37 ($22827.37) after 5.0s @ prod
    ✔ PASS 2.04 -> 23055.38 ($23195.84) ($12.57)
    MultiHop (Kyber,SushiSwap) [WETH]: 100%
    gas: 717275
BUY WBTC->USDC 2.01 -> 22827.37 ($22827.37) after 5.0s @ dev
    ✔ PASS 2.03 -> 23055.53 ($23096.43) ($8.10)
    DODO: 100%
    gas: 462349

BUY LEND->WBTC 164240.95 -> 7.14 ($81112.07) after 128.0s @ prod
    ✔ PASS 164861.84 -> 7.17 ($83616.51) ($15.57)
    Uniswap_V2: 37.75%, Kyber: 62.25000000000001%
    gas: 888593
BUY LEND->WBTC 163142.84 -> 7.14 ($81112.07) after 128.0s @ dev
    ✔ PASS 164774.27 -> 7.21 ($83568.14) ($11.60)
    MultiHop (DODO,Uniswap_V2) [USDC]: 100%
    gas: 661944

replaces https://github.com/0xProject/0x-monorepo/pull/2677

Testing instructions

Types of changes

Checklist:

dekz commented 3 years ago

Awesome. Have we seen successful fills for both base and non-base tokens?

Ran close to 12 hours, doing just over 6k swaps. Can guarantee we hit both base and quote sells.

Can't guarantee we hit EVERY state the Oracle could be in. Can guarantee we got a mix of oracle states over the pairs, over that time.