deploy to base, linea and scroll-sepolia
This commit is contained in:
101
config/base-config.js
Normal file
101
config/base-config.js
Normal file
@@ -0,0 +1,101 @@
|
||||
module.exports = {
|
||||
BASE_CONFIG: {
|
||||
//TOKEN
|
||||
WETH: "0x4200000000000000000000000000000000000006",
|
||||
CHI: "",
|
||||
DODO: "",
|
||||
|
||||
//Helper
|
||||
DODOSellHelper: "0x8eA40e8Da3ae64Bad5E77a5f7DB346499F543baC",
|
||||
DODOCalleeHelper: "0x44023441f2Bad375b6b5C6354B03c3E9AD01E269",
|
||||
DODOV1PmmHelper: "0x17644d3B366273faC75A07996E2F90A99A2946a7",
|
||||
DODOV2RouteHelper: "0xa5fc92Ca57a21C87AA0477b1c8fE8B9Bbf69d6C2",
|
||||
ERC20Helper: "0xB5c7BA1EAde74800cD6cf5F56b1c4562De373780",
|
||||
DODOSwapCalcHelper: "0xbcd2FDC3B884Cf0dfD932f55Ec2Fe1fB7e8c62Da",
|
||||
MultiCall: "0xf5Ec1a19e1570bDf0A3AaA6585274f27027270b1",
|
||||
CurveSample: "",
|
||||
|
||||
//Template
|
||||
CloneFactory: "0x628E5081bA93b1c4F58E54e7175088B1ACe58852",
|
||||
FeeRateModel: "0x7B07164ecFaF0F0D85DFC062Bc205a4674c75Aa0",
|
||||
FeeRateDIP3Impl: "0x4aAe1d041C01078725dB016BA4D4F72455CaF931",
|
||||
UserQuota: "0x65934e2f228Fde069A6255F46E6A15Bc9DE38545",
|
||||
PermissionManager: "0xa1609A1fa7DC16c025feA194c02b2822441b8c10",
|
||||
DVM: "0x5fe43C0EbfE66b83C10A9A37AD1E4aC640AAAA65",
|
||||
DPP: "",
|
||||
DSP: "0xe7979E2F3e77196Bb2AB206eaa67Ea278A3E33A2",
|
||||
DPPAdmin: "",
|
||||
DPPAdvanced: "0x1fC8EC204549C865a17b4059A57decA66A4Bd4cC",
|
||||
DPPAdvancedAdmin: "0x6a9De0C6235bDD14B52eeA53F5a08Ff7D4183b3e",
|
||||
CP: "0x297da061D1dE0132D241Fafed224288B34d81005",
|
||||
ERC20MineV2: "0xEAC4BFef7D1c872Ed705B01856af7f9802adC596",
|
||||
ERC20MineV3: "0x04f7BaE2A4c05cd567F762E33450deBCebdC89EA",
|
||||
ERC20: "0xCD536b4DECFD2fa0443666B6becD145F8aDe2E48",
|
||||
CustomERC20: "0x3dD629473A2eD7f3C6299FFD9F3e0C283d073f11",
|
||||
CustomMintableERC20: "0x8414560d69650bC0c915d5d4385e1714a23cbe81",
|
||||
|
||||
//Factory
|
||||
DVMFactory: "0x0226fCE8c969604C3A0AD19c37d1FAFac73e13c2",
|
||||
DPPFactory: "0xc0F9553Df63De5a97Fe64422c8578D0657C360f7",
|
||||
DSPFactory: "0x200D866Edf41070DE251Ef92715a6Ea825A5Eb80",
|
||||
CrowdPoolingFactory: "0x97bBF5BB1dcfC93A8c67e97E50Bea19DB3416A83",
|
||||
ERC20Factory: "",
|
||||
ERC20V2Factory: "",
|
||||
ERC20V3Factory: "0xCb3dC90E800C961d4a206BeAAFd92A6d2E06495e",
|
||||
DODOMineV2Factory: "0xFD2b7994f91c08aAa5e013E899334A2DBb500DF1",
|
||||
DODOMineV3Registry: "0x8dD0Fea5FA2f7df535F87f312641Cc15d8B151BA",
|
||||
|
||||
//Approve
|
||||
DODOApprove: "0x89872650fA1A391f58B4E144222bB02e44db7e3B",
|
||||
DODOApproveProxy: "0x6de4d882a84A98f4CCD5D33ea6b3C99A07BAbeB1",
|
||||
|
||||
//Periphery
|
||||
DODOIncentive: "",
|
||||
|
||||
//Adpater
|
||||
DODOV1Adapter: "0x46AF6b152F2cb02a3cFcc74014C2617BC4F6cD5C",
|
||||
DODOV2Adapter: "0x66c45FF040e86DC613F239123A5E21FFdC3A3fEC",
|
||||
UniAdapter: "0xE2004eE21f88a7D8e1A5EDc3c9617a0460CC7b99",
|
||||
CurveAdapter: "",
|
||||
|
||||
//Proxy
|
||||
DODOV2Proxy: "0x4CAD0052524648A7Fa2cfE279997b00239295F33",
|
||||
DSPProxy: "0x49186E32fEd50fd6B5604A2618c7B0b03Cd41414",
|
||||
CpProxy: "0x6B9577b87666af89bd0e144b9b64e8Ed166E303d",
|
||||
DPPProxy: "0x0B1467f71c082D8d410aF4376C685D9A6893cF36",
|
||||
RouteProxy: "",
|
||||
FeeRouteProxy1: "0x987bFBE33c9cF18cAA665B792Db66339a9c16D32",
|
||||
FeeRouteProxy2: "0xA376762070F7fCE8f3646AAe90e6e375e6daF128",
|
||||
DODOMineV3Proxy: "0x2F66C5aAF006Bd9c51615D617589C16c0ed35fD3",
|
||||
|
||||
//vDODO
|
||||
DODOCirculationHelper: "",
|
||||
Governance: "",
|
||||
dodoTeam: "",
|
||||
vDODOToken: "",
|
||||
|
||||
//Account
|
||||
multiSigAddress: "0x409DAaCf501288AEfdc366Ccc0BF1FEd76c066E2",
|
||||
defaultMaintainer: "0x409DAaCf501288AEfdc366Ccc0BF1FEd76c066E2",
|
||||
|
||||
//================== NFT ====================
|
||||
BuyoutModel: "",
|
||||
Fragment: "",
|
||||
NFTCollateralVault: "",
|
||||
DODONFTRouteHelper: "",
|
||||
|
||||
DodoNftErc721: "",
|
||||
DodoNftErc1155: "",
|
||||
|
||||
DODONFTRegistry: "",
|
||||
DODONFTProxy: "",
|
||||
|
||||
//=================== NFTPool ==================
|
||||
DODONFTApprove: "",
|
||||
DODONFTPoolProxy: "",
|
||||
FilterAdmin: "",
|
||||
FilterERC721V1: "",
|
||||
FilterERC1155V1: "",
|
||||
NFTPoolController: ""
|
||||
}
|
||||
}
|
||||
101
config/linea-config.js
Normal file
101
config/linea-config.js
Normal file
@@ -0,0 +1,101 @@
|
||||
module.exports = {
|
||||
LINEA_CONFIG: {
|
||||
//TOKEN
|
||||
WETH: "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",
|
||||
CHI: "",
|
||||
DODO: "",
|
||||
|
||||
//Helper
|
||||
DODOSellHelper: "0xf5Ec1a19e1570bDf0A3AaA6585274f27027270b1",
|
||||
DODOCalleeHelper: "0xB5c7BA1EAde74800cD6cf5F56b1c4562De373780",
|
||||
DODOV1PmmHelper: "0x44023441f2Bad375b6b5C6354B03c3E9AD01E269",
|
||||
DODOV2RouteHelper: "0xa5fc92Ca57a21C87AA0477b1c8fE8B9Bbf69d6C2",
|
||||
ERC20Helper: "0xbcd2FDC3B884Cf0dfD932f55Ec2Fe1fB7e8c62Da",
|
||||
DODOSwapCalcHelper: "0x8eA40e8Da3ae64Bad5E77a5f7DB346499F543baC",
|
||||
MultiCall: "0xa7b9C3a116b20bEDDdBE4d90ff97157f67F0bD97",
|
||||
CurveSample: "",
|
||||
|
||||
//Template
|
||||
CloneFactory: "0x17644d3b366273fac75a07996e2f90a99a2946a7",
|
||||
FeeRateModel: "0x628E5081bA93b1c4F58E54e7175088B1ACe58852",
|
||||
FeeRateDIP3Impl: "0x65934e2f228Fde069A6255F46E6A15Bc9DE38545",
|
||||
UserQuota: "0x7B07164ecFaF0F0D85DFC062Bc205a4674c75Aa0",
|
||||
PermissionManager: "0xa1609A1fa7DC16c025feA194c02b2822441b8c10",
|
||||
DVM: "0x0fcB5237A1997C4700Ffa2BB4522EA38d4F851Fc",
|
||||
DPP: "",
|
||||
DSP: "0x200D866Edf41070DE251Ef92715a6Ea825A5Eb80",
|
||||
DPPAdmin: "",
|
||||
DPPAdvanced: "0x6a9de0c6235bdd14b52eea53f5a08ff7d4183b3e",
|
||||
DPPAdvancedAdmin: "0x297da061D1dE0132D241Fafed224288B34d81005",
|
||||
CP: "0xCD536b4DECFD2fa0443666B6becD145F8aDe2E48",
|
||||
ERC20MineV2: "0x04f7BaE2A4c05cd567F762E33450deBCebdC89EA",
|
||||
ERC20MineV3: "0x89872650fA1A391f58B4E144222bB02e44db7e3B",
|
||||
ERC20: "0x3dD629473A2eD7f3C6299FFD9F3e0C283d073f11",
|
||||
CustomERC20: "0x8414560d69650bC0c915d5d4385e1714a23cbe81",
|
||||
CustomMintableERC20: "0xEAC4BFef7D1c872Ed705B01856af7f9802adC596",
|
||||
|
||||
//Factory
|
||||
DVMFactory: "0xc0F9553Df63De5a97Fe64422c8578D0657C360f7",
|
||||
DPPFactory: "0x97bBF5BB1dcfC93A8c67e97E50Bea19DB3416A83",
|
||||
DSPFactory: "0x2933c0374089D7D98BA0C71c5E02E1A0e09deBEE",
|
||||
CrowdPoolingFactory: "0x6B9577b87666af89bd0e144b9b64e8Ed166E303d",
|
||||
ERC20Factory: "",
|
||||
ERC20V2Factory: "",
|
||||
ERC20V3Factory: "0x0226fCE8c969604C3A0AD19c37d1FAFac73e13c2",
|
||||
DODOMineV2Factory: "0xFD2b7994f91c08aAa5e013E899334A2DBb500DF1",
|
||||
DODOMineV3Registry: "0x8dD0Fea5FA2f7df535F87f312641Cc15d8B151BA",
|
||||
|
||||
//Approve
|
||||
DODOApprove: "0x6de4d882a84A98f4CCD5D33ea6b3C99A07BAbeB1",
|
||||
DODOApproveProxy: "0xCb3dC90E800C961d4a206BeAAFd92A6d2E06495e",
|
||||
|
||||
//Periphery
|
||||
DODOIncentive: "",
|
||||
|
||||
//Adpater
|
||||
DODOV1Adapter: "0x46AF6b152F2cb02a3cFcc74014C2617BC4F6cD5C",
|
||||
DODOV2Adapter: "0x66c45FF040e86DC613F239123A5E21FFdC3A3fEC",
|
||||
UniAdapter: "0xE2004eE21f88a7D8e1A5EDc3c9617a0460CC7b99",
|
||||
CurveAdapter: "",
|
||||
|
||||
//Proxy
|
||||
DODOV2Proxy: "0x4CAD0052524648A7Fa2cfE279997b00239295F33",
|
||||
DSPProxy: "0x6D3bd005A8a75d6522C9cFE7d309BB1Cf9650e03",
|
||||
CpProxy: "0x2F66C5aAF006Bd9c51615D617589C16c0ed35fD3",
|
||||
DPPProxy: "0xCDA4a6cc5997002B87f28D46852F9F0aA0f3c897",
|
||||
RouteProxy: "",
|
||||
FeeRouteProxy1: "0x03e89fC55A5ad0531576E5a502c4CA52c8bf391B", // for front-end
|
||||
FeeRouteProxy2: "0x70B9C57E1fF24761C1C3ced57Ddae9A3F3570698", // for widget
|
||||
DODOMineV3Proxy: "0xA6d0066328Edbcf3220cf8F61e8527e589DD9719",
|
||||
|
||||
//vDODO
|
||||
DODOCirculationHelper: "",
|
||||
Governance: "",
|
||||
dodoTeam: "",
|
||||
vDODOToken: "",
|
||||
|
||||
//Account
|
||||
multiSigAddress: "0x6292e8f7647b3b9dDf5795b1Fb77D0187e30E0F9",
|
||||
defaultMaintainer: "0x6292e8f7647b3b9dDf5795b1Fb77D0187e30E0F9",
|
||||
|
||||
//================== NFT ====================
|
||||
BuyoutModel: "",
|
||||
Fragment: "",
|
||||
NFTCollateralVault: "",
|
||||
DODONFTRouteHelper: "",
|
||||
|
||||
DodoNftErc721: "",
|
||||
DodoNftErc1155: "",
|
||||
|
||||
DODONFTRegistry: "",
|
||||
DODONFTProxy: "",
|
||||
|
||||
//=================== NFTPool ==================
|
||||
DODONFTApprove: "",
|
||||
DODONFTPoolProxy: "",
|
||||
FilterAdmin: "",
|
||||
FilterERC721V1: "",
|
||||
FilterERC1155V1: "",
|
||||
NFTPoolController: ""
|
||||
}
|
||||
}
|
||||
101
config/scroll-sepolia-config.js
Normal file
101
config/scroll-sepolia-config.js
Normal file
@@ -0,0 +1,101 @@
|
||||
module.exports = {
|
||||
SCROLL_SEPOLIA_CONFIG: {
|
||||
//TOKEN
|
||||
WETH: "0xa7b9C3a116b20bEDDdBE4d90ff97157f67F0bD97",
|
||||
CHI: "",
|
||||
DODO: "",
|
||||
|
||||
//Helper
|
||||
DODOSellHelper: "0x8eA40e8Da3ae64Bad5E77a5f7DB346499F543baC",
|
||||
DODOCalleeHelper: "0x44023441f2Bad375b6b5C6354B03c3E9AD01E269",
|
||||
DODOV1PmmHelper: "0x17644d3B366273faC75A07996E2F90A99A2946a7",
|
||||
DODOV2RouteHelper: "0x6B9577b87666af89bd0e144b9b64e8Ed166E303d",
|
||||
ERC20Helper: "0xB5c7BA1EAde74800cD6cf5F56b1c4562De373780",
|
||||
DODOSwapCalcHelper: "0xbcd2FDC3B884Cf0dfD932f55Ec2Fe1fB7e8c62Da",
|
||||
MultiCall: "0xf5Ec1a19e1570bDf0A3AaA6585274f27027270b1",
|
||||
CurveSample: "",
|
||||
|
||||
//Template
|
||||
CloneFactory: "0x628E5081bA93b1c4F58E54e7175088B1ACe58852",
|
||||
FeeRateModel: "0x7B07164ecFaF0F0D85DFC062Bc205a4674c75Aa0",
|
||||
FeeRateDIP3Impl: "0xa1609A1fa7DC16c025feA194c02b2822441b8c10",
|
||||
UserQuota: "",
|
||||
PermissionManager: "0x0fcB5237A1997C4700Ffa2BB4522EA38d4F851Fc",
|
||||
DVM: "0x6a9De0C6235bDD14B52eeA53F5a08Ff7D4183b3e",
|
||||
DPP: "",
|
||||
DSP: "0x89872650fA1A391f58B4E144222bB02e44db7e3B",
|
||||
DPPAdmin: "",
|
||||
DPPAdvanced: "0x6de4d882a84A98f4CCD5D33ea6b3C99A07BAbeB1",
|
||||
DPPAdvancedAdmin: "0x3dD629473A2eD7f3C6299FFD9F3e0C283d073f11",
|
||||
CP: "0x8414560d69650bC0c915d5d4385e1714a23cbe81",
|
||||
ERC20MineV2: "0x0226fCE8c969604C3A0AD19c37d1FAFac73e13c2",
|
||||
ERC20MineV3: "0xa23137871C4A4ce8514f581EE82262CD1A49EEAE",
|
||||
ERC20: "0xEAC4BFef7D1c872Ed705B01856af7f9802adC596",
|
||||
CustomERC20: "0x04f7BaE2A4c05cd567F762E33450deBCebdC89EA",
|
||||
CustomMintableERC20: "0xCb3dC90E800C961d4a206BeAAFd92A6d2E06495e",
|
||||
|
||||
//Factory
|
||||
DVMFactory: "0xa71415675F68f29259ddD63215E5518d2735bf0a",
|
||||
DPPFactory: "0xFD2b7994f91c08aAa5e013E899334A2DBb500DF1",
|
||||
DSPFactory: "0x46AF6b152F2cb02a3cFcc74014C2617BC4F6cD5C",
|
||||
CrowdPoolingFactory: "0x29C7718e8B606cEF1c44Fe6e43e07aF9D0875DE1",
|
||||
ERC20Factory: "",
|
||||
ERC20V2Factory: "",
|
||||
ERC20V3Factory: "0x97bBF5BB1dcfC93A8c67e97E50Bea19DB3416A83",
|
||||
DODOMineV2Factory: "0xE2004eE21f88a7D8e1A5EDc3c9617a0460CC7b99",
|
||||
DODOMineV3Registry: "0x4CAD0052524648A7Fa2cfE279997b00239295F33",
|
||||
|
||||
//Approve
|
||||
DODOApprove: "0xc0F9553Df63De5a97Fe64422c8578D0657C360f7",
|
||||
DODOApproveProxy: "0x4A81Aa47722E1cF27A8726F247E68a766bE58d8e",
|
||||
|
||||
//Periphery
|
||||
DODOIncentive: "",
|
||||
|
||||
//Adpater
|
||||
DODOV1Adapter: "0x0B1467f71c082D8d410aF4376C685D9A6893cF36",
|
||||
DODOV2Adapter: "0x2F66C5aAF006Bd9c51615D617589C16c0ed35fD3",
|
||||
UniAdapter: "0xCDA4a6cc5997002B87f28D46852F9F0aA0f3c897",
|
||||
CurveAdapter: "",
|
||||
|
||||
//Proxy
|
||||
DODOV2Proxy: "0xA6d0066328Edbcf3220cf8F61e8527e589DD9719",
|
||||
DSPProxy: "0x200D866Edf41070DE251Ef92715a6Ea825A5Eb80",
|
||||
CpProxy: "0x2933c0374089D7D98BA0C71c5E02E1A0e09deBEE",
|
||||
DPPProxy: "0x49186E32fEd50fd6B5604A2618c7B0b03Cd41414",
|
||||
RouteProxy: "",
|
||||
FeeRouteProxy1: "0x03e89fC55A5ad0531576E5a502c4CA52c8bf391B", // for front-end
|
||||
FeeRouteProxy2: "0x70B9C57E1fF24761C1C3ced57Ddae9A3F3570698", // for widget
|
||||
DODOMineV3Proxy: "0xa5fc92Ca57a21C87AA0477b1c8fE8B9Bbf69d6C2",
|
||||
|
||||
//vDODO
|
||||
DODOCirculationHelper: "",
|
||||
Governance: "",
|
||||
dodoTeam: "",
|
||||
vDODOToken: "",
|
||||
|
||||
//Account
|
||||
multiSigAddress: "0xb37136B338C6cC0E459A35fe9Aa036f6b5A147c0",
|
||||
defaultMaintainer: "0xb37136B338C6cC0E459A35fe9Aa036f6b5A147c0",
|
||||
|
||||
//================== NFT ====================
|
||||
BuyoutModel: "",
|
||||
Fragment: "",
|
||||
NFTCollateralVault: "",
|
||||
DODONFTRouteHelper: "",
|
||||
|
||||
DodoNftErc721: "",
|
||||
DodoNftErc1155: "",
|
||||
|
||||
DODONFTRegistry: "",
|
||||
DODONFTProxy: "",
|
||||
|
||||
//=================== NFTPool ==================
|
||||
DODONFTApprove: "",
|
||||
DODONFTPoolProxy: "",
|
||||
FilterAdmin: "",
|
||||
FilterERC721V1: "",
|
||||
FilterERC1155V1: "",
|
||||
NFTPoolController: ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user