Skip to content

Commit

Permalink
Merge pull request #125 from polkawallet-io/threebody-0.1.7
Browse files Browse the repository at this point in the history
Add file header declaration
  • Loading branch information
0xthreebody committed Jun 22, 2019
2 parents cf4a2ad + ea9c3cb commit 675e968
Show file tree
Hide file tree
Showing 68 changed files with 786 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

4 changes: 0 additions & 4 deletions __test__/Api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down
12 changes: 12 additions & 0 deletions src/components/Active.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @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'
Expand Down
12 changes: 12 additions & 0 deletions src/components/CoinRow.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @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'
Expand Down
12 changes: 12 additions & 0 deletions src/components/Header.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @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'
Expand Down
12 changes: 12 additions & 0 deletions src/components/Loading.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @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'
Expand Down
12 changes: 12 additions & 0 deletions src/components/LoadingUtil.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @Autor: POLKAWALLET LIMITED
* @Date: 2019-06-18 21:08:00
*/
const LoadingUtil = {
showLoading(timeOut = 30000) {
global.LoadingTip = true
Expand Down
12 changes: 12 additions & 0 deletions src/components/ProposalsRow.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @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'
Expand Down
12 changes: 12 additions & 0 deletions src/components/RNKeyboardAvoidView.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @Autor: POLKAWALLET LIMITED
* @Date: 2019-06-18 21:08:00
*/
import React, { Component } from 'react'
import { KeyboardAvoidingView, ScrollView, Platform } from 'react-native'

Expand Down
12 changes: 12 additions & 0 deletions src/components/RNPicker.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @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'
Expand Down
12 changes: 12 additions & 0 deletions src/components/bottom.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @Autor: POLKAWALLET LIMITED
* @Date: 2019-06-18 21:08:00
*/
import React, { Component } from 'react'
import { Image, Dimensions } from 'react-native'

Expand Down
12 changes: 12 additions & 0 deletions src/locales/en-US/Assets/index.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @Autor: POLKAWALLET LIMITED
* @Date: 2019-06-21 20:09:00
*/
export default {
Alexander: 'Alexander TestNet',
Receive: 'Receive',
Expand Down
12 changes: 12 additions & 0 deletions src/locales/en-US/Democracy/index.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @Autor: POLKAWALLET LIMITED
* @Date: 2019-06-18 21:08:00
*/
export default {
// Democracy.js
proposals: 'proposals',
Expand Down
12 changes: 12 additions & 0 deletions src/locales/en-US/Profile/index.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @Autor: POLKAWALLET LIMITED
* @Date: 2019-06-22 00:27:44
*/
export default {
Setting: 'Setting',
ManageAccount: 'Manage Account',
Expand Down
12 changes: 12 additions & 0 deletions src/locales/en-US/Staking/index.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @Autor: POLKAWALLET LIMITED
* @Date: 2019-06-18 21:08:00
*/
export default {
// Staking.js
stakingOverview: 'Staking Overview',
Expand Down
12 changes: 12 additions & 0 deletions src/locales/en-US/index.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @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'
Expand Down
12 changes: 12 additions & 0 deletions src/locales/i18n.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @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'
Expand Down
12 changes: 12 additions & 0 deletions src/locales/zh-CN/Assets/index.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @Autor: POLKAWALLET LIMITED
* @Date: 2019-06-21 20:09:00
*/
export default {
Alexander: 'Alexander 测试网',
Receive: '接收',
Expand Down
12 changes: 12 additions & 0 deletions src/locales/zh-CN/Democracy/index.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @Autor: POLKAWALLET LIMITED
* @Date: 2019-06-18 21:08:00
*/
export default {
// Democracy.js
proposals: '提案',
Expand Down
12 changes: 12 additions & 0 deletions src/locales/zh-CN/Profile/index.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @Autor: POLKAWALLET LIMITED
* @Date: 2019-06-22 00:28:12
*/
export default {
ManageAccount: '账户管理',
Setting: '设置',
Expand Down
12 changes: 12 additions & 0 deletions src/locales/zh-CN/Staking/index.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @Autor: POLKAWALLET LIMITED
* @Date: 2019-06-18 21:08:00
*/
export default {
// Staking.js
stakingOverview: '抵押概况',
Expand Down
12 changes: 12 additions & 0 deletions src/locales/zh-CN/index.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @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'
Expand Down
12 changes: 12 additions & 0 deletions src/mobx/mobx.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @Autor: POLKAWALLET LIMITED
* @Date: 2019-06-21 22:42:42
*/
import { observable } from 'mobx'

class StateStore {
Expand Down
12 changes: 12 additions & 0 deletions src/page/Assets/Assets.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @Autor: POLKAWALLET LIMITED
* @Date: 2019-06-21 21:14:28
*/
import React, { Component } from 'react'
import {
Text,
Expand Down
12 changes: 12 additions & 0 deletions src/page/Assets/secondary/BackupAccount.js
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
* @Autor: POLKAWALLET LIMITED
* @Date: 2019-06-18 21:08:00
*/
import React, { Component } from 'react'
import {
StyleSheet,
Expand Down
Loading

0 comments on commit 675e968

Please sign in to comment.