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
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "lib/v4-periphery"]
path = lib/v4-periphery
url = https://github.com/Uniswap/v4-periphery
[submodule "lib/openzeppelin-contracts"]
path = lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
155 changes: 155 additions & 0 deletions broadcast/DeployZapPlotLinkV2.s.sol/8453/run-1774174513582.json

Large diffs are not rendered by default.

155 changes: 155 additions & 0 deletions broadcast/DeployZapPlotLinkV2.s.sol/8453/run-1774174729845.json

Large diffs are not rendered by default.

155 changes: 155 additions & 0 deletions broadcast/DeployZapPlotLinkV2.s.sol/8453/run-latest.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions lib/openzeppelin-contracts
Submodule openzeppelin-contracts added at 5fd178
1 change: 1 addition & 0 deletions remappings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ v4-core/=lib/v4-core/src/
v4-periphery/=lib/v4-periphery/src/
solmate/=lib/v4-core/lib/solmate/
openzeppelin-contracts/=lib/v4-core/lib/openzeppelin-contracts/
@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/
25 changes: 25 additions & 0 deletions script/DeployZapPlotLinkV2.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;

import {Script, console} from "forge-std/Script.sol";
import {ZapPlotLinkV2} from "../src/ZapPlotLinkV2.sol";

/// @title DeployZapPlotLinkV2 — Deploy ZapPlotLink v2 to Base Mainnet
contract DeployZapPlotLinkV2 is Script {
// PLOT token on Base mainnet
address constant PLOT_TOKEN = 0xF8A2C39111FCEB9C950aAf28A9E34EBaD99b85C1;

function run() external {
uint256 deployerKey = vm.envUint("DEPLOYER_PRIVATE_KEY");

vm.startBroadcast(deployerKey);

ZapPlotLinkV2 zap = new ZapPlotLinkV2(PLOT_TOKEN);

vm.stopBroadcast();

console.log("ZapPlotLinkV2 deployed at:", address(zap));
console.log("PLOT token:", PLOT_TOKEN);
console.log("Owner:", vm.addr(deployerKey));
}
}
Loading