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

chore: add mock ARB token deployment #224

Open
wants to merge 1 commit into
base: sepolia-deploy
Choose a base branch
from
Open
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
8 changes: 8 additions & 0 deletions script/DeployMocks.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ import "test/mocks/MockUSDC.sol";
import "test/mocks/MockWETH.sol";
import "test/mocks/MockGMX.sol";
import "test/mocks/MockWBTC.sol";
import "test/mocks/MockARB.sol";

contract DeployMocksScript is Script {
uint256 constant SALT = 0x2023091301;
// Mock USDC Deployed to address: 0x37FeA693DC8C1CeA5244Ca2494762328e56dd959
// Mock WETH Deployed to address: 0x1D621b431bF56a3fd49339FF0f9ea9F5B8933C1d
// Mock GMX Deployed to address: 0x385Fc55C5E5bAA04c938f85C439a53d9484780cc
// Mock WBTC Deployed to address: 0x88109802Af6eB7D9499B1289baa88e1429eA655E
// Mock ARB Deployed to address: 0x998a301ed303D9b6fAc3096E27eb3FAd72379360

function run() public {
// Deploy USDC Mock
Expand All @@ -45,5 +47,11 @@ contract DeployMocksScript is Script {
MockWBTC mockWbtc = new MockWBTC{salt: bytes32(SALT)}();
console.log("Mock WBTC Deployed to address: %s", address(mockWbtc));
vm.stopBroadcast();

// Deploy ARB Mock
vm.startBroadcast(vm.envUint("TEST_DEPLOYER_PK"));
MockARB mockArb = new MockARB{salt: bytes32(SALT)}();
console.log("Mock ARB Deployed to address: %s", address(mockArb));
vm.stopBroadcast();
}
}
10 changes: 10 additions & 0 deletions test/mocks/MockARB.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// SPDX-License-Identifier: BUSL 1.1
// Valorem Labs Inc. (c) 2023.
pragma solidity 0.8.16;

import "./MockERC20.sol";

/// @notice Mock for ARB Token
contract MockARB is MockERC20 {
constructor() MockERC20("ARB", "ARB", 18) {}
}