// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import {Script, console} from "forge-std/Script.sol";
import {TokenizedEUR} from "../../contracts/tokenization/TokenizedEUR.sol";

contract DeployTokenizedEUR is Script {
    function run() external returns (address tokenizedEUR) {
        address admin = vm.envAddress("ADMIN_ADDRESS");
        
        vm.startBroadcast();
        tokenizedEUR = address(new TokenizedEUR(admin));
        vm.stopBroadcast();
        
        console.log("TokenizedEUR deployed at:", tokenizedEUR);
    }
}
