Skip to content
This repository was archived by the owner on Feb 25, 2023. It is now read-only.

Commit 1d95216

Browse files
authored
Merge pull request #145 from CoinAlpha/development
release / development -> master
2 parents 6417099 + c66bbd0 commit 1d95216

File tree

10 files changed

+2555
-1813
lines changed

10 files changed

+2555
-1813
lines changed

conf/global_conf.yml.example

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,9 @@ ETHEREUM_RPC_URL: "https://{chain}.infura.io/v3/{api_key}"
2929
ETHEREUM_TOKEN_LIST_URL: https://wispy-bird-88a7.uniswap.workers.dev/?url=http://tokens.1inch.eth.link
3030

3131
# Balancer
32-
# subgraph_chain
33-
# Reference: https://docs.balancer.finance/sor/development#subgraph
34-
# - mainnet: balancer
35-
# - kovan: balancer-kovan
36-
# Note: REACT_APP_SUBGRAPH_URL used by @balancer-labs/sor
37-
REACT_APP_SUBGRAPH_URL: https://api.thegraph.com/subgraphs/name/balancer-labs/{subgraph_chain}
38-
39-
# exchange_proxy:
40-
# Reference: https://docs.balancer.finance/smart-contracts/addresses
41-
# - mainnet: 0x3E66B66Fd1d0b02fDa6C811Da9E0547970DB2f21
42-
# - kovan: 0x4e67bf5bD28Dd4b570FBAFe11D0633eCbA2754Ec
43-
EXCHANGE_PROXY:
32+
BALANCER_VAULT: "0xBA12222222228d8Ba445958a75a0704d566BF2C8"
33+
BALANCER_GAS_BASE: 300688
34+
BALANCER_MAX_SWAPS: 4
4435

4536
# Uniswap
4637
# Reference: https://uniswap.org/docs/v2/smart-contracts/router02/
@@ -82,10 +73,6 @@ ETH_GAS_STATION_GAS_LEVEL: fast
8273
ETH_GAS_STATION_REFRESH_TIME: 60
8374
ETH_MANUAL_GAS_PRICE: 100
8475

85-
# Balancer Config
86-
BALANCER_MAX_SWAPS: 4
87-
88-
8976
# Perpetual Finance Provider URL
9077
# default: https://dai.poa.network , https://rpc.xdaichain.com, etc
9178
XDAI_PROVIDER:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"test:e2e": "jest --config ./test/jest-e2e.json"
2323
},
2424
"dependencies": {
25-
"@balancer-labs/sor": "^0.3.3",
25+
"@balancer-labs/sor":"github:mifeng/balancer-sor#john/v2-package",
2626
"@ethersproject/experimental": "^5.3.0",
2727
"@perp/contract": "^1.0.6",
2828
"@terra-money/terra.js": "^1.8.8",

src/assets/erc20_tokens_kovan.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,66 @@
7878
"address": "0x3D2097889B97A9eF23B3eA8FC10c626fbda29099",
7979
"decimals": 18,
8080
"chainId": 42
81+
},
82+
{
83+
"symbol": "BALWETH",
84+
"address": "0xdFCeA9088c8A88A76FF74892C1457C17dfeef9C1",
85+
"decimals": 18,
86+
"chainId": 42
87+
},
88+
{
89+
"symbol": "BALUSDC",
90+
"address": "0xc2569dd7d0fd715B054fBf16E75B001E5c0C1115",
91+
"decimals": 6,
92+
"chainId": 42
93+
},
94+
{
95+
"symbol": "BALBAL",
96+
"address": "0x41286Bb1D3E870f3F750eB7E1C25d7E48c8A1Ac7",
97+
"decimals": 18,
98+
"chainId": 42
99+
},
100+
{
101+
"symbol": "BALMKR",
102+
"address": "0xAf9ac3235be96eD496db7969f60D354fe5e426B0",
103+
"decimals": 18,
104+
"chainId": 42
105+
},
106+
{
107+
"symbol": "BALDAI",
108+
"address": "0x04DF6e4121c27713ED22341E7c7Df330F56f289B",
109+
"decimals": 18,
110+
"chainId": 42
111+
},
112+
{
113+
"symbol": "BALPERP",
114+
"address": "0x8F4beBF498cc624a0797Fe64114A6Ff169EEe078",
115+
"decimals": 18,
116+
"chainId": 42
117+
},
118+
{
119+
"symbol": "BALWBTC",
120+
"address": "0x1C8E3Bcb3378a443CC591f154c5CE0EBb4dA9648",
121+
"decimals": 8,
122+
"chainId": 42
123+
},
124+
{
125+
"symbol": "BALUSDT",
126+
"address": "0xcC08220af469192C53295fDd34CFb8DF29aa17AB",
127+
"decimals": 6,
128+
"chainId": 42
129+
},
130+
{
131+
"symbol": "BALPAX",
132+
"address": "0x15E76Fc74C6ab1c3141D61219883d1c59F716E21",
133+
"decimals": 18,
134+
"chainId": 42
135+
},
136+
{
137+
"symbol": "BALGUSD",
138+
"address": "0x22ee6c3B011fACC530dd01fe94C58919344d6Db5",
139+
"decimals": 2,
140+
"chainId": 42
81141
}
82142
]
83143
}

0 commit comments

Comments
 (0)