Skip to content

Commit 18a797c

Browse files
committed
chore: add Foundry impl-only deploy script for ListaRevenueDistributor
1 parent 82436ae commit 18a797c

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
pragma solidity ^0.8.10;
2+
3+
import { Script, console } from "forge-std/Script.sol";
4+
import { ListaRevenueDistributor } from "../../../contracts/dao/ListaRevenueDistributor.sol";
5+
6+
contract ListaRevenueDistributorImplDeploy is Script {
7+
function run() public {
8+
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
9+
address deployer = vm.addr(deployerPrivateKey);
10+
console.log("Deployer: ", deployer);
11+
vm.startBroadcast(deployerPrivateKey);
12+
13+
// Deploy implementation only (no proxy, no upgrade)
14+
ListaRevenueDistributor impl = new ListaRevenueDistributor();
15+
console.log("ListaRevenueDistributor implementation: ", address(impl));
16+
17+
vm.stopBroadcast();
18+
}
19+
}

0 commit comments

Comments
 (0)