Anchor-Protocol / anchor-web-app

A monorepo containing everything user-facing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modify Collateral Attribute fails to get staked governance Anchor

frozencode opened this issue · comments

When using the Anchor UI to make a proposal to raise bETH LTV to 75% UI is unable to retreive query for vested Anchor tokens.

Troubleshooting steps taken:

Disconnected + reconnected wallet
restarted browser (chromium)
used different browser (safari ios, chromium android)
used different wallet (failed to repr
Screen Shot 2022-04-02 at 12 05 44 AM
oduce)

This is as expected if your account doesn't have any ANC tokens vesting.

You can navigate to the vesting claim URL directly to confirm.
https://app.anchorprotocol.com/anc/vesting/claim

This is as expected if your account doesn't have any ANC tokens vesting.

You can navigate to the vesting claim URL directly to confirm. https://app.anchorprotocol.com/anc/vesting/claim

I have confirmed I have no tokens in vesting contract. I have 1,000 tokens staked in Anchor governance as seen here:
image

so it's not a query error then the page is just nor recognizing my governance stake?
edit: Why is the page querying the vesting contract instead of the governance contract? or does it query both incase someone wants to pull their anchor directly from vesting for a poll?
It still wouldnt explain why the page isn't recognizing my anchor tokens in governance.

To create a poll, you need to have 1,000 ANC in your wallet whereas when you vote on a poll you can only vote with the ANC that you have staked.

The page queries the vesting contract to determine whether you have any ANC tokens that are available to claim, so it does this indepenantly of a poll, ie, it will do this on the main page too.

To create a poll, you need to have 1,000 ANC in your wallet whereas when you vote on a poll you can only vote with the ANC that you have staked.

The page queries the vesting contract to determine whether you have any ANC tokens that are available to claim, so it does this indepenantly of a poll, ie, it will do this on the main page too.

Just changed title to reflect actual issue. I have the anchor staked in governance, however, it does not allow for me to post the proposal since the ui botton is greyed out and the deposit section is red. checking for the anchor it does report I have it in governance in the image above, I'm checking the messages sent to see if something is awry when querying for my staked anchor but I cant see whats wrong.

No staking ANC, unstake your ANC and create the poll.

YEP YOUR RIGHT I'M AN IDIOT - ISSUE CLOSED