fix: Temporarily remove PancakeV2/Bakery from VIP (#217)

This commit is contained in:
Jacob Evans 2021-05-01 10:35:54 +10:00 committed by GitHub
parent dbc5a5293e
commit 475e6c7bca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 3 deletions

View File

@ -280,7 +280,7 @@ contract PancakeSwapFeature is
// Call pair.swap() // Call pair.swap()
switch mload(0xA20) // fork switch mload(0xA20) // fork
case 1 { case 2 {
mstore(0xB00, BAKERYSWAP_PAIR_SWAP_CALL_SELECTOR_32) mstore(0xB00, BAKERYSWAP_PAIR_SWAP_CALL_SELECTOR_32)
} }
default { default {

View File

@ -1,4 +1,12 @@
[ [
{
"version": "6.9.1",
"changes": [
{
"note": "Temporarily remove PancakeV2 and BakerySwap from VIP"
}
]
},
{ {
"version": "6.9.0", "version": "6.9.0",
"changes": [ "changes": [

View File

@ -197,8 +197,9 @@ export class ExchangeProxySwapQuoteConsumer implements SwapQuoteConsumerBase {
this.chainId === ChainId.BSC && this.chainId === ChainId.BSC &&
isDirectSwapCompatible(quote, optsWithDefaults, [ isDirectSwapCompatible(quote, optsWithDefaults, [
ERC20BridgeSource.PancakeSwap, ERC20BridgeSource.PancakeSwap,
ERC20BridgeSource.PancakeSwapV2, // Temporarily removed until latest PancakeSwap VIP has been deployed
ERC20BridgeSource.BakerySwap, // ERC20BridgeSource.PancakeSwapV2,
// ERC20BridgeSource.BakerySwap,
ERC20BridgeSource.SushiSwap, ERC20BridgeSource.SushiSwap,
ERC20BridgeSource.ApeSwap, ERC20BridgeSource.ApeSwap,
ERC20BridgeSource.CafeSwap, ERC20BridgeSource.CafeSwap,