This repository was archived by the owner on Oct 15, 2024. It is now read-only.
Conversation
dekz
commented
Jul 23, 2020
3e97072 to
b028740
Compare
478513a to
7a408b0
Compare
Member
Author
|
deploy staging |
Member
Author
|
deploy staging |
Member
Author
|
deploy production |
github-actions bot
pushed a commit
that referenced
this pull request
Jul 27, 2020
# [1.12.0](v1.11.0...v1.12.0) (2020-07-27) ### Bug Fixes * synchronization false unless tests ([#292](#292)) ([e050a22](e050a22)) ### Features * Curve BTC Bridge ([#294](#294)) ([82f9276](82f9276)) * Depth Chart API endpoint ([#290](#290)) ([540f92e](540f92e)) * Graceful Shutdowns ([#280](#280)) ([5736c74](5736c74)) * Update protocol fee to 70k. Yield to event loop in path optimizer ([#285](#285)) ([a996c7b](a996c7b))
|
🎉 This PR is included in version 1.12.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
requires: 0xProject/0x-monorepo#2641
includes: Quicker Path Finding 0xProject/0x-monorepo#2640
Description
Returns bucketed pricing for all sources.
{ "asks": { "depth": [ { "price": "0.00315546105784902", "bucket": 0, "bucketTotal": "0", "sources": { "Native": "0", "Uniswap": "0", "Uniswap_V2": "0", "Eth2Dai": "0", "Kyber": "0", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0", "Balancer": "0" }, "cumulative": "0" }, { "price": "0.00312390644727053", "bucket": 1, "bucketTotal": "100524109029123426136", "sources": { "Uniswap": "9381248534278317553", "Kyber": "31432971221060620000", "Native": "18895910439660362612", "Uniswap_V2": "31424060666061621210", "Balancer": "9389918168062504761", "Eth2Dai": "0", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "100524109029123426136" }, { "price": "0.00309235183669204", "bucket": 2, "bucketTotal": "55695462362445505774", "sources": { "Uniswap": "40305933574386384639", "Balancer": "34160695490399943449", "Native": "18895910439660362612", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "0", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "156219571391568931910" }, { "price": "0.003060797226113549", "bucket": 3, "bucketTotal": "61377952177222327205", "sources": { "Eth2Dai": "30652165725069522639", "Balancer": "64886481942552748015", "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "217597523568791259115" }, { "price": "0.003029242615535059", "bucket": 4, "bucketTotal": "6097761841126141132", "sources": { "Balancer": "70984243783678889147", "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "223695285409917400247" }, { "price": "0.002997688004956569", "bucket": 5, "bucketTotal": "9019700660355993460", "sources": { "Balancer": "80003944444034882607", "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "232714986070273393707" }, { "price": "0.002966133394378079", "bucket": 6, "bucketTotal": "0", "sources": { "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0", "Balancer": "80003944444034882607" }, "cumulative": "232714986070273393707" }, { "price": "0.002934578783799589", "bucket": 7, "bucketTotal": "11861645160418238274", "sources": { "Balancer": "91865589604453120881", "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "244576631230691631981" }, { "price": "0.002903024173221098", "bucket": 8, "bucketTotal": "14626836004418825500", "sources": { "Balancer": "106492425608871946381", "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "259203467235110457481" }, { "price": "0.002871469562642608", "bucket": 9, "bucketTotal": "23071490648284651262", "sources": { "LiquidityProvider": "5753149504621641733", "Balancer": "123810766752534955910", "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "MultiBridge": "0" }, "cumulative": "282274957883395108743" }, { "price": "0.002839914952064118", "bucket": 10, "bucketTotal": "39868080877763923456", "sources": { "LiquidityProvider": "25682163210128155645", "Balancer": "143749833924792365454", "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "MultiBridge": "0" }, "cumulative": "322143038761159032199" }, { "price": "0.002808360341485628", "bucket": 11, "bucketTotal": "50725528396477231285", "sources": { "LiquidityProvider": "53915921809051947533", "Balancer": "166241603722345804851", "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "MultiBridge": "0" }, "cumulative": "372868567157636263484" }, { "price": "0.002776805730907138", "bucket": 12, "bucketTotal": "0", "sources": { "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "53915921809051947533", "MultiBridge": "0", "Balancer": "166241603722345804851" }, "cumulative": "372868567157636263484" }, { "price": "0.002745251120328647", "bucket": 13, "bucketTotal": "24979063505726290571", "sources": { "Balancer": "191220667228072095422", "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "53915921809051947533", "MultiBridge": "0" }, "cumulative": "397847630663362554055" }, { "price": "0.002713696509750157", "bucket": 14, "bucketTotal": "27403430493757248438", "sources": { "Balancer": "218624097721829343860", "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "53915921809051947533", "MultiBridge": "0" }, "cumulative": "425251061157119802493" }, { "price": "0.002682141899171667", "bucket": 15, "bucketTotal": "0", "sources": { "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "53915921809051947533", "MultiBridge": "0", "Balancer": "218624097721829343860" }, "cumulative": "425251061157119802493" }, { "price": "0.002650587288593177", "bucket": 16, "bucketTotal": "0", "sources": { "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "53915921809051947533", "MultiBridge": "0", "Balancer": "218624097721829343860" }, "cumulative": "425251061157119802493" }, { "price": "0.002619032678014687", "bucket": 17, "bucketTotal": "0", "sources": { "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "53915921809051947533", "MultiBridge": "0", "Balancer": "218624097721829343860" }, "cumulative": "425251061157119802493" }, { "price": "0.002587478067436196", "bucket": 18, "bucketTotal": "0", "sources": { "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "53915921809051947533", "MultiBridge": "0", "Balancer": "218624097721829343860" }, "cumulative": "425251061157119802493" }, { "price": "0.002555923456857706", "bucket": 19, "bucketTotal": "0", "sources": { "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "53915921809051947533", "MultiBridge": "0", "Balancer": "218624097721829343860" }, "cumulative": "425251061157119802493" }, { "price": "0.002524368846279216", "bucket": 20, "bucketTotal": "0", "sources": { "Native": "18895910439660362612", "Uniswap": "40305933574386384639", "Uniswap_V2": "31424060666061621210", "Eth2Dai": "30652165725069522639", "Kyber": "31432971221060620000", "Curve": "0", "LiquidityProvider": "53915921809051947533", "MultiBridge": "0", "Balancer": "218624097721829343860" }, "cumulative": "425251061157119802493" } ] }, "bids": { "depth": [ { "price": "0.003166196538594208", "bucket": 0, "bucketTotal": "0", "sources": { "Native": "0", "Uniswap": "0", "Uniswap_V2": "0", "Eth2Dai": "0", "Kyber": "0", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0", "Balancer": "0" }, "cumulative": "0" }, { "price": "0.00319785850398015", "bucket": 1, "bucketTotal": "101881975046370247228", "sources": { "Uniswap": "22380126298106003818", "Kyber": "31748421830137499788", "Uniswap_V2": "31780890872923718995", "Balancer": "15972536045203024627", "Native": "0", "Eth2Dai": "0", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "101881975046370247228" }, { "price": "0.003229520469366092", "bucket": 2, "bucketTotal": "90221178551985887771", "sources": { "Uniswap": "54508839420778127498", "Eth2Dai": "32258064516129032258", "Balancer": "41806936958387756460", "Native": "0", "Uniswap_V2": "31780890872923718995", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "192103153598356134999" }, { "price": "0.003261182434752034", "bucket": 3, "bucketTotal": "38959839376957963357", "sources": { "Balancer": "80766776335345719817", "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "231062992975314098356" }, { "price": "0.003292844400137976", "bucket": 4, "bucketTotal": "0", "sources": { "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0", "Balancer": "80766776335345719817" }, "cumulative": "231062992975314098356" }, { "price": "0.003324506365523918", "bucket": 5, "bucketTotal": "9879380958168657304", "sources": { "Balancer": "90646157293514377121", "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "240942373933482755660" }, { "price": "0.00335616833090986", "bucket": 6, "bucketTotal": "13375425547097902225", "sources": { "Balancer": "104021582840612279346", "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "254317799480580657885" }, { "price": "0.003387830296295803", "bucket": 7, "bucketTotal": "0", "sources": { "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0", "Balancer": "104021582840612279346" }, "cumulative": "254317799480580657885" }, { "price": "0.003419492261681745", "bucket": 8, "bucketTotal": "16980865879277522447", "sources": { "Balancer": "121002448719889801793", "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "271298665359858180332" }, { "price": "0.003451154227067687", "bucket": 9, "bucketTotal": "20700918268097749159", "sources": { "Balancer": "141703366987987550952", "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "291999583627955929491" }, { "price": "0.003482816192453629", "bucket": 10, "bucketTotal": "0", "sources": { "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0", "Balancer": "141703366987987550952" }, "cumulative": "291999583627955929491" }, { "price": "0.003514478157839571", "bucket": 11, "bucketTotal": "24541136022312971456", "sources": { "Balancer": "166244503010300522408", "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "316540719650268900947" }, { "price": "0.003546140123225513", "bucket": 12, "bucketTotal": "0", "sources": { "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0", "Balancer": "166244503010300522408" }, "cumulative": "316540719650268900947" }, { "price": "0.003577802088611455", "bucket": 13, "bucketTotal": "28507437106906439253", "sources": { "Balancer": "194751940117206961661", "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "345048156757175340200" }, { "price": "0.003609464053997397", "bucket": 14, "bucketTotal": "0", "sources": { "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0", "Balancer": "194751940117206961661" }, "cumulative": "345048156757175340200" }, { "price": "0.003641126019383339", "bucket": 15, "bucketTotal": "32606134573940509603", "sources": { "Balancer": "227358074691147471264", "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "377654291331115849803" }, { "price": "0.003672787984769281", "bucket": 16, "bucketTotal": "0", "sources": { "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0", "Balancer": "227358074691147471264" }, "cumulative": "377654291331115849803" }, { "price": "0.003704449950155223", "bucket": 17, "bucketTotal": "36843970092505497915", "sources": { "Balancer": "264202044783652969179", "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0" }, "cumulative": "414498261423621347718" }, { "price": "0.003736111915541165", "bucket": 18, "bucketTotal": "0", "sources": { "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0", "Balancer": "264202044783652969179" }, "cumulative": "414498261423621347718" }, { "price": "0.003767773880927108", "bucket": 19, "bucketTotal": "0", "sources": { "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0", "Balancer": "264202044783652969179" }, "cumulative": "414498261423621347718" }, { "price": "0.00379943584631305", "bucket": 20, "bucketTotal": "0", "sources": { "Native": "0", "Uniswap": "54508839420778127498", "Uniswap_V2": "31780890872923718995", "Eth2Dai": "32258064516129032258", "Kyber": "31748421830137499788", "Curve": "0", "LiquidityProvider": "0", "MultiBridge": "0", "Balancer": "264202044783652969179" }, "cumulative": "414498261423621347718" } ] }, "buyToken": { "symbol": "WETH", "decimals": 18, "tokenAddress": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" }, "sellToken": { "symbol": "DAI", "decimals": 18, "tokenAddress": "0x6b175474e89094c44da98b954eedeac495271d0f" } }TODO:
{ "asks": [ { "price": "1.030149711", "bucket": 0, "bucketTotal": "1030149711", "sources": { "Curve": "1030149711" }, "cumulative": "1030149711" },Testing Instructions
Checklist
[WIP]if necessary.