16 lines
562 B
Solidity
16 lines
562 B
Solidity
|
|
// SPDX-License-Identifier: MIT
|
||
|
|
pragma solidity ^0.8.20;
|
||
|
|
|
||
|
|
import {Script, console} from "forge-std/Script.sol";
|
||
|
|
import {ISO20022IntakeGateway} from "../../contracts/mainnet-checkpoint/ISO20022IntakeGateway.sol";
|
||
|
|
|
||
|
|
contract DeployISO20022IntakeGateway is Script {
|
||
|
|
function run() external {
|
||
|
|
address admin = vm.envOr("CHECKPOINT_ADMIN", msg.sender);
|
||
|
|
vm.startBroadcast();
|
||
|
|
ISO20022IntakeGateway gateway = new ISO20022IntakeGateway(admin);
|
||
|
|
console.log("ISO20022IntakeGateway:", address(gateway));
|
||
|
|
vm.stopBroadcast();
|
||
|
|
}
|
||
|
|
}
|