Let’s say some foreign player, for whatever reason (because of age, or lack of competition) falls under the radar of recruiters, and doesnt get drafted. After signing a one-year deal with a team, he immediately shows out and wins the ROTY, and looks to be a perennial all-star

So can a player like that, be offered a max contract under NBA regulations? If not, what’s the maximum that a free agent can be offered, ahead of his second season?