From ea9c3cb4b86deeb9c081e233a1b4c25ec6cba800 Mon Sep 17 00:00:00 2001 From: jiangfuyao Date: Sun, 23 Jun 2019 01:56:48 +0800 Subject: [PATCH] Add file header declaration --- .vscode/settings.json | 2 ++ README.md | 2 +- __test__/Api.test.js | 4 ---- src/components/Active.js | 12 ++++++++++++ src/components/CoinRow.js | 12 ++++++++++++ src/components/Header.js | 12 ++++++++++++ src/components/Loading.js | 12 ++++++++++++ src/components/LoadingUtil.js | 12 ++++++++++++ src/components/ProposalsRow.js | 12 ++++++++++++ src/components/RNKeyboardAvoidView.js | 12 ++++++++++++ src/components/RNPicker.js | 12 ++++++++++++ src/components/bottom.js | 12 ++++++++++++ src/locales/en-US/Assets/index.js | 12 ++++++++++++ src/locales/en-US/Democracy/index.js | 12 ++++++++++++ src/locales/en-US/Profile/index.js | 12 ++++++++++++ src/locales/en-US/Staking/index.js | 12 ++++++++++++ src/locales/en-US/index.js | 12 ++++++++++++ src/locales/i18n.js | 12 ++++++++++++ src/locales/zh-CN/Assets/index.js | 12 ++++++++++++ src/locales/zh-CN/Democracy/index.js | 12 ++++++++++++ src/locales/zh-CN/Profile/index.js | 12 ++++++++++++ src/locales/zh-CN/Staking/index.js | 12 ++++++++++++ src/locales/zh-CN/index.js | 12 ++++++++++++ src/mobx/mobx.js | 12 ++++++++++++ src/page/Assets/Assets.js | 12 ++++++++++++ src/page/Assets/secondary/BackupAccount.js | 12 ++++++++++++ src/page/Assets/secondary/Camera.js | 12 ++++++++++++ src/page/Assets/secondary/CoinDetails.js | 12 ++++++++++++ src/page/Assets/secondary/CreateAccount.js | 12 ++++++++++++ src/page/Assets/secondary/MnemonicWord_1.js | 12 ++++++++++++ src/page/Assets/secondary/MnemonicWord_2.js | 12 ++++++++++++ src/page/Assets/secondary/MnemonicWord_3.js | 12 ++++++++++++ src/page/Assets/secondary/QRCode.js | 12 ++++++++++++ src/page/Assets/secondary/RightMenu.js | 12 ++++++++++++ .../Assets/secondary/Transfer/MakeTransfer.js | 12 ++++++++++++ src/page/Assets/secondary/Transfer/Transfer.js | 12 ++++++++++++ .../secondary/Transfer/TransferDetails.js | 12 ++++++++++++ src/page/Democracy/Democracy.js | 12 ++++++++++++ src/page/Democracy/Proposals.js | 12 ++++++++++++ src/page/Democracy/Referendums.js | 12 ++++++++++++ src/page/Democracy/secondary/History.js | 12 ++++++++++++ src/page/Democracy/secondary/NayorAye.js | 12 ++++++++++++ src/page/Profile/Profile.js | 12 ++++++++++++ src/page/Profile/secondary/About.js | 12 ++++++++++++ src/page/Profile/secondary/AddAddress.js | 12 ++++++++++++ .../Profile/secondary/AddressInformation.js | 12 ++++++++++++ src/page/Profile/secondary/Addresses.js | 12 ++++++++++++ .../Profile/secondary/Change/ChangeName.js | 12 ++++++++++++ .../Profile/secondary/Change/ChangePassword.js | 12 ++++++++++++ src/page/Profile/secondary/ManageAccount.js | 12 ++++++++++++ src/page/Profile/secondary/Settings.js | 12 ++++++++++++ src/page/Profile/secondary/Settings/Gesture.js | 12 ++++++++++++ src/page/Profile/secondary/Settings/SetNode.js | 12 ++++++++++++ src/page/Staking/Staking.js | 12 ++++++++++++ src/page/Staking/secondary/BondAdditional.js | 12 ++++++++++++ src/page/Staking/secondary/BondFunds.js | 12 ++++++++++++ src/page/Staking/secondary/Nominate.js | 12 ++++++++++++ src/page/Staking/secondary/SetSessionKey.js | 12 ++++++++++++ src/page/Staking/secondary/Stake.js | 12 ++++++++++++ src/page/Staking/secondary/Unbond.js | 12 ++++++++++++ src/page/Staking/secondary/Unnominate.js | 12 ++++++++++++ src/page/Staking/secondary/Unstake.js | 12 ++++++++++++ src/page/Staking/secondary/ValidatorInfo.js | 12 ++++++++++++ src/page/TabbedNavigation.js | 12 ++++++++++++ src/util/Common.js | 12 ++++++++++++ src/util/DataRepository.js | 18 +++++++++++++++--- src/util/error_guard.js | 12 ++++++++++++ src/util/polkadotAPI.js | 12 ++++++++++++ 68 files changed, 786 insertions(+), 8 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..7a73a41b --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,2 @@ +{ +} \ No newline at end of file diff --git a/README.md b/README.md index 40b58211..d0a517e6 100755 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ In order to give users a more humane and more convenient experience, as the entr (then have the Chinese New Year, 14 days holiday) - [x] Functional & logic implementation (plan: 2019.02. 27 done)[actual: 02.22 done] - [x] Release Beta version (plan: 2019.02.28 release)[actual: 02.23 done] -- [ ] Optimization and development +- [x] Optimization and development - [ ] Integrate Parity Signer to Polkawallet - [ ] New and more functions, including finance, cross-chain ecosystem diff --git a/__test__/Api.test.js b/__test__/Api.test.js index 1158ac50..9e2d6561 100755 --- a/__test__/Api.test.js +++ b/__test__/Api.test.js @@ -8,10 +8,6 @@ let _index = _interopRequireDefault(require('@polkadot/rpc-provider/mock/index') let _ = require('@polkadot/api') -// Copyright 2017-2019 @polkadot/api authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. - describe.skip('Metadata queries', () => { let mock beforeEach(() => { diff --git a/src/components/Active.js b/src/components/Active.js index 3c02cf70..6e5a9753 100755 --- a/src/components/Active.js +++ b/src/components/Active.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { Text, View, Image, TouchableOpacity, RefreshControl, ScrollView } from 'react-native' import { Method } from '@polkadot/types' diff --git a/src/components/CoinRow.js b/src/components/CoinRow.js index 9c52e2ae..30e9711c 100755 --- a/src/components/CoinRow.js +++ b/src/components/CoinRow.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { Image, View, TouchableOpacity, Text } from 'react-native' import moment from 'moment/moment' diff --git a/src/components/Header.js b/src/components/Header.js index 021ccb67..38fce0e6 100755 --- a/src/components/Header.js +++ b/src/components/Header.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { Image, View, TouchableOpacity, Text } from 'react-native' import { ScreenWidth } from '../util/Common' diff --git a/src/components/Loading.js b/src/components/Loading.js index 646f698a..10e41c56 100755 --- a/src/components/Loading.js +++ b/src/components/Loading.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React from 'react' import { ActivityIndicator, StyleSheet, Text, View, Dimensions } from 'react-native' import i18n from '../locales/i18n' diff --git a/src/components/LoadingUtil.js b/src/components/LoadingUtil.js index e27ed968..992cbd8f 100755 --- a/src/components/LoadingUtil.js +++ b/src/components/LoadingUtil.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ const LoadingUtil = { showLoading(timeOut = 30000) { global.LoadingTip = true diff --git a/src/components/ProposalsRow.js b/src/components/ProposalsRow.js index 463c3fb2..76917abb 100755 --- a/src/components/ProposalsRow.js +++ b/src/components/ProposalsRow.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { Text, View, Image } from 'react-native' import { ScreenWidth, ScreenHeight } from '../util/Common' diff --git a/src/components/RNKeyboardAvoidView.js b/src/components/RNKeyboardAvoidView.js index 69088d20..4b095c7d 100755 --- a/src/components/RNKeyboardAvoidView.js +++ b/src/components/RNKeyboardAvoidView.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { KeyboardAvoidingView, ScrollView, Platform } from 'react-native' diff --git a/src/components/RNPicker.js b/src/components/RNPicker.js index ef3cffb9..0dad1746 100755 --- a/src/components/RNPicker.js +++ b/src/components/RNPicker.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { Platform, Picker, Text, ActionSheetIOS, TouchableOpacity, Image } from 'react-native' import i18n from '../locales/i18n' diff --git a/src/components/bottom.js b/src/components/bottom.js index d3e44368..75afc370 100755 --- a/src/components/bottom.js +++ b/src/components/bottom.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { Image, Dimensions } from 'react-native' diff --git a/src/locales/en-US/Assets/index.js b/src/locales/en-US/Assets/index.js index 696c3b1e..b5644060 100755 --- a/src/locales/en-US/Assets/index.js +++ b/src/locales/en-US/Assets/index.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-21 20:09:00 + */ export default { Alexander: 'Alexander TestNet', Receive: 'Receive', diff --git a/src/locales/en-US/Democracy/index.js b/src/locales/en-US/Democracy/index.js index 273db42c..eb06839e 100755 --- a/src/locales/en-US/Democracy/index.js +++ b/src/locales/en-US/Democracy/index.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ export default { // Democracy.js proposals: 'proposals', diff --git a/src/locales/en-US/Profile/index.js b/src/locales/en-US/Profile/index.js index e5df3a0b..14894ead 100755 --- a/src/locales/en-US/Profile/index.js +++ b/src/locales/en-US/Profile/index.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-22 00:27:44 + */ export default { Setting: 'Setting', ManageAccount: 'Manage Account', diff --git a/src/locales/en-US/Staking/index.js b/src/locales/en-US/Staking/index.js index 38c9a09d..a5a6637c 100755 --- a/src/locales/en-US/Staking/index.js +++ b/src/locales/en-US/Staking/index.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ export default { // Staking.js stakingOverview: 'Staking Overview', diff --git a/src/locales/en-US/index.js b/src/locales/en-US/index.js index bb932f89..818a08c9 100755 --- a/src/locales/en-US/index.js +++ b/src/locales/en-US/index.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import Assets from './Assets/index' import Staking from './Staking/index' import Democracy from './Democracy/index' diff --git a/src/locales/i18n.js b/src/locales/i18n.js index f8486793..b8149f59 100755 --- a/src/locales/i18n.js +++ b/src/locales/i18n.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import i18n from 'react-native-i18n' import en from './en-US/index' import zh from './zh-CN/index' diff --git a/src/locales/zh-CN/Assets/index.js b/src/locales/zh-CN/Assets/index.js index 4bbc7986..382863ab 100755 --- a/src/locales/zh-CN/Assets/index.js +++ b/src/locales/zh-CN/Assets/index.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-21 20:09:00 + */ export default { Alexander: 'Alexander 测试网', Receive: '接收', diff --git a/src/locales/zh-CN/Democracy/index.js b/src/locales/zh-CN/Democracy/index.js index 4dd0a845..523478dd 100755 --- a/src/locales/zh-CN/Democracy/index.js +++ b/src/locales/zh-CN/Democracy/index.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ export default { // Democracy.js proposals: '提案', diff --git a/src/locales/zh-CN/Profile/index.js b/src/locales/zh-CN/Profile/index.js index f8428d44..30f2d91b 100755 --- a/src/locales/zh-CN/Profile/index.js +++ b/src/locales/zh-CN/Profile/index.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-22 00:28:12 + */ export default { ManageAccount: '账户管理', Setting: '设置', diff --git a/src/locales/zh-CN/Staking/index.js b/src/locales/zh-CN/Staking/index.js index 1b04e7fd..dccb0b60 100755 --- a/src/locales/zh-CN/Staking/index.js +++ b/src/locales/zh-CN/Staking/index.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ export default { // Staking.js stakingOverview: '抵押概况', diff --git a/src/locales/zh-CN/index.js b/src/locales/zh-CN/index.js index f45db9ab..08ba7b6e 100755 --- a/src/locales/zh-CN/index.js +++ b/src/locales/zh-CN/index.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import Assets from './Assets/index' import Staking from './Staking/index' import Democracy from './Democracy/index' diff --git a/src/mobx/mobx.js b/src/mobx/mobx.js index 2d57e03d..64fd50ce 100755 --- a/src/mobx/mobx.js +++ b/src/mobx/mobx.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-21 22:42:42 + */ import { observable } from 'mobx' class StateStore { diff --git a/src/page/Assets/Assets.js b/src/page/Assets/Assets.js index a790e296..63eeab62 100755 --- a/src/page/Assets/Assets.js +++ b/src/page/Assets/Assets.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-21 21:14:28 + */ import React, { Component } from 'react' import { Text, diff --git a/src/page/Assets/secondary/BackupAccount.js b/src/page/Assets/secondary/BackupAccount.js index 3e81a070..e1c5f53e 100755 --- a/src/page/Assets/secondary/BackupAccount.js +++ b/src/page/Assets/secondary/BackupAccount.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Assets/secondary/Camera.js b/src/page/Assets/secondary/Camera.js index 65e44bce..f6739299 100755 --- a/src/page/Assets/secondary/Camera.js +++ b/src/page/Assets/secondary/Camera.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-20 21:01:02 + */ import React, { Component } from 'react' import { StyleSheet, Text, View, TouchableOpacity, StatusBar, SafeAreaView, Platform } from 'react-native' import { QRscanner } from 'react-native-qr-scanner' diff --git a/src/page/Assets/secondary/CoinDetails.js b/src/page/Assets/secondary/CoinDetails.js index a3b4bd2b..27330ded 100755 --- a/src/page/Assets/secondary/CoinDetails.js +++ b/src/page/Assets/secondary/CoinDetails.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Assets/secondary/CreateAccount.js b/src/page/Assets/secondary/CreateAccount.js index 8d4df596..c599553a 100755 --- a/src/page/Assets/secondary/CreateAccount.js +++ b/src/page/Assets/secondary/CreateAccount.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-21 21:33:46 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Assets/secondary/MnemonicWord_1.js b/src/page/Assets/secondary/MnemonicWord_1.js index 2429158d..eb58f8c3 100755 --- a/src/page/Assets/secondary/MnemonicWord_1.js +++ b/src/page/Assets/secondary/MnemonicWord_1.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { StyleSheet, Text, View, Image, TouchableOpacity, StatusBar, SafeAreaView, Modal } from 'react-native' import { observer, inject } from 'mobx-react' diff --git a/src/page/Assets/secondary/MnemonicWord_2.js b/src/page/Assets/secondary/MnemonicWord_2.js index 1d85efaf..7abc380c 100755 --- a/src/page/Assets/secondary/MnemonicWord_2.js +++ b/src/page/Assets/secondary/MnemonicWord_2.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { StyleSheet, Text, View, Image, TouchableOpacity, SafeAreaView, StatusBar } from 'react-native' import { observer, inject } from 'mobx-react' diff --git a/src/page/Assets/secondary/MnemonicWord_3.js b/src/page/Assets/secondary/MnemonicWord_3.js index e21c8ffe..1182c996 100755 --- a/src/page/Assets/secondary/MnemonicWord_3.js +++ b/src/page/Assets/secondary/MnemonicWord_3.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { StyleSheet, Text, View, TouchableOpacity, StatusBar, SafeAreaView, Alert } from 'react-native' import { NavigationActions, StackActions } from 'react-navigation' diff --git a/src/page/Assets/secondary/QRCode.js b/src/page/Assets/secondary/QRCode.js index bed32318..7d2d88a3 100755 --- a/src/page/Assets/secondary/QRCode.js +++ b/src/page/Assets/secondary/QRCode.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-20 21:01:02 + */ import React, { Component } from 'react' import { View, Text, TouchableOpacity, Image, Clipboard, StatusBar, Platform, SafeAreaView, Alert } from 'react-native' import QRCode from 'react-native-qrcode' diff --git a/src/page/Assets/secondary/RightMenu.js b/src/page/Assets/secondary/RightMenu.js index 6f80c094..e15fe16d 100755 --- a/src/page/Assets/secondary/RightMenu.js +++ b/src/page/Assets/secondary/RightMenu.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { StyleSheet, Text, View, ScrollView, Image, TouchableOpacity, SafeAreaView } from 'react-native' import { observer, inject } from 'mobx-react' diff --git a/src/page/Assets/secondary/Transfer/MakeTransfer.js b/src/page/Assets/secondary/Transfer/MakeTransfer.js index 6e1bc5ed..b35fbdeb 100755 --- a/src/page/Assets/secondary/Transfer/MakeTransfer.js +++ b/src/page/Assets/secondary/Transfer/MakeTransfer.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-19 23:03:08 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Assets/secondary/Transfer/Transfer.js b/src/page/Assets/secondary/Transfer/Transfer.js index 8c41417a..b67d84e3 100755 --- a/src/page/Assets/secondary/Transfer/Transfer.js +++ b/src/page/Assets/secondary/Transfer/Transfer.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-20 20:42:10 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Assets/secondary/Transfer/TransferDetails.js b/src/page/Assets/secondary/Transfer/TransferDetails.js index b2712ac8..fa78ccf7 100755 --- a/src/page/Assets/secondary/Transfer/TransferDetails.js +++ b/src/page/Assets/secondary/Transfer/TransferDetails.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-22 09:42:30 + */ import React, { PureComponent } from 'react' import { View, diff --git a/src/page/Democracy/Democracy.js b/src/page/Democracy/Democracy.js index 86c561e5..9f9b5a38 100755 --- a/src/page/Democracy/Democracy.js +++ b/src/page/Democracy/Democracy.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-19 21:24:18 + */ import React, { Component } from 'react' import { Text, View, TouchableOpacity, ScrollView, SafeAreaView, StatusBar, Platform } from 'react-native' import { observer, inject } from 'mobx-react' diff --git a/src/page/Democracy/Proposals.js b/src/page/Democracy/Proposals.js index 61a4555a..d76facee 100755 --- a/src/page/Democracy/Proposals.js +++ b/src/page/Democracy/Proposals.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { Text, View } from 'react-native' import { Method } from '@polkadot/types' diff --git a/src/page/Democracy/Referendums.js b/src/page/Democracy/Referendums.js index 9516cdf7..6ee4108a 100755 --- a/src/page/Democracy/Referendums.js +++ b/src/page/Democracy/Referendums.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { Text, View, TouchableOpacity } from 'react-native' import { observer, inject } from 'mobx-react' diff --git a/src/page/Democracy/secondary/History.js b/src/page/Democracy/secondary/History.js index cac57c7c..2319f3cf 100755 --- a/src/page/Democracy/secondary/History.js +++ b/src/page/Democracy/secondary/History.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { Text, View, Image, TouchableOpacity } from 'react-native' import { VictoryPie } from 'victory-native' diff --git a/src/page/Democracy/secondary/NayorAye.js b/src/page/Democracy/secondary/NayorAye.js index 5822838d..2bb5c580 100755 --- a/src/page/Democracy/secondary/NayorAye.js +++ b/src/page/Democracy/secondary/NayorAye.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Profile/Profile.js b/src/page/Profile/Profile.js index f7e02ae9..17ca0cbf 100755 --- a/src/page/Profile/Profile.js +++ b/src/page/Profile/Profile.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-19 21:24:18 + */ import React, { Component } from 'react' import { Text, View, ScrollView, Image, TouchableOpacity, SafeAreaView, Platform, StatusBar } from 'react-native' diff --git a/src/page/Profile/secondary/About.js b/src/page/Profile/secondary/About.js index bbd6f571..15d74df7 100755 --- a/src/page/Profile/secondary/About.js +++ b/src/page/Profile/secondary/About.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { StyleSheet, Text, View, Image, SafeAreaView, StatusBar } from 'react-native' import { observer, inject } from 'mobx-react' diff --git a/src/page/Profile/secondary/AddAddress.js b/src/page/Profile/secondary/AddAddress.js index 0e488ef4..9b5cee7f 100755 --- a/src/page/Profile/secondary/AddAddress.js +++ b/src/page/Profile/secondary/AddAddress.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Profile/secondary/AddressInformation.js b/src/page/Profile/secondary/AddressInformation.js index 1bb7798c..8884c28e 100755 --- a/src/page/Profile/secondary/AddressInformation.js +++ b/src/page/Profile/secondary/AddressInformation.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Profile/secondary/Addresses.js b/src/page/Profile/secondary/Addresses.js index 325da79d..0ad08033 100755 --- a/src/page/Profile/secondary/Addresses.js +++ b/src/page/Profile/secondary/Addresses.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Profile/secondary/Change/ChangeName.js b/src/page/Profile/secondary/Change/ChangeName.js index e1d091ad..3ae10bc8 100755 --- a/src/page/Profile/secondary/Change/ChangeName.js +++ b/src/page/Profile/secondary/Change/ChangeName.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Profile/secondary/Change/ChangePassword.js b/src/page/Profile/secondary/Change/ChangePassword.js index c0c72f25..51a0694c 100755 --- a/src/page/Profile/secondary/Change/ChangePassword.js +++ b/src/page/Profile/secondary/Change/ChangePassword.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Profile/secondary/ManageAccount.js b/src/page/Profile/secondary/ManageAccount.js index 983542fa..ee94a2f0 100755 --- a/src/page/Profile/secondary/ManageAccount.js +++ b/src/page/Profile/secondary/ManageAccount.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Profile/secondary/Settings.js b/src/page/Profile/secondary/Settings.js index ba581651..4206a615 100755 --- a/src/page/Profile/secondary/Settings.js +++ b/src/page/Profile/secondary/Settings.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-21 22:01:34 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Profile/secondary/Settings/Gesture.js b/src/page/Profile/secondary/Settings/Gesture.js index 26ba6f26..2fa25c47 100755 --- a/src/page/Profile/secondary/Settings/Gesture.js +++ b/src/page/Profile/secondary/Settings/Gesture.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { AsyncStorage, SafeAreaView, StatusBar, View } from 'react-native' import { NavigationActions, StackActions } from 'react-navigation' diff --git a/src/page/Profile/secondary/Settings/SetNode.js b/src/page/Profile/secondary/Settings/SetNode.js index 6832b5b8..7767e2bc 100755 --- a/src/page/Profile/secondary/Settings/SetNode.js +++ b/src/page/Profile/secondary/Settings/SetNode.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-22 00:21:58 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Staking/Staking.js b/src/page/Staking/Staking.js index 31c0bbb3..6a61c3ba 100755 --- a/src/page/Staking/Staking.js +++ b/src/page/Staking/Staking.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-19 21:24:18 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Staking/secondary/BondAdditional.js b/src/page/Staking/secondary/BondAdditional.js index 0f0cbb33..9c28e4a1 100755 --- a/src/page/Staking/secondary/BondAdditional.js +++ b/src/page/Staking/secondary/BondAdditional.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-19 23:03:08 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Staking/secondary/BondFunds.js b/src/page/Staking/secondary/BondFunds.js index 0c73d457..37808bf7 100755 --- a/src/page/Staking/secondary/BondFunds.js +++ b/src/page/Staking/secondary/BondFunds.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 22:22:06 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Staking/secondary/Nominate.js b/src/page/Staking/secondary/Nominate.js index 224fffb7..966aae5f 100755 --- a/src/page/Staking/secondary/Nominate.js +++ b/src/page/Staking/secondary/Nominate.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 22:22:06 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Staking/secondary/SetSessionKey.js b/src/page/Staking/secondary/SetSessionKey.js index 4fb03d5c..ca463972 100755 --- a/src/page/Staking/secondary/SetSessionKey.js +++ b/src/page/Staking/secondary/SetSessionKey.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 22:22:06 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Staking/secondary/Stake.js b/src/page/Staking/secondary/Stake.js index 7e89a46a..ec235835 100755 --- a/src/page/Staking/secondary/Stake.js +++ b/src/page/Staking/secondary/Stake.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 22:22:06 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Staking/secondary/Unbond.js b/src/page/Staking/secondary/Unbond.js index c7e3059b..d50ab002 100755 --- a/src/page/Staking/secondary/Unbond.js +++ b/src/page/Staking/secondary/Unbond.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 22:22:06 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Staking/secondary/Unnominate.js b/src/page/Staking/secondary/Unnominate.js index fed75fba..a8072b58 100755 --- a/src/page/Staking/secondary/Unnominate.js +++ b/src/page/Staking/secondary/Unnominate.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 22:22:06 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Staking/secondary/Unstake.js b/src/page/Staking/secondary/Unstake.js index 1d9e11b8..8512b89c 100755 --- a/src/page/Staking/secondary/Unstake.js +++ b/src/page/Staking/secondary/Unstake.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 22:22:06 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/Staking/secondary/ValidatorInfo.js b/src/page/Staking/secondary/ValidatorInfo.js index baff1d84..987f5e14 100755 --- a/src/page/Staking/secondary/ValidatorInfo.js +++ b/src/page/Staking/secondary/ValidatorInfo.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { StyleSheet, diff --git a/src/page/TabbedNavigation.js b/src/page/TabbedNavigation.js index 0cc72ae8..d8841325 100755 --- a/src/page/TabbedNavigation.js +++ b/src/page/TabbedNavigation.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import React, { Component } from 'react' import { Text } from 'react-native' import { createBottomTabNavigator } from 'react-navigation' diff --git a/src/util/Common.js b/src/util/Common.js index 8b21ea69..c0c9d62c 100755 --- a/src/util/Common.js +++ b/src/util/Common.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-20 21:01:02 + */ import SInfo from 'react-native-sensitive-info' import Keyring from '@polkadot/keyring' import { Dimensions, Alert } from 'react-native' diff --git a/src/util/DataRepository.js b/src/util/DataRepository.js index e6fe7842..db7574ca 100755 --- a/src/util/DataRepository.js +++ b/src/util/DataRepository.js @@ -1,7 +1,19 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ import { AsyncStorage } from 'react-native' /** - * 数据持久化类 + * 数据持久化类 | Data persistence class */ export default class DataRepository { /** @@ -40,7 +52,7 @@ export default class DataRepository { } /** - * 移除本地存存的key + * 移除本地存的key * @param key * @returns {*} */ @@ -51,7 +63,7 @@ export default class DataRepository { } /** - * 移除本地存存的keys + * 移除本地存的keys * @param keys * @returns {*} */ diff --git a/src/util/error_guard.js b/src/util/error_guard.js index af406331..c93ec988 100755 --- a/src/util/error_guard.js +++ b/src/util/error_guard.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-18 21:08:00 + */ const noop = () => {} export const setJSExceptionHandler = (customHandler = noop, allowedInDevMode = false) => { diff --git a/src/util/polkadotAPI.js b/src/util/polkadotAPI.js index 8f827246..37313fd7 100755 --- a/src/util/polkadotAPI.js +++ b/src/util/polkadotAPI.js @@ -1,3 +1,15 @@ +/* + * @Description: COPYRIGHT © 2018 POLKAWALLET (HK) LIMITED + * This file is part of Polkawallet. + + It under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License. + You should have received a copy of the GNU General Public License + along with Polkawallet. If not, see . + + * @Autor: POLKAWALLET LIMITED + * @Date: 2019-06-20 20:42:10 + */ import Api from '@polkadot/api/promise' import WsProvider from '@polkadot/rpc-provider/ws' import AppState from '../mobx/mobx'