/** @param {NS} ns */ export async function main(ns) { ns.corporation.purchaseUnlock("Smart Supply") ns.writePort(ns.pid, true); }