Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy to Lisk #875

Merged
merged 17 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ ETH_NODE_URI_GRAVITY=https://rpc.gravity.xyz #[pre-commit-checker: not a secret
ETH_NODE_URI_IMMUTABLEZKEVM=https://rpc.immutable.com #[pre-commit-checker: not a secret]
ETH_NODE_URI_KAIA=https://klaytn.drpc.org #[pre-commit-checker: not a secret]
ETH_NODE_URI_LINEA=https://rpc.linea.build #[pre-commit-checker: not a secret]
ETH_NODE_URI_LISK=https://rpc.api.lisk.com #[pre-commit-checker: not a secret]
ETH_NODE_URI_MANTLE=https://rpc.mantle.xyz #[pre-commit-checker: not a secret]
ETH_NODE_URI_METIS=https://metis-mainnet.public.blastapi.io #[pre-commit-checker: not a secret]
ETH_NODE_URI_MODE=https://mainnet.mode.network #[pre-commit-checker: not a secret]
Expand Down Expand Up @@ -60,6 +61,7 @@ GRAVITY_ETHERSCAN_API_KEY=
IMMUTABLEZKEVM_ETHERSCAN_API_KEY=
KAIA_ETHERSCAN_API_KEY=
LINEA_ETHERSCAN_API_KEY=
LISK_ETHERSCAN_API_KEY=
MANTLE_ETHERSCAN_API_KEY=
METIS_ETHERSCAN_API_KEY=
MODE_ETHERSCAN_API_KEY=
Expand Down
10 changes: 9 additions & 1 deletion config/across.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@
"0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f"
]
},
"lisk": {
"chainId": 1135,
"acrossSpokePool": "0x9552a0a6624A23B848060AE5901659CDDa1f83f8",
"weth": "0x4200000000000000000000000000000000000006",
"tokensToApprove": [
"0x4200000000000000000000000000000000000006"
]
},
"blast": {
"chainId": 81457,
"acrossSpokePool": "0x2D509190Ed0172ba588407D4c2df918F955Cc6E1",
Expand Down Expand Up @@ -142,4 +150,4 @@
"0x4200000000000000000000000000000000000006"
]
}
}
}
6 changes: 6 additions & 0 deletions config/amarok.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@
"0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f"
]
},
"lisk": {
"chainId": 1135,
"connextHandler": "0x0000000000000000000000000000000000000000",
"domain": "",
"tokensToApprove": []
},
ezynda3 marked this conversation as resolved.
Show resolved Hide resolved
"mantle": {
"chainId": 5000,
"connextHandler": "0x0000000000000000000000000000000000000000",
Expand Down
6 changes: 6 additions & 0 deletions config/dexs.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,12 @@
"0xf2614A233c7C3e7f08b1F887Ba133a13f1eb2c55",
"0x6b2c0c7be2048daa9b5527982c29f48062b34d58"
],
"lisk": [
"0x603a538477d44064eA5A5d8C345b4Ff6fca1142a",
"0x2321F1a63A683a1F3634Dbe1CbA0d657D5F56d54",
"0x8f023b4193a6b18C227B4a755f8e28B3D30Ef9a1",
"0x50D5a8aCFAe13Dceb217E9a071F6c6Bd5bDB4155"
],
"mantle": [
"0xD9F4e85489aDCD0bAF0Cd63b4231c6af58c26745",
"0x6352a56caadC4F1E25CD6c75970Fa768A3304e64",
Expand Down
20 changes: 19 additions & 1 deletion config/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,24 @@
"safeWebUrl": "https://app.safe.global/transactions/queue?safe=linea:0xdf61270fDC1A892874Fd3C0143A0A4CBA74F4EF1",
"gasZipChainId": 59
},
"lisk": {
"name": "Lisk",
"chainId": 1135,
"nativeAddress": "0x0000000000000000000000000000000000000000",
"nativeCurrency": "ETH",
ezynda3 marked this conversation as resolved.
Show resolved Hide resolved
"wrappedNativeAddress": "0x4200000000000000000000000000000000000006",
"status": "active",
"type": "mainnet",
"rpcUrl": "https://rpc.api.lisk.com",
"verificationType": "blockscout",
"explorerUrl": "https://blockscout.lisk.com",
"explorerApiUrl": "https://blockscout.lisk.com/api",
"multicallAddress": "0xcA11bde05977b3631167028862bE2a173976CA11",
"safeApiUrl": "https://transaction-lisk.safe.optimism.io/api",
"safeAddress": "0x86E02d7383D6a045848b0a1A842996AC9E943113",
"safeWebUrl": "https://safe.optimism.io/home?safe=lisk:0x86E02d7383D6a045848b0a1A842996AC9E943113",
"gasZipChainId": 238
ezynda3 marked this conversation as resolved.
Show resolved Hide resolved
},
"mantle": {
"name": "Mantle",
"chainId": 5000,
Expand Down Expand Up @@ -629,4 +647,4 @@
"safeWebUrl": "",
"gasZipChainId": 0
}
}
}
3 changes: 3 additions & 0 deletions config/stargate.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"kaia": "0x0000000000000000000000000000000000000000",
"velas": "0x0000000000000000000000000000000000000000",
"linea": "0x1a44076050125825900e736c501f859c50fE728c",
"lisk": "0x0000000000000000000000000000000000000000",
ezynda3 marked this conversation as resolved.
Show resolved Hide resolved
"metis": "0x1a44076050125825900e736c501f859c50fE728c",
"mode": "0x1a44076050125825900e736c501f859c50fE728c",
"mantle": "0x1a44076050125825900e736c501f859c50fE728c",
Expand Down Expand Up @@ -224,6 +225,7 @@
"bsc-testnet": "0x0000000000000000000000000000000000000000",
"lineatest": "0x0000000000000000000000000000000000000000",
"linea": "0xeCc19E177d24551aA7ed6Bc6FE566eCa726CC8a9",
"lisk": "0x0000000000000000000000000000000000000000",
"metis": "0xeCc19E177d24551aA7ed6Bc6FE566eCa726CC8a9",
"mode": "0x0000000000000000000000000000000000000000",
"mantle": "0x296F55F8Fb28E498B858d0BcDA06D955B2Cb3f97",
Expand Down Expand Up @@ -266,6 +268,7 @@
"bsc-testnet": "0x0000000000000000000000000000000000000000",
"lineatest": "0x0000000000000000000000000000000000000000",
"linea": "0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590",
"lisk": "0x0000000000000000000000000000000000000000",
"mantle": "0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590",
"metis": "0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590",
"scroll": "0x36d4686e19c052787D7f24E6913cEbC025714895",
Expand Down
1 change: 1 addition & 0 deletions config/tokenwrapper.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"celo": "0x471ece3750da237f93b8e339c536989b8978a438",
"avalanche": "0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7",
"linea": "0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f",
"lisk": "0x4200000000000000000000000000000000000006",
"blast": "0x4300000000000000000000000000000000000004",
"worldchain": "0x4200000000000000000000000000000000000006",
"taiko": "0xA51894664A773981C6C112C43ce576f315d5b1B6",
Expand Down
16 changes: 15 additions & 1 deletion deployments/_deployments_log_file.json
Original file line number Diff line number Diff line change
Expand Up @@ -22492,6 +22492,20 @@
}
]
}
},
"lisk": {
ezynda3 marked this conversation as resolved.
Show resolved Hide resolved
"production": {
"1.0.1": [
{
"ADDRESS": "0xBa713B18c806EcdEEE49FAec623dE2D872192872",
"OPTIMIZER_RUNS": "1000000",
"TIMESTAMP": "2024-11-25 10:30:44",
ezynda3 marked this conversation as resolved.
Show resolved Hide resolved
"CONSTRUCTOR_ARGS": "0x0000000000000000000000000000000000000000000000000000000000000000",
"SALT": "",
"VERIFIED": "false"
ezynda3 marked this conversation as resolved.
Show resolved Hide resolved
}
]
}
}
},
"StargateFacetV2": {
Expand Down Expand Up @@ -24603,4 +24617,4 @@
}
}
}
}
}
76 changes: 76 additions & 0 deletions deployments/lisk.diamond.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"LiFiDiamond": {
"Facets": {
"0x57FdfF2e36De6c8a8Cde297B150Ae291132Eae8d": {
"Name": "DiamondCutFacet",
"Version": "1.0.0"
},
"0xA1a4d577709dC4A70CA38F1D41562fab3aD09D3f": {
"Name": "DiamondLoupeFacet",
"Version": "1.0.0"
ezynda3 marked this conversation as resolved.
Show resolved Hide resolved
},
"0x81Ae738700D8f1e5BB2A200584174cDf17Fb5455": {
"Name": "OwnershipFacet",
"Version": "1.0.0"
},
"0xfA009cd56d35AE3BbdF975135b0BAE9b403c7da1": {
"Name": "WithdrawFacet",
"Version": "1.0.0"
},
"0xE154389c1bAE241F220661131b7AfDc1514C55c7": {
"Name": "DexManagerFacet",
"Version": "1.0.0"
},
"0x314E1E760316050B0D6338bCf3d689b8D301F593": {
"Name": "AccessManagerFacet",
"Version": "1.0.0"
},
"0x54ECfbAaeb49c864a9c45C70B785ca6C70c66453": {
"Name": "PeripheryRegistryFacet",
"Version": "1.0.0"
},
"0x14Dd70456Bfe4Cd8b605f7A0d24b3A74aCe99713": {
"Name": "LIFuelFacet",
"Version": "1.0.0"
},
"0xd2B3b3605e630232c13111458Ae3a97d13c8F477": {
"Name": "GenericSwapFacet",
"Version": "1.0.0"
},
"0xBa713B18c806EcdEEE49FAec623dE2D872192872": {
"Name": "GenericSwapFacetV3",
"Version": "1.0.0"
},
"0xe6C6A35684308f2DaadbeeA50B62CFEaAFaa407E": {
"Name": "StandardizedCallFacet",
"Version": "1.0.0"
},
"0x1feB868BF64AdC552E051fB7387681F78b988a81": {
"Name": "CalldataVerificationFacet",
"Version": "1.0.0"
},
"0xF6Eff8df65Fc4a4c1528761Aa727b5471956A844": {
"Name": "EmergencyPauseFacet",
"Version": "1.0.0"
},
"0xB5dD83183fD7CCF859b227CA83663a034d5B2f92": {
"Name": "AcrossFacetV3",
"Version": "1.0.0"
},
"0x90ADbFc03002aaA3d9FEdf2517D593CfD93e6c57": {
"Name": "AcrossFacetPackedV3",
"Version": "1.0.0"
}
},
"Periphery": {
"ERC20Proxy": "0x98750e70Cf1313D9702f0f57D399DD0bA05d16E0",
"Executor": "0xd9318fFE1EbbfA71049A443e623Be566067C9D6B",
"FeeCollector": "0x50D5a8aCFAe13Dceb217E9a071F6c6Bd5bDB4155",
"Receiver": "0xD9e3837E42198aaFc13cb51536d7c31f590aD6Fd",
"LiFuelFeeCollector": "0x8f023b4193a6b18C227B4a755f8e28B3D30Ef9a1",
"TokenWrapper": "0x603a538477d44064eA5A5d8C345b4Ff6fca1142a",
"LiFiDEXAggregator": "0x2321F1a63A683a1F3634Dbe1CbA0d657D5F56d54",
"ReceiverAcrossV3": "0xD263a23453CB9A77860ed6393A2B9a55AF70EFAb"
}
}
}
26 changes: 26 additions & 0 deletions deployments/lisk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"DiamondCutFacet": "0x57FdfF2e36De6c8a8Cde297B150Ae291132Eae8d",
"DiamondLoupeFacet": "0xA1a4d577709dC4A70CA38F1D41562fab3aD09D3f",
"GenericSwapFacetV3": "0xBa713B18c806EcdEEE49FAec623dE2D872192872",
"OwnershipFacet": "0x81Ae738700D8f1e5BB2A200584174cDf17Fb5455",
"DexManagerFacet": "0xE154389c1bAE241F220661131b7AfDc1514C55c7",
"AccessManagerFacet": "0x314E1E760316050B0D6338bCf3d689b8D301F593",
"WithdrawFacet": "0xfA009cd56d35AE3BbdF975135b0BAE9b403c7da1",
"PeripheryRegistryFacet": "0x54ECfbAaeb49c864a9c45C70B785ca6C70c66453",
"GenericSwapFacet": "0xd2B3b3605e630232c13111458Ae3a97d13c8F477",
"LIFuelFacet": "0x14Dd70456Bfe4Cd8b605f7A0d24b3A74aCe99713",
"CalldataVerificationFacet": "0x1feB868BF64AdC552E051fB7387681F78b988a81",
"StandardizedCallFacet": "0xe6C6A35684308f2DaadbeeA50B62CFEaAFaa407E",
"LiFiDiamond": "0x1231DEB6f5749EF6cE6943a275A1D3E7486F4EaE",
"EmergencyPauseFacet": "0xF6Eff8df65Fc4a4c1528761Aa727b5471956A844",
"AcrossFacetV3": "0xB5dD83183fD7CCF859b227CA83663a034d5B2f92",
"AcrossFacetPackedV3": "0x90ADbFc03002aaA3d9FEdf2517D593CfD93e6c57",
"ERC20Proxy": "0x98750e70Cf1313D9702f0f57D399DD0bA05d16E0",
"Executor": "0xd9318fFE1EbbfA71049A443e623Be566067C9D6B",
"FeeCollector": "0x50D5a8aCFAe13Dceb217E9a071F6c6Bd5bDB4155",
"Receiver": "0xD9e3837E42198aaFc13cb51536d7c31f590aD6Fd",
"LiFuelFeeCollector": "0x8f023b4193a6b18C227B4a755f8e28B3D30Ef9a1",
"TokenWrapper": "0x603a538477d44064eA5A5d8C345b4Ff6fca1142a",
"LiFiDEXAggregator": "0x2321F1a63A683a1F3634Dbe1CbA0d657D5F56d54",
"ReceiverAcrossV3": "0xD263a23453CB9A77860ed6393A2B9a55AF70EFAb"
}
2 changes: 2 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ gravity = "${ETH_NODE_URI_GRAVITY}"
immutablezkevm = "${ETH_NODE_URI_IMMUTABLEZKEVM}"
kaia = "${ETH_NODE_URI_KAIA}"
linea = "${ETH_NODE_URI_LINEA}"
lisk = "${ETH_NODE_URI_LISK}"
moonbeam = "${ETH_NODE_URI_MOONBEAM}"
moonriver = "${ETH_NODE_URI_MOONRIVER}"
nova = "${ETH_NODE_URI_NOVA}"
Expand Down Expand Up @@ -89,6 +90,7 @@ gravity = { key = "${GRAVITY_ETHERSCAN_API_KEY}", url = "https://explorer.gravit
immutablezkevm = { key = "${IMMUTABLEZKEVM_ETHERSCAN_API_KEY}", url = "https://explorer.immutable.com/api", chain = "13371", verifier = "blockscout" }
kaia = { key = "${KAIA_ETHERSCAN_API_KEY}", url = "https://api-cypress.klaytnscope.com/api", chain = "8217", verifier = "blockscout" }
linea = { key = "${LINEA_ETHERSCAN_API_KEY}", url = "https://api.lineascan.build/api", chain = "59144" }
lisk = { key = "${LISK_ETHERSCAN_API_KEY}", url = "https://blockscout.lisk.com/api", chain = "1135", verifier = "blockscout" }
mantle = { key = "${MANTLE_ETHERSCAN_API_KEY}", url = "https://api.routescan.io/v2/network/mainnet/evm/5000/etherscan", chain = "5000" }
metis = { key = "${METIS_ETHERSCAN_API_KEY}", url = "https://api.routescan.io/v2/network/mainnet/evm/1088/etherscan", chain = "1088" }
mode = { key = "${MODE_ETHERSCAN_API_KEY}", url = "https://api.routescan.io/v2/network/mainnet/evm/34443/etherscan", chain = "34443" }
Expand Down
1 change: 1 addition & 0 deletions networks
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ gravity
immutablezkevm
kaia
linea
lisk
mantle
metis
mode
Expand Down
Loading
Loading