For the sauce: Whisk all ingredients together in bowl.
For the stir-fry: Spread tofu over paper towel-lined baking sheet and let drain for 20 minutes. Gently press dry with paper towels. Toss drained tofu with cornstarch in bowl, then transfer to fine-mesh strainer and shake gently to remove excess cornstarch.
Heat 2 tablespoons oil in 12-inch nonstick skillet over high heat until shimmering. Add tofu and cook, turning as needed, until crisp and well browned on all sides, 12 to 15 minutes; transfer to paper towel-lined plate to drain.
Heat 2 teaspoons oil in now-empty skillet over medium-high heat until shimmering. Add green beans and mushrooms, cover, and cook until mushrooms release their liquid and green beans are bright green and beginning to soften, 4 to 5 minutes. Uncover and continue to cook until vegetables are spotty brown, about 3 minutes.
Combine remaining 1 teaspoon oil, scallion whites, garlic, and ginger in bowl. Push vegetables to sides of skillet. Add garlic mixture to center and cook, mashing mixture into pan, until fragrant, about 30 seconds. Stir garlic mixture into vegetables. Add browned tofu and stir to combine. Whisk sauce to recombine, then add to skillet and cook, stirring constantly, until sauce is thickened, about 30 seconds. Transfer to platter and sprinkle with scallion greens and sesame seeds, if using. Serve.
