Skip to content

Conversation

@0xoscario
Copy link
Contributor

image

There are 4 vaults available for the selected pool (QuickNew + POL):

Pool Address: 0x9f1a8caf3c8e94e43aa64922d67dff4dc3e88a42
Vault 1 Address: 0x8b7dc6bb6e3d8fc3edd349403fab787ed6ed8003
Vault 2 Address: 0x9159ad3aedd8ce0e7f4ee7e817737c7fc80d2cf0
Vault 3 Address: 0xa92700fd49cc339faa88d53d2cf58c0f1b429446
Vault 4 Address: 0xf626514a3b5b7670e5d3cb2b6533e5eb4b3a9e9c
Vaults 1, 2, and 3 contain invalid addresses, while Vault 4 is valid.

As a result, the 3 invalid vaults showed "Out of Range" errors. When the setting is changed to "Narrow," the vault APR is displayed correctly (greater than 0).

This PR fixed an issue where, even after selecting "Narrow," the APR for Steer's vault was not shown. This happened because the contracts for Vaults 1, 2, and 3 are invalid, so the tick amounts were set to undefined.

Added code to hide the invalid Steer vaults to resolve this issue.

@sameepsi sameepsi merged commit e6de249 into QuickSwap:dev2 Feb 28, 2025
2 of 3 checks passed
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.

2 participants