Skip to content

Add support for all legacy Quipuswap FA1.2 and FA2 factories #15092

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KevinMehrabi
Copy link
Contributor

This PR updates the projects/quipuswap/index.js adapter to include all 7 legacy Quipuswap factories deployed between March and June 2021. Each factory exposes a live token_to_exchange big_map, which is now used to dynamically fetch pool contracts.

This fully restores TVL for early Quipuswap FA1.2 and FA2 pools without requiring manual contract lists.

Factories covered:

  • KT1K7whn5yHucGXMN7ymfKiX5r534QeaJM29r (FA1.2 Old 1)
  • KT1Lw8hCoaBrHEteMXbqHPG4sS4K1xn7yKcD (FA1.2 Old 2)
  • KT1FWHLMk5tHbwuSsp31S4Jum4dTVmkXpfJw (FA1.2)
  • KT1GDtv3sqhWeSsXLWgcGsm0H5nRRGJd8xVc (FA2 Old)
  • KT1MMLb2FVrE9Do74J3FH1RNNc4AQhDuVCNX (FA2 Old 2)
  • KT1SwH9P1Tx8a58Mn6qBExQFCpyZrw2yZiXS (FA2 Old 3)
  • KT1PvEyN1xCFCgorN92QCfYjw3axS6jawCiJ (FA2)

No newer contracts or V2/V3 logic is affected.

@llamabutler
Copy link

The adapter at projects/quipuswap exports TVL:

tezos                     316.49 k

total                    316.48 k 

module.exports = {
timetravel: false,
misrepresentedTokens: true,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like this should be false? Does this not track the real token balances?

@waynebruce0x waynebruce0x self-assigned this Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants