🐞[BUG] Can't claim rewards/stacked coins
Closed this issue · 2 comments
shaneafsar commented
Describe the bug
Tapping the "Claim" button doesn't result in anything happening.
To Reproduce
Steps to reproduce the behavior:
- Go to https://minecitycoins.com/stacking?chain=mainnet
- Scroll down to Claim NYC Stacking Rewards
- Click on "Claim" for a particular row that has the button
Expected behavior
Initiate transfer to Hiro wallet.
Desktop (please complete the following information):
- OS: Mac
- Browser Chrome
- Version 115.0.5790.170
whoabuddy commented
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 commented
Привіт друзі. Яку відповідь?
пт, 2 серп. 2024 р., 20:13 користувач Shane Afsar ***@***.***>
пише:
… Closed #166 <#166> as completed.
—
Reply to this email directly, view it on GitHub
<#166 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWPXAIYN7VITAK7EDIMT2N3ZPO443AVCNFSM6AAAAABL45DL2GVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTG42DINZQGAYDMMQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>