fix: proper exchange name when deploying executors
- Also update base executors in json
This commit is contained in:
@@ -13,6 +13,9 @@
|
|||||||
},
|
},
|
||||||
"base": {
|
"base": {
|
||||||
"uniswap_v2": "0x852389F3Cde47e7dab5a29Fdd3E58c7050f1a019",
|
"uniswap_v2": "0x852389F3Cde47e7dab5a29Fdd3E58c7050f1a019",
|
||||||
|
"sushiswap_v2": "0xbAf4569234712233Ae2142A07Bf164f988bDf5B5",
|
||||||
|
"pancakeswap_v2": "0xd3d73f114CbB40AD17CEEfC046FB18ecDe08678D",
|
||||||
|
"pancakeswap_v3": "0x2Ab42fdc9cfB3BAc0Db6F0d180A5B03872AFc25B",
|
||||||
"uniswap_v3": "0x447135F701A4650e4Bd19c2B2B99cb324f8942c3",
|
"uniswap_v3": "0x447135F701A4650e4Bd19c2B2B99cb324f8942c3",
|
||||||
"uniswap_v4": "0xc34689d354B42b2780Fbe0A785080d761E5C882b"
|
"uniswap_v4": "0xc34689d354B42b2780Fbe0A785080d761E5C882b"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -5,28 +5,28 @@ const hre = require("hardhat");
|
|||||||
// Comment out the executors you don't want to deploy
|
// Comment out the executors you don't want to deploy
|
||||||
const executors_to_deploy = {
|
const executors_to_deploy = {
|
||||||
"ethereum":[
|
"ethereum":[
|
||||||
// Args: Factory, Pool Init Code Hash
|
// USV2 - Args: Factory, Pool Init Code Hash
|
||||||
{exchange: "UniswapV2Executor", args: [
|
{exchange: "UniswapV2Executor", args: [
|
||||||
"0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
|
"0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f",
|
||||||
"0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f"
|
"0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f"
|
||||||
]},
|
]},
|
||||||
// Args: Factory, Pool Init Code Hash
|
// SUSHISWAP - Args: Factory, Pool Init Code Hash
|
||||||
{exchange: "SushiSwapV2Executor", args: [
|
{exchange: "UniswapV2Executor", args: [
|
||||||
"0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac",
|
"0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac",
|
||||||
"0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303"
|
"0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303"
|
||||||
]},
|
]},
|
||||||
// Args: Factory, Pool Init Code Hash
|
// PANCAKESWAP V2 - Args: Factory, Pool Init Code Hash
|
||||||
{exchange: "PancakeSwapV2Executor", args: [
|
{exchange: "UniswapV2Executor", args: [
|
||||||
"0x1097053Fd2ea711dad45caCcc45EfF7548fCB362",
|
"0x1097053Fd2ea711dad45caCcc45EfF7548fCB362",
|
||||||
"0x57224589c67f3f30a6b0d7a1b54cf3153ab84563bc609ef41dfb34f8b2974d2d"
|
"0x57224589c67f3f30a6b0d7a1b54cf3153ab84563bc609ef41dfb34f8b2974d2d"
|
||||||
]},
|
]},
|
||||||
// Args: Factory, Pool Init Code Hash
|
// USV3 -Args: Factory, Pool Init Code Hash
|
||||||
{exchange: "UniswapV3Executor", args: [
|
{exchange: "UniswapV3Executor", args: [
|
||||||
"0x1F98431c8aD98523631AE4a59f267346ea31F984",
|
"0x1F98431c8aD98523631AE4a59f267346ea31F984",
|
||||||
"0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54"
|
"0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54"
|
||||||
]},
|
]},
|
||||||
// Args: Deployer, Pool Init Code Hash
|
// PANCAKESWAP V3 - Args: Deployer, Pool Init Code Hash
|
||||||
{exchange: "PancakeSwapV3Executor", args: [
|
{exchange: "UniswapV3Executor", args: [
|
||||||
"0x41ff9AA7e16B8B1a8a8dc4f0eFacd93D02d071c9 ",
|
"0x41ff9AA7e16B8B1a8a8dc4f0eFacd93D02d071c9 ",
|
||||||
"0x6ce8eb472fa82df5469c6ab6d485f17c3ad13c8cd7af59b3d4a8026c5ce0f7e2"
|
"0x6ce8eb472fa82df5469c6ab6d485f17c3ad13c8cd7af59b3d4a8026c5ce0f7e2"
|
||||||
]},
|
]},
|
||||||
@@ -40,23 +40,23 @@ const executors_to_deploy = {
|
|||||||
"0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6",
|
"0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6",
|
||||||
"0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f"
|
"0x96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f"
|
||||||
]},
|
]},
|
||||||
// Args: Factory, Pool Init Code Hash
|
// SUSHISWAP V2 - Args: Factory, Pool Init Code Hash
|
||||||
{exchange: "SushiSwapV2Executor", args: [
|
{exchange: "UniswapV2Executor", args: [
|
||||||
"0x71524B4f93c58fcbF659783284E38825f0622859",
|
"0x71524B4f93c58fcbF659783284E38825f0622859",
|
||||||
"0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303"
|
"0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303"
|
||||||
]},
|
]},
|
||||||
// Args: Factory, Pool Init Code Hash
|
// PANCAKESWAP V2 - Args: Factory, Pool Init Code Hash
|
||||||
{exchange: "PancakeSwapV2Executor", args: [
|
{exchange: "UniswapV2Executor", args: [
|
||||||
"0x02a84c1b3BBD7401a5f7fa98a384EBC70bB5749E",
|
"0x02a84c1b3BBD7401a5f7fa98a384EBC70bB5749E",
|
||||||
"0x57224589c67f3f30a6b0d7a1b54cf3153ab84563bc609ef41dfb34f8b2974d2d"
|
"0x57224589c67f3f30a6b0d7a1b54cf3153ab84563bc609ef41dfb34f8b2974d2d"
|
||||||
]},
|
]},
|
||||||
// Args: Factory, Pool Init Code Hash
|
// USV3 - Args: Factory, Pool Init Code Hash
|
||||||
{exchange: "UniswapV3Executor", args: [
|
{exchange: "UniswapV3Executor", args: [
|
||||||
"0x33128a8fC17869897dcE68Ed026d694621f6FDfD",
|
"0x33128a8fC17869897dcE68Ed026d694621f6FDfD",
|
||||||
"0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54"
|
"0xe34f199b19b2b4f47f68442619d555527d244f78a3297ea89325f843f87b8b54"
|
||||||
]},
|
]},
|
||||||
// Args: Deployer, Pool Init Code Hash
|
// PANCAKESWAP V3 - Args: Deployer, Pool Init Code Hash
|
||||||
{exchange: "PancakeSwapV3Executor", args: [
|
{exchange: "UniswapV3Executor", args: [
|
||||||
"0x41ff9AA7e16B8B1a8a8dc4f0eFacd93D02d071c9",
|
"0x41ff9AA7e16B8B1a8a8dc4f0eFacd93D02d071c9",
|
||||||
"0x6ce8eb472fa82df5469c6ab6d485f17c3ad13c8cd7af59b3d4a8026c5ce0f7e2"
|
"0x6ce8eb472fa82df5469c6ab6d485f17c3ad13c8cd7af59b3d4a8026c5ce0f7e2"
|
||||||
]},
|
]},
|
||||||
|
|||||||
Reference in New Issue
Block a user