Skip to content

Instantly share code, notes, and snippets.

@Dexaran
Last active February 20, 2024 22:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dexaran/62cece71a667695edad1967d701e9958 to your computer and use it in GitHub Desktop.
Save Dexaran/62cece71a667695edad1967d701e9958 to your computer and use it in GitHub Desktop.

Dex223 development report (11/2/2023)

Dex223 media

We will use Callisto media to publish Dex223 news and updates for now. This will also allow us to drive the traffic from general announcements (on Ethereum or general crypto media) directly to Callisto Network media.

ERC-223 <-> ERC-20 token converter

EIP is submitted. There is an ongoing process of separating EIPs and ERCs on Ethereum. Token Converter will be classified as ERC and therefore needs to be moved to their new repo.

The UI is completed. There will be only slight tweaks now.

There was a bug discovered in the smart-contracts source code that allowed ERC-223 tokens to be converted into ERC-223-wrapper-tokens as if they were ERC-20 (because our version of ERC-223 wrapper tokens supports ERC-20 transferring patterns as well). Once this bug is fixed we will proceed to final audit and mainnet deployment.

UI: https://dexaran.github.io/token-converter/

Contracts source codes: https://github.com/Dexaran/TokenStandardConverter/blob/main/TokenConverter.sol

EIP: https://eips.ethereum.org/EIPS/eip-7417

ERC-20 losses calculator

In order to gain a strong argument in the “ERC-20 vs ERC-223” discussion we are building a script that calculates the amount of lost ERC-20 tokens.

The script is almost completed. We are making final adjustments to remove “accidentally detected” tokens — those tokens that were deposited to the contracts on purpose and therefore must be excluded from the amount of “lost” tokens.

Read more about ERC-20 security flaws that we are trying to fight: https://dexaran820.medium.com/known-problems-of-erc20-token-standard-e98887b9532c

Work in progress version of the script page: https://dexaran.github.io/erc20-losses/

The source codes of the logical part: https://github.com/Dexaran/lost_tokens_react/tree/master

Dex223 exchange

Exchange contract development is still in the very early design stage. Trial version of the auto-listing contract is completed. We have started working on the UI development.

There are some UI references. We are trying to make the UI as familiar to users who already had experience with Uniswap as possible.

The main problem right now is to separate swaps and margin trading. Lending/borrowing orders require a UI that doesn’t have any analogues on existing DEXes.

Auto-listing UI will be provided later. Auto-listing contract source codes: https://github.com/Dexaran/Dex223-exchange/blob/main/auto-listing.sol

ERC-223 guidelines & templates

Track ERC-223 development here: https://dexaran.github.io/erc223/

ERC-223 related activity will start in November. As of now there is no progress in this area.

There is also some activity related to ERC-223 that needs to be addressed first:

Policy of financial transparency

Dex223 adheres to the policy of financial transparency. Development expenses and funds allocations will be commented in this issue if it does not violate GDPR or other laws: EthereumCommonwealth/Roadmap#70

Original report

https://dexaran820.medium.com/dex223-development-report-11-2-2023-e0d51552ba5f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment