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 contracts to Abstract #924

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
aba775b
begin configuring abstract
ezynda3 Jan 13, 2025
1dbde10
deploy core facets to abstract
ezynda3 Jan 14, 2025
5d56ea3
more deployments
ezynda3 Jan 14, 2025
0388431
more deployments and log updpates
ezynda3 Jan 14, 2025
b8f24d6
update diamondPause workflow
ezynda3 Jan 14, 2025
676a887
more deployments update logs
ezynda3 Jan 14, 2025
f3607a1
gaszip updates
ezynda3 Jan 16, 2025
f26dff6
replaced ts-node with tsx
0xDEnYO Jan 28, 2025
162d469
fix imports and add pre-selected action (=sign) when running with SAF…
0xDEnYO Jan 28, 2025
5a7a603
redeploy ReceiverStargateV2
ezynda3 Jan 28, 2025
8325e78
Merge branch 'main' of github.com:lifinance/contracts into LF-11057-d…
ezynda3 Jan 28, 2025
82493f8
update viem
ezynda3 Jan 28, 2025
0f43fa7
Merge branch 'fix-safe-scripts' of github.com:lifinance/contracts int…
ezynda3 Jan 28, 2025
2166acc
deployment and update
ezynda3 Jan 28, 2025
f2e7b24
Merge branch 'main' of github.com:lifinance/contracts into LF-11057-d…
ezynda3 Jan 28, 2025
b7be7fc
update logs
ezynda3 Jan 28, 2025
121ded7
Apply suggestions from code review
ezynda3 Jan 28, 2025
4d1d21a
update .env.example
ezynda3 Jan 28, 2025
755441f
Merge branch 'LF-11057-deploy-to-abstract' of github.com:lifinance/co…
ezynda3 Jan 28, 2025
64c0d97
Update script/deploy/zksync/DeployLiFiDEXAggregator.s.sol
ezynda3 Jan 28, 2025
6deb02c
remove unused files
ezynda3 Jan 29, 2025
636e112
Merge branch 'LF-11057-deploy-to-abstract' of github.com:lifinance/co…
ezynda3 Jan 29, 2025
a787ff8
udpate to use config helper
ezynda3 Jan 29, 2025
c0a72cf
remove helper for EOAs
ezynda3 Jan 30, 2025
9b86066
Merge branch 'main' of github.com:lifinance/contracts into LF-11057-d…
ezynda3 Jan 30, 2025
d022b32
Merge branch 'main' into LF-11057-deploy-to-abstract
ezynda3 Jan 31, 2025
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
1 change: 1 addition & 0 deletions .github/workflows/diamondEmergencyPause.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
./script/utils/diamondEMERGENCYPauseGitHub.sh
env:
ETH_NODE_URI_MAINNET: ${{ secrets.ETH_NODE_URI_MAINNET }}
ETH_NODE_URI_ABSTRACT: ${{ secrets.ETH_NODE_URI_ABSTRACT }}
ETH_NODE_URI_ARBITRUM: ${{ secrets.ETH_NODE_URI_ARBITRUM }}
ETH_NODE_URI_AURORA: ${{ secrets.ETH_NODE_URI_AURORA }}
ETH_NODE_URI_AVALANCHE: ${{ secrets.ETH_NODE_URI_AVALANCHE }}
Expand Down
8 changes: 7 additions & 1 deletion config/amarok.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
"0xdac17f958d2ee523a2206206994597c13d831ec7"
]
},
"abstract": {
"chainId": 2741,
"connextHandler": "0x0000000000000000000000000000000000000000",
"domain": "",
"tokensToApprove": []
},
"optimism": {
"chainId": 10,
"connextHandler": "0x8f7492DE823025b4CfaAB1D34c58963F2af5DEDA",
Expand Down Expand Up @@ -282,4 +288,4 @@
"domain": "",
"tokensToApprove": []
}
}
}
9 changes: 8 additions & 1 deletion config/dexs.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
"0x40aA958dd87FC8305b97f2BA922CDdCa374bcD7f",
"0xFe837A3530dD566401d35beFCd55582AF7c4dfFC"
],
"abstract": [
"0xde6A2171959d7b82aAD8e8B14cc84684C3a186AC",
"0x527868EDbF533C3Ac540f4457405f701D9d4c7c1",
"0xFC863E1418C0C5935e7Bd9C8f3129Aa0442153DF"
],
"arbitrum": [
"0x5215E9fd223BC909083fbdB2860213873046e45d",
"0xdFC2983401614118E1F2D5A5FD93C17Fecf8BdC6",
Expand Down Expand Up @@ -847,7 +852,9 @@
"0xf91bb752490473b8342a3e964e855b9f9a2a668e"
],
"avalancheFujiTestnet": [],
"bscTestnet": ["0x1b02da8cb0d097eb8d57a175b88c7d8b47997506"],
"bscTestnet": [
"0x1b02da8cb0d097eb8d57a175b88c7d8b47997506"
],
"localanvil": [],
"mumbai": [
"0x5215E9fd223BC909083fbdB2860213873046e45d",
Expand Down
3 changes: 2 additions & 1 deletion config/gaszip.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"gasZipRouters": {
"---ListOfRouterAddresses---": "https://dev.gas.zip/gas/chain-support/inbound",
"mainnet": "0x2a37D63EAdFe4b4682a3c28C1c2cD4F109Cc2762",
"abstract": "0x252fb662e4D7435D2a5DED8EC94d8932CF76C178",
"arbitrum": "0x2a37D63EAdFe4b4682a3c28C1c2cD4F109Cc2762",
"avalanche": "0x2a37D63EAdFe4b4682a3c28C1c2cD4F109Cc2762",
"base": "0x2a37D63EAdFe4b4682a3c28C1c2cD4F109Cc2762",
Expand All @@ -23,4 +24,4 @@
"xlayer": "0x2a37D63EAdFe4b4682a3c28C1c2cD4F109Cc2762",
"zksync": "0x252fb662e4d7435d2a5ded8ec94d8932cf76c178"
}
}
}
3 changes: 2 additions & 1 deletion config/global.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
},
"nativeAddress": {
"mainnet": "0x0000000000000000000000000000000000000000",
"abstract": "0x0000000000000000000000000000000000000000",
"arbitrum": "0x0000000000000000000000000000000000000000",
"aurora": "0x0000000000000000000000000000000000000000",
"avalanche": "0x0000000000000000000000000000000000000000",
Expand Down Expand Up @@ -152,4 +153,4 @@
"TokenWrapper",
"LiFiDEXAggregator"
]
}
}
20 changes: 19 additions & 1 deletion config/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,24 @@
"safeWebUrl": "https://app.safe.global/transactions/queue?safe=eth:0x37347dD595C49212C5FC2D95EA10d1085896f51E",
"gasZipChainId": 255
},
"abstract": {
"name": "abstract",
"chainId": 2741,
"nativeAddress": "0x0000000000000000000000000000000000000000",
"nativeCurrency": "ETH",
"wrappedNativeAddress": "0x3439153EB7AF838Ad19d56E1571FBD09333C2809",
"status": "active",
"type": "mainnet",
"rpcUrl": "https://api.raas.matterhosted.dev",
"verificationType": "etherscan",
"explorerUrl": "https://abscan.io",
"explorerApiUrl": "https://api.abscan.io/api",
"multicallAddress": "0xAa4De41dba0Ca5dCBb288b7cC6b708F3aaC759E7",
"safeApiUrl": "https://transaction.multisig-abs.w3us.site/api",
"safeAddress": "0x257CBCDc7FcBA79a83149C9D7160ef15A86FA39c",
"safeWebUrl": "https://multisig-abs.w3us.site/home?safe=abstract:0x257CBCDc7FcBA79a83149C9D7160ef15A86FA39c",
"gasZipChainId": 110
},
"arbitrum": {
"name": "arbitrum",
"chainId": 42161,
Expand Down Expand Up @@ -647,4 +665,4 @@
"safeWebUrl": "",
"gasZipChainId": 0
}
}
}
6 changes: 5 additions & 1 deletion config/relay.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"relayReceiver": "0xa5f565650890fba1824ee0f21ebbbf660a179934",
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF"
},
"abstract": {
"relayReceiver": "0x634e831ce6d460c2cd5067af98d6452eb280e374",
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF"
},
"optimism": {
"relayReceiver": "0xa5f565650890fba1824ee0f21ebbbf660a179934",
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF"
Expand Down Expand Up @@ -79,4 +83,4 @@
"relayReceiver": "0xa5f565650890fba1824ee0f21ebbbf660a179934",
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF"
}
}
}
5 changes: 4 additions & 1 deletion config/stargate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"endpointV2": {
"LinkToDeployedToAddresses": "https://docs.layerzero.network/v2/developers/evm/technical-reference/deployed-contracts",
"mainnet": "0x1a44076050125825900e736c501f859c50fE728c",
"abstract": "0xd07C30aF3Ff30D96BDc9c6044958230Eb797DDBF",
"arbitrum": "0x1a44076050125825900e736c501f859c50fE728c",
"aurora": "0x1a44076050125825900e736c501f859c50fE728c",
"avalanche": "0x1a44076050125825900e736c501f859c50fE728c",
Expand Down Expand Up @@ -49,6 +50,7 @@
"mainnet": "0x6d6620eFa72948C5f68A3C8646d58C00d3f4A980",
"bsc": "0x6e3d884c96d640526f273c61dfcf08915ebd7e2b",
"polygon": "0x6ce9bf8cdab780416ad1fd87b318a077d2f50eac",
"abstract": "0x183D6b82680189bB4dB826F739CdC9527D467B25",
"arbitrum": "0x19cfce47ed54a88614648dc3f19a5980097007dd",
"fuse": "0x45a01e4e04f14f7a4a6702c74187c5f6222033cd",
"mantle": "0x41b491285a4f888f9f636cec8a363ab9770a0aef",
Expand Down Expand Up @@ -203,6 +205,7 @@
],
"composers": {
"mainnet": "0xeCc19E177d24551aA7ed6Bc6FE566eCa726CC8a9",
"abstract": "0x0000000000000000000000000000000000000000",
"arbitrum": "0xeCc19E177d24551aA7ed6Bc6FE566eCa726CC8a9",
"aurora": "0x0000000000000000000000000000000000000000",
"avalanche": "0xeCc19E177d24551aA7ed6Bc6FE566eCa726CC8a9",
Expand Down Expand Up @@ -288,4 +291,4 @@
"mumbai": "0x817436a076060D158204d955E5403b6Ed0A5fac0",
"sepolia": "0x0000000000000000000000000000000000000000"
}
}
}
3 changes: 2 additions & 1 deletion config/tokenwrapper.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"comment": "Note: this file is generated by a backend script, do not change it manually!",
"mainnet": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"abstract": "0x3439153EB7AF838Ad19d56E1571FBD09333C2809",
"optimism": "0x4200000000000000000000000000000000000006",
"cronos": "0x5c7f8a570d578ed84e63fdfa7b1ee72deae1ae23",
"rootstock": "0x542fda317318ebf1d3deaf76e0b632741a7e677d",
Expand Down Expand Up @@ -37,4 +38,4 @@
"scroll": "0x5300000000000000000000000000000000000004",
"aurora": "0xc9bdeed33cd01541e1eed10f90519d2c06fe3feb",
"harmony": "0xcf664087a5bb0237a0bad6742852ec6c8d69a27a"
}
}
Loading
Loading