Merge branch 'master' of https://github.com/esteemapp/esteem-mobile into bugfix/comment-vote

This commit is contained in:
u-e 2019-06-15 23:28:02 +03:00
commit 69cc3bfe44
85 changed files with 431 additions and 252 deletions

View File

@ -44,7 +44,7 @@ const WalletLineItem = ({
</View> </View>
)} )}
<View> <View>
{text && ( {!!text && (
<View> <View>
<Text <Text
style={[ style={[

View File

@ -1,9 +1,11 @@
import React, { Component } from 'react'; import React, { Component } from 'react';
import { Alert } from 'react-native'; import { Alert } from 'react-native';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import get from 'lodash/get';
// Services and Actions // Services and Actions
import { getUser, getUserPoints, claim } from '../../../providers/esteem/ePoint'; import { getUser, getUserPoints, claim } from '../../../providers/esteem/ePoint';
import { openPinCodeModal } from '../../../redux/actions/applicationActions';
// Constant // Constant
import POINTS from '../../../constants/options/points'; import POINTS from '../../../constants/options/points';
@ -58,12 +60,28 @@ class PointsContainer extends Component {
// Component Functions // Component Functions
_handleOnPressTransfer = () => {
const { dispatch } = this.props;
const { userPoints } = this.state;
dispatch(
openPinCodeModal({
navigateTo: ROUTES.SCREENS.TRANSFER,
navigateParams: {
transferType: 'points',
fundType: 'POINT',
balance: Math.round(get(userPoints, 'points') * 1000) / 1000,
},
}),
);
};
_groomUserActivities = userActivities => _groomUserActivities = userActivities =>
userActivities.map(item => ({ userActivities.map(item => ({
...item, ...item,
icon: POINTS[item.type].icon, icon: get(POINTS[get(item, 'type')], 'icon'),
iconType: POINTS[item.type].iconType, iconType: get(POINTS[get(item, 'type')], 'iconType'),
textKey: POINTS[item.type].textKey, textKey: get(POINTS[get(item, 'type')], 'textKey'),
})); }));
_fetchuserPointActivities = async username => { _fetchuserPointActivities = async username => {
@ -137,6 +155,7 @@ class PointsContainer extends Component {
refreshing={refreshing} refreshing={refreshing}
userActivities={userActivities} userActivities={userActivities}
userPoints={userPoints} userPoints={userPoints}
handleOnPressTransfer={this._handleOnPressTransfer}
/> />
); );
} }

View File

@ -9,6 +9,29 @@ export default EStyleSheet.create({
alignSelf: 'center', alignSelf: 'center',
fontWeight: 'bold', fontWeight: 'bold',
}, },
pointsWrapper: {
flexDirection: 'row',
justifyContent: 'center',
alignSelf: 'center',
flex: 1,
},
dropdownWrapper: {
flex: 1,
},
dropdownRowText: {
fontSize: 14,
color: '$primaryDarkGray',
},
dropdownStyle: {
minWidth: '$deviceWidth * 0.7',
},
dropdownButtonStyle: {
justifyContent: 'center',
alignSelf: 'center',
position: 'absolute',
right: -40,
top: 20,
},
subText: { subText: {
color: '$darkIconColor', color: '$darkIconColor',
fontSize: 8, fontSize: 8,

View File

@ -1,15 +1,15 @@
/* eslint-disable no-nested-ternary */
import React, { Component, Fragment } from 'react'; import React, { Component, Fragment } from 'react';
import { Text, View, FlatList, ScrollView, RefreshControl, TouchableOpacity } from 'react-native'; import { Text, View, FlatList, ScrollView, RefreshControl, TouchableOpacity } from 'react-native';
import { injectIntl } from 'react-intl'; import { injectIntl } from 'react-intl';
import { Popover, PopoverController } from 'react-native-modal-popover'; import { Popover, PopoverController } from 'react-native-modal-popover';
import { get, size } from 'lodash'; import { get } from 'lodash';
// Components // Components
import { LineBreak, WalletLineItem, ListPlaceHolder } from '../../basicUIElements'; import { LineBreak, WalletLineItem, ListPlaceHolder } from '../../basicUIElements';
import { IconButton } from '../../iconButton'; import { IconButton } from '../../iconButton';
import { Icon } from '../../icon'; import { Icon } from '../../icon';
import { MainButton } from '../../mainButton'; import { MainButton } from '../../mainButton';
import { DropdownButton } from '../../dropdownButton';
// Utils // Utils
import { getTimeFromNow } from '../../../utils/time'; import { getTimeFromNow } from '../../../utils/time';
@ -48,6 +48,19 @@ class PointsView extends Component {
); );
}; };
_getTranslation = id => {
const { intl } = this.props;
let translation;
try {
translation = intl.formatMessage({ id });
} catch (error) {
translation = '';
}
return translation;
};
_renderLoading = () => { _renderLoading = () => {
const { isLoading, intl } = this.props; const { isLoading, intl } = this.props;
@ -58,15 +71,33 @@ class PointsView extends Component {
}; };
render() { render() {
const { claimPoints, intl, isClaiming, userActivities, userPoints } = this.props; const {
claimPoints,
isClaiming,
userActivities,
userPoints,
handleOnPressTransfer,
} = this.props;
return ( return (
<Fragment> <Fragment>
<LineBreak height={12} /> <LineBreak height={12} />
<ScrollView style={styles.scrollContainer} refreshControl={this.refreshControl()}> <ScrollView style={styles.scrollContainer} refreshControl={this.refreshControl()}>
<Text style={styles.pointText}>{userPoints.points}</Text> <View style={styles.pointsWrapper}>
<Text style={styles.pointText}>{get(userPoints, 'points')}</Text>
<DropdownButton
isHasChildIcon
iconName="arrow-drop-down"
options={['Transfer']}
noHighlight
dropdownButtonStyle={styles.dropdownButtonStyle}
onSelect={handleOnPressTransfer}
rowTextStyle={styles.dropdownRowText}
dropdownStyle={styles.dropdownStyle}
/>
</View>
<Text style={styles.subText}>eSteem Points</Text> <Text style={styles.subText}>eSteem Points</Text>
{userPoints.unclaimed_points > 0 && ( {get(userPoints, 'unclaimed_points') > 0 && (
<MainButton <MainButton
isLoading={isClaiming} isLoading={isClaiming}
isDisable={isClaiming} isDisable={isClaiming}
@ -75,7 +106,7 @@ class PointsView extends Component {
onPress={() => claimPoints()} onPress={() => claimPoints()}
> >
<View style={styles.mainButtonWrapper}> <View style={styles.mainButtonWrapper}>
<Text style={styles.unclaimedText}>{userPoints.unclaimed_points}</Text> <Text style={styles.unclaimedText}>{get(userPoints, 'unclaimed_points')}</Text>
<View style={styles.mainIconWrapper}> <View style={styles.mainIconWrapper}>
<Icon name="add" iconType="MaterialIcons" color="#357ce6" size={23} /> <Icon name="add" iconType="MaterialIcons" color="#357ce6" size={23} />
</View> </View>
@ -89,7 +120,7 @@ class PointsView extends Component {
data={POINTS_KEYS} data={POINTS_KEYS}
horizontal horizontal
renderItem={({ item }) => ( renderItem={({ item }) => (
<PopoverController key={item.type}> <PopoverController key={get(item, 'type')}>
{({ {({
openPopover, openPopover,
closePopover, closePopover,
@ -97,15 +128,15 @@ class PointsView extends Component {
setPopoverAnchor, setPopoverAnchor,
popoverAnchorRect, popoverAnchorRect,
}) => ( }) => (
<View styles={styles.iconWrapper} key={item.type}> <View styles={styles.iconWrapper} key={get(item, 'type')}>
<View style={styles.iconWrapper}> <View style={styles.iconWrapper}>
<TouchableOpacity ref={setPopoverAnchor} onPress={openPopover}> <TouchableOpacity ref={setPopoverAnchor} onPress={openPopover}>
<IconButton <IconButton
iconStyle={styles.icon} iconStyle={styles.icon}
style={styles.iconButton} style={styles.iconButton}
iconType={POINTS[item.type].iconType} iconType={get(POINTS[get(item, 'type')], 'iconType')}
name={POINTS[item.type].icon} name={get(POINTS[get(item, 'type')], 'icon')}
badgeCount={POINTS[item.type].point} badgeCount={get(POINTS[get(item, 'type')], 'point')}
badgeStyle={styles.badge} badgeStyle={styles.badge}
badgeTextStyle={styles.badgeText} badgeTextStyle={styles.badgeText}
disabled disabled
@ -113,7 +144,7 @@ class PointsView extends Component {
</TouchableOpacity> </TouchableOpacity>
</View> </View>
<Text style={styles.subText}> <Text style={styles.subText}>
{intl.formatMessage({ id: POINTS[item.type].nameKey })} {this._getTranslation(get(POINTS[get(item, 'type')], 'nameKey'))}
</Text> </Text>
<Popover <Popover
backgroundStyle={styles.overlay} backgroundStyle={styles.overlay}
@ -129,7 +160,7 @@ class PointsView extends Component {
> >
<View style={styles.popoverWrapper}> <View style={styles.popoverWrapper}>
<Text style={styles.popoverText}> <Text style={styles.popoverText}>
{intl.formatMessage({ id: POINTS[item.type].descriptionKey })} {this._getTranslation(get(POINTS[get(item, 'type')], 'descriptionKey'))}
</Text> </Text>
</View> </View>
</Popover> </Popover>
@ -150,7 +181,7 @@ class PointsView extends Component {
renderItem={({ item, index }) => ( renderItem={({ item, index }) => (
<WalletLineItem <WalletLineItem
index={index + 1} index={index + 1}
text={intl.formatMessage({ id: item.textKey })} text={this._getTranslation(get(item, 'textKey'))}
description={getTimeFromNow(get(item, 'created'))} description={getTimeFromNow(get(item, 'created'))}
isCircleIcon isCircleIcon
isThin isThin

View File

@ -31,8 +31,8 @@ class WalletDetailsView extends PureComponent {
render() { render() {
const { walletData, intl, navigate, isShowDropdowns } = this.props; const { walletData, intl, navigate, isShowDropdowns } = this.props;
const steemDropdown = ['transferToken', 'transferToSaving', 'powerUp']; const steemDropdown = ['transfer_token', 'transfer_to_saving', 'powerUp'];
const sbdDropdown = ['transferToken', 'transferToSaving']; const sbdDropdown = ['transfer_token', 'transfer_to_saving'];
return ( return (
<View style={styles.container}> <View style={styles.container}>

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "هذه المذكرة عامة", "memo_desc": "هذه المذكرة عامة",
"to_placeholder": "إسم المستخدم", "to_placeholder": "إسم المستخدم",
"memo_placeholder": "أدخل ملاحظاتك هنا", "memo_placeholder": "أدخل ملاحظاتك هنا",
"transferToken": "تحويل", "transfer_token": "تحويل",
"transferToSaving": "النقل إلى المدخرات", "transfer_to_saving": "النقل إلى المدخرات",
"powerUp": "رفع الطاقة", "powerUp": "رفع الطاقة",
"withdrawToSaving": "سحب إلى الادخار", "withdraw_to_saving": "سحب إلى الادخار",
"steemconnect_title": "نقل Steemconnect", "steemconnect_title": "نقل Steemconnect",
"next": "التالي" "next": "التالي"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "Bu qeyd ictimaidir", "memo_desc": "Bu qeyd ictimaidir",
"to_placeholder": "İstifadəçi adı", "to_placeholder": "İstifadəçi adı",
"memo_placeholder": "Qeydlərinizi buraya daxil edin", "memo_placeholder": "Qeydlərinizi buraya daxil edin",
"transferToken": "Köçürmə", "transfer_token": "Köçürmə",
"transferToSaving": "Yığımlara Köçürmə", "transfer_to_saving": "Yığımlara Köçürmə",
"powerUp": "Gücü artır", "powerUp": "Gücü artır",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Köçürməsi", "steemconnect_title": "Steemconnect Köçürməsi",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -38,7 +38,12 @@
"vote": "Vote", "vote": "Vote",
"reblog": "Reblog", "reblog": "Reblog",
"login": "Login", "login": "Login",
"incoming_transfer_title": "Incoming transfer",
"outgoing_transfer_title": "Outgoing transfer",
"checkin_extra": "Bonus", "checkin_extra": "Bonus",
"delegation": "Delegation",
"delegation_title": "Delegation reward",
"delegation_desc": "You can earn 1 point per day for each 100sp delegation",
"post_title": "Points for post", "post_title": "Points for post",
"comment_title": "Points for comment", "comment_title": "Points for comment",
"vote_title": "Points for vote", "vote_title": "Points for vote",
@ -47,6 +52,8 @@
"checkin_title": "Points for usage", "checkin_title": "Points for usage",
"checkin_extra_title": "Usage bonus", "checkin_extra_title": "Usage bonus",
"no_activity": "No activity here!", "no_activity": "No activity here!",
"outgoing_transfer_description": "",
"incoming_transfer_description": "",
"post_desc": "You can earn point by posting regularly. Posting gives you 15 points.", "post_desc": "You can earn point by posting regularly. Posting gives you 15 points.",
"comment_desc": "Each comment you make helps you to grow your audience and make friendship but also earns you 5 points.", "comment_desc": "Each comment you make helps you to grow your audience and make friendship but also earns you 5 points.",
"checkin_desc": "Checking in on eSteem app gives you 0.25 points and helps you stay connected with your friends.", "checkin_desc": "Checking in on eSteem app gives you 0.25 points and helps you stay connected with your friends.",
@ -275,10 +282,11 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "points": "Points Transfer",
"transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "این یادداشت عمومی است", "memo_desc": "این یادداشت عمومی است",
"to_placeholder": "نام کاربری", "to_placeholder": "نام کاربری",
"memo_placeholder": "یادداشت های خود را در اینجا وارد کنید", "memo_placeholder": "یادداشت های خود را در اینجا وارد کنید",
"transferToken": "انتقال", "transfer_token": "انتقال",
"transferToSaving": "انتقال به پس انداز", "transfer_to_saving": "انتقال به پس انداز",
"powerUp": "بالا بردن قدرت", "powerUp": "بالا بردن قدرت",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "انتقال Steemconnect", "steemconnect_title": "انتقال Steemconnect",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "Ce mémo est public", "memo_desc": "Ce mémo est public",
"to_placeholder": "Nom d'utilisateur", "to_placeholder": "Nom d'utilisateur",
"memo_placeholder": "Entrez vos notes ici", "memo_placeholder": "Entrez vos notes ici",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Transfert Steemconnect", "steemconnect_title": "Transfert Steemconnect",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Atgagganamo", "to_placeholder": "Atgagganamo",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "यह ज्ञापन सार्वजनिक है", "memo_desc": "यह ज्ञापन सार्वजनिक है",
"to_placeholder": "प्रयोक्ता नाम", "to_placeholder": "प्रयोक्ता नाम",
"memo_placeholder": "अपनी टिप्पणी यहाँ लिखें", "memo_placeholder": "अपनी टिप्पणी यहाँ लिखें",
"transferToken": "स्थान्तरण", "transfer_token": "स्थान्तरण",
"transferToSaving": "बचत खाते में स्थान्तरण करें", "transfer_to_saving": "बचत खाते में स्थान्तरण करें",
"powerUp": "स्टीम क्षमता बढ़ाएं", "powerUp": "स्टीम क्षमता बढ़ाएं",
"withdrawToSaving": "बचत खाते से निकालें", "withdraw_to_saving": "बचत खाते से निकालें",
"steemconnect_title": "स्टीमकनेक्ट स्थान्तरण", "steemconnect_title": "स्टीमकनेक्ट स्थान्तरण",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "Ez az üzenet nyilvános", "memo_desc": "Ez az üzenet nyilvános",
"to_placeholder": "Felhasználónév", "to_placeholder": "Felhasználónév",
"memo_placeholder": "Megjegyzés ide", "memo_placeholder": "Megjegyzés ide",
"transferToken": "Átutalás", "transfer_token": "Átutalás",
"transferToSaving": "Átutalás a megtakarításokhoz", "transfer_to_saving": "Átutalás a megtakarításokhoz",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Átutalás A Megtakarításokhoz", "withdraw_to_saving": "Átutalás A Megtakarításokhoz",
"steemconnect_title": "Steemconnect átutalás", "steemconnect_title": "Steemconnect átutalás",
"next": "KÖVETKEZŐ" "next": "KÖVETKEZŐ"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "Memo ini bersifat publik", "memo_desc": "Memo ini bersifat publik",
"to_placeholder": "Nama Pengguna", "to_placeholder": "Nama Pengguna",
"memo_placeholder": "Masukan catatan anda disini", "memo_placeholder": "Masukan catatan anda disini",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer untuk menyimpan", "transfer_to_saving": "Transfer untuk menyimpan",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Tarik untuk menyimpan", "withdraw_to_saving": "Tarik untuk menyimpan",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "LANJUT" "next": "LANJUT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "Ši atmintinė yra vieša", "memo_desc": "Ši atmintinė yra vieša",
"to_placeholder": "Vartotojo vardas", "to_placeholder": "Vartotojo vardas",
"memo_placeholder": "Įveskite savo užrašus čia", "memo_placeholder": "Įveskite savo užrašus čia",
"transferToken": "Pervesti", "transfer_token": "Pervesti",
"transferToSaving": "Pervesti į Santaupas", "transfer_to_saving": "Pervesti į Santaupas",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Atsiimti į Santaupas", "withdraw_to_saving": "Atsiimti į Santaupas",
"steemconnect_title": "Steemconnect Pervedimas", "steemconnect_title": "Steemconnect Pervedimas",
"next": "TOLIAU" "next": "TOLIAU"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "Memo ini adalah umum", "memo_desc": "Memo ini adalah umum",
"to_placeholder": "Nama Pengguna", "to_placeholder": "Nama Pengguna",
"memo_placeholder": "Masukkan catatan anda di sini", "memo_placeholder": "Masukkan catatan anda di sini",
"transferToken": "Pindah", "transfer_token": "Pindah",
"transferToSaving": "Pindah kepada simpanan", "transfer_to_saving": "Pindah kepada simpanan",
"powerUp": "Mengekuasai", "powerUp": "Mengekuasai",
"withdrawToSaving": "Keluarkan kepada penyimpanan", "withdraw_to_saving": "Keluarkan kepada penyimpanan",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "SETERUSNYA" "next": "SETERUSNYA"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "Na everybody go see this memo", "memo_desc": "Na everybody go see this memo",
"to_placeholder": "Guy-name", "to_placeholder": "Guy-name",
"memo_placeholder": "Write your note for here", "memo_placeholder": "Write your note for here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer go Savings", "transfer_to_saving": "Transfer go Savings",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw go savings", "withdraw_to_saving": "Withdraw go savings",
"steemconnect_title": "Transfer with steemconnect", "steemconnect_title": "Transfer with steemconnect",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "Este memo é público", "memo_desc": "Este memo é público",
"to_placeholder": "Utilizador", "to_placeholder": "Utilizador",
"memo_placeholder": "Insira aqui as suas notas", "memo_placeholder": "Insira aqui as suas notas",
"transferToken": "Transferir", "transfer_token": "Transferir",
"transferToSaving": "Transferir para Poupanças", "transfer_to_saving": "Transferir para Poupanças",
"powerUp": "Carregar Poder", "powerUp": "Carregar Poder",
"withdrawToSaving": "Levantar para Guradar", "withdraw_to_saving": "Levantar para Guradar",
"steemconnect_title": "Transferência por Steemconnect", "steemconnect_title": "Transferência por Steemconnect",
"next": "SEGUINTE" "next": "SEGUINTE"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "Această notă este publică", "memo_desc": "Această notă este publică",
"to_placeholder": "Nume de utilizator", "to_placeholder": "Nume de utilizator",
"memo_placeholder": "Introdu comentariul tău aici", "memo_placeholder": "Introdu comentariul tău aici",
"transferToken": "Transferă", "transfer_token": "Transferă",
"transferToSaving": "Tranferă la economii", "transfer_to_saving": "Tranferă la economii",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Retrage la economii", "withdraw_to_saving": "Retrage la economii",
"steemconnect_title": "Transfer Steemconnect", "steemconnect_title": "Transfer Steemconnect",
"next": "URMĂTORUL" "next": "URMĂTORUL"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "Эта заметка публична", "memo_desc": "Эта заметка публична",
"to_placeholder": "Пользователь", "to_placeholder": "Пользователь",
"memo_placeholder": "Введите свою заметку", "memo_placeholder": "Введите свою заметку",
"transferToken": "Перевод", "transfer_token": "Перевод",
"transferToSaving": "Отправить в сейф", "transfer_to_saving": "Отправить в сейф",
"powerUp": "Увеличение силы", "powerUp": "Увеличение силы",
"withdrawToSaving": "Вывести в сейф", "withdraw_to_saving": "Вывести в сейф",
"steemconnect_title": "Перевод Steemconnect", "steemconnect_title": "Перевод Steemconnect",
"next": "ДАЛЕЕ" "next": "ДАЛЕЕ"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "Bu not herkese açık", "memo_desc": "Bu not herkese açık",
"to_placeholder": "Kullanıcı Adı", "to_placeholder": "Kullanıcı Adı",
"memo_placeholder": "Notlarınızı buraya girin", "memo_placeholder": "Notlarınızı buraya girin",
"transferToken": "Havale", "transfer_token": "Havale",
"transferToSaving": "Tasarrufa Aktar", "transfer_to_saving": "Tasarrufa Aktar",
"powerUp": "Güç yükselt", "powerUp": "Güç yükselt",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Aktarımı", "steemconnect_title": "Steemconnect Aktarımı",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -275,10 +275,10 @@
"memo_desc": "This memo is public", "memo_desc": "This memo is public",
"to_placeholder": "Username", "to_placeholder": "Username",
"memo_placeholder": "Enter your notes here", "memo_placeholder": "Enter your notes here",
"transferToken": "Transfer", "transfer_token": "Transfer",
"transferToSaving": "Transfer To Saving", "transfer_to_saving": "Transfer To Saving",
"powerUp": "Power Up", "powerUp": "Power Up",
"withdrawToSaving": "Withdraw To Saving", "withdraw_to_saving": "Withdraw To Saving",
"steemconnect_title": "Steemconnect Transfer", "steemconnect_title": "Steemconnect Transfer",
"next": "NEXT" "next": "NEXT"
} }

View File

@ -1,4 +1,28 @@
export default { export default {
999: {
icon: 'compare-arrows',
textKey: 'points.incoming_transfer_title',
nameKey: 'points.incoming_transfer',
descriptionKey: 'points.incoming_transfer_description',
iconType: 'MaterialIcons',
point: 0.1,
},
998: {
icon: 'compare-arrows',
textKey: 'points.outgoing_transfer_title',
nameKey: 'points.outgoing_transfer',
descriptionKey: 'points.outgoing_transfer_description',
iconType: 'MaterialIcons',
point: 0.1,
},
150: {
icon: 'local-activity',
textKey: 'points.delegation_title',
nameKey: 'points.delegation',
descriptionKey: 'points.delegation_desc',
iconType: 'MaterialIcons',
point: 1,
},
100: { 100: {
icon: 'pencil', icon: 'pencil',
textKey: 'points.post_title', textKey: 'points.post_title',
@ -58,6 +82,9 @@ export default {
}; };
export const POINTS_KEYS = [ export const POINTS_KEYS = [
{
type: 150,
},
{ {
type: 100, type: 100,
}, },

View File

@ -1,6 +1,12 @@
import { Alert } from 'react-native'; import { Alert } from 'react-native';
import { Client, PrivateKey } from 'dsteem';
import ePointApi from '../../config/ePoint'; import ePointApi from '../../config/ePoint';
// Utils
import { decryptKey } from '../../utils/crypto';
// const client = new Client(getItem('server', 'https://api.steemit.com'));
export const userActivity = (us, ty, bl = '', tx = '') => export const userActivity = (us, ty, bl = '', tx = '') =>
new Promise(resolve => { new Promise(resolve => {
const params = { us, ty }; const params = { us, ty };

View File

@ -1,10 +1,12 @@
import { Client, PrivateKey } from 'dsteem'; import { Client, PrivateKey } from 'dsteem';
import steemConnect from 'steemconnect'; import steemConnect from 'steemconnect';
import Config from 'react-native-config'; import Config from 'react-native-config';
import get from 'lodash/get';
import { getServer } from '../../realm/realm'; import { getServer } from '../../realm/realm';
import { getUnreadActivityCount } from '../esteem/esteem'; import { getUnreadActivityCount } from '../esteem/esteem';
import { userActivity } from '../esteem/ePoint'; import { userActivity, transfer } from '../esteem/ePoint';
// Utils // Utils
import { decryptKey } from '../../utils/crypto'; import { decryptKey } from '../../utils/crypto';
import { parsePosts, parsePost, parseComments } from '../../utils/postParser'; import { parsePosts, parsePost, parseComments } from '../../utils/postParser';
@ -530,7 +532,10 @@ export const transferToken = (currentAccount, pin, data) => {
client.broadcast client.broadcast
.transfer(args, privateKey) .transfer(args, privateKey)
.then(result => { .then(result => {
if (result) {
transfer(data.from, data.destination, data.ammount);
resolve(result); resolve(result);
}
}) })
.catch(err => { .catch(err => {
reject(err); reject(err);
@ -1009,6 +1014,34 @@ export const claimRewardBalance = (account, pinCode, rewardSteem, rewardSbd, rew
return Promise.reject(new Error('You dont have permission!')); return Promise.reject(new Error('You dont have permission!'));
}; };
export const transferPoint = (currentAccount, pinCode, data) => {
const pin = getDigitPinCode(pinCode);
const key = getActiveKey(currentAccount.local, pin);
const username = get(currentAccount, 'name');
const json = JSON.stringify({
sender: get(data, 'from'),
receiver: get(data, 'destination'),
amount: get(data, 'amount'),
memo: get(data, 'memo'),
});
if (key) {
const privateKey = PrivateKey.fromString(key);
const op = {
id: 'esteem_point_transfer',
json,
required_auths: [username],
required_posting_auths: [],
};
return client.broadcast.json(op, privateKey);
}
return Promise.reject(new Error('Something went wrong!'));
};
const getAnyPrivateKey = (local, pin) => { const getAnyPrivateKey = (local, pin) => {
const { postingKey, activeKey } = local; const { postingKey, activeKey } = local;
@ -1022,3 +1055,13 @@ const getAnyPrivateKey = (local, pin) => {
return false; return false;
}; };
const getActiveKey = (local, pin) => {
const { activeKey } = local;
if (activeKey) {
return decryptKey(local.activeKey, pin);
}
return false;
};

View File

@ -10,6 +10,7 @@ import {
transferToSavings, transferToSavings,
transferToVesting, transferToVesting,
getAccount, getAccount,
transferPoint,
} from '../../../providers/steem/dsteem'; } from '../../../providers/steem/dsteem';
import { toastNotification } from '../../../redux/actions/uiAction'; import { toastNotification } from '../../../redux/actions/uiAction';
@ -55,6 +56,9 @@ class TransferContainer extends Component {
case 'SBD': case 'SBD':
balance = account[0].sbd_balance.replace(fundType, ''); balance = account[0].sbd_balance.replace(fundType, '');
break; break;
case 'POINT':
balance = navigation.getParam('balance', '');
break;
default: default:
break; break;
} }
@ -89,19 +93,22 @@ class TransferContainer extends Component {
data.amount = `${data.amount} ${fundType}`; data.amount = `${data.amount} ${fundType}`;
switch (transferType) { switch (transferType) {
case 'transferToken': case 'transfer_token':
func = transferToken; func = transferToken;
break; break;
case 'transferToSaving': case 'transfer_to_saving':
func = transferToSavings; func = transferToSavings;
break; break;
case 'powerUp': case 'powerUp':
func = transferToVesting; func = transferToVesting;
break; break;
case 'withdrawToSaving': case 'withdraw_to_saving':
func = transferFromSavings; func = transferFromSavings;
data.requestId = new Date().getTime() >>> 0; data.requestId = new Date().getTime() >>> 0;
break; break;
case 'points':
func = transferPoint;
break;
default: default:
break; break;

View File

@ -142,12 +142,27 @@ class TransferView extends Component {
isTransfering, isTransfering,
from, from,
} = this.state; } = this.state;
let path;
const path = `sign/transfer?from=${ if (transferType === 'points') {
accounts[0].username const json = JSON.stringify({
}&to=${destination}&amount=${encodeURIComponent(`${amount} STEEM`)}&memo=${encodeURIComponent( sender: accounts[0].username,
receiver: destination,
amount: `${Number(amount).toFixed(3)} ${fundType}`,
memo, memo,
});
path = `sign/custom-json?required_auths=%5B%22${
accounts[0].username
}%22%5D&required_posting_auths=%5B%5D&id=esteem_point_transfer&json=${encodeURIComponent(
json,
)}`; )}`;
} else {
path = `sign/transfer?from=${
accounts[0].username
}&to=${destination}&amount=${encodeURIComponent(
`${amount} ${fundType}`,
)}&memo=${encodeURIComponent(memo)}`;
}
return ( return (
<Fragment> <Fragment>

0
src/utils/points.js Normal file
View File