GCPH can't create order

your contract address not accepting my tokens.
check this still fail. i tried to send GCPH for sell order but failed again

1 Like

Can you provide a screenshot of your order details (the form where you fill in the order amount and token price) before you submit the transaction please?

1 Like


1 Like

@GoldenHand2019 please just upload screenshot to forum or use https://imgur.com/ your google drive is set to private. If you prefer you can private message me the screenshot.

That is not what i asked for, I mean when you click Create Order what are you filling into the order form?

Step 1

Step 2

Step 3

I want to know what you are setting in Amount of Tokens and Price Per Token field, as you say it fails.

Okay and this fails? I think we will need a small amount of tokens to check and investigate further, I have sent you a direct message. Thanks

Investigation summary

You have an issue with your token smart contract that will most likely cause it to break for plenty of other DEXs. Since your token is only 10 days old I suggest you start over, make a new token and a new distribution under the same name. Maybe follow this guide (this could be outdated, but if it does work it makes you a ERC223 token that is guaranteed to work with Saturn DEX).


The issue is on line 65 of your smart contract.

function transferFrom(address _from, address _to, uint256 _value) public {
  require(balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0);
  balances[_to] += _value;
  balances[_from] -= _value;
  allowed[_from][msg.sender] -= _value;
  emit Transfer(_from, _to, _value);

Compare to reference implementaiton, e.g. LINK token, line 122

function transferFrom(address _from, address _to, uint256 _value) returns (bool) {
  var _allowance = allowed[_from][msg.sender];

  // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met
  // require (_value <= _allowance);

  balances[_from] = balances[_from].sub(_value);
  balances[_to] = balances[_to].add(_value);
  allowed[_from][msg.sender] = _allowance.sub(_value);
  Transfer(_from, _to, _value);
  return true;

According to ERC20 spec, transferFrom method must return true upon success. Your smart contract doesn’t do it, that’s why creating sell order breaks.

If you want to be 100% sure your token works before you make a new one you can purchase a smart contract audit.

Happy Trading!

1 Like

good here old saturn.network i got error on new saturn.network

1 Like

Feel free to use old. for the time being, as that runs off of an old smart contract that doesn’t support upcoming atomic arbitrage. I do warn you that we will not keep old UI running forever!

I highly recommend you fix the bug and make your token either ERC223 or ERC20 100% compatible, unlike freestyle that you have right now. It’s much easier to make such changes when you token is 10 days old, rather than 10 months old.


i tried to make transaction in bamboorelay no failed. so please my issue.

As Neuron has explained to you, we are following the standardized way to check for ERC20 compatibility. We are building Saturn Network to interact with multiple DEXs, if we don’t follow the standard it will never work.

If bamboorelay are not checking for ERC20 compatibility correctly then great you can trade GCPH there. If you want to trade on Saturn then, we recommend you fix your token contract. There is over 400 tokens listed on our DEX and they are trading fine, so nothing is broken.

If you used a tool to generate your token or paid a developer, please feel free to share it, I will happily forward this conversation onwards and explain they have not created a vaild ERC20 token for you.

theres a way to chance my contract address?

No we are talking about starting again, create a new GCPH token with the fixes implemented.

they use their contract address to make new address. how to fix it?

Who uses? Whatever tool or developer you are using to create GCPH, forward this conversation chain to them, specifically this post:

They should know what to do :slight_smile:

hello, i will redeployed my token contract. then can you help pump my token for 1.65$ same price from old contract address?

Try Justin Sun I heard he has USDT on speed dial? :joy:

We can help you set up an airdrop to active traders on our platform, which will help your market grow. You can learn more here.

3 posts were split to a new topic: Help to trade SATURN token