-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#238 start adding claimable balance operations
- Loading branch information
Chris Hatch
committed
Apr 25, 2021
1 parent
4c07520
commit d61bc22
Showing
6 changed files
with
109 additions
and
41 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "stellarexplorer", | ||
"description": "Ledger explorer for the Stellar network", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"license": "Apache-2.0", | ||
"author": "Chris Hatch <[email protected]>", | ||
"homepage": "https://steexp.com", | ||
|
@@ -36,7 +36,7 @@ | |
"react-router-bootstrap": "^0.24.4", | ||
"react-router-dom": "^4.2.2", | ||
"recompose": "^0.26.0", | ||
"stellar-sdk": "^5.0.1", | ||
"stellar-sdk": "^8.1.1", | ||
"whatwg-fetch": "2.0.3" | ||
}, | ||
"devDependencies": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react' | ||
import {FormattedMessage} from 'react-intl' | ||
|
||
import AccountLink from '../shared/AccountLink' | ||
|
||
const FormattedBalanceId = ({balanceId}) => balanceId.replace(/^0*/, '') | ||
|
||
const ClaimClaimableBalance = ({balanceId, claimant}) => { | ||
return ( | ||
<FormattedMessage | ||
id="operation.claimable.claim" | ||
values={{ | ||
claimant: <AccountLink account={claimant} />, | ||
balanceId: <FormattedBalanceId balanceId={balanceId} />, | ||
}} | ||
/> | ||
) | ||
} | ||
|
||
export default ClaimClaimableBalance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d61bc22
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.
Thank you.i have not been the same since I broke my ankle tryna take my babies to Disney!