Skip to content

Commit ef04039

Browse files
authored
Merge pull request #80 from Merit-Systems/shafu/deploy-scripts-fee-bps
Update SEPOLIA and BASESEPOLIA fee basis points to 0
2 parents 6d5e7fb + 11b361c commit ef04039

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

libraries/Params.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ library Params {
88
// BASE
99
address constant BASE_OWNER = 0x7163a6C74a3caB2A364F9aDD054bf83E50A1d8Bc;
1010
address constant BASE_SIGNER = 0x7F26a8d1A94bD7c1Db651306f503430dF37E9037;
11-
address constant BASE_WETH = 0x4200000000000000000000000000000000000006;
1211
address constant BASE_USDC = 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913;
1312
uint constant BASE_FEE_BPS = 250;
1413

@@ -20,6 +19,7 @@ library Params {
2019
address constant SEPOLIA_TESTER = 0x99ecA80b4Ebf8fDACe6627BEcb75EF1e620E6956;
2120
address constant SEPOLIA_TESTER_JSON = 0x5C87eA705eE49a96532F45f5db606A5f5fEF9780;
2221
address constant SEPOLIA_TESTER_SHAFU = 0x39053B170bBD9580d0b86e8317c685aEFB65f1ec;
22+
uint constant SEPOLIA_FEE_BPS = 0;
2323

2424
// BASE SEPOLIA
2525
address constant BASESEPOLIA_OWNER = 0x9d8A62f656a8d1615C1294fd71e9CFb3E4855A4F;
@@ -29,4 +29,5 @@ library Params {
2929
address constant BASESEPOLIA_TESTER = 0x5C87eA705eE49a96532F45f5db606A5f5fEF9780;
3030
address constant BASESEPOLIA_TESTER_SHAFU = 0x39053B170bBD9580d0b86e8317c685aEFB65f1ec;
3131
address constant BASESEPOLIA_TESTER_JSON = 0x5C87eA705eE49a96532F45f5db606A5f5fEF9780;
32+
uint constant BASESEPOLIA_FEE_BPS = 0;
3233
}

script/Deploy.BaseSepolia.s.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ contract DeployBaseSepolia is DeployTestBase {
1919
Params.BASESEPOLIA_WETH,
2020
Params.BASESEPOLIA_USDC,
2121
Params.BASESEPOLIA_OWNER,
22-
Params.BASESEPOLIA_SIGNER
22+
Params.BASESEPOLIA_SIGNER,
23+
Params.BASESEPOLIA_FEE_BPS
2324
);
2425

2526
createTestPayments(

script/Deploy.Sepolia.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ contract DeploySepolia is DeployTestBase {
1919
Params.SEPOLIA_WETH,
2020
Params.SEPOLIA_USDC,
2121
Params.SEPOLIA_OWNER,
22-
Params.SEPOLIA_SIGNER
22+
Params.SEPOLIA_SIGNER,
23+
Params.SEPOLIA_FEE_BPS
2324
);
2425

2526
createTestPayments(

script/Deploy.Test.Base.s.sol

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ abstract contract DeployTestBase is Deploy {
2020
address weth,
2121
address usdc,
2222
address owner,
23-
address signer
23+
address signer,
24+
uint feeBps
2425
) internal {
2526
vm.startBroadcast();
2627

@@ -36,7 +37,7 @@ abstract contract DeployTestBase is Deploy {
3637
initialWhitelistedTokens[1] = usdc;
3738
initialWhitelistedTokens[2] = address(mockUSDC);
3839

39-
escrow = deploy(owner, signer, initialWhitelistedTokens, 0, Params.BATCH_DEPOSIT_LIMIT);
40+
escrow = deploy(owner, signer, initialWhitelistedTokens, feeBps, Params.BATCH_DEPOSIT_LIMIT);
4041
}
4142

4243
function createTestPayments(

0 commit comments

Comments
 (0)