Contract call always fails for my contract on sokol


This is my contract address: 0xa6dc5e5b21d32929b4545126ec95670032c0c178

code snippet:

contract.purchaseTokens(ethers.utils.parseEther(amount),{gasLimit:41720,gasPrice:ethers.utils.parseUnits('1', 'gwei')});

To make a successful purchaseTokens call , I tried to increase gasLimit and gasPrice but fails.

Initially i got

Error: Out of gas

and then i increase the gasPrice , i got

Error: (Awaiting internal transactions for reason)

I call again without changing gasPrice , i got

Error: Reverted

Here is the complete transaction list:

Need Help