Files
smom-dbis-138/script/DeployChain138WethRelayBridge.s.sol
defiQUG 11c97777d4
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m11s
CI/CD Pipeline / Security Scanning (push) Has been cancelled
CI/CD Pipeline / Lint and Format (push) Has been cancelled
CI/CD Pipeline / Terraform Validation (push) Has been cancelled
CI/CD Pipeline / Kubernetes Validation (push) Has been cancelled
Validation / validate-genesis (push) Has been cancelled
Validation / validate-terraform (push) Has been cancelled
Validation / validate-kubernetes (push) Has been cancelled
Validation / validate-smart-contracts (push) Has been cancelled
Validation / validate-security (push) Has been cancelled
Validation / validate-documentation (push) Has been cancelled
Deploy ChainID 138 / Deploy ChainID 138 (push) Failing after 1m4s
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 31s
OMNL reconcile anchor / Run omnl:reconcile and upload artifacts (push) Failing after 29s
Verify Deployment / Verify Deployment (push) Failing after 57s
feat(chain138): Monad CCIP, token aggregation OMNL gates, HYBX client, and PMM deploy updates.
Relay router, reserve system, oracle publisher, token-aggregation compliance middleware, and Monad deployment scripts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-18 00:11:33 -07:00

26 lines
998 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
import {Script, console} from "forge-std/Script.sol";
import {CCIPRelayBridge} from "../contracts/relay/CCIPRelayBridge.sol";
import {CCIPRelayRouter} from "../contracts/relay/CCIPRelayRouter.sol";
/// @notice Deploy WETH inbound CCIPRelayBridge on Chain 138 and authorize on existing relay router.
contract DeployChain138WethRelayBridge is Script {
function run() external {
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
address weth9 = vm.envAddress("WETH9");
address relayRouter = vm.envAddress("CCIP_RELAY_ROUTER_CHAIN138");
vm.startBroadcast(deployerPrivateKey);
CCIPRelayBridge bridge = new CCIPRelayBridge(weth9, relayRouter);
console.log("Chain138 WETH CCIPRelayBridge:", address(bridge));
CCIPRelayRouter(relayRouter).authorizeBridge(address(bridge));
console.log("Authorized on CCIPRelayRouter:", relayRouter);
vm.stopBroadcast();
}
}