Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ ifeq ($(findstring --network gnosis-mainnet,$(ARGS)),--network gnosis-mainnet)
NETWORK_ARGS := --rpc-url $(GNOSIS_MAINNET_RPC_URL) --account $(ACCOUNT) --broadcast --verify --verifier blockscout --verifier-url https://gnosis.blockscout.com/api --chain 100 -vvvv
endif

ifeq ($(findstring --network arc-mainnet,$(ARGS)),--network arc-mainnet)
NETWORK_ARGS := --rpc-url $(ARC_MAINNET_RPC_URL) --account $(ACCOUNT) --broadcast --verify --verifier blockscout --verifier-url https://arcscan.app/api --chain 5042 -vvvv
endif

ifeq ($(findstring --network arc-testnet,$(ARGS)),--network arc-testnet)
NETWORK_ARGS := --rpc-url $(ARC_TESTNET_RPC_URL) --account $(ACCOUNT) --broadcast --verify --verifier blockscout --verifier-url https://testnet.arcscan.app/api --chain 5042002 -vvvv
endif
Expand Down Expand Up @@ -218,6 +222,9 @@ deploy-dos-mainnet:
deploy-gnosis-mainnet:
@forge script script/DeployJustanAccount.s.sol:DeployJustanAccount $(NETWORK_ARGS)

deploy-arc-mainnet:
@forge script script/DeployJustanAccount.s.sol:DeployJustanAccount $(NETWORK_ARGS)

deploy-arc-testnet:
@forge script script/DeployJustanAccount.s.sol:DeployJustanAccount $(NETWORK_ARGS)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
| Ink | 57073 | Ink Sepolia | 763373 |
| DOS Chain | 7979 | - | - |
| Gnosis | 100 | - | - |
| - | - | Arc Testnet | 5042002 |
| Arc | 5042 | Arc Testnet | 5042002 |
| Polygon | 137 | Amoy | 80002 |
| Robinhood Chain | 4663 | - | - |
| Soneium | 1868 | - | - |
Expand Down
89 changes: 89 additions & 0 deletions broadcast/DeployJustanAccount.s.sol/5042/run-1789548977250.json

Large diffs are not rendered by default.

89 changes: 89 additions & 0 deletions broadcast/DeployJustanAccount.s.sol/5042/run-latest.json

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions script/HelperConfig.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ abstract contract CodeConstants {

uint256 public constant GNOSIS_CHAIN_ID = 100;

uint256 public constant ARC_CHAIN_ID = 5042;
uint256 public constant ARC_TESTNET_CHAIN_ID = 5_042_002;

uint256 public constant POLYGON_CHAIN_ID = 137;
Expand Down Expand Up @@ -88,9 +89,10 @@ contract HelperConfig is CodeConstants, Script {
|| chainId == LINEA_CHAIN_ID || chainId == LINEA_SEPOLIA_CHAIN_ID || chainId == CELO_CHAIN_ID
|| chainId == CELO_SEPOLIA_CHAIN_ID || chainId == FLARE_CHAIN_ID || chainId == FLARE_COSTON2_CHAIN_ID
|| chainId == INK_CHAIN_ID || chainId == INK_SEPOLIA_CHAIN_ID || chainId == DOS_CHAIN_ID
|| chainId == GNOSIS_CHAIN_ID || chainId == ARC_TESTNET_CHAIN_ID || chainId == POLYGON_CHAIN_ID
|| chainId == POLYGON_AMOY_CHAIN_ID || chainId == ROBINHOOD_CHAIN_ID || chainId == SONEIUM_CHAIN_ID
|| chainId == HYVECHAIN_CHAIN_ID || chainId == UNICHAIN_CHAIN_ID || chainId == MONAD_CHAIN_ID;
|| chainId == GNOSIS_CHAIN_ID || chainId == ARC_CHAIN_ID || chainId == ARC_TESTNET_CHAIN_ID
|| chainId == POLYGON_CHAIN_ID || chainId == POLYGON_AMOY_CHAIN_ID || chainId == ROBINHOOD_CHAIN_ID
|| chainId == SONEIUM_CHAIN_ID || chainId == HYVECHAIN_CHAIN_ID || chainId == UNICHAIN_CHAIN_ID
|| chainId == MONAD_CHAIN_ID;
}

function getConfigByChainId(uint256 chainId) public returns (NetworkConfig memory) {
Expand Down
Loading