Facing an issue with gnosis fpmm sell function. please help

i was implementing a prediction market using gnosis conditional tokens and fpmm , i have been able to get everything to work except the sell function, remix is giving this error ,

2 Likes

hmm…

The error message is: “insufficient balance for transfer”

Does the executing amount have enough balance of the outcome token they are trying to sell and have they given approval to the FPMM contract?

1 Like

Yes , i used the function getbalanceof and it shows that the user has the enough balance , and yes they have given fpmm approval

The error message is: “insufficient balance for transfer” :expressionless: