Comments (6)
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.
I think adding aex9_extensions
to the interface is ok but not necessary. it's read-only
from dex-contracts-v2.
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.
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.
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.
Is not for me to say, but C seems a reasonable way to me.
from dex-contracts-v2.
Related Issues (20)
- pair: burn_update is always called for Contract.address
- router: rename some pure functions who are named as having statefull functionality
- clean gas saving comments and code
- default value for MIN_LIQUIDITY
- Whitespace and code formatting
- router: more documentation for adding liquidity to not yet created pair
- router: duplicate checks
- Adding liquidity to new pair is broken HOT 1
- Remove entrypoints from IAedexV2Pair which don't exist anymore in the contract
- overall comments for main entrypoints
- Change factory set_fee_to to accept option(address) as parameter
- Collect gas costs of essential operations
- add information about deployed contracts HOT 6
- add security audit and provide info in README HOT 5
- add a deployment script
- upgrade to sdk 13
- Export ACIs through Repository
- Add disclaimer to contracts HOT 1
- switch back to aeproject
- Does decoding remote contract events still cause an issue?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dex-contracts-v2.