astroport-fi / astroport-core

Astroport DEX core contracts
https://astroport.fi/
GNU General Public License v3.0
153 stars 105 forks source link

feat(pairs): pass pair type from factory during pool instantiation #431

Closed epanchee closed 3 weeks ago

epanchee commented 3 weeks ago

Instead of hardcoding pair type in instantiation endpoint per each pool contract implementation we're making factory sending pair type.

This PR also enables conditional compilation for Injective and Sei allowing to use their custom protobuf encoding pathes for tokenfactory messages.