feat: expand non-evm relay and route planning support
This commit is contained in:
26
script/wrapped-lp-public/DeployWrappedLPLockerChain138.s.sol
Normal file
26
script/wrapped-lp-public/DeployWrappedLPLockerChain138.s.sol
Normal file
@@ -0,0 +1,26 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.20;
|
||||
|
||||
import {Script, console2} from "forge-std/Script.sol";
|
||||
|
||||
import {Chain138LPLocker} from "../../contracts/wrapped-lp-public/Chain138LPLocker.sol";
|
||||
|
||||
/**
|
||||
* @title DeployWrappedLPLockerChain138
|
||||
* @notice Deploy **only** `Chain138LPLocker` on Chain 138. Use `--rpc-url` pointing at Core RPC.
|
||||
* @dev Env: `LP_TOKEN`, `ADMIN`, `PRIVATE_KEY`. Verify on Blockscout after deploy.
|
||||
*/
|
||||
contract DeployWrappedLPLockerChain138 is Script {
|
||||
function run() external {
|
||||
address lpToken = vm.envAddress("LP_TOKEN");
|
||||
address admin = vm.envAddress("ADMIN");
|
||||
uint256 pk = vm.envUint("PRIVATE_KEY");
|
||||
|
||||
vm.startBroadcast(pk);
|
||||
|
||||
Chain138LPLocker locker = new Chain138LPLocker(lpToken, admin);
|
||||
console2.log("Chain138LPLocker", address(locker));
|
||||
|
||||
vm.stopBroadcast();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user