That's only part of it, the US and allies are reportedly going to set up a $300 billion fund for Iran, the particular terms of accessing it aren't clear at this point. GP is correct in that the US is not putting up $300 billion, but it will be putting up part of that money. The US fought and lost a war and Iran comes out ahead, and the US and its allies come out worse and poorer.