Skip to content
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

🐞[BUG] Can't claim rewards/stacked coins #166

Closed
shaneafsar opened this issue Aug 21, 2023 · 2 comments
Closed

🐞[BUG] Can't claim rewards/stacked coins #166

shaneafsar opened this issue Aug 21, 2023 · 2 comments
Labels
Bug Something isn't working

Comments

@shaneafsar
Copy link

Describe the bug
Tapping the "Claim" button doesn't result in anything happening.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://minecitycoins.com/stacking?chain=mainnet
  2. Scroll down to Claim NYC Stacking Rewards
  3. Click on "Claim" for a particular row that has the button

Expected behavior
Initiate transfer to Hiro wallet.

Screenshots
Screenshot 2023-08-21 at 12 57 43 PM

Desktop (please complete the following information):

  • OS: Mac
  • Browser Chrome
  • Version 115.0.5790.170
@shaneafsar shaneafsar added the Bug Something isn't working label Aug 21, 2023
@whoabuddy
Copy link

Thanks for reporting this! That line refers to the post-conditions set by the UI for the transaction, see here:

data.toReturn > 0 &&
    postConditions.push(
      makeContractFungiblePostCondition(
        citySettings.config.stacking.deployer,
        citySettings.config.stacking.stackingClaimContract,
        FungibleConditionCode.Equal,
        amountCityCoinsCV.value,
        createAssetInfo(
          citySettings.config.token.deployer,
          citySettings.config.token.contractName,
          citySettings.config.token.tokenName
        )
      )
    );

The citySettings.config is set a bit earlier, and should contain the contract and version depending on where you are trying to claim from.

Are there any other console errors? If you clear your cache and try again does it work?

Also if you can share a txid or address that can help narrow it down.

@Palenyj1981
Copy link

Palenyj1981 commented Aug 8, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants