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
16 changes: 15 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@ ifeq ($(findstring --network celo-sepolia,$(ARGS)),--network celo-sepolia)
NETWORK_ARGS := --rpc-url $(CELO_SEPOLIA_RPC_URL) --account $(ACCOUNT) --broadcast --verify --verifier-url https://api.etherscan.io/v2/api --etherscan-api-key $(ETHERSCAN_API_KEY) --etherscan-api-version v2 --chain 11142220 -vvvv
endif

ifeq ($(findstring --network flare-mainnet,$(ARGS)),--network flare-mainnet)
NETWORK_ARGS := --rpc-url $(FLARE_MAINNET_RPC_URL) --account $(ACCOUNT) --broadcast --verify --verifier blockscout --verifier-url https://flare-explorer.flare.network/api --chain 14 -vvvv
endif

ifeq ($(findstring --network flare-coston2,$(ARGS)),--network flare-coston2)
NETWORK_ARGS := --rpc-url $(FLARE_COSTON2_RPC_URL) --account $(ACCOUNT) --broadcast --verify --verifier blockscout --verifier-url https://coston2-explorer.flare.network/api --chain 114 -vvvv
endif

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

Expand Down Expand Up @@ -144,4 +152,10 @@ deploy-celo-mainnet:
@forge script script/DeployJustaPermissionManager.s.sol:DeployJustaPermissionManager $(NETWORK_ARGS)

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

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

deploy-flare-coston2:
@forge script script/DeployJustaPermissionManager.s.sol:DeployJustaPermissionManager $(NETWORK_ARGS)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
| Linea | 59144 | Linea Sepolia | 59141 |
| Avalanche | 43114 | Avalanche Fuji | 43113 |
| Celo | 42220 | Celo Sepolia | 11142220 |
| Flare | 14 | Flare Coston2 | 114 |

## Overview

Expand Down

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion script/HelperConfig.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ abstract contract CodeConstants {
uint256 public constant CELO_CHAIN_ID = 42_220;
uint256 public constant CELO_SEPOLIA_CHAIN_ID = 11_142_220;

uint256 public constant FLARE_CHAIN_ID = 14;
uint256 public constant FLARE_COSTON2_CHAIN_ID = 114;

////////////////////////////////////////////////////////////////////////
// ENTRY POINT
////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -115,7 +118,7 @@ contract HelperConfig is CodeConstants, Script {
|| chainId == ARBITRUM_ONE_CHAIN_ID || chainId == ARBITRUM_SEPOLIA_CHAIN_ID || chainId == AVALANCHE_CHAIN_ID
|| chainId == AVALANCHE_FUJI_CHAIN_ID || chainId == BSC_CHAIN_ID || chainId == BSC_TESTNET_CHAIN_ID
|| chainId == LINEA_CHAIN_ID || chainId == LINEA_SEPOLIA_CHAIN_ID || chainId == CELO_CHAIN_ID
|| chainId == CELO_SEPOLIA_CHAIN_ID;
|| chainId == CELO_SEPOLIA_CHAIN_ID || chainId == FLARE_CHAIN_ID || chainId == FLARE_COSTON2_CHAIN_ID;
}

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