Hello guys, I am trying to put liquidity on Uniswap on rinkeby network but I am getting this error. The token is not being approved I believe is the error but I have approved it in different ways.

Apr 28, 2022, 10:57 AM
Could anybody please explain what this function do in words lol
Apr 28, 2022, 11:13 AM
Looks very strange, do you have the full contract?
Apr 28, 2022, 11:18 AM
Yes I do! Do you want to me to send something specific from it or whole contract
Apr 28, 2022, 11:21 AM
every recipient has it own value, so transfer the value map to each recipient to the recipient address from the owner and do this till you are done with the length of addresses in recipient, ensure you dont add decimal to the value cause that has been handled.
Apr 28, 2022, 11:21 AM
Send a gist
Apr 28, 2022, 11:22 AM
nothing strange man
Apr 28, 2022, 11:22 AM
The _approval method looks strange, the ERC20 spec has 2 parameters, this has 3
It's underscore cos it's custom
Apr 28, 2022, 11:23 AM
oh okay.
approving owner to spend from owner the total supply.
owner() should return owner address.
Apr 28, 2022, 11:25 AM
Only 2 parameters
Apr 28, 2022, 11:28 AM
https://gist.github.com/Miidoooh/e6099442bbf4d1ae62c147f1df4b4b70
Apr 28, 2022, 11:28 AM
it _approve not approve
Apr 28, 2022, 11:29 AM

© 2024 Draquery.com All rights reserved.