/contracts/farm-manager/src/helpers.rs#L17-L89
This function is used in order to process the farm creation fee. Now it includes the logic to see if the fee being paid is the same denom as the market thats been created; however, the issue is that whereas we can process the refund when the fee is different from the asset being used to create the market, we cant do this when they are the same and instead have a strict requirement that they must be equal.
In both cases ensure at least the necessary amount is provided and if otherwise then refund the difference.
