TenX Community Forum

Will PAY tokens be modified?

This error causes
It doesn’t seem to work normally with AMMDEX such as Balancer and Uniswap.

1 Like

probably. TENX tokens actually have this bool return value :sweat_smile:

from PAY contract:

function transferFrom(address from, address to, uint value);

from TENX contract:

function transferFrom(address from, address to, uint256 value) external returns (bool);

3 Likes

I talked internally about it and it seems that Uniswap V2 does support ERC20 tokens with the missing return value that do not work on Uniswap V1, like PAY and OMG. Unfortunately, Balancer does not support our ERC20 interface.

In regard to the question if we will modify PAY:
Not if we can avoid it. We would need to go to all the exchanges and tell them to update the contracts and replace all existing PAY tokens somehow. Which is very heavy operationally.

The TENX token shouldn’t be a problem if the token would be listed on those platforms, but because these DeFi protocols use a liquidity pool model, token rewards would accrue on the protocol contracts.

1 Like

In the link you can find other solutions without changing the contract itself. One possible way is a new wrapper contract which will accept the bad output and adds the correct return value before being forwarded.

1 Like

Also Balancer is already solving that on their own, should be fine

1 Like