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
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,13 @@ ifeq ($(findstring --network monad-mainnet,$(ARGS)),--network monad-mainnet)
NETWORK_ARGS := --rpc-url $(MONAD_MAINNET_RPC_URL) --account $(ACCOUNT) --broadcast --verify --verifier custom --verifier-url "https://api.etherscan.io/v2/api?chainid=143&apikey=$(ETHERSCAN_API_KEY)" --chain 143 -vvvv
endif

# Arc mainnet (chain 5042) launches 2026-09-16; forge 1.5.1 has no chain alias for it, and the
# Blockscout explorer mirrors the testnet host (testnet.arcscan.app -> arcscan.app). Confirm the
# RPC and verifier URLs against Circle's published mainnet endpoints before the first deploy.
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

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

Expand Down Expand Up @@ -244,4 +251,7 @@ deploy-unichain-mainnet:
@forge script script/DeployJustaPermissionManager.s.sol:DeployJustaPermissionManager $(NETWORK_ARGS)

deploy-monad-mainnet:
@forge script script/DeployJustaPermissionManager.s.sol:DeployJustaPermissionManager $(NETWORK_ARGS)

deploy-arc-mainnet:
@forge script script/DeployJustaPermissionManager.s.sol:DeployJustaPermissionManager $(NETWORK_ARGS)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
| Ink | 57073 | Ink Sepolia | 763373 |
| DOS | 7979 | | |
| Gnosis | 100 | - | - |
| - | - | Arc Testnet | 5042002 |
| Arc | 5042 | Arc Testnet | 5042002 |
| Polygon | 137 | - | - |
| Robinhood Chain | 4663 | - | - |
| Soneium | 1868 | - | - |
Expand Down

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion script/HelperConfig.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,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 @@ -144,7 +145,8 @@ contract HelperConfig is CodeConstants, Script {
|| 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 == HYVECHAIN_CHAIN_ID || chainId == UNICHAIN_CHAIN_ID || chainId == MONAD_CHAIN_ID
|| chainId == ARC_CHAIN_ID;
}

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