Git Product home page Git Product logo

Comments (6)

kenodressel avatar kenodressel commented on September 25, 2024

I think the new contracts contain the aex9_extensions prop but some old ones did not. Unfortunately they are out there now so I guess the mdw needs to ignore those for now.

from dex-contracts-v2.

marc0olo avatar marc0olo commented on September 25, 2024

I think adding aex9_extensions to the interface is ok but not necessary. it's read-only

from dex-contracts-v2.

kenodressel avatar kenodressel commented on September 25, 2024

The idea is that this is a hint for other services how to parse & deal with the contract. We have to decide if its a required field for AEX9 or not. If it is, it should be in the interface.

from dex-contracts-v2.

bogdan-manole avatar bogdan-manole commented on September 25, 2024

adding the aex9_extensions to IAEX9Minimal.aes can't make anyone force to implement it. The reason IAEX9Minimal.aes exists is to identify the minimal set of AEX9 entrypoints which the Router and the Pair are using there. So even if we add extra entrypoints in the IAEX9Minimal.aes the only way to prevent a missing implementation of it is for the Factory to artificially call all of them in order for the transaction to fail and eventually the Pair creation to fail also. I don't think is the DEX role to achieve such a AEX9 validation. This can be done by us , in the DEX-ui by not allowing "broken" tokens to enter in the official Aeternity token list.

LE: but even so, nobody can stop anybody to create his own AedexV2Pair with some weird pair of tokens. So the mdw , explorer or any other app developed by us should be prepared to ignore / deal with such scenarios

from dex-contracts-v2.

jyeshe avatar jyeshe commented on September 25, 2024

Good to hear that there are stronger ways validate it.

Please let us know in case the mdw should be permissive on aex9 classification for:
A. old contracts (before which height please)
B. old and new contracts
C. none (continue demanding the aex9_extensions for all)

Thank you

from dex-contracts-v2.

bogdan-manole avatar bogdan-manole commented on September 25, 2024

Is not for me to say, but C seems a reasonable way to me.

from dex-contracts-v2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.