I am building a mint DAPP on the fantom blockchain. However, when I call the mint function, it returns an error: (execution reverted: Invalid payment amount)
My React app communicates well with the smart contract since I can call the read functions and display them. What I don't understand is that in the ABI and in the code the function takes 2 parameters. And in the smart contract it takes 3.
mint price: 20 ftm amount : user choice, by default 1 stake (bool) : false
Here are all the screenshots to understand my code and smart contract : https://i.stack.imgur.com/xjBtI.jpg
thank you very much !