Unable to sell CID

I have selflisted a new erc20 token and nothing seems to happen when I attempt to sell. When I attempt to clear the order, the window for placing amount and such comes up, but after finishing that, there is no action on my end, nothing to sign appears.
This only happens with the CID token https://www.saturn.network/exchange/ETH/order-book/0xb9c39dbcadc3497895497554a62a12458e4fed23#
Contract https://etherscan.io/address/0xb9c39dbcadc3497895497554a62a12458e4fed23#code
I am using metamask for testing this.

The token has 1% deflation on transfer (and transfer from) and a mint of 7 tokens on the same actions. Hopefully the problem is whatever is fastest to fix, whether it’s with the code for the token or an issue with saturn.

Hey @Tyrant are you trying to sell to the order you created from a second wallet?

Yes. I tried making a few orders with different wallets to test it out and also had someone else try to clear them for me as well, to no avail.

Odd that you have been able to buy but not sell, does this happen for any amount? Have you tried selling less than the whole order amount? Also if you create a small sell order, are you able to successfully cancel it (so that your CID tokens are returned to your wallet.)

Thanks

Yeah, it’s definitely odd. I tried selling various amounts, again without success. I can successfully cancel either buy or sell orders though, so the issue at least isn’t a risk. I did notice that the order of the mint function in my contract is slightly different for transferfrom than transfer, so I’m considering that this may be part of the problem, but I haven’t had this issue elsewhere… hmmm, what other dex is most similar to the workings of Saturn? Bamboorelay? (asking for testing purposes. I’d rather have saturn as the top exchange for this coin. It’s quickly become my favorite.)

2 Likes

Thanks for the kind words!

You can get the source code for the exchange here

and then load it up in your truffle or https://buidler.dev/ environment and test how your token works & modify your token’s source code until it becomes compatible, that’s one way to solve the problem.

In regards to your second question, Saturn is unique and written from scratch, no other exchange is similar in its workings when it comes to internal code.

I fixed the code, even improved it a bit… though the improvements had absolutely nothing to do with the issue. Apparently a few things were set to private that should had been set to public. Problems solved and everything works fine. I just resubmitted it to saturn. https://etherscan.io/address/0x4599836c212CD988EAccc54C820Ee9261cdaAC71#code is the new contract. Thanks for baring with me.

1 Like

Glad to hear you were able to sort it out! I will assign the project details over to the new contract.

Thank you. https://www.saturn.network/exchange/ETH/order-book/0x4599836c212cd988eaccc54c820ee9261cdaac71 is the final version of this token.