-
Notifications
You must be signed in to change notification settings - Fork 191
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
[wip] feat: rfox for lpoors #8455
base: develop
Are you sure you want to change the base?
Conversation
WIP PR for CLI tooling update and IPFS metadata updates - shapeshift/rFOX#95 |
@@ -2646,13 +2646,15 @@ | |||
"confirmAndBridge": "Confirm & Bridge", | |||
"myStakedBalance": "My Staked Balance", | |||
"myStakedBalanceHelper": "The amount of FOX you have staked", | |||
"pendingRewardsBalance": "Current Estimated Rewards Balance", | |||
"pendingRewardsBalance": "Pending Rewards Balance", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this discussed with @shapeshift/product? We had updated to "Current Estimated" because that is all it is, you may get more or less by epoch close, so to call it "Pending" is a misnomer since the value isn't really truly pending until epoch close.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've taken it from the Figma but it might be outdated, checking with @shapeshift/product which copy is the right one
select, | ||
}: UseGetUnstakingRequestCountQueryProps<SelectData>) => { | ||
// wagmi doesn't expose queryFn, so we reconstruct the queryKey and queryFn ourselves to leverage skipToken type safety | ||
const queryKey: GetUnstakingRequestCountQueryKey = useMemo( | ||
() => [ | ||
'readContract', | ||
{ | ||
address: RFOX_PROXY_CONTRACT, | ||
address: contractAddress, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auto review: in some hooks we pass the contract address, some other has the assetId, choose between one and stick with it
82214f9
to
ab46a12
Compare
Description
stakeAssetId
orselectedAssetId
depending if the selected asset it is the fox on ETHIssue (if applicable)
closes #7911
Risk
Let's say high, funds could be at risk somehow, sending to the wrong address
Testing
Engineering
n/a
Operations
n/a
Screenshots (if applicable)