Two years away from his first venture into free agency, Adam Wainwright stands to gain from the contract Matt Cain received from the Giants earlier this week. San Francisco made Cain the richest right-hander in Major League history with a six-year, $127 million extension. "Obviously, you have to pay attention to it," Wainwright said. "It's a tremendous deal for him. When those things happen, they typically don't occur in a vacuum." Cardinals general manager John Mozeliak acknowledged that the deal exerts its own gravity and suggested the club would attempt to address Wainwright's status well before he reaches free agency. "From our standpoint, I'd think we would do what it takes to prevent it from becoming an awkward situation," Mozeliak said. Even with Wainwright coming off elbow ligament replacement surgery, St. Louis picked up his two-year, $21 million option after their World Series win.