diff --git a/.eslintrc.js b/.eslintrc.js index d4798d36b9..9d8bb37a20 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 const base = require('@polkadot/dev/config/eslint.cjs'); diff --git a/babel.config.js b/babel.config.js index 2ece115a9c..d1c7eb4cdd 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 module.exports = require('@polkadot/dev/config/babel-config-cjs.cjs'); diff --git a/i18next-scanner.config.js b/i18next-scanner.config.js index 1b1cf5f8c5..6fee259e7a 100644 --- a/i18next-scanner.config.js +++ b/i18next-scanner.config.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 const fs = require('fs'); diff --git a/jest.config.js b/jest.config.js index 9cf870a79c..7a9a970738 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 const config = require('@polkadot/dev/config/jest.cjs'); diff --git a/jest/globalSetup.ts b/jest/globalSetup.ts index 5cba2b62f0..df9039b71d 100644 --- a/jest/globalSetup.ts +++ b/jest/globalSetup.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import { AlwaysPullPolicy, GenericContainer, Wait } from 'testcontainers'; diff --git a/jest/globalTeardown.ts b/jest/globalTeardown.ts index 20bfa229b2..1e96a507e2 100644 --- a/jest/globalTeardown.ts +++ b/jest/globalTeardown.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import { SubstrateTestsGlobal } from './substrateTestsGlobal'; diff --git a/jest/substrateTestsGlobal.ts b/jest/substrateTestsGlobal.ts index 2298b060f1..29e4e4681f 100644 --- a/jest/substrateTestsGlobal.ts +++ b/jest/substrateTestsGlobal.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import { StartedTestContainer } from 'testcontainers'; diff --git a/packages/apps-config/src/api/chain/beresheet.ts b/packages/apps-config/src/api/chain/beresheet.ts index d4c70e4e2a..847941dae0 100644 --- a/packages/apps-config/src/api/chain/beresheet.ts +++ b/packages/apps-config/src/api/chain/beresheet.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/chain/index.ts b/packages/apps-config/src/api/chain/index.ts index 14987489d2..c9d324da82 100644 --- a/packages/apps-config/src/api/chain/index.ts +++ b/packages/apps-config/src/api/chain/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import Beresheet from './beresheet'; diff --git a/packages/apps-config/src/api/chain/phala.ts b/packages/apps-config/src/api/chain/phala.ts index d9b406fea2..ffe6de5464 100644 --- a/packages/apps-config/src/api/chain/phala.ts +++ b/packages/apps-config/src/api/chain/phala.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/constants.ts b/packages/apps-config/src/api/constants.ts index 0e9d2b6e9b..5ca1479c71 100644 --- a/packages/apps-config/src/api/constants.ts +++ b/packages/apps-config/src/api/constants.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/apps-config/src/api/index.ts b/packages/apps-config/src/api/index.ts index d57875ab11..9726b51aad 100644 --- a/packages/apps-config/src/api/index.ts +++ b/packages/apps-config/src/api/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import typesChain from './chain'; diff --git a/packages/apps-config/src/api/params/index.ts b/packages/apps-config/src/api/params/index.ts index 4756f23b0e..1dd8010d59 100644 --- a/packages/apps-config/src/api/params/index.ts +++ b/packages/apps-config/src/api/params/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-config authors & contributors +// Copyright 2017-2021 @polkadot/app-config authors & contributors // SPDX-License-Identifier: Apache-2.0 export * from './inflation'; diff --git a/packages/apps-config/src/api/params/inflation.ts b/packages/apps-config/src/api/params/inflation.ts index 76ccae5992..2872fe04e4 100644 --- a/packages/apps-config/src/api/params/inflation.ts +++ b/packages/apps-config/src/api/params/inflation.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-config authors & contributors +// Copyright 2017-2021 @polkadot/app-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiPromise } from '@polkadot/api'; diff --git a/packages/apps-config/src/api/params/proposalThresholds.ts b/packages/apps-config/src/api/params/proposalThresholds.ts index af40d15cbf..a6fdb72e6c 100644 --- a/packages/apps-config/src/api/params/proposalThresholds.ts +++ b/packages/apps-config/src/api/params/proposalThresholds.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-config authors & contributors +// Copyright 2017-2021 @polkadot/app-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiPromise } from '@polkadot/api'; diff --git a/packages/apps-config/src/api/spec/bifrost.ts b/packages/apps-config/src/api/spec/bifrost.ts index 725e054e31..a373e4acd8 100644 --- a/packages/apps-config/src/api/spec/bifrost.ts +++ b/packages/apps-config/src/api/spec/bifrost.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 /* eslint-disable sort-keys */ diff --git a/packages/apps-config/src/api/spec/canvas.ts b/packages/apps-config/src/api/spec/canvas.ts index 06a292da17..348f2411a5 100644 --- a/packages/apps-config/src/api/spec/canvas.ts +++ b/packages/apps-config/src/api/spec/canvas.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/centrifuge-chain.ts b/packages/apps-config/src/api/spec/centrifuge-chain.ts index 815798a4b1..3c40971789 100644 --- a/packages/apps-config/src/api/spec/centrifuge-chain.ts +++ b/packages/apps-config/src/api/spec/centrifuge-chain.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/crab.ts b/packages/apps-config/src/api/spec/crab.ts index b75b9caab1..1d62c9f5b7 100644 --- a/packages/apps-config/src/api/spec/crab.ts +++ b/packages/apps-config/src/api/spec/crab.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/crust.ts b/packages/apps-config/src/api/spec/crust.ts index 2b02859a0b..250eddf1ab 100644 --- a/packages/apps-config/src/api/spec/crust.ts +++ b/packages/apps-config/src/api/spec/crust.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/cumulus-test-parachain.ts b/packages/apps-config/src/api/spec/cumulus-test-parachain.ts index 8c1644e6f8..65b114ec25 100644 --- a/packages/apps-config/src/api/spec/cumulus-test-parachain.ts +++ b/packages/apps-config/src/api/spec/cumulus-test-parachain.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/darwinia-parachain.ts b/packages/apps-config/src/api/spec/darwinia-parachain.ts index 0213e720be..b4190a061e 100644 --- a/packages/apps-config/src/api/spec/darwinia-parachain.ts +++ b/packages/apps-config/src/api/spec/darwinia-parachain.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/darwinia.ts b/packages/apps-config/src/api/spec/darwinia.ts index b75b9caab1..1d62c9f5b7 100644 --- a/packages/apps-config/src/api/spec/darwinia.ts +++ b/packages/apps-config/src/api/spec/darwinia.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/dock.ts b/packages/apps-config/src/api/spec/dock.ts index 9c4c28e327..eb0585ced7 100644 --- a/packages/apps-config/src/api/spec/dock.ts +++ b/packages/apps-config/src/api/spec/dock.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/dusty.ts b/packages/apps-config/src/api/spec/dusty.ts index c134c176f7..beb2a8b5a4 100644 --- a/packages/apps-config/src/api/spec/dusty.ts +++ b/packages/apps-config/src/api/spec/dusty.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 export default { diff --git a/packages/apps-config/src/api/spec/edgeware.ts b/packages/apps-config/src/api/spec/edgeware.ts index af49ed87cb..ec1732e5a5 100644 --- a/packages/apps-config/src/api/spec/edgeware.ts +++ b/packages/apps-config/src/api/spec/edgeware.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/encointer-node-notee.ts b/packages/apps-config/src/api/spec/encointer-node-notee.ts index 3268f6af69..92f38abd5e 100644 --- a/packages/apps-config/src/api/spec/encointer-node-notee.ts +++ b/packages/apps-config/src/api/spec/encointer-node-notee.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/encointer-node-teeproxy.ts b/packages/apps-config/src/api/spec/encointer-node-teeproxy.ts index 3ab664d230..c22c859ed8 100644 --- a/packages/apps-config/src/api/spec/encointer-node-teeproxy.ts +++ b/packages/apps-config/src/api/spec/encointer-node-teeproxy.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/equilibrium.ts b/packages/apps-config/src/api/spec/equilibrium.ts index df28f0b642..aec690c713 100644 --- a/packages/apps-config/src/api/spec/equilibrium.ts +++ b/packages/apps-config/src/api/spec/equilibrium.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/galois.ts b/packages/apps-config/src/api/spec/galois.ts index b1c50cf785..9e0e0fc936 100644 --- a/packages/apps-config/src/api/spec/galois.ts +++ b/packages/apps-config/src/api/spec/galois.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/hanonycash.ts b/packages/apps-config/src/api/spec/hanonycash.ts index 8a4ae4118f..9d4fed1b25 100644 --- a/packages/apps-config/src/api/spec/hanonycash.ts +++ b/packages/apps-config/src/api/spec/hanonycash.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/index.ts b/packages/apps-config/src/api/spec/index.ts index 900eb37ac1..8841376dcf 100644 --- a/packages/apps-config/src/api/spec/index.ts +++ b/packages/apps-config/src/api/spec/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import bifrost from './bifrost'; diff --git a/packages/apps-config/src/api/spec/kilt.ts b/packages/apps-config/src/api/spec/kilt.ts index 18a5b7e3a8..52613e298b 100644 --- a/packages/apps-config/src/api/spec/kilt.ts +++ b/packages/apps-config/src/api/spec/kilt.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 export default { diff --git a/packages/apps-config/src/api/spec/nodle.ts b/packages/apps-config/src/api/spec/nodle.ts index e3000609b7..3463e98965 100644 --- a/packages/apps-config/src/api/spec/nodle.ts +++ b/packages/apps-config/src/api/spec/nodle.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 export default { diff --git a/packages/apps-config/src/api/spec/phala.ts b/packages/apps-config/src/api/spec/phala.ts index d9b406fea2..ffe6de5464 100644 --- a/packages/apps-config/src/api/spec/phala.ts +++ b/packages/apps-config/src/api/spec/phala.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/plasm.ts b/packages/apps-config/src/api/spec/plasm.ts index e49f6f3d1c..023923a6f2 100644 --- a/packages/apps-config/src/api/spec/plasm.ts +++ b/packages/apps-config/src/api/spec/plasm.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 export default { diff --git a/packages/apps-config/src/api/spec/polkabtc.ts b/packages/apps-config/src/api/spec/polkabtc.ts index 826c63fc5d..a49169f543 100644 --- a/packages/apps-config/src/api/spec/polkabtc.ts +++ b/packages/apps-config/src/api/spec/polkabtc.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import definitions from '@interlay/polkabtc-types'; diff --git a/packages/apps-config/src/api/spec/robonomics.ts b/packages/apps-config/src/api/spec/robonomics.ts index 6393557f14..3bc26ed2d5 100644 --- a/packages/apps-config/src/api/spec/robonomics.ts +++ b/packages/apps-config/src/api/spec/robonomics.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 /* eslint-disable sort-keys */ diff --git a/packages/apps-config/src/api/spec/stable-poc.ts b/packages/apps-config/src/api/spec/stable-poc.ts index c2ab86ee8b..13ff550496 100644 --- a/packages/apps-config/src/api/spec/stable-poc.ts +++ b/packages/apps-config/src/api/spec/stable-poc.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/stafi.ts b/packages/apps-config/src/api/spec/stafi.ts index 8c1644e6f8..65b114ec25 100644 --- a/packages/apps-config/src/api/spec/stafi.ts +++ b/packages/apps-config/src/api/spec/stafi.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/spec/subsocial.ts b/packages/apps-config/src/api/spec/subsocial.ts index 33cb23c9fc..f13abc5658 100644 --- a/packages/apps-config/src/api/spec/subsocial.ts +++ b/packages/apps-config/src/api/spec/subsocial.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import * as subsocialDefinitions from '@subsocial/types/substrate/interfaces/definitions'; diff --git a/packages/apps-config/src/api/spec/zero.ts b/packages/apps-config/src/api/spec/zero.ts index 68fce1e494..a15ee03aa7 100644 --- a/packages/apps-config/src/api/spec/zero.ts +++ b/packages/apps-config/src/api/spec/zero.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order diff --git a/packages/apps-config/src/api/specVersioned/acala.ts b/packages/apps-config/src/api/specVersioned/acala.ts index 7b39defcfc..ba8741c6cb 100644 --- a/packages/apps-config/src/api/specVersioned/acala.ts +++ b/packages/apps-config/src/api/specVersioned/acala.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/specVersioned/equilibrium.ts b/packages/apps-config/src/api/specVersioned/equilibrium.ts index 0577d1f026..5b64fc102a 100644 --- a/packages/apps-config/src/api/specVersioned/equilibrium.ts +++ b/packages/apps-config/src/api/specVersioned/equilibrium.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiInterfaceRx } from '@polkadot/api/types'; diff --git a/packages/apps-config/src/api/specVersioned/index.ts b/packages/apps-config/src/api/specVersioned/index.ts index 11b9afb834..dcc7e5700f 100644 --- a/packages/apps-config/src/api/specVersioned/index.ts +++ b/packages/apps-config/src/api/specVersioned/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import acala from './acala'; diff --git a/packages/apps-config/src/api/specVersioned/kulupu.ts b/packages/apps-config/src/api/specVersioned/kulupu.ts index ee5a81ad89..b4ff2612ca 100644 --- a/packages/apps-config/src/api/specVersioned/kulupu.ts +++ b/packages/apps-config/src/api/specVersioned/kulupu.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/specVersioned/laminar.ts b/packages/apps-config/src/api/specVersioned/laminar.ts index 33e4722f32..432f0e6854 100644 --- a/packages/apps-config/src/api/specVersioned/laminar.ts +++ b/packages/apps-config/src/api/specVersioned/laminar.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/specVersioned/moonbeam.ts b/packages/apps-config/src/api/specVersioned/moonbeam.ts index 67df7ede18..65d7ff1292 100644 --- a/packages/apps-config/src/api/specVersioned/moonbeam.ts +++ b/packages/apps-config/src/api/specVersioned/moonbeam.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import { moonbeamDefinitions } from 'moonbeam-types-bundle'; diff --git a/packages/apps-config/src/api/specVersioned/polkabtc.ts b/packages/apps-config/src/api/specVersioned/polkabtc.ts index 82480fcac3..6704449ad7 100644 --- a/packages/apps-config/src/api/specVersioned/polkabtc.ts +++ b/packages/apps-config/src/api/specVersioned/polkabtc.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/specVersioned/soraSubstrate.ts b/packages/apps-config/src/api/specVersioned/soraSubstrate.ts index fde183de40..b7c003caf1 100644 --- a/packages/apps-config/src/api/specVersioned/soraSubstrate.ts +++ b/packages/apps-config/src/api/specVersioned/soraSubstrate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OverrideBundleDefinition } from '@polkadot/types/types'; diff --git a/packages/apps-config/src/api/util.ts b/packages/apps-config/src/api/util.ts index 43ffd58b27..62f922f4a8 100644 --- a/packages/apps-config/src/api/util.ts +++ b/packages/apps-config/src/api/util.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 export function typesFromDefs (definitions: Record }>): Record { diff --git a/packages/apps-config/src/endpoints/development.ts b/packages/apps-config/src/endpoints/development.ts index a171f8f2a0..1b02380758 100644 --- a/packages/apps-config/src/endpoints/development.ts +++ b/packages/apps-config/src/endpoints/development.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-config/src/endpoints/index.ts b/packages/apps-config/src/endpoints/index.ts index f567b0db73..d5db8b4bf8 100644 --- a/packages/apps-config/src/endpoints/index.ts +++ b/packages/apps-config/src/endpoints/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-config/src/endpoints/production.ts b/packages/apps-config/src/endpoints/production.ts index 695b9e131d..c7d21ac5f9 100644 --- a/packages/apps-config/src/endpoints/production.ts +++ b/packages/apps-config/src/endpoints/production.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-config/src/endpoints/testing.ts b/packages/apps-config/src/endpoints/testing.ts index f26e452830..8a6b2eaab6 100644 --- a/packages/apps-config/src/endpoints/testing.ts +++ b/packages/apps-config/src/endpoints/testing.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-config/src/endpoints/testingRococo.ts b/packages/apps-config/src/endpoints/testingRococo.ts index c8aec2b482..13179304a1 100644 --- a/packages/apps-config/src/endpoints/testingRococo.ts +++ b/packages/apps-config/src/endpoints/testingRococo.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-config/src/extensions/index.ts b/packages/apps-config/src/extensions/index.ts index a80e26cd3c..25b3bb84c0 100644 --- a/packages/apps-config/src/extensions/index.ts +++ b/packages/apps-config/src/extensions/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // it would have been really good to import this from detect-browser, however... not exported diff --git a/packages/apps-config/src/index.ts b/packages/apps-config/src/index.ts index 31c0d0d9cc..f6e0e0dfdb 100644 --- a/packages/apps-config/src/index.ts +++ b/packages/apps-config/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 export * from './api'; diff --git a/packages/apps-config/src/links/commonwealth.ts b/packages/apps-config/src/links/commonwealth.ts index 3a4b31ba54..0d9ebe4d69 100644 --- a/packages/apps-config/src/links/commonwealth.ts +++ b/packages/apps-config/src/links/commonwealth.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/apps-config/src/links/index.ts b/packages/apps-config/src/links/index.ts index 94e1ca6f5d..fdcfc6408b 100644 --- a/packages/apps-config/src/links/index.ts +++ b/packages/apps-config/src/links/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ExternalDef } from './types'; diff --git a/packages/apps-config/src/links/polkascan.ts b/packages/apps-config/src/links/polkascan.ts index b3f4def45f..aa2f28ca7d 100644 --- a/packages/apps-config/src/links/polkascan.ts +++ b/packages/apps-config/src/links/polkascan.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/apps-config/src/links/polkassembly.ts b/packages/apps-config/src/links/polkassembly.ts index 266e4124bd..155fbdf61f 100644 --- a/packages/apps-config/src/links/polkassembly.ts +++ b/packages/apps-config/src/links/polkassembly.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/apps-config/src/links/polkastats.ts b/packages/apps-config/src/links/polkastats.ts index b6c208ffdb..f8da460b24 100644 --- a/packages/apps-config/src/links/polkastats.ts +++ b/packages/apps-config/src/links/polkastats.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/apps-config/src/links/subscan.ts b/packages/apps-config/src/links/subscan.ts index a62949feb9..cc71efade5 100644 --- a/packages/apps-config/src/links/subscan.ts +++ b/packages/apps-config/src/links/subscan.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/apps-config/src/links/types.ts b/packages/apps-config/src/links/types.ts index 9f4471588b..334512c7c4 100644 --- a/packages/apps-config/src/links/types.ts +++ b/packages/apps-config/src/links/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/apps-config/src/settings/ethereumChains.ts b/packages/apps-config/src/settings/ethereumChains.ts index c9fccdf4c8..0490659eae 100644 --- a/packages/apps-config/src/settings/ethereumChains.ts +++ b/packages/apps-config/src/settings/ethereumChains.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // The list of Ethereum networks, for these the UI will default to Ethereum-only accounts diff --git a/packages/apps-config/src/settings/index.ts b/packages/apps-config/src/settings/index.ts index 2d84e84b8e..d85b2ea702 100644 --- a/packages/apps-config/src/settings/index.ts +++ b/packages/apps-config/src/settings/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 export * from './ethereumChains'; diff --git a/packages/apps-config/src/settings/languages.ts b/packages/apps-config/src/settings/languages.ts index 66b93be6d7..1e6ff84a87 100644 --- a/packages/apps-config/src/settings/languages.ts +++ b/packages/apps-config/src/settings/languages.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-config/src/settings/ledgerChains.ts b/packages/apps-config/src/settings/ledgerChains.ts index afe3d433ed..3dcb3710ab 100644 --- a/packages/apps-config/src/settings/ledgerChains.ts +++ b/packages/apps-config/src/settings/ledgerChains.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import { KUSAMA_GENESIS, POLKADOT_GENESIS } from '../api/constants'; diff --git a/packages/apps-config/src/settings/ss58.ts b/packages/apps-config/src/settings/ss58.ts index 73b8215bff..b65d707436 100644 --- a/packages/apps-config/src/settings/ss58.ts +++ b/packages/apps-config/src/settings/ss58.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/ui-settings authors & contributors +// Copyright 2017-2021 @polkadot/ui-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-config/src/settings/types.ts b/packages/apps-config/src/settings/types.ts index 6b20543128..16f0476d08 100644 --- a/packages/apps-config/src/settings/types.ts +++ b/packages/apps-config/src/settings/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 export interface Option { diff --git a/packages/apps-config/src/ui/colors.ts b/packages/apps-config/src/ui/colors.ts index 94f36c2e2d..2cebbfe7c7 100644 --- a/packages/apps-config/src/ui/colors.ts +++ b/packages/apps-config/src/ui/colors.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // The mapping here is done on the actual chain name (system.chain RPC) or diff --git a/packages/apps-config/src/ui/identityIcons/index.ts b/packages/apps-config/src/ui/identityIcons/index.ts index cc4537fbae..d2fe7cb605 100644 --- a/packages/apps-config/src/ui/identityIcons/index.ts +++ b/packages/apps-config/src/ui/identityIcons/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // overrides based on the actual software node type, valid values are one of - diff --git a/packages/apps-config/src/ui/index.ts b/packages/apps-config/src/ui/index.ts index 1ee8071b06..e10dd1c6ed 100644 --- a/packages/apps-config/src/ui/index.ts +++ b/packages/apps-config/src/ui/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 import { chainColors, nodeColors } from './colors'; diff --git a/packages/apps-config/src/ui/logos/index.ts b/packages/apps-config/src/ui/logos/index.ts index 0d607822fa..bd2ec752d7 100644 --- a/packages/apps-config/src/ui/logos/index.ts +++ b/packages/apps-config/src/ui/logos/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-config authors & contributors +// Copyright 2017-2021 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // The mapping here is done on the actual chain name (system.chain RPC) or diff --git a/packages/apps-electron/src/api/account-store-api.ts b/packages/apps-electron/src/api/account-store-api.ts index fc0ea92bae..77c046e532 100644 --- a/packages/apps-electron/src/api/account-store-api.ts +++ b/packages/apps-electron/src/api/account-store-api.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringJson } from '@polkadot/ui-keyring/types'; diff --git a/packages/apps-electron/src/api/electron-main-api.ts b/packages/apps-electron/src/api/electron-main-api.ts index ebec8af44b..f1dab91f38 100644 --- a/packages/apps-electron/src/api/electron-main-api.ts +++ b/packages/apps-electron/src/api/electron-main-api.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import { AccountStoreApi } from './account-store-api'; diff --git a/packages/apps-electron/src/api/global-exported-api.ts b/packages/apps-electron/src/api/global-exported-api.ts index 55197f0440..0f0c820f0f 100644 --- a/packages/apps-electron/src/api/global-exported-api.ts +++ b/packages/apps-electron/src/api/global-exported-api.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import { ElectronMainApi } from './electron-main-api'; diff --git a/packages/apps-electron/src/electron/autoUpdater.ts b/packages/apps-electron/src/electron/autoUpdater.ts index e1a5b88e0e..da7d9193ff 100644 --- a/packages/apps-electron/src/electron/autoUpdater.ts +++ b/packages/apps-electron/src/electron/autoUpdater.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import { AppUpdater } from 'electron-updater'; diff --git a/packages/apps-electron/src/electron/contentSecurityPolicy.ts b/packages/apps-electron/src/electron/contentSecurityPolicy.ts index d1caa5a7e6..eab696626d 100644 --- a/packages/apps-electron/src/electron/contentSecurityPolicy.ts +++ b/packages/apps-electron/src/electron/contentSecurityPolicy.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import { HeadersReceivedResponse, session } from 'electron'; diff --git a/packages/apps-electron/src/electron/index.ts b/packages/apps-electron/src/electron/index.ts index 0358a0eac0..858ae219ff 100644 --- a/packages/apps-electron/src/electron/index.ts +++ b/packages/apps-electron/src/electron/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import { app, shell } from 'electron'; diff --git a/packages/apps-electron/src/electron/window.ts b/packages/apps-electron/src/electron/window.ts index ad1e9b49d0..c5c290fe6d 100644 --- a/packages/apps-electron/src/electron/window.ts +++ b/packages/apps-electron/src/electron/window.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import { BrowserWindow, screen } from 'electron'; diff --git a/packages/apps-electron/src/index.tsx b/packages/apps-electron/src/index.tsx index 86a1c45b82..af68f7f2d6 100644 --- a/packages/apps-electron/src/index.tsx +++ b/packages/apps-electron/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 // setup these right at front diff --git a/packages/apps-electron/src/main/account-store.spec.ts b/packages/apps-electron/src/main/account-store.spec.ts index 7d5900523c..c7c231e7b1 100644 --- a/packages/apps-electron/src/main/account-store.spec.ts +++ b/packages/apps-electron/src/main/account-store.spec.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringJson } from '@polkadot/ui-keyring/types'; diff --git a/packages/apps-electron/src/main/account-store.ts b/packages/apps-electron/src/main/account-store.ts index 118c28c609..a56ed5e003 100644 --- a/packages/apps-electron/src/main/account-store.ts +++ b/packages/apps-electron/src/main/account-store.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringJson } from '@polkadot/ui-keyring/types'; diff --git a/packages/apps-electron/src/main/ipc-main-handler.ts b/packages/apps-electron/src/main/ipc-main-handler.ts index a8a7b7951d..c6769ae390 100644 --- a/packages/apps-electron/src/main/ipc-main-handler.ts +++ b/packages/apps-electron/src/main/ipc-main-handler.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 export type IpcMainHandler = { diff --git a/packages/apps-electron/src/main/register-ipc-handler.ts b/packages/apps-electron/src/main/register-ipc-handler.ts index 89e48c5b7e..4be966d8df 100644 --- a/packages/apps-electron/src/main/register-ipc-handler.ts +++ b/packages/apps-electron/src/main/register-ipc-handler.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import { ipcMain } from 'electron'; diff --git a/packages/apps-electron/src/preload.ts b/packages/apps-electron/src/preload.ts index df48975c91..2d50ee2a21 100644 --- a/packages/apps-electron/src/preload.ts +++ b/packages/apps-electron/src/preload.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringJson } from '@polkadot/ui-keyring/types'; diff --git a/packages/apps-electron/src/renderer/remote-electron-store.spec.ts b/packages/apps-electron/src/renderer/remote-electron-store.spec.ts index 6374fd6080..1476531c87 100644 --- a/packages/apps-electron/src/renderer/remote-electron-store.spec.ts +++ b/packages/apps-electron/src/renderer/remote-electron-store.spec.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import { RemoteElectronStore } from './remote-electron-store'; diff --git a/packages/apps-electron/src/renderer/remote-electron-store.ts b/packages/apps-electron/src/renderer/remote-electron-store.ts index 859b29f1a3..a7fedf46b0 100644 --- a/packages/apps-electron/src/renderer/remote-electron-store.ts +++ b/packages/apps-electron/src/renderer/remote-electron-store.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringJson, KeyringStore } from '@polkadot/ui-keyring/types'; diff --git a/packages/apps-electron/webpack.main.js b/packages/apps-electron/webpack.main.js index 0f810e332c..7ff1ca729a 100644 --- a/packages/apps-electron/webpack.main.js +++ b/packages/apps-electron/webpack.main.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 /* eslint-disable camelcase */ diff --git a/packages/apps-electron/webpack.renderer.js b/packages/apps-electron/webpack.renderer.js index 1ce2154a9e..8546486dc7 100644 --- a/packages/apps-electron/webpack.renderer.js +++ b/packages/apps-electron/webpack.renderer.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 /* eslint-disable camelcase */ diff --git a/packages/apps-routing/src/accounts.ts b/packages/apps-routing/src/accounts.ts index ca5c2b6cb2..4c7856f43e 100644 --- a/packages/apps-routing/src/accounts.ts +++ b/packages/apps-routing/src/accounts.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/addresses.ts b/packages/apps-routing/src/addresses.ts index 2170db3253..58fa177636 100644 --- a/packages/apps-routing/src/addresses.ts +++ b/packages/apps-routing/src/addresses.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/bounties.ts b/packages/apps-routing/src/bounties.ts index f796500371..e5ed9eb920 100644 --- a/packages/apps-routing/src/bounties.ts +++ b/packages/apps-routing/src/bounties.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/calendar.ts b/packages/apps-routing/src/calendar.ts index f374f6e1ef..561ce4df83 100644 --- a/packages/apps-routing/src/calendar.ts +++ b/packages/apps-routing/src/calendar.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/claims.ts b/packages/apps-routing/src/claims.ts index 2b69bf6e40..30ffc4678f 100644 --- a/packages/apps-routing/src/claims.ts +++ b/packages/apps-routing/src/claims.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/contracts.ts b/packages/apps-routing/src/contracts.ts index 09b8d23652..49b5a93719 100644 --- a/packages/apps-routing/src/contracts.ts +++ b/packages/apps-routing/src/contracts.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/council.ts b/packages/apps-routing/src/council.ts index ac70cf9d7c..89c6df119b 100644 --- a/packages/apps-routing/src/council.ts +++ b/packages/apps-routing/src/council.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/democracy.ts b/packages/apps-routing/src/democracy.ts index 8e1c35936e..d5704ee093 100644 --- a/packages/apps-routing/src/democracy.ts +++ b/packages/apps-routing/src/democracy.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/explorer.ts b/packages/apps-routing/src/explorer.ts index 656364ef22..5287dfb8a6 100644 --- a/packages/apps-routing/src/explorer.ts +++ b/packages/apps-routing/src/explorer.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/extrinsics.ts b/packages/apps-routing/src/extrinsics.ts index e740f17962..7426ac6790 100644 --- a/packages/apps-routing/src/extrinsics.ts +++ b/packages/apps-routing/src/extrinsics.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/index.ts b/packages/apps-routing/src/index.ts index 6932493d36..8b86531f37 100644 --- a/packages/apps-routing/src/index.ts +++ b/packages/apps-routing/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/js.ts b/packages/apps-routing/src/js.ts index bc9447a674..736c50f138 100644 --- a/packages/apps-routing/src/js.ts +++ b/packages/apps-routing/src/js.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/parachains.ts b/packages/apps-routing/src/parachains.ts index 794cca05b0..0fa378c289 100644 --- a/packages/apps-routing/src/parachains.ts +++ b/packages/apps-routing/src/parachains.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/poll.ts b/packages/apps-routing/src/poll.ts index cdce254f32..980e87395e 100644 --- a/packages/apps-routing/src/poll.ts +++ b/packages/apps-routing/src/poll.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/rpc.ts b/packages/apps-routing/src/rpc.ts index 89d4f9721e..1c04c958a7 100644 --- a/packages/apps-routing/src/rpc.ts +++ b/packages/apps-routing/src/rpc.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/settings.ts b/packages/apps-routing/src/settings.ts index 44b0a7874d..6f798ecf7d 100644 --- a/packages/apps-routing/src/settings.ts +++ b/packages/apps-routing/src/settings.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/signing.ts b/packages/apps-routing/src/signing.ts index 9fe1162605..2c04903bd9 100644 --- a/packages/apps-routing/src/signing.ts +++ b/packages/apps-routing/src/signing.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/society.ts b/packages/apps-routing/src/society.ts index 53e2420ad8..5bad56878e 100644 --- a/packages/apps-routing/src/society.ts +++ b/packages/apps-routing/src/society.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/staking.ts b/packages/apps-routing/src/staking.ts index 5c945f42f1..e9b7a75894 100644 --- a/packages/apps-routing/src/staking.ts +++ b/packages/apps-routing/src/staking.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/storage.ts b/packages/apps-routing/src/storage.ts index 02a05e631b..c1a8785fa5 100644 --- a/packages/apps-routing/src/storage.ts +++ b/packages/apps-routing/src/storage.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/sudo.ts b/packages/apps-routing/src/sudo.ts index 10f795269f..9d0f0a512b 100644 --- a/packages/apps-routing/src/sudo.ts +++ b/packages/apps-routing/src/sudo.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/techcomm.ts b/packages/apps-routing/src/techcomm.ts index 03ff3fee2f..4ad99bbb51 100644 --- a/packages/apps-routing/src/techcomm.ts +++ b/packages/apps-routing/src/techcomm.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/transfer.ts b/packages/apps-routing/src/transfer.ts index 947c93386f..f94073d81b 100644 --- a/packages/apps-routing/src/transfer.ts +++ b/packages/apps-routing/src/transfer.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/treasury.ts b/packages/apps-routing/src/treasury.ts index 454031dadf..6fb67186c9 100644 --- a/packages/apps-routing/src/treasury.ts +++ b/packages/apps-routing/src/treasury.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps-routing/src/types.ts b/packages/apps-routing/src/types.ts index cb56434a54..e58fe5965d 100644 --- a/packages/apps-routing/src/types.ts +++ b/packages/apps-routing/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps-routing authors & contributors +// Copyright 2017-2021 @polkadot/apps-routing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; diff --git a/packages/apps/src/Apps.tsx b/packages/apps/src/Apps.tsx index 5fabddf651..74b954fbb5 100644 --- a/packages/apps/src/Apps.tsx +++ b/packages/apps/src/Apps.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BareProps as Props, ThemeDef, ThemeProps } from '@polkadot/react-components/types'; diff --git a/packages/apps/src/Content/NotFound.tsx b/packages/apps/src/Content/NotFound.tsx index e8982acc6f..b7311e2163 100644 --- a/packages/apps/src/Content/NotFound.tsx +++ b/packages/apps/src/Content/NotFound.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { RouteProps } from '@polkadot/apps-routing/types'; diff --git a/packages/apps/src/Content/Status.tsx b/packages/apps/src/Content/Status.tsx index 6a8ddb6850..0f6050cf12 100644 --- a/packages/apps/src/Content/Status.tsx +++ b/packages/apps/src/Content/Status.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ActionStatus } from '@polkadot/react-components/Status/types'; diff --git a/packages/apps/src/Content/index.tsx b/packages/apps/src/Content/index.tsx index 2a0b5ae7ac..ace3c2a3b4 100644 --- a/packages/apps/src/Content/index.tsx +++ b/packages/apps/src/Content/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Route } from '@polkadot/apps-routing/types'; diff --git a/packages/apps/src/Endpoints/Group.tsx b/packages/apps/src/Endpoints/Group.tsx index 808be7f335..b123394f46 100644 --- a/packages/apps/src/Endpoints/Group.tsx +++ b/packages/apps/src/Endpoints/Group.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '@polkadot/react-components/types'; diff --git a/packages/apps/src/Endpoints/Network.tsx b/packages/apps/src/Endpoints/Network.tsx index 26825e9460..e1b51fdd74 100644 --- a/packages/apps/src/Endpoints/Network.tsx +++ b/packages/apps/src/Endpoints/Network.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '@polkadot/react-components/types'; diff --git a/packages/apps/src/Endpoints/Url.tsx b/packages/apps/src/Endpoints/Url.tsx index 03c286b513..acabcba853 100644 --- a/packages/apps/src/Endpoints/Url.tsx +++ b/packages/apps/src/Endpoints/Url.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback } from 'react'; diff --git a/packages/apps/src/Endpoints/index.tsx b/packages/apps/src/Endpoints/index.tsx index 6ed5f6c068..b3a150e46f 100644 --- a/packages/apps/src/Endpoints/index.tsx +++ b/packages/apps/src/Endpoints/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { LinkOption } from '@polkadot/apps-config/settings/types'; diff --git a/packages/apps/src/Endpoints/types.ts b/packages/apps/src/Endpoints/types.ts index 8305d810de..cb69cbb4d6 100644 --- a/packages/apps/src/Endpoints/types.ts +++ b/packages/apps/src/Endpoints/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/apps/src/Menu/ChainInfo.tsx b/packages/apps/src/Menu/ChainInfo.tsx index e4d688737b..d856fedb46 100644 --- a/packages/apps/src/Menu/ChainInfo.tsx +++ b/packages/apps/src/Menu/ChainInfo.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { RuntimeVersion } from '@polkadot/types/interfaces'; diff --git a/packages/apps/src/Menu/Grouping.tsx b/packages/apps/src/Menu/Grouping.tsx index 720fc9353d..85338a0e54 100644 --- a/packages/apps/src/Menu/Grouping.tsx +++ b/packages/apps/src/Menu/Grouping.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '@polkadot/react-components/types'; diff --git a/packages/apps/src/Menu/Item.tsx b/packages/apps/src/Menu/Item.tsx index 22792b6217..ec4bb50733 100644 --- a/packages/apps/src/Menu/Item.tsx +++ b/packages/apps/src/Menu/Item.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ItemRoute } from './types'; diff --git a/packages/apps/src/Menu/NodeInfo.tsx b/packages/apps/src/Menu/NodeInfo.tsx index ae572d0c5f..c18624a794 100644 --- a/packages/apps/src/Menu/NodeInfo.tsx +++ b/packages/apps/src/Menu/NodeInfo.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BareProps as Props } from '@polkadot/react-components/types'; diff --git a/packages/apps/src/Menu/index.tsx b/packages/apps/src/Menu/index.tsx index e28d548b49..f982a024a9 100644 --- a/packages/apps/src/Menu/index.tsx +++ b/packages/apps/src/Menu/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/apps/src/Menu/types.tsx b/packages/apps/src/Menu/types.tsx index 7bed75e1db..c2e195fea0 100644 --- a/packages/apps/src/Menu/types.tsx +++ b/packages/apps/src/Menu/types.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; diff --git a/packages/apps/src/Root.tsx b/packages/apps/src/Root.tsx index 2edcf189bf..e6f1b8a00d 100644 --- a/packages/apps/src/Root.tsx +++ b/packages/apps/src/Root.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeDef } from '@polkadot/react-components/types'; diff --git a/packages/apps/src/TopBar.tsx b/packages/apps/src/TopBar.tsx index 1826eafdfa..fc07526b72 100644 --- a/packages/apps/src/TopBar.tsx +++ b/packages/apps/src/TopBar.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 // Unused atm, experiment as a replacement for NodeInfo on the SideBar diff --git a/packages/apps/src/WarmUp.tsx b/packages/apps/src/WarmUp.tsx index db440668f8..917b31adba 100644 --- a/packages/apps/src/WarmUp.tsx +++ b/packages/apps/src/WarmUp.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useEffect, useState } from 'react'; diff --git a/packages/apps/src/WindowDimensions.tsx b/packages/apps/src/WindowDimensions.tsx index bfa36fc4c9..779a40cd07 100644 --- a/packages/apps/src/WindowDimensions.tsx +++ b/packages/apps/src/WindowDimensions.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 // Adapted from https://hackernoon.com/simplifying-responsive-layouts-with-react-hooks-19db73893a7a diff --git a/packages/apps/src/endpoint.ts b/packages/apps/src/endpoint.ts index e1d88cb408..45212d64a8 100644 --- a/packages/apps/src/endpoint.ts +++ b/packages/apps/src/endpoint.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import { ApiPromise } from '@polkadot/api'; diff --git a/packages/apps/src/index.tsx b/packages/apps/src/index.tsx index 42fb6fb393..c692cf928c 100644 --- a/packages/apps/src/index.tsx +++ b/packages/apps/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 // setup these right at front diff --git a/packages/apps/src/initSettings.ts b/packages/apps/src/initSettings.ts index c937359bb1..b8b7dd99a3 100644 --- a/packages/apps/src/initSettings.ts +++ b/packages/apps/src/initSettings.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import queryString from 'query-string'; diff --git a/packages/apps/src/overlays/Base.tsx b/packages/apps/src/overlays/Base.tsx index ef146a3d02..5264bfe0a2 100644 --- a/packages/apps/src/overlays/Base.tsx +++ b/packages/apps/src/overlays/Base.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; diff --git a/packages/apps/src/overlays/Connecting.tsx b/packages/apps/src/overlays/Connecting.tsx index 578c4c9acf..f97c44d476 100644 --- a/packages/apps/src/overlays/Connecting.tsx +++ b/packages/apps/src/overlays/Connecting.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/apps/src/themes.ts b/packages/apps/src/themes.ts index ef435f2246..1728376990 100644 --- a/packages/apps/src/themes.ts +++ b/packages/apps/src/themes.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeDef } from '@polkadot/react-components/types'; diff --git a/packages/apps/src/translate.ts b/packages/apps/src/translate.ts index 63772c3fef..5eb9d7b1e0 100644 --- a/packages/apps/src/translate.ts +++ b/packages/apps/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/apps/src/wp-gif.d.ts b/packages/apps/src/wp-gif.d.ts index 791d22f9ad..974baa62bc 100644 --- a/packages/apps/src/wp-gif.d.ts +++ b/packages/apps/src/wp-gif.d.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 declare module '*.gif' { diff --git a/packages/apps/src/wp-md.d.ts b/packages/apps/src/wp-md.d.ts index a338044512..c2bad9cbef 100644 --- a/packages/apps/src/wp-md.d.ts +++ b/packages/apps/src/wp-md.d.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 declare module '*.md' { diff --git a/packages/apps/src/wp-png.d.ts b/packages/apps/src/wp-png.d.ts index bf7199f65b..e9c2f17357 100644 --- a/packages/apps/src/wp-png.d.ts +++ b/packages/apps/src/wp-png.d.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 declare module '*.png' { diff --git a/packages/apps/src/wp-svg.d.ts b/packages/apps/src/wp-svg.d.ts index 0d0dfa599c..46b08a7f2e 100644 --- a/packages/apps/src/wp-svg.d.ts +++ b/packages/apps/src/wp-svg.d.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 declare module '*.svg' { diff --git a/packages/apps/webpack.base.js b/packages/apps/webpack.base.js index e2fc781af9..e77da2be0a 100644 --- a/packages/apps/webpack.base.js +++ b/packages/apps/webpack.base.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 /* eslint-disable camelcase */ diff --git a/packages/apps/webpack.config.js b/packages/apps/webpack.config.js index 1d824233b8..3b931654c5 100644 --- a/packages/apps/webpack.config.js +++ b/packages/apps/webpack.config.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 const fs = require('fs'); diff --git a/packages/apps/webpack.serve.js b/packages/apps/webpack.serve.js index ec1ef5c5b4..e0b357e138 100644 --- a/packages/apps/webpack.serve.js +++ b/packages/apps/webpack.serve.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 const path = require('path'); diff --git a/packages/page-accounts/src/Accounts/Account.tsx b/packages/page-accounts/src/Accounts/Account.tsx index a9b9f96efb..2d7a81472f 100644 --- a/packages/page-accounts/src/Accounts/Account.tsx +++ b/packages/page-accounts/src/Accounts/Account.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-accounts/src/Accounts/Banner.tsx b/packages/page-accounts/src/Accounts/Banner.tsx index 5e5216f16a..e5b66b65c2 100644 --- a/packages/page-accounts/src/Accounts/Banner.tsx +++ b/packages/page-accounts/src/Accounts/Banner.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-accounts/src/Accounts/BannerClaims.tsx b/packages/page-accounts/src/Accounts/BannerClaims.tsx index 6c040eac1f..1985bec6f0 100644 --- a/packages/page-accounts/src/Accounts/BannerClaims.tsx +++ b/packages/page-accounts/src/Accounts/BannerClaims.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-accounts/src/Accounts/BannerExtension.tsx b/packages/page-accounts/src/Accounts/BannerExtension.tsx index d066471bfa..c824301e6d 100644 --- a/packages/page-accounts/src/Accounts/BannerExtension.tsx +++ b/packages/page-accounts/src/Accounts/BannerExtension.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import { detect } from 'detect-browser'; diff --git a/packages/page-accounts/src/Accounts/index.tsx b/packages/page-accounts/src/Accounts/index.tsx index 85025dfd22..ca602f3d87 100644 --- a/packages/page-accounts/src/Accounts/index.tsx +++ b/packages/page-accounts/src/Accounts/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ActionStatus } from '@polkadot/react-components/Status/types'; diff --git a/packages/page-accounts/src/Accounts/types.ts b/packages/page-accounts/src/Accounts/types.ts index 93b8071033..e77ed66250 100644 --- a/packages/page-accounts/src/Accounts/types.ts +++ b/packages/page-accounts/src/Accounts/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ActionStatus } from '@polkadot/react-components/Status/types'; diff --git a/packages/page-accounts/src/Accounts/useKnownAddresses.ts b/packages/page-accounts/src/Accounts/useKnownAddresses.ts index 4f8688026f..450304356c 100644 --- a/packages/page-accounts/src/Accounts/useKnownAddresses.ts +++ b/packages/page-accounts/src/Accounts/useKnownAddresses.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useMemo } from 'react'; diff --git a/packages/page-accounts/src/Accounts/useMultisigApprovals.ts b/packages/page-accounts/src/Accounts/useMultisigApprovals.ts index a7e201627a..de83b92524 100644 --- a/packages/page-accounts/src/Accounts/useMultisigApprovals.ts +++ b/packages/page-accounts/src/Accounts/useMultisigApprovals.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option, StorageKey } from '@polkadot/types'; diff --git a/packages/page-accounts/src/Accounts/useProxies.ts b/packages/page-accounts/src/Accounts/useProxies.ts index d5847806d2..4afad5608f 100644 --- a/packages/page-accounts/src/Accounts/useProxies.ts +++ b/packages/page-accounts/src/Accounts/useProxies.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Vec } from '@polkadot/types'; diff --git a/packages/page-accounts/src/CreateAccount.slow.spec.tsx b/packages/page-accounts/src/CreateAccount.slow.spec.tsx index f32f1d9d69..8d374a004d 100644 --- a/packages/page-accounts/src/CreateAccount.slow.spec.tsx +++ b/packages/page-accounts/src/CreateAccount.slow.spec.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import '@polkadot/react-components/i18n'; diff --git a/packages/page-accounts/src/Sidebar/Balances.tsx b/packages/page-accounts/src/Sidebar/Balances.tsx index 00bf07917d..d258d5e239 100644 --- a/packages/page-accounts/src/Sidebar/Balances.tsx +++ b/packages/page-accounts/src/Sidebar/Balances.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-accounts/src/Sidebar/Flags.tsx b/packages/page-accounts/src/Sidebar/Flags.tsx index 43d842c530..830d383028 100644 --- a/packages/page-accounts/src/Sidebar/Flags.tsx +++ b/packages/page-accounts/src/Sidebar/Flags.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AddressFlags } from '@polkadot/react-hooks/types'; diff --git a/packages/page-accounts/src/Sidebar/Identity.tsx b/packages/page-accounts/src/Sidebar/Identity.tsx index c08d584ab0..3d8287e052 100644 --- a/packages/page-accounts/src/Sidebar/Identity.tsx +++ b/packages/page-accounts/src/Sidebar/Identity.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AddressIdentity } from '@polkadot/react-hooks/types'; diff --git a/packages/page-accounts/src/Sidebar/Multisig.tsx b/packages/page-accounts/src/Sidebar/Multisig.tsx index 1401226842..419f107b76 100644 --- a/packages/page-accounts/src/Sidebar/Multisig.tsx +++ b/packages/page-accounts/src/Sidebar/Multisig.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringJson$Meta } from '@polkadot/ui-keyring/types'; diff --git a/packages/page-accounts/src/Sidebar/RegistrarJudgement.tsx b/packages/page-accounts/src/Sidebar/RegistrarJudgement.tsx index 9aa1b810df..0b2bac8fee 100644 --- a/packages/page-accounts/src/Sidebar/RegistrarJudgement.tsx +++ b/packages/page-accounts/src/Sidebar/RegistrarJudgement.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useEffect, useState } from 'react'; diff --git a/packages/page-accounts/src/Sidebar/Sidebar.tsx b/packages/page-accounts/src/Sidebar/Sidebar.tsx index ed315a32a8..4eba88a205 100644 --- a/packages/page-accounts/src/Sidebar/Sidebar.tsx +++ b/packages/page-accounts/src/Sidebar/Sidebar.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '@polkadot/react-components/types'; diff --git a/packages/page-accounts/src/Sidebar/index.tsx b/packages/page-accounts/src/Sidebar/index.tsx index 21c3b59e97..2b9d61ee02 100644 --- a/packages/page-accounts/src/Sidebar/index.tsx +++ b/packages/page-accounts/src/Sidebar/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useState } from 'react'; diff --git a/packages/page-accounts/src/Vanity/Match.tsx b/packages/page-accounts/src/Vanity/Match.tsx index 1c3b44587b..888ce218e4 100644 --- a/packages/page-accounts/src/Vanity/Match.tsx +++ b/packages/page-accounts/src/Vanity/Match.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '@polkadot/react-components/types'; diff --git a/packages/page-accounts/src/Vanity/bipWorker.ts b/packages/page-accounts/src/Vanity/bipWorker.ts index 193778c4f3..a86eee73b4 100644 --- a/packages/page-accounts/src/Vanity/bipWorker.ts +++ b/packages/page-accounts/src/Vanity/bipWorker.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import { cryptoWaitReady, mnemonicGenerate, mnemonicToMiniSecret, naclKeypairFromSeed, schnorrkelKeypairFromSeed } from '@polkadot/util-crypto'; diff --git a/packages/page-accounts/src/Vanity/index.tsx b/packages/page-accounts/src/Vanity/index.tsx index 73e65ef7df..7a506b736a 100644 --- a/packages/page-accounts/src/Vanity/index.tsx +++ b/packages/page-accounts/src/Vanity/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ActionStatus } from '@polkadot/react-components/Status/types'; diff --git a/packages/page-accounts/src/index.tsx b/packages/page-accounts/src/index.tsx index b46c38635a..0300db3812 100644 --- a/packages/page-accounts/src/index.tsx +++ b/packages/page-accounts/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AppProps as Props } from '@polkadot/react-components/types'; diff --git a/packages/page-accounts/src/modals/Backup.tsx b/packages/page-accounts/src/modals/Backup.tsx index d67c64ddbd..3303d1f61d 100644 --- a/packages/page-accounts/src/modals/Backup.tsx +++ b/packages/page-accounts/src/modals/Backup.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import FileSaver from 'file-saver'; diff --git a/packages/page-accounts/src/modals/ChangePass.tsx b/packages/page-accounts/src/modals/ChangePass.tsx index 64efd4885a..988696b535 100644 --- a/packages/page-accounts/src/modals/ChangePass.tsx +++ b/packages/page-accounts/src/modals/ChangePass.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useState } from 'react'; diff --git a/packages/page-accounts/src/modals/Create.tsx b/packages/page-accounts/src/modals/Create.tsx index 42c7e1f5d8..60a1f42369 100644 --- a/packages/page-accounts/src/modals/Create.tsx +++ b/packages/page-accounts/src/modals/Create.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ActionStatus } from '@polkadot/react-components/Status/types'; diff --git a/packages/page-accounts/src/modals/CreateConfirmation.tsx b/packages/page-accounts/src/modals/CreateConfirmation.tsx index cdea253dcb..e0371ee786 100644 --- a/packages/page-accounts/src/modals/CreateConfirmation.tsx +++ b/packages/page-accounts/src/modals/CreateConfirmation.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeypairType } from '@polkadot/util-crypto/types'; diff --git a/packages/page-accounts/src/modals/Delegate.tsx b/packages/page-accounts/src/modals/Delegate.tsx index b706b5d2d4..d680fd419c 100644 --- a/packages/page-accounts/src/modals/Delegate.tsx +++ b/packages/page-accounts/src/modals/Delegate.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Conviction } from '@polkadot/types/interfaces'; diff --git a/packages/page-accounts/src/modals/Derive.tsx b/packages/page-accounts/src/modals/Derive.tsx index 7bb0b31915..1b4cdecb40 100644 --- a/packages/page-accounts/src/modals/Derive.tsx +++ b/packages/page-accounts/src/modals/Derive.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringPair } from '@polkadot/keyring/types'; diff --git a/packages/page-accounts/src/modals/ExternalWarning.tsx b/packages/page-accounts/src/modals/ExternalWarning.tsx index 4b1eb72d86..e961d54b60 100644 --- a/packages/page-accounts/src/modals/ExternalWarning.tsx +++ b/packages/page-accounts/src/modals/ExternalWarning.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-accounts/src/modals/IdentityMain.tsx b/packages/page-accounts/src/modals/IdentityMain.tsx index 8d600e4964..316ebd154e 100644 --- a/packages/page-accounts/src/modals/IdentityMain.tsx +++ b/packages/page-accounts/src/modals/IdentityMain.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Data, Option } from '@polkadot/types'; diff --git a/packages/page-accounts/src/modals/IdentitySub.tsx b/packages/page-accounts/src/modals/IdentitySub.tsx index a36487795d..f5845d3e21 100644 --- a/packages/page-accounts/src/modals/IdentitySub.tsx +++ b/packages/page-accounts/src/modals/IdentitySub.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Data, Option, Vec } from '@polkadot/types'; diff --git a/packages/page-accounts/src/modals/Import.tsx b/packages/page-accounts/src/modals/Import.tsx index 79ac2704b1..3c3520b90f 100644 --- a/packages/page-accounts/src/modals/Import.tsx +++ b/packages/page-accounts/src/modals/Import.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringPair, KeyringPair$Json } from '@polkadot/keyring/types'; diff --git a/packages/page-accounts/src/modals/InputValidateAmount.tsx b/packages/page-accounts/src/modals/InputValidateAmount.tsx index d61e1fbefb..eb9f8dfe2a 100644 --- a/packages/page-accounts/src/modals/InputValidateAmount.tsx +++ b/packages/page-accounts/src/modals/InputValidateAmount.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAll } from '@polkadot/api-derive/types'; diff --git a/packages/page-accounts/src/modals/Ledger.tsx b/packages/page-accounts/src/modals/Ledger.tsx index 4dcd696be5..e1c209c205 100644 --- a/packages/page-accounts/src/modals/Ledger.tsx +++ b/packages/page-accounts/src/modals/Ledger.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useRef, useState } from 'react'; diff --git a/packages/page-accounts/src/modals/MultisigApprove.tsx b/packages/page-accounts/src/modals/MultisigApprove.tsx index 287a7f8f88..d72edfb3b6 100644 --- a/packages/page-accounts/src/modals/MultisigApprove.tsx +++ b/packages/page-accounts/src/modals/MultisigApprove.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-accounts/src/modals/MultisigCreate.tsx b/packages/page-accounts/src/modals/MultisigCreate.tsx index e767e4f92d..13c53eea09 100644 --- a/packages/page-accounts/src/modals/MultisigCreate.tsx +++ b/packages/page-accounts/src/modals/MultisigCreate.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ActionStatus } from '@polkadot/react-components/Status/types'; diff --git a/packages/page-accounts/src/modals/PasswordInput.tsx b/packages/page-accounts/src/modals/PasswordInput.tsx index 9285f05c94..1e4811d826 100644 --- a/packages/page-accounts/src/modals/PasswordInput.tsx +++ b/packages/page-accounts/src/modals/PasswordInput.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useEffect, useState } from 'react'; diff --git a/packages/page-accounts/src/modals/ProxiedAdd.tsx b/packages/page-accounts/src/modals/ProxiedAdd.tsx index 3cd0a1525c..7410b4e396 100644 --- a/packages/page-accounts/src/modals/ProxiedAdd.tsx +++ b/packages/page-accounts/src/modals/ProxiedAdd.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ActionStatus } from '@polkadot/react-components/Status/types'; diff --git a/packages/page-accounts/src/modals/ProxyOverview.tsx b/packages/page-accounts/src/modals/ProxyOverview.tsx index 0aabf423b6..ba0c31f481 100644 --- a/packages/page-accounts/src/modals/ProxyOverview.tsx +++ b/packages/page-accounts/src/modals/ProxyOverview.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiPromise } from '@polkadot/api'; diff --git a/packages/page-accounts/src/modals/Qr.tsx b/packages/page-accounts/src/modals/Qr.tsx index fee1c29c75..c424c07853 100644 --- a/packages/page-accounts/src/modals/Qr.tsx +++ b/packages/page-accounts/src/modals/Qr.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ActionStatus } from '@polkadot/react-components/Status/types'; diff --git a/packages/page-accounts/src/modals/RecoverAccount.tsx b/packages/page-accounts/src/modals/RecoverAccount.tsx index 668656302f..fc5afbe5c3 100644 --- a/packages/page-accounts/src/modals/RecoverAccount.tsx +++ b/packages/page-accounts/src/modals/RecoverAccount.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useState } from 'react'; diff --git a/packages/page-accounts/src/modals/RecoverSetup.tsx b/packages/page-accounts/src/modals/RecoverSetup.tsx index 8856c8c1de..25fd995053 100644 --- a/packages/page-accounts/src/modals/RecoverSetup.tsx +++ b/packages/page-accounts/src/modals/RecoverSetup.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-accounts/src/modals/Transfer.tsx b/packages/page-accounts/src/modals/Transfer.tsx index 96458d91d7..8edf6f188b 100644 --- a/packages/page-accounts/src/modals/Transfer.tsx +++ b/packages/page-accounts/src/modals/Transfer.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAll } from '@polkadot/api-derive/types'; diff --git a/packages/page-accounts/src/modals/Undelegate.tsx b/packages/page-accounts/src/modals/Undelegate.tsx index b63099a26f..8f52dab8d1 100644 --- a/packages/page-accounts/src/modals/Undelegate.tsx +++ b/packages/page-accounts/src/modals/Undelegate.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-accounts/src/translate.ts b/packages/page-accounts/src/translate.ts index 041be4b55b..ae45fed18c 100644 --- a/packages/page-accounts/src/translate.ts +++ b/packages/page-accounts/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-accounts/src/types.ts b/packages/page-accounts/src/types.ts index 8548f38ab4..b58ce75925 100644 --- a/packages/page-accounts/src/types.ts +++ b/packages/page-accounts/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ActionStatus } from '@polkadot/react-components/Status/types'; diff --git a/packages/page-accounts/src/useCounter.ts b/packages/page-accounts/src/useCounter.ts index ae9f253d09..3cc08416b8 100644 --- a/packages/page-accounts/src/useCounter.ts +++ b/packages/page-accounts/src/useCounter.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useAccounts } from '@polkadot/react-hooks'; diff --git a/packages/page-accounts/src/util.tsx b/packages/page-accounts/src/util.tsx index 5e5f6516be..ea8a1453e7 100644 --- a/packages/page-accounts/src/util.tsx +++ b/packages/page-accounts/src/util.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringAddress } from '@polkadot/ui-keyring/types'; diff --git a/packages/page-addresses/src/Contacts/Address.tsx b/packages/page-addresses/src/Contacts/Address.tsx index 870d8723ca..a6e723aa44 100644 --- a/packages/page-addresses/src/Contacts/Address.tsx +++ b/packages/page-addresses/src/Contacts/Address.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-addresses authors & contributors +// Copyright 2017-2021 @polkadot/app-addresses authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveAccountInfo, DeriveBalancesAll } from '@polkadot/api-derive/types'; diff --git a/packages/page-addresses/src/Contacts/index.tsx b/packages/page-addresses/src/Contacts/index.tsx index 49053addf3..b18449fff6 100644 --- a/packages/page-addresses/src/Contacts/index.tsx +++ b/packages/page-addresses/src/Contacts/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-addresses authors & contributors +// Copyright 2017-2021 @polkadot/app-addresses authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ComponentProps as Props } from '../types'; diff --git a/packages/page-addresses/src/index.tsx b/packages/page-addresses/src/index.tsx index f6dda52679..4d373a046c 100644 --- a/packages/page-addresses/src/index.tsx +++ b/packages/page-addresses/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-addresses authors & contributors +// Copyright 2017-2021 @polkadot/app-addresses authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AppProps as Props } from '@polkadot/react-components/types'; diff --git a/packages/page-addresses/src/modals/Create.tsx b/packages/page-addresses/src/modals/Create.tsx index 23fd86fdc0..08d03d9841 100644 --- a/packages/page-addresses/src/modals/Create.tsx +++ b/packages/page-addresses/src/modals/Create.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-addresses authors & contributors +// Copyright 2017-2021 @polkadot/app-addresses authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveAccountInfo } from '@polkadot/api-derive/types'; diff --git a/packages/page-addresses/src/translate.ts b/packages/page-addresses/src/translate.ts index eb21bf4b65..ecb034848e 100644 --- a/packages/page-addresses/src/translate.ts +++ b/packages/page-addresses/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-addresses authors & contributors +// Copyright 2017-2021 @polkadot/app-addresses authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-addresses/src/types.ts b/packages/page-addresses/src/types.ts index 55daa4d13d..f401e5d62b 100644 --- a/packages/page-addresses/src/types.ts +++ b/packages/page-addresses/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-addresses authors & contributors +// Copyright 2017-2021 @polkadot/app-addresses authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ActionStatus } from '@polkadot/react-components/Status/types'; diff --git a/packages/page-addresses/src/util.tsx b/packages/page-addresses/src/util.tsx index ebea8c6ded..3616cfd740 100644 --- a/packages/page-addresses/src/util.tsx +++ b/packages/page-addresses/src/util.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-addresses authors & contributors +// Copyright 2017-2021 @polkadot/app-addresses authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringAddress } from '@polkadot/ui-keyring/types'; diff --git a/packages/page-bounties/src/Bounties.slow.spec.tsx b/packages/page-bounties/src/Bounties.slow.spec.tsx index d3c3c1f932..cd4b3a5594 100644 --- a/packages/page-bounties/src/Bounties.slow.spec.tsx +++ b/packages/page-bounties/src/Bounties.slow.spec.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import '@polkadot/react-components/i18n'; diff --git a/packages/page-bounties/src/Bounties.tsx b/packages/page-bounties/src/Bounties.tsx index 57b0f9f98a..74d2ce2f5f 100644 --- a/packages/page-bounties/src/Bounties.tsx +++ b/packages/page-bounties/src/Bounties.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-bounties authors & contributors +// Copyright 2017-2021 @polkadot/app-bounties authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBounties } from '@polkadot/api-derive/types'; diff --git a/packages/page-bounties/src/Bounty.tsx b/packages/page-bounties/src/Bounty.tsx index e56618be75..771321bd51 100644 --- a/packages/page-bounties/src/Bounty.tsx +++ b/packages/page-bounties/src/Bounty.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-bounties authors & contributors +// Copyright 2017-2021 @polkadot/app-bounties authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BlockNumber, Bounty as BountyType } from '@polkadot/types/interfaces'; diff --git a/packages/page-bounties/src/BountyActions.tsx b/packages/page-bounties/src/BountyActions.tsx index 9b876deeb0..be4e871e98 100644 --- a/packages/page-bounties/src/BountyActions.tsx +++ b/packages/page-bounties/src/BountyActions.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-bounties authors & contributors +// Copyright 2017-2021 @polkadot/app-bounties authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BlockNumber, BountyStatus } from '@polkadot/types/interfaces'; diff --git a/packages/page-bounties/src/BountyClaimAction.tsx b/packages/page-bounties/src/BountyClaimAction.tsx index c218ddf163..7b5df0be5f 100644 --- a/packages/page-bounties/src/BountyClaimAction.tsx +++ b/packages/page-bounties/src/BountyClaimAction.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-bounties authors & contributors +// Copyright 2017-2021 @polkadot/app-bounties authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId } from '@polkadot/types/interfaces'; diff --git a/packages/page-bounties/src/BountyCreate.tsx b/packages/page-bounties/src/BountyCreate.tsx index f524f209a8..33741af5d3 100644 --- a/packages/page-bounties/src/BountyCreate.tsx +++ b/packages/page-bounties/src/BountyCreate.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-bounties authors & contributors +// Copyright 2017-2021 @polkadot/app-bounties authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BalanceOf } from '@polkadot/types/interfaces'; diff --git a/packages/page-bounties/src/BountyCuratorProposedActions.tsx b/packages/page-bounties/src/BountyCuratorProposedActions.tsx index bb413c4b99..4f58304ded 100644 --- a/packages/page-bounties/src/BountyCuratorProposedActions.tsx +++ b/packages/page-bounties/src/BountyCuratorProposedActions.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-bounties authors & contributors +// Copyright 2017-2021 @polkadot/app-bounties authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId } from '@polkadot/types/interfaces'; diff --git a/packages/page-bounties/src/helpers/calculateBountyBond.spec.ts b/packages/page-bounties/src/helpers/calculateBountyBond.spec.ts index b7d05348e4..c840f0b1b0 100644 --- a/packages/page-bounties/src/helpers/calculateBountyBond.spec.ts +++ b/packages/page-bounties/src/helpers/calculateBountyBond.spec.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-bounties authors & contributors +// Copyright 2017-2021 @polkadot/app-bounties authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-bounties/src/helpers/calculateBountyBond.ts b/packages/page-bounties/src/helpers/calculateBountyBond.ts index 6aceb41bfd..a3a9baa1e3 100644 --- a/packages/page-bounties/src/helpers/calculateBountyBond.ts +++ b/packages/page-bounties/src/helpers/calculateBountyBond.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-bounties authors & contributors +// Copyright 2017-2021 @polkadot/app-bounties authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BalanceOf } from '@polkadot/types/interfaces'; diff --git a/packages/page-bounties/src/helpers/getBountyStatus.spec.ts b/packages/page-bounties/src/helpers/getBountyStatus.spec.ts index 8ed7471f91..0a0ecc8740 100644 --- a/packages/page-bounties/src/helpers/getBountyStatus.spec.ts +++ b/packages/page-bounties/src/helpers/getBountyStatus.spec.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-bounties authors & contributors +// Copyright 2017-2021 @polkadot/app-bounties authors & contributors // SPDX-License-Identifier: Apache-2.0 import { TypeRegistry } from '@polkadot/types/create'; diff --git a/packages/page-bounties/src/helpers/getBountyStatus.ts b/packages/page-bounties/src/helpers/getBountyStatus.ts index e310166641..09b83dc8a1 100644 --- a/packages/page-bounties/src/helpers/getBountyStatus.ts +++ b/packages/page-bounties/src/helpers/getBountyStatus.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-bounties authors & contributors +// Copyright 2017-2021 @polkadot/app-bounties authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BountyStatus } from '@polkadot/types/interfaces'; diff --git a/packages/page-bounties/src/helpers/index.tsx b/packages/page-bounties/src/helpers/index.tsx index 01ce75df59..9bf4f0946b 100644 --- a/packages/page-bounties/src/helpers/index.tsx +++ b/packages/page-bounties/src/helpers/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-bounties authors & contributors +// Copyright 2017-2021 @polkadot/app-bounties authors & contributors // SPDX-License-Identifier: Apache-2.0 export * from './calculateBountyBond'; diff --git a/packages/page-bounties/src/helpers/isClaimable.spec.ts b/packages/page-bounties/src/helpers/isClaimable.spec.ts index 7f2727ea34..3916a0172e 100644 --- a/packages/page-bounties/src/helpers/isClaimable.spec.ts +++ b/packages/page-bounties/src/helpers/isClaimable.spec.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-bounties authors & contributors +// Copyright 2017-2021 @polkadot/app-bounties authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-bounties/src/helpers/isClaimable.ts b/packages/page-bounties/src/helpers/isClaimable.ts index 972674d4a5..e8219f1503 100644 --- a/packages/page-bounties/src/helpers/isClaimable.ts +++ b/packages/page-bounties/src/helpers/isClaimable.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-council authors & contributors +// Copyright 2017-2021 @polkadot/app-council authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId } from '@polkadot/types/interfaces'; diff --git a/packages/page-bounties/src/index.tsx b/packages/page-bounties/src/index.tsx index 108d0fcead..7b847c2808 100644 --- a/packages/page-bounties/src/index.tsx +++ b/packages/page-bounties/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-bounties authors & contributors +// Copyright 2017-2021 @polkadot/app-bounties authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useRef } from 'react'; diff --git a/packages/page-bounties/src/translate.ts b/packages/page-bounties/src/translate.ts index 9d675a5566..386097f954 100644 --- a/packages/page-bounties/src/translate.ts +++ b/packages/page-bounties/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-bounties/src/types.ts b/packages/page-bounties/src/types.ts index 0c26b262a7..b1a1cb4512 100644 --- a/packages/page-bounties/src/types.ts +++ b/packages/page-bounties/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-bounties authors & contributors +// Copyright 2017-2021 @polkadot/app-bounties authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, BlockNumber } from '@polkadot/types/interfaces/runtime'; diff --git a/packages/page-bounties/src/useCounter.ts b/packages/page-bounties/src/useCounter.ts index 3399ae3fe4..dff2fac2f1 100644 --- a/packages/page-bounties/src/useCounter.ts +++ b/packages/page-bounties/src/useCounter.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-bounties authors & contributors +// Copyright 2017-2021 @polkadot/app-bounties authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useMemo } from 'react'; diff --git a/packages/page-calendar/src/Day.tsx b/packages/page-calendar/src/Day.tsx index f90d5efd8a..f5b14e1cac 100644 --- a/packages/page-calendar/src/Day.tsx +++ b/packages/page-calendar/src/Day.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-calendar authors & contributors +// Copyright 2017-2021 @polkadot/app-calendar authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { EntryInfo } from './types'; diff --git a/packages/page-calendar/src/DayHour.tsx b/packages/page-calendar/src/DayHour.tsx index 01afc478bf..d907e58c22 100644 --- a/packages/page-calendar/src/DayHour.tsx +++ b/packages/page-calendar/src/DayHour.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-calendar authors & contributors +// Copyright 2017-2021 @polkadot/app-calendar authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '@polkadot/react-components/types'; diff --git a/packages/page-calendar/src/DayItem.tsx b/packages/page-calendar/src/DayItem.tsx index c0e3ed25eb..84be25c6ff 100644 --- a/packages/page-calendar/src/DayItem.tsx +++ b/packages/page-calendar/src/DayItem.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-calendar authors & contributors +// Copyright 2017-2021 @polkadot/app-calendar authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { EntryInfoTyped } from './types'; diff --git a/packages/page-calendar/src/DayTime.tsx b/packages/page-calendar/src/DayTime.tsx index 60ade78909..620d9ad2b9 100644 --- a/packages/page-calendar/src/DayTime.tsx +++ b/packages/page-calendar/src/DayTime.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-calendar authors & contributors +// Copyright 2017-2021 @polkadot/app-calendar authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useEffect, useState } from 'react'; diff --git a/packages/page-calendar/src/Month.tsx b/packages/page-calendar/src/Month.tsx index f9d373eb53..635081c4e3 100644 --- a/packages/page-calendar/src/Month.tsx +++ b/packages/page-calendar/src/Month.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-calendar authors & contributors +// Copyright 2017-2021 @polkadot/app-calendar authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DateState, EntryInfo } from './types'; diff --git a/packages/page-calendar/src/MonthDay.tsx b/packages/page-calendar/src/MonthDay.tsx index e15488596d..68270bb53e 100644 --- a/packages/page-calendar/src/MonthDay.tsx +++ b/packages/page-calendar/src/MonthDay.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-calendar authors & contributors +// Copyright 2017-2021 @polkadot/app-calendar authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { EntryInfo } from './types'; diff --git a/packages/page-calendar/src/UpcomingEvents.tsx b/packages/page-calendar/src/UpcomingEvents.tsx index 0916ac738f..35ae1f22fe 100644 --- a/packages/page-calendar/src/UpcomingEvents.tsx +++ b/packages/page-calendar/src/UpcomingEvents.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-calendar authors & contributors +// Copyright 2017-2021 @polkadot/app-calendar authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '@polkadot/react-components/types'; diff --git a/packages/page-calendar/src/constants.ts b/packages/page-calendar/src/constants.ts index bcd7622815..d7fc499bbc 100644 --- a/packages/page-calendar/src/constants.ts +++ b/packages/page-calendar/src/constants.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-calendar authors & contributors +// Copyright 2017-2021 @polkadot/app-calendar authors & contributors // SPDX-License-Identifier: Apache-2.0 export const DAYS = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; diff --git a/packages/page-calendar/src/index.tsx b/packages/page-calendar/src/index.tsx index 4b636f4225..143ef14f3c 100644 --- a/packages/page-calendar/src/index.tsx +++ b/packages/page-calendar/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-calendar authors & contributors +// Copyright 2017-2021 @polkadot/app-calendar authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '@polkadot/react-components/types'; diff --git a/packages/page-calendar/src/translate.ts b/packages/page-calendar/src/translate.ts index 7b112c15c0..abc62760b6 100644 --- a/packages/page-calendar/src/translate.ts +++ b/packages/page-calendar/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-calendar authors & contributors +// Copyright 2017-2021 @polkadot/app-calendar authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-calendar/src/types.ts b/packages/page-calendar/src/types.ts index a83ce35cc1..1c9ed81374 100644 --- a/packages/page-calendar/src/types.ts +++ b/packages/page-calendar/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-calendar authors & contributors +// Copyright 2017-2021 @polkadot/app-calendar authors & contributors // SPDX-License-Identifier: Apache-2.0 import type BN from 'bn.js'; diff --git a/packages/page-calendar/src/useScheduled.ts b/packages/page-calendar/src/useScheduled.ts index 09c7f107c1..eccb8c13bb 100644 --- a/packages/page-calendar/src/useScheduled.ts +++ b/packages/page-calendar/src/useScheduled.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-calendar authors & contributors +// Copyright 2017-2021 @polkadot/app-calendar authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveCollectiveProposal, DeriveDispatch, DeriveReferendumExt, DeriveSessionProgress } from '@polkadot/api-derive/types'; diff --git a/packages/page-calendar/src/util.ts b/packages/page-calendar/src/util.ts index 1a941d1c96..8bda12e7d9 100644 --- a/packages/page-calendar/src/util.ts +++ b/packages/page-calendar/src/util.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-calendar authors & contributors +// Copyright 2017-2021 @polkadot/app-calendar authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DateState } from './types'; diff --git a/packages/page-claims/src/Attest.tsx b/packages/page-claims/src/Attest.tsx index 5143e38131..f815125327 100644 --- a/packages/page-claims/src/Attest.tsx +++ b/packages/page-claims/src/Attest.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-claims authors & contributors +// Copyright 2017-2021 @polkadot/app-claims authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TxCallback } from '@polkadot/react-components/Status/types'; diff --git a/packages/page-claims/src/Claim.tsx b/packages/page-claims/src/Claim.tsx index 7adb0a2dcf..de817dc2cc 100644 --- a/packages/page-claims/src/Claim.tsx +++ b/packages/page-claims/src/Claim.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-claims authors & contributors +// Copyright 2017-2021 @polkadot/app-claims authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiPromise } from '@polkadot/api'; diff --git a/packages/page-claims/src/Statement.tsx b/packages/page-claims/src/Statement.tsx index 67a3b5c780..222e513a95 100644 --- a/packages/page-claims/src/Statement.tsx +++ b/packages/page-claims/src/Statement.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-claims authors & contributors +// Copyright 2017-2021 @polkadot/app-claims authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '@polkadot/react-components/types'; diff --git a/packages/page-claims/src/Warning.tsx b/packages/page-claims/src/Warning.tsx index c57e1c7c9b..8721eec9fa 100644 --- a/packages/page-claims/src/Warning.tsx +++ b/packages/page-claims/src/Warning.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-claims authors & contributors +// Copyright 2017-2021 @polkadot/app-claims authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-claims/src/index.tsx b/packages/page-claims/src/index.tsx index 05d500ade8..ae19647b57 100644 --- a/packages/page-claims/src/index.tsx +++ b/packages/page-claims/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-claims authors & contributors +// Copyright 2017-2021 @polkadot/app-claims authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AppProps as Props, ThemeProps } from '@polkadot/react-components/types'; diff --git a/packages/page-claims/src/secp256k1.d.ts b/packages/page-claims/src/secp256k1.d.ts index 49e3e722bc..807f8444ab 100644 --- a/packages/page-claims/src/secp256k1.d.ts +++ b/packages/page-claims/src/secp256k1.d.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-claims authors & contributors +// Copyright 2017-2021 @polkadot/app-claims authors & contributors // SPDX-License-Identifier: Apache-2.0 declare module 'secp256k1/elliptic' { diff --git a/packages/page-claims/src/translate.ts b/packages/page-claims/src/translate.ts index 318a7dba2d..54bc001af3 100644 --- a/packages/page-claims/src/translate.ts +++ b/packages/page-claims/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-claims authors & contributors +// Copyright 2017-2021 @polkadot/app-claims authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-claims/src/useCounter.ts b/packages/page-claims/src/useCounter.ts index 6adc385650..2a5288d567 100644 --- a/packages/page-claims/src/useCounter.ts +++ b/packages/page-claims/src/useCounter.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import usePolkadotPreclaims from './usePolkadotPreclaims'; diff --git a/packages/page-claims/src/usePolkadotPreclaims.ts b/packages/page-claims/src/usePolkadotPreclaims.ts index 2805b3560b..510359ce35 100644 --- a/packages/page-claims/src/usePolkadotPreclaims.ts +++ b/packages/page-claims/src/usePolkadotPreclaims.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { QueryableStorageEntry } from '@polkadot/api/types'; diff --git a/packages/page-claims/src/util.spec.ts b/packages/page-claims/src/util.spec.ts index a2407971b7..fe2767d7fb 100644 --- a/packages/page-claims/src/util.spec.ts +++ b/packages/page-claims/src/util.spec.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import { hexToU8a } from '@polkadot/util'; diff --git a/packages/page-claims/src/util.ts b/packages/page-claims/src/util.ts index 1ecc4fcebb..b257101798 100644 --- a/packages/page-claims/src/util.ts +++ b/packages/page-claims/src/util.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-claims authors & contributors +// Copyright 2017-2021 @polkadot/app-claims authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { EcdsaSignature, EthereumAddress, StatementKind } from '@polkadot/types/interfaces'; diff --git a/packages/page-contracts/src/Codes/Add.tsx b/packages/page-contracts/src/Codes/Add.tsx index ace9537e3e..b1fbf37eaa 100644 --- a/packages/page-contracts/src/Codes/Add.tsx +++ b/packages/page-contracts/src/Codes/Add.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useState } from 'react'; diff --git a/packages/page-contracts/src/Codes/Code.tsx b/packages/page-contracts/src/Codes/Code.tsx index de31217ec1..996f427206 100644 --- a/packages/page-contracts/src/Codes/Code.tsx +++ b/packages/page-contracts/src/Codes/Code.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option } from '@polkadot/types'; diff --git a/packages/page-contracts/src/Codes/Upload.tsx b/packages/page-contracts/src/Codes/Upload.tsx index 206b45d8b3..dc0fca4bbb 100644 --- a/packages/page-contracts/src/Codes/Upload.tsx +++ b/packages/page-contracts/src/Codes/Upload.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-contracts/src/Codes/ValidateCode.tsx b/packages/page-contracts/src/Codes/ValidateCode.tsx index 1e15f23291..c12e3ba469 100644 --- a/packages/page-contracts/src/Codes/ValidateCode.tsx +++ b/packages/page-contracts/src/Codes/ValidateCode.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 /* eslint-disable camelcase */ diff --git a/packages/page-contracts/src/Codes/index.tsx b/packages/page-contracts/src/Codes/index.tsx index 58ed917a8d..3d8de6f610 100644 --- a/packages/page-contracts/src/Codes/index.tsx +++ b/packages/page-contracts/src/Codes/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useRef } from 'react'; diff --git a/packages/page-contracts/src/Contracts/Add.tsx b/packages/page-contracts/src/Contracts/Add.tsx index 1142c8ad33..56a823c061 100644 --- a/packages/page-contracts/src/Contracts/Add.tsx +++ b/packages/page-contracts/src/Contracts/Add.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ActionStatus } from '@polkadot/react-components/Status/types'; diff --git a/packages/page-contracts/src/Contracts/Banner.tsx b/packages/page-contracts/src/Contracts/Banner.tsx index d12eb03b54..b1984ed267 100644 --- a/packages/page-contracts/src/Contracts/Banner.tsx +++ b/packages/page-contracts/src/Contracts/Banner.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-contracts/src/Contracts/Call.tsx b/packages/page-contracts/src/Contracts/Call.tsx index abb67b4cd1..02644f4bb4 100644 --- a/packages/page-contracts/src/Contracts/Call.tsx +++ b/packages/page-contracts/src/Contracts/Call.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-contracts/src/Contracts/Contract.tsx b/packages/page-contracts/src/Contracts/Contract.tsx index 43d8ec2c0d..fea9ffa08e 100644 --- a/packages/page-contracts/src/Contracts/Contract.tsx +++ b/packages/page-contracts/src/Contracts/Contract.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ContractCallOutcome } from '@polkadot/api-contract/types'; diff --git a/packages/page-contracts/src/Contracts/ContractsTable.tsx b/packages/page-contracts/src/Contracts/ContractsTable.tsx index 2bfdfe504e..210a9e0cf5 100644 --- a/packages/page-contracts/src/Contracts/ContractsTable.tsx +++ b/packages/page-contracts/src/Contracts/ContractsTable.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ContractCallOutcome } from '@polkadot/api-contract/types'; diff --git a/packages/page-contracts/src/Contracts/Deploy.tsx b/packages/page-contracts/src/Contracts/Deploy.tsx index a20f87ede3..e04d6cd095 100644 --- a/packages/page-contracts/src/Contracts/Deploy.tsx +++ b/packages/page-contracts/src/Contracts/Deploy.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-contracts/src/Contracts/Outcome.tsx b/packages/page-contracts/src/Contracts/Outcome.tsx index 166b76ab67..85bc911cae 100644 --- a/packages/page-contracts/src/Contracts/Outcome.tsx +++ b/packages/page-contracts/src/Contracts/Outcome.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { CallResult } from './types'; diff --git a/packages/page-contracts/src/Contracts/Summary.tsx b/packages/page-contracts/src/Contracts/Summary.tsx index c2c119153e..3d730b078d 100644 --- a/packages/page-contracts/src/Contracts/Summary.tsx +++ b/packages/page-contracts/src/Contracts/Summary.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-contracts/src/Contracts/ValidateAddr.tsx b/packages/page-contracts/src/Contracts/ValidateAddr.tsx index 479d074543..1888cd1085 100644 --- a/packages/page-contracts/src/Contracts/ValidateAddr.tsx +++ b/packages/page-contracts/src/Contracts/ValidateAddr.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option } from '@polkadot/types'; diff --git a/packages/page-contracts/src/Contracts/index.tsx b/packages/page-contracts/src/Contracts/index.tsx index ec55df6772..e8b3a1caf9 100644 --- a/packages/page-contracts/src/Contracts/index.tsx +++ b/packages/page-contracts/src/Contracts/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AppProps as Props } from '@polkadot/react-components/types'; diff --git a/packages/page-contracts/src/Contracts/types.ts b/packages/page-contracts/src/Contracts/types.ts index 803dc69166..811618cb29 100644 --- a/packages/page-contracts/src/Contracts/types.ts +++ b/packages/page-contracts/src/Contracts/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AbiMessage, ContractCallOutcome } from '@polkadot/api-contract/types'; diff --git a/packages/page-contracts/src/Contracts/util.tsx b/packages/page-contracts/src/Contracts/util.tsx index b4dfc69361..40872020fc 100644 --- a/packages/page-contracts/src/Contracts/util.tsx +++ b/packages/page-contracts/src/Contracts/util.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AbiMessage } from '@polkadot/api-contract/types'; diff --git a/packages/page-contracts/src/RemoveABI.tsx b/packages/page-contracts/src/RemoveABI.tsx index 55e0f7bed8..d07179a661 100644 --- a/packages/page-contracts/src/RemoveABI.tsx +++ b/packages/page-contracts/src/RemoveABI.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { CodeStored } from './types'; diff --git a/packages/page-contracts/src/constants.ts b/packages/page-contracts/src/constants.ts index 90092cbb96..998482524a 100644 --- a/packages/page-contracts/src/constants.ts +++ b/packages/page-contracts/src/constants.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 export const ENDOWMENT = 1000; diff --git a/packages/page-contracts/src/index.tsx b/packages/page-contracts/src/index.tsx index cdb4494eb9..f54f543d9b 100644 --- a/packages/page-contracts/src/index.tsx +++ b/packages/page-contracts/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AppProps as Props } from '@polkadot/react-components/types'; diff --git a/packages/page-contracts/src/shared/ABI.tsx b/packages/page-contracts/src/shared/ABI.tsx index ef97a43766..85d533e2ae 100644 --- a/packages/page-contracts/src/shared/ABI.tsx +++ b/packages/page-contracts/src/shared/ABI.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-contracts/src/shared/CodeRow.tsx b/packages/page-contracts/src/shared/CodeRow.tsx index df052c794e..3986b07d19 100644 --- a/packages/page-contracts/src/shared/CodeRow.tsx +++ b/packages/page-contracts/src/shared/CodeRow.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { CodeStored } from '../types'; diff --git a/packages/page-contracts/src/shared/InputMegaGas.tsx b/packages/page-contracts/src/shared/InputMegaGas.tsx index 146300d62b..318d916cd0 100644 --- a/packages/page-contracts/src/shared/InputMegaGas.tsx +++ b/packages/page-contracts/src/shared/InputMegaGas.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseWeight } from '../types'; diff --git a/packages/page-contracts/src/shared/InputName.tsx b/packages/page-contracts/src/shared/InputName.tsx index 6a17a46de3..baae5ba6c3 100644 --- a/packages/page-contracts/src/shared/InputName.tsx +++ b/packages/page-contracts/src/shared/InputName.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-contracts/src/shared/Message.tsx b/packages/page-contracts/src/shared/Message.tsx index d22d7312bd..586e9d7388 100644 --- a/packages/page-contracts/src/shared/Message.tsx +++ b/packages/page-contracts/src/shared/Message.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AbiConstructor, AbiMessage, ContractCallOutcome } from '@polkadot/api-contract/types'; diff --git a/packages/page-contracts/src/shared/MessageSignature.tsx b/packages/page-contracts/src/shared/MessageSignature.tsx index 000872c6ae..6d7c763f46 100644 --- a/packages/page-contracts/src/shared/MessageSignature.tsx +++ b/packages/page-contracts/src/shared/MessageSignature.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AbiMessage } from '@polkadot/api-contract/types'; diff --git a/packages/page-contracts/src/shared/Messages.tsx b/packages/page-contracts/src/shared/Messages.tsx index d3e864d04f..2defdb9f58 100644 --- a/packages/page-contracts/src/shared/Messages.tsx +++ b/packages/page-contracts/src/shared/Messages.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AbiMessage, ContractCallOutcome } from '@polkadot/api-contract/types'; diff --git a/packages/page-contracts/src/shared/Params.tsx b/packages/page-contracts/src/shared/Params.tsx index cf4fd7eff3..840beb0186 100644 --- a/packages/page-contracts/src/shared/Params.tsx +++ b/packages/page-contracts/src/shared/Params.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { RawParams } from '@polkadot/react-params/types'; diff --git a/packages/page-contracts/src/shared/index.tsx b/packages/page-contracts/src/shared/index.tsx index 9f795bc2a6..d0a9e8526a 100644 --- a/packages/page-contracts/src/shared/index.tsx +++ b/packages/page-contracts/src/shared/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 export { default as ABI } from './ABI'; diff --git a/packages/page-contracts/src/store.ts b/packages/page-contracts/src/store.ts index 91b049210c..5e58cabe2f 100644 --- a/packages/page-contracts/src/store.ts +++ b/packages/page-contracts/src/store.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Hash } from '@polkadot/types/interfaces'; diff --git a/packages/page-contracts/src/translate.ts b/packages/page-contracts/src/translate.ts index fc474edf99..ea6b14201e 100644 --- a/packages/page-contracts/src/translate.ts +++ b/packages/page-contracts/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-contracts/src/types.ts b/packages/page-contracts/src/types.ts index e9ba81d23e..a1d014982a 100644 --- a/packages/page-contracts/src/types.ts +++ b/packages/page-contracts/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-contracts authors & contributors +// Copyright 2017-2021 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-contracts/src/useAbi.ts b/packages/page-contracts/src/useAbi.ts index 23a28a6053..a4117412fd 100644 --- a/packages/page-contracts/src/useAbi.ts +++ b/packages/page-contracts/src/useAbi.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useCallback, useEffect, useState } from 'react'; diff --git a/packages/page-contracts/src/useWeight.ts b/packages/page-contracts/src/useWeight.ts index e520e625a7..b07a62a93f 100644 --- a/packages/page-contracts/src/useWeight.ts +++ b/packages/page-contracts/src/useWeight.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Weight } from '@polkadot/types/interfaces'; diff --git a/packages/page-council/src/Motions/Close.tsx b/packages/page-council/src/Motions/Close.tsx index 287d06ec6c..59c68b6eba 100644 --- a/packages/page-council/src/Motions/Close.tsx +++ b/packages/page-council/src/Motions/Close.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-council authors & contributors +// Copyright 2017-2021 @polkadot/app-council authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Hash, Proposal, ProposalIndex } from '@polkadot/types/interfaces'; diff --git a/packages/page-council/src/Motions/Motion.tsx b/packages/page-council/src/Motions/Motion.tsx index c7bc4aa764..e10dee7eda 100644 --- a/packages/page-council/src/Motions/Motion.tsx +++ b/packages/page-council/src/Motions/Motion.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-council authors & contributors +// Copyright 2017-2021 @polkadot/app-council authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveCollectiveProposal } from '@polkadot/api-derive/types'; diff --git a/packages/page-council/src/Motions/ProposeExternal.tsx b/packages/page-council/src/Motions/ProposeExternal.tsx index faf30d16ff..c280d6fbe7 100644 --- a/packages/page-council/src/Motions/ProposeExternal.tsx +++ b/packages/page-council/src/Motions/ProposeExternal.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-council authors & contributors +// Copyright 2017-2021 @polkadot/app-council authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-council/src/Motions/ProposeMotion.tsx b/packages/page-council/src/Motions/ProposeMotion.tsx index 4686b96d56..bc2b3f33d0 100644 --- a/packages/page-council/src/Motions/ProposeMotion.tsx +++ b/packages/page-council/src/Motions/ProposeMotion.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-council authors & contributors +// Copyright 2017-2021 @polkadot/app-council authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-council/src/Motions/Slashing.tsx b/packages/page-council/src/Motions/Slashing.tsx index b08449e4dc..6eb2211de3 100644 --- a/packages/page-council/src/Motions/Slashing.tsx +++ b/packages/page-council/src/Motions/Slashing.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-council authors & contributors +// Copyright 2017-2021 @polkadot/app-council authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-council/src/Motions/Voters.tsx b/packages/page-council/src/Motions/Voters.tsx index 49001ae570..fbc01a886d 100644 --- a/packages/page-council/src/Motions/Voters.tsx +++ b/packages/page-council/src/Motions/Voters.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, MemberCount } from '@polkadot/types/interfaces'; diff --git a/packages/page-council/src/Motions/Voting.tsx b/packages/page-council/src/Motions/Voting.tsx index d0e7e917aa..f4d41f7e83 100644 --- a/packages/page-council/src/Motions/Voting.tsx +++ b/packages/page-council/src/Motions/Voting.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-council authors & contributors +// Copyright 2017-2021 @polkadot/app-council authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, Hash, Proposal, ProposalIndex } from '@polkadot/types/interfaces'; diff --git a/packages/page-council/src/Motions/index.tsx b/packages/page-council/src/Motions/index.tsx index 59e7925ac4..f98a95fab2 100644 --- a/packages/page-council/src/Motions/index.tsx +++ b/packages/page-council/src/Motions/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-council authors & contributors +// Copyright 2017-2021 @polkadot/app-council authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveCollectiveProposal } from '@polkadot/api-derive/types'; diff --git a/packages/page-council/src/Overview/Candidate.tsx b/packages/page-council/src/Overview/Candidate.tsx index 5a14027c58..989812c446 100644 --- a/packages/page-council/src/Overview/Candidate.tsx +++ b/packages/page-council/src/Overview/Candidate.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, Balance } from '@polkadot/types/interfaces'; diff --git a/packages/page-council/src/Overview/Candidates.tsx b/packages/page-council/src/Overview/Candidates.tsx index cec52f2aa1..a71a06d294 100644 --- a/packages/page-council/src/Overview/Candidates.tsx +++ b/packages/page-council/src/Overview/Candidates.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveElectionsInfo } from '@polkadot/api-derive/types'; diff --git a/packages/page-council/src/Overview/Members.tsx b/packages/page-council/src/Overview/Members.tsx index 2404b5525a..faa391a47e 100644 --- a/packages/page-council/src/Overview/Members.tsx +++ b/packages/page-council/src/Overview/Members.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveElectionsInfo } from '@polkadot/api-derive/types'; diff --git a/packages/page-council/src/Overview/SubmitCandidacy.tsx b/packages/page-council/src/Overview/SubmitCandidacy.tsx index a29ef97fb7..6d9a0d00d7 100644 --- a/packages/page-council/src/Overview/SubmitCandidacy.tsx +++ b/packages/page-council/src/Overview/SubmitCandidacy.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-council authors & contributors +// Copyright 2017-2021 @polkadot/app-council authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ComponentProps as Props } from './types'; diff --git a/packages/page-council/src/Overview/Summary.tsx b/packages/page-council/src/Overview/Summary.tsx index 0c7945955b..8f525136f3 100644 --- a/packages/page-council/src/Overview/Summary.tsx +++ b/packages/page-council/src/Overview/Summary.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveElectionsInfo } from '@polkadot/api-derive/types'; diff --git a/packages/page-council/src/Overview/Vote.tsx b/packages/page-council/src/Overview/Vote.tsx index bbeb234222..9f5ef07307 100644 --- a/packages/page-council/src/Overview/Vote.tsx +++ b/packages/page-council/src/Overview/Vote.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-council authors & contributors +// Copyright 2017-2021 @polkadot/app-council authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveElectionsInfo } from '@polkadot/api-derive/types'; diff --git a/packages/page-council/src/Overview/Voters.tsx b/packages/page-council/src/Overview/Voters.tsx index cb2bc271f1..650ff8288c 100644 --- a/packages/page-council/src/Overview/Voters.tsx +++ b/packages/page-council/src/Overview/Voters.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, Balance } from '@polkadot/types/interfaces'; diff --git a/packages/page-council/src/Overview/index.tsx b/packages/page-council/src/Overview/index.tsx index 7d3e33c46f..a582bbebc4 100644 --- a/packages/page-council/src/Overview/index.tsx +++ b/packages/page-council/src/Overview/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveCouncilVotes, DeriveElectionsInfo } from '@polkadot/api-derive/types'; diff --git a/packages/page-council/src/Overview/types.ts b/packages/page-council/src/Overview/types.ts index 06000a3b83..944322332e 100644 --- a/packages/page-council/src/Overview/types.ts +++ b/packages/page-council/src/Overview/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveElectionsInfo } from '@polkadot/api-derive/types'; diff --git a/packages/page-council/src/index.tsx b/packages/page-council/src/index.tsx index 6e8d857886..226dbe9b01 100644 --- a/packages/page-council/src/index.tsx +++ b/packages/page-council/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveCollectiveProposal } from '@polkadot/api-derive/types'; diff --git a/packages/page-council/src/translate.ts b/packages/page-council/src/translate.ts index 9d95f6d04c..abf4e7dae4 100644 --- a/packages/page-council/src/translate.ts +++ b/packages/page-council/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-council authors & contributors +// Copyright 2017-2021 @polkadot/app-council authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-council/src/useCounter.ts b/packages/page-council/src/useCounter.ts index 66f3e3cd53..6b00466dc7 100644 --- a/packages/page-council/src/useCounter.ts +++ b/packages/page-council/src/useCounter.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveCollectiveProposal } from '@polkadot/api-derive/types'; diff --git a/packages/page-democracy/src/Execute/DispatchEntry.tsx b/packages/page-democracy/src/Execute/DispatchEntry.tsx index b011b95101..59f8229fbf 100644 --- a/packages/page-democracy/src/Execute/DispatchEntry.tsx +++ b/packages/page-democracy/src/Execute/DispatchEntry.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveDispatch } from '@polkadot/api-derive/types'; diff --git a/packages/page-democracy/src/Execute/DispatchQueue.tsx b/packages/page-democracy/src/Execute/DispatchQueue.tsx index 33076aeb5f..29a33d8b75 100644 --- a/packages/page-democracy/src/Execute/DispatchQueue.tsx +++ b/packages/page-democracy/src/Execute/DispatchQueue.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveDispatch } from '@polkadot/api-derive/types'; diff --git a/packages/page-democracy/src/Execute/Scheduled.tsx b/packages/page-democracy/src/Execute/Scheduled.tsx index 623761ec46..29ec1bc74e 100644 --- a/packages/page-democracy/src/Execute/Scheduled.tsx +++ b/packages/page-democracy/src/Execute/Scheduled.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BlockNumber } from '@polkadot/types/interfaces'; diff --git a/packages/page-democracy/src/Execute/Scheduler.tsx b/packages/page-democracy/src/Execute/Scheduler.tsx index 8500763bc1..ab84269d6e 100644 --- a/packages/page-democracy/src/Execute/Scheduler.tsx +++ b/packages/page-democracy/src/Execute/Scheduler.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option } from '@polkadot/types'; diff --git a/packages/page-democracy/src/Execute/index.tsx b/packages/page-democracy/src/Execute/index.tsx index fc3e85fe6f..9a1d9def30 100644 --- a/packages/page-democracy/src/Execute/index.tsx +++ b/packages/page-democracy/src/Execute/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-democracy/src/Execute/types.ts b/packages/page-democracy/src/Execute/types.ts index febb05eb18..83daf31d7f 100644 --- a/packages/page-democracy/src/Execute/types.ts +++ b/packages/page-democracy/src/Execute/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Bytes, Option } from '@polkadot/types'; diff --git a/packages/page-democracy/src/Execute/useCounter.ts b/packages/page-democracy/src/Execute/useCounter.ts index 603ddbbc96..59c5ec002c 100644 --- a/packages/page-democracy/src/Execute/useCounter.ts +++ b/packages/page-democracy/src/Execute/useCounter.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useApi, useCall } from '@polkadot/react-hooks'; diff --git a/packages/page-democracy/src/Overview/External.tsx b/packages/page-democracy/src/Overview/External.tsx index 90c6689127..ab349d5e16 100644 --- a/packages/page-democracy/src/Overview/External.tsx +++ b/packages/page-democracy/src/Overview/External.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveProposalExternal } from '@polkadot/api-derive/types'; diff --git a/packages/page-democracy/src/Overview/ExternalCell.tsx b/packages/page-democracy/src/Overview/ExternalCell.tsx index f60f0a11b8..dbc62abb8e 100644 --- a/packages/page-democracy/src/Overview/ExternalCell.tsx +++ b/packages/page-democracy/src/Overview/ExternalCell.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveProposalImage } from '@polkadot/api-derive/types'; diff --git a/packages/page-democracy/src/Overview/Externals.tsx b/packages/page-democracy/src/Overview/Externals.tsx index 3492f7d77a..2849b611fb 100644 --- a/packages/page-democracy/src/Overview/Externals.tsx +++ b/packages/page-democracy/src/Overview/Externals.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveProposalExternal } from '@polkadot/api-derive/types'; diff --git a/packages/page-democracy/src/Overview/Fasttrack.tsx b/packages/page-democracy/src/Overview/Fasttrack.tsx index 5199ab9f20..410af74c8b 100644 --- a/packages/page-democracy/src/Overview/Fasttrack.tsx +++ b/packages/page-democracy/src/Overview/Fasttrack.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-democracy/src/Overview/PreImage.tsx b/packages/page-democracy/src/Overview/PreImage.tsx index 4b0edd3d9c..88e4547c3b 100644 --- a/packages/page-democracy/src/Overview/PreImage.tsx +++ b/packages/page-democracy/src/Overview/PreImage.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/promise/types'; diff --git a/packages/page-democracy/src/Overview/PreImageButton.tsx b/packages/page-democracy/src/Overview/PreImageButton.tsx index 0791f43caa..db7ba697cf 100644 --- a/packages/page-democracy/src/Overview/PreImageButton.tsx +++ b/packages/page-democracy/src/Overview/PreImageButton.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Hash } from '@polkadot/types/interfaces'; diff --git a/packages/page-democracy/src/Overview/Proposal.tsx b/packages/page-democracy/src/Overview/Proposal.tsx index 872ae8cd85..35991d2346 100644 --- a/packages/page-democracy/src/Overview/Proposal.tsx +++ b/packages/page-democracy/src/Overview/Proposal.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveProposal } from '@polkadot/api-derive/types'; diff --git a/packages/page-democracy/src/Overview/ProposalCell.tsx b/packages/page-democracy/src/Overview/ProposalCell.tsx index 27865ba36b..a1750dc572 100644 --- a/packages/page-democracy/src/Overview/ProposalCell.tsx +++ b/packages/page-democracy/src/Overview/ProposalCell.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Compact } from '@polkadot/types'; diff --git a/packages/page-democracy/src/Overview/Proposals.tsx b/packages/page-democracy/src/Overview/Proposals.tsx index 3b323c5415..de865d2a7c 100644 --- a/packages/page-democracy/src/Overview/Proposals.tsx +++ b/packages/page-democracy/src/Overview/Proposals.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveProposal } from '@polkadot/api-derive/types'; diff --git a/packages/page-democracy/src/Overview/Propose.tsx b/packages/page-democracy/src/Overview/Propose.tsx index b77d8df31b..98f4b3e24a 100644 --- a/packages/page-democracy/src/Overview/Propose.tsx +++ b/packages/page-democracy/src/Overview/Propose.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-democracy/src/Overview/Referendum.tsx b/packages/page-democracy/src/Overview/Referendum.tsx index 89614211ad..e04e57ed17 100644 --- a/packages/page-democracy/src/Overview/Referendum.tsx +++ b/packages/page-democracy/src/Overview/Referendum.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveReferendumExt } from '@polkadot/api-derive/types'; diff --git a/packages/page-democracy/src/Overview/ReferendumVote.tsx b/packages/page-democracy/src/Overview/ReferendumVote.tsx index bed19a9117..e3b083cf9c 100644 --- a/packages/page-democracy/src/Overview/ReferendumVote.tsx +++ b/packages/page-democracy/src/Overview/ReferendumVote.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveReferendumVote } from '@polkadot/api-derive/types'; diff --git a/packages/page-democracy/src/Overview/ReferendumVotes.tsx b/packages/page-democracy/src/Overview/ReferendumVotes.tsx index 547b9c02cb..86ff555159 100644 --- a/packages/page-democracy/src/Overview/ReferendumVotes.tsx +++ b/packages/page-democracy/src/Overview/ReferendumVotes.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveReferendumVote } from '@polkadot/api-derive/types'; diff --git a/packages/page-democracy/src/Overview/Referendums.tsx b/packages/page-democracy/src/Overview/Referendums.tsx index f60bf14fbf..d035932248 100644 --- a/packages/page-democracy/src/Overview/Referendums.tsx +++ b/packages/page-democracy/src/Overview/Referendums.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveReferendumExt } from '@polkadot/api-derive/types'; diff --git a/packages/page-democracy/src/Overview/Seconding.tsx b/packages/page-democracy/src/Overview/Seconding.tsx index 21ff6d80ff..e6300edb93 100644 --- a/packages/page-democracy/src/Overview/Seconding.tsx +++ b/packages/page-democracy/src/Overview/Seconding.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveProposalImage } from '@polkadot/api-derive/types'; diff --git a/packages/page-democracy/src/Overview/Summary.tsx b/packages/page-democracy/src/Overview/Summary.tsx index 65612f3886..7458eb1334 100644 --- a/packages/page-democracy/src/Overview/Summary.tsx +++ b/packages/page-democracy/src/Overview/Summary.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-democracy/src/Overview/TreasuryCell.tsx b/packages/page-democracy/src/Overview/TreasuryCell.tsx index 8f71de39a2..8974fd274f 100644 --- a/packages/page-democracy/src/Overview/TreasuryCell.tsx +++ b/packages/page-democracy/src/Overview/TreasuryCell.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Compact, Option } from '@polkadot/types'; diff --git a/packages/page-democracy/src/Overview/Voting.tsx b/packages/page-democracy/src/Overview/Voting.tsx index 27364e5837..77b53f6b0a 100644 --- a/packages/page-democracy/src/Overview/Voting.tsx +++ b/packages/page-democracy/src/Overview/Voting.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { PropIndex, Proposal } from '@polkadot/types/interfaces'; diff --git a/packages/page-democracy/src/Overview/index.tsx b/packages/page-democracy/src/Overview/index.tsx index 1c4688cc14..016399833f 100644 --- a/packages/page-democracy/src/Overview/index.tsx +++ b/packages/page-democracy/src/Overview/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveReferendumExt } from '@polkadot/api-derive/types'; diff --git a/packages/page-democracy/src/index.tsx b/packages/page-democracy/src/index.tsx index b844d3d08a..c1bc0e6937 100644 --- a/packages/page-democracy/src/index.tsx +++ b/packages/page-democracy/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useMemo } from 'react'; diff --git a/packages/page-democracy/src/translate.ts b/packages/page-democracy/src/translate.ts index 5164148d46..9281337c7f 100644 --- a/packages/page-democracy/src/translate.ts +++ b/packages/page-democracy/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-democracy/src/useChangeCalc.ts b/packages/page-democracy/src/useChangeCalc.ts index b4dbdaac82..2b5d122796 100644 --- a/packages/page-democracy/src/useChangeCalc.ts +++ b/packages/page-democracy/src/useChangeCalc.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { VoteThreshold } from '@polkadot/types/interfaces'; diff --git a/packages/page-democracy/src/useCounter.ts b/packages/page-democracy/src/useCounter.ts index b354a90f08..119e1025f8 100644 --- a/packages/page-democracy/src/useCounter.ts +++ b/packages/page-democracy/src/useCounter.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useEffect, useState } from 'react'; diff --git a/packages/page-democracy/src/util.spec.ts b/packages/page-democracy/src/util.spec.ts index e657a98e14..766a4848b6 100644 --- a/packages/page-democracy/src/util.spec.ts +++ b/packages/page-democracy/src/util.spec.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-democracy/src/util.ts b/packages/page-democracy/src/util.ts index dd14f1629a..07b4054d34 100644 --- a/packages/page-democracy/src/util.ts +++ b/packages/page-democracy/src/util.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { VoteThreshold } from '@polkadot/types/interfaces'; diff --git a/packages/page-explorer/src/BestHash.tsx b/packages/page-explorer/src/BestHash.tsx index de7707610a..cb1a076c7c 100644 --- a/packages/page-explorer/src/BestHash.tsx +++ b/packages/page-explorer/src/BestHash.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Header } from '@polkadot/types/interfaces'; diff --git a/packages/page-explorer/src/BlockHeader.tsx b/packages/page-explorer/src/BlockHeader.tsx index e86c513d43..0fbfdee9ff 100644 --- a/packages/page-explorer/src/BlockHeader.tsx +++ b/packages/page-explorer/src/BlockHeader.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-explorer/src/BlockHeaders.tsx b/packages/page-explorer/src/BlockHeaders.tsx index ba0578a127..267d2b48e2 100644 --- a/packages/page-explorer/src/BlockHeaders.tsx +++ b/packages/page-explorer/src/BlockHeaders.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useRef } from 'react'; diff --git a/packages/page-explorer/src/BlockInfo/ByHash.tsx b/packages/page-explorer/src/BlockInfo/ByHash.tsx index 2414b4c9f6..e17e5fa3b2 100644 --- a/packages/page-explorer/src/BlockInfo/ByHash.tsx +++ b/packages/page-explorer/src/BlockInfo/ByHash.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyedEvent } from '@polkadot/react-query/types'; diff --git a/packages/page-explorer/src/BlockInfo/ByNumber.tsx b/packages/page-explorer/src/BlockInfo/ByNumber.tsx index eff17fc054..c2b70837a1 100644 --- a/packages/page-explorer/src/BlockInfo/ByNumber.tsx +++ b/packages/page-explorer/src/BlockInfo/ByNumber.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Hash } from '@polkadot/types/interfaces'; diff --git a/packages/page-explorer/src/BlockInfo/Extrinsic.tsx b/packages/page-explorer/src/BlockInfo/Extrinsic.tsx index 6a0fa5dc88..3da3c1afca 100644 --- a/packages/page-explorer/src/BlockInfo/Extrinsic.tsx +++ b/packages/page-explorer/src/BlockInfo/Extrinsic.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyedEvent } from '@polkadot/react-query/types'; diff --git a/packages/page-explorer/src/BlockInfo/Extrinsics.tsx b/packages/page-explorer/src/BlockInfo/Extrinsics.tsx index 8f99fbf959..d2261de4d5 100644 --- a/packages/page-explorer/src/BlockInfo/Extrinsics.tsx +++ b/packages/page-explorer/src/BlockInfo/Extrinsics.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyedEvent } from '@polkadot/react-query/types'; diff --git a/packages/page-explorer/src/BlockInfo/Logs.tsx b/packages/page-explorer/src/BlockInfo/Logs.tsx index c8abb41cf5..d07a5e2d95 100644 --- a/packages/page-explorer/src/BlockInfo/Logs.tsx +++ b/packages/page-explorer/src/BlockInfo/Logs.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DigestItem } from '@polkadot/types/interfaces'; diff --git a/packages/page-explorer/src/BlockInfo/index.tsx b/packages/page-explorer/src/BlockInfo/index.tsx index 6d57b276cb..437438fc9c 100644 --- a/packages/page-explorer/src/BlockInfo/index.tsx +++ b/packages/page-explorer/src/BlockInfo/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BlockNumber } from '@polkadot/types/interfaces'; diff --git a/packages/page-explorer/src/Event.tsx b/packages/page-explorer/src/Event.tsx index f4c5925dd8..a64d99a944 100644 --- a/packages/page-explorer/src/Event.tsx +++ b/packages/page-explorer/src/Event.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { EventRecord } from '@polkadot/types/interfaces'; diff --git a/packages/page-explorer/src/Events.tsx b/packages/page-explorer/src/Events.tsx index 1c6dc7e133..e55d632876 100644 --- a/packages/page-explorer/src/Events.tsx +++ b/packages/page-explorer/src/Events.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyedEvent } from '@polkadot/react-query/types'; diff --git a/packages/page-explorer/src/Forks.tsx b/packages/page-explorer/src/Forks.tsx index 9e45e46088..9038dd1a35 100644 --- a/packages/page-explorer/src/Forks.tsx +++ b/packages/page-explorer/src/Forks.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiProps } from '@polkadot/react-api/types'; diff --git a/packages/page-explorer/src/Main.tsx b/packages/page-explorer/src/Main.tsx index b44dbb66b0..b37010bdbf 100644 --- a/packages/page-explorer/src/Main.tsx +++ b/packages/page-explorer/src/Main.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyedEvent } from '@polkadot/react-query/types'; diff --git a/packages/page-explorer/src/NodeInfo/Peers.tsx b/packages/page-explorer/src/NodeInfo/Peers.tsx index a88d0a077f..0459304e91 100644 --- a/packages/page-explorer/src/NodeInfo/Peers.tsx +++ b/packages/page-explorer/src/NodeInfo/Peers.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-nodeinfo authors & contributors +// Copyright 2017-2021 @polkadot/app-nodeinfo authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { PeerInfo } from '@polkadot/types/interfaces'; diff --git a/packages/page-explorer/src/NodeInfo/Summary.tsx b/packages/page-explorer/src/NodeInfo/Summary.tsx index 2751ac8f57..55b8e3b38c 100644 --- a/packages/page-explorer/src/NodeInfo/Summary.tsx +++ b/packages/page-explorer/src/NodeInfo/Summary.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-nodeinfo authors & contributors +// Copyright 2017-2021 @polkadot/app-nodeinfo authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Info } from './types'; diff --git a/packages/page-explorer/src/NodeInfo/index.tsx b/packages/page-explorer/src/NodeInfo/index.tsx index 12e25435f7..e6591f1724 100644 --- a/packages/page-explorer/src/NodeInfo/index.tsx +++ b/packages/page-explorer/src/NodeInfo/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-nodeinfo authors & contributors +// Copyright 2017-2021 @polkadot/app-nodeinfo authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Info } from './types'; diff --git a/packages/page-explorer/src/NodeInfo/types.ts b/packages/page-explorer/src/NodeInfo/types.ts index 52b9817fa0..48cc60f1e9 100644 --- a/packages/page-explorer/src/NodeInfo/types.ts +++ b/packages/page-explorer/src/NodeInfo/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-nodeinfo authors & contributors +// Copyright 2017-2021 @polkadot/app-nodeinfo authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Vec } from '@polkadot/types'; diff --git a/packages/page-explorer/src/Query.tsx b/packages/page-explorer/src/Query.tsx index 81615c569b..89f5f7eb0a 100644 --- a/packages/page-explorer/src/Query.tsx +++ b/packages/page-explorer/src/Query.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useState } from 'react'; diff --git a/packages/page-explorer/src/Summary.tsx b/packages/page-explorer/src/Summary.tsx index 894d7190a9..3387dc9137 100644 --- a/packages/page-explorer/src/Summary.tsx +++ b/packages/page-explorer/src/Summary.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-explorer/src/SummarySession.tsx b/packages/page-explorer/src/SummarySession.tsx index 2bb66bd6b7..a5bdd77d13 100644 --- a/packages/page-explorer/src/SummarySession.tsx +++ b/packages/page-explorer/src/SummarySession.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSessionProgress } from '@polkadot/api-derive/types'; diff --git a/packages/page-explorer/src/index.tsx b/packages/page-explorer/src/index.tsx index ea3d64cb23..33d40074d0 100644 --- a/packages/page-explorer/src/index.tsx +++ b/packages/page-explorer/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyedEvent } from '@polkadot/react-query/types'; diff --git a/packages/page-explorer/src/translate.ts b/packages/page-explorer/src/translate.ts index 718e7a988f..1694b23a06 100644 --- a/packages/page-explorer/src/translate.ts +++ b/packages/page-explorer/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-extrinsics/src/Balance.tsx b/packages/page-extrinsics/src/Balance.tsx index eca2c71ee7..33a68dad19 100644 --- a/packages/page-extrinsics/src/Balance.tsx +++ b/packages/page-extrinsics/src/Balance.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAll } from '@polkadot/api-derive/types'; diff --git a/packages/page-extrinsics/src/Selection.tsx b/packages/page-extrinsics/src/Selection.tsx index 6eb77e49e0..a7b77198c9 100644 --- a/packages/page-extrinsics/src/Selection.tsx +++ b/packages/page-extrinsics/src/Selection.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-extrinsics authors & contributors +// Copyright 2017-2021 @polkadot/app-extrinsics authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-extrinsics/src/index.tsx b/packages/page-extrinsics/src/index.tsx index 997606cbac..6687b25095 100644 --- a/packages/page-extrinsics/src/index.tsx +++ b/packages/page-extrinsics/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-extrinsics authors & contributors +// Copyright 2017-2021 @polkadot/app-extrinsics authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AppProps as Props } from '@polkadot/react-components/types'; diff --git a/packages/page-extrinsics/src/translate.ts b/packages/page-extrinsics/src/translate.ts index c091443c6d..39ccadad53 100644 --- a/packages/page-extrinsics/src/translate.ts +++ b/packages/page-extrinsics/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-extrinsics authors & contributors +// Copyright 2017-2021 @polkadot/app-extrinsics authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-js/src/ActionButtons.tsx b/packages/page-js/src/ActionButtons.tsx index 5963c06c19..f762aaae8e 100644 --- a/packages/page-js/src/ActionButtons.tsx +++ b/packages/page-js/src/ActionButtons.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useState } from 'react'; diff --git a/packages/page-js/src/Output.tsx b/packages/page-js/src/Output.tsx index 86a6bd207b..a3018238c8 100644 --- a/packages/page-js/src/Output.tsx +++ b/packages/page-js/src/Output.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '@polkadot/react-components/types'; diff --git a/packages/page-js/src/Playground.tsx b/packages/page-js/src/Playground.tsx index 4fb9020555..7825ec963a 100644 --- a/packages/page-js/src/Playground.tsx +++ b/packages/page-js/src/Playground.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiPromise } from '@polkadot/api'; diff --git a/packages/page-js/src/constants.tsx b/packages/page-js/src/constants.tsx index 666c1c3b84..7ebd19777a 100644 --- a/packages/page-js/src/constants.tsx +++ b/packages/page-js/src/constants.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { StrictLabelProps } from 'semantic-ui-react'; diff --git a/packages/page-js/src/index.tsx b/packages/page-js/src/index.tsx index 0bba04c573..d4863e7a2e 100644 --- a/packages/page-js/src/index.tsx +++ b/packages/page-js/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AppProps as Props } from '@polkadot/react-components/types'; diff --git a/packages/page-js/src/snippets/consts-examples.ts b/packages/page-js/src/snippets/consts-examples.ts index ee30408adf..1627d5cb44 100644 --- a/packages/page-js/src/snippets/consts-examples.ts +++ b/packages/page-js/src/snippets/consts-examples.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Snippet } from '@polkadot/app-js/types'; diff --git a/packages/page-js/src/snippets/extrinsics-examples.ts b/packages/page-js/src/snippets/extrinsics-examples.ts index f18083dbb3..858bea00ad 100644 --- a/packages/page-js/src/snippets/extrinsics-examples.ts +++ b/packages/page-js/src/snippets/extrinsics-examples.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Snippet } from '@polkadot/app-js/types'; diff --git a/packages/page-js/src/snippets/index.ts b/packages/page-js/src/snippets/index.ts index 3f91f91d12..5c87b1f519 100644 --- a/packages/page-js/src/snippets/index.ts +++ b/packages/page-js/src/snippets/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Snippet } from './../types'; diff --git a/packages/page-js/src/snippets/rpc-examples.ts b/packages/page-js/src/snippets/rpc-examples.ts index de608591d3..b699bdd1de 100644 --- a/packages/page-js/src/snippets/rpc-examples.ts +++ b/packages/page-js/src/snippets/rpc-examples.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Snippet } from '@polkadot/app-js/types'; diff --git a/packages/page-js/src/snippets/storage-examples.ts b/packages/page-js/src/snippets/storage-examples.ts index f63f001e16..bdd8730871 100644 --- a/packages/page-js/src/snippets/storage-examples.ts +++ b/packages/page-js/src/snippets/storage-examples.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Snippet } from '@polkadot/app-js/types'; diff --git a/packages/page-js/src/snippets/transfer.ts b/packages/page-js/src/snippets/transfer.ts index 1065671281..b2d5bf77db 100644 --- a/packages/page-js/src/snippets/transfer.ts +++ b/packages/page-js/src/snippets/transfer.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 export default `// transfer diff --git a/packages/page-js/src/snippets/wrapping.ts b/packages/page-js/src/snippets/wrapping.ts index c67fe57ee2..302b616a9b 100644 --- a/packages/page-js/src/snippets/wrapping.ts +++ b/packages/page-js/src/snippets/wrapping.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 export default function makeWrapper (isDevelopment: boolean): string { diff --git a/packages/page-js/src/translate.ts b/packages/page-js/src/translate.ts index de784c313e..c4c05c27b7 100644 --- a/packages/page-js/src/translate.ts +++ b/packages/page-js/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-js/src/types.ts b/packages/page-js/src/types.ts index d4474b6054..46d423fe1e 100644 --- a/packages/page-js/src/types.ts +++ b/packages/page-js/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { LabelProps, SemanticShorthandItem } from 'semantic-ui-react'; diff --git a/packages/page-parachains/src/Overview/Parachain.tsx b/packages/page-parachains/src/Overview/Parachain.tsx index 3b305bda7b..d473f320b6 100644 --- a/packages/page-parachains/src/Overview/Parachain.tsx +++ b/packages/page-parachains/src/Overview/Parachain.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-parachains authors & contributors +// Copyright 2017-2021 @polkadot/app-parachains authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '@polkadot/react-components/types'; diff --git a/packages/page-parachains/src/Overview/Parachains.tsx b/packages/page-parachains/src/Overview/Parachains.tsx index c6a7c743ec..a5bf09b3b8 100644 --- a/packages/page-parachains/src/Overview/Parachains.tsx +++ b/packages/page-parachains/src/Overview/Parachains.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-parachains authors & contributors +// Copyright 2017-2021 @polkadot/app-parachains authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ParaId } from '@polkadot/types/interfaces'; diff --git a/packages/page-parachains/src/Overview/Summary.tsx b/packages/page-parachains/src/Overview/Summary.tsx index c4ad799f94..f14d030422 100644 --- a/packages/page-parachains/src/Overview/Summary.tsx +++ b/packages/page-parachains/src/Overview/Summary.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-parachains authors & contributors +// Copyright 2017-2021 @polkadot/app-parachains authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-parachains/src/Overview/Upcoming.tsx b/packages/page-parachains/src/Overview/Upcoming.tsx index f974a86f4d..26ab91cbe5 100644 --- a/packages/page-parachains/src/Overview/Upcoming.tsx +++ b/packages/page-parachains/src/Overview/Upcoming.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-parachains authors & contributors +// Copyright 2017-2021 @polkadot/app-parachains authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ParaId } from '@polkadot/types/interfaces'; diff --git a/packages/page-parachains/src/Overview/index.tsx b/packages/page-parachains/src/Overview/index.tsx index 5bd5bfe460..8a716ec247 100644 --- a/packages/page-parachains/src/Overview/index.tsx +++ b/packages/page-parachains/src/Overview/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-parachains authors & contributors +// Copyright 2017-2021 @polkadot/app-parachains authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ParaId } from '@polkadot/types/interfaces'; diff --git a/packages/page-parachains/src/index.tsx b/packages/page-parachains/src/index.tsx index 0af7638d26..e18e4e9dc8 100644 --- a/packages/page-parachains/src/index.tsx +++ b/packages/page-parachains/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-parachains authors & contributors +// Copyright 2017-2021 @polkadot/app-parachains authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useMemo } from 'react'; diff --git a/packages/page-parachains/src/translate.ts b/packages/page-parachains/src/translate.ts index b2f0c2579c..7b46fa4b99 100644 --- a/packages/page-parachains/src/translate.ts +++ b/packages/page-parachains/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-parachains authors & contributors +// Copyright 2017-2021 @polkadot/app-parachains authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-poll/src/index.tsx b/packages/page-poll/src/index.tsx index 211158d2f8..386fd3d241 100644 --- a/packages/page-poll/src/index.tsx +++ b/packages/page-poll/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-poll authors & contributors +// Copyright 2017-2021 @polkadot/app-poll authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Approvals, Balance, BlockNumber } from '@polkadot/types/interfaces'; diff --git a/packages/page-poll/src/translate.ts b/packages/page-poll/src/translate.ts index 49d74eb279..8e944241b6 100644 --- a/packages/page-poll/src/translate.ts +++ b/packages/page-poll/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-poll authors & contributors +// Copyright 2017-2021 @polkadot/app-poll authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-rpc/src/Rpc/Account.tsx b/packages/page-rpc/src/Rpc/Account.tsx index 4f09bb0929..0be9d769d1 100644 --- a/packages/page-rpc/src/Rpc/Account.tsx +++ b/packages/page-rpc/src/Rpc/Account.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-rpc authors & contributors +// Copyright 2017-2021 @polkadot/app-rpc authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-rpc/src/Rpc/Results.tsx b/packages/page-rpc/src/Rpc/Results.tsx index 0c6e84f00c..bf7d012c29 100644 --- a/packages/page-rpc/src/Rpc/Results.tsx +++ b/packages/page-rpc/src/Rpc/Results.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-rpc authors & contributors +// Copyright 2017-2021 @polkadot/app-rpc authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { QueueTx } from '@polkadot/react-components/Status/types'; diff --git a/packages/page-rpc/src/Rpc/Selection.tsx b/packages/page-rpc/src/Rpc/Selection.tsx index 7150278cce..d95eddb1a5 100644 --- a/packages/page-rpc/src/Rpc/Selection.tsx +++ b/packages/page-rpc/src/Rpc/Selection.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-rpc authors & contributors +// Copyright 2017-2021 @polkadot/app-rpc authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { QueueTxRpcAdd } from '@polkadot/react-components/Status/types'; diff --git a/packages/page-rpc/src/Rpc/index.tsx b/packages/page-rpc/src/Rpc/index.tsx index a07902fc77..ee8daef1b0 100644 --- a/packages/page-rpc/src/Rpc/index.tsx +++ b/packages/page-rpc/src/Rpc/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-rpc authors & contributors +// Copyright 2017-2021 @polkadot/app-rpc authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useContext } from 'react'; diff --git a/packages/page-rpc/src/index.tsx b/packages/page-rpc/src/index.tsx index e12ae9da60..2753ce0497 100644 --- a/packages/page-rpc/src/index.tsx +++ b/packages/page-rpc/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-rpc authors & contributors +// Copyright 2017-2021 @polkadot/app-rpc authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AppProps as Props } from '@polkadot/react-components/types'; diff --git a/packages/page-rpc/src/translate.ts b/packages/page-rpc/src/translate.ts index da91550cd8..edd54c1ffa 100644 --- a/packages/page-rpc/src/translate.ts +++ b/packages/page-rpc/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-rpc authors & contributors +// Copyright 2017-2021 @polkadot/app-rpc authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-settings/src/Developer.tsx b/packages/page-settings/src/Developer.tsx index 24ffe38456..a072284c52 100644 --- a/packages/page-settings/src/Developer.tsx +++ b/packages/page-settings/src/Developer.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ActionStatus } from '@polkadot/react-components/Status/types'; diff --git a/packages/page-settings/src/General.tsx b/packages/page-settings/src/General.tsx index a5f6cb7593..eb0e6575f1 100644 --- a/packages/page-settings/src/General.tsx +++ b/packages/page-settings/src/General.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option } from '@polkadot/apps-config/settings/types'; diff --git a/packages/page-settings/src/I18n/StringInput.tsx b/packages/page-settings/src/I18n/StringInput.tsx index 322da00fb8..8f6e5deea3 100644 --- a/packages/page-settings/src/I18n/StringInput.tsx +++ b/packages/page-settings/src/I18n/StringInput.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback } from 'react'; diff --git a/packages/page-settings/src/I18n/index.tsx b/packages/page-settings/src/I18n/index.tsx index 05bfb42c2d..af08f3cb2e 100644 --- a/packages/page-settings/src/I18n/index.tsx +++ b/packages/page-settings/src/I18n/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import FileSaver from 'file-saver'; diff --git a/packages/page-settings/src/Metadata/ChainColorIndicator.tsx b/packages/page-settings/src/Metadata/ChainColorIndicator.tsx index 72be91fcf6..2cf804ee6b 100644 --- a/packages/page-settings/src/Metadata/ChainColorIndicator.tsx +++ b/packages/page-settings/src/Metadata/ChainColorIndicator.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-settings/src/Metadata/Extensions.tsx b/packages/page-settings/src/Metadata/Extensions.tsx index 2c6c1eaedd..c46644d5f0 100644 --- a/packages/page-settings/src/Metadata/Extensions.tsx +++ b/packages/page-settings/src/Metadata/Extensions.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ChainInfo } from '../types'; diff --git a/packages/page-settings/src/Metadata/NetworkSpecs.tsx b/packages/page-settings/src/Metadata/NetworkSpecs.tsx index f679866b78..771f489582 100644 --- a/packages/page-settings/src/Metadata/NetworkSpecs.tsx +++ b/packages/page-settings/src/Metadata/NetworkSpecs.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { NetworkSpecsStruct } from '@polkadot/ui-settings/types'; diff --git a/packages/page-settings/src/Metadata/iconOption.tsx b/packages/page-settings/src/Metadata/iconOption.tsx index 718b61823b..776a7b44b1 100644 --- a/packages/page-settings/src/Metadata/iconOption.tsx +++ b/packages/page-settings/src/Metadata/iconOption.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-settings/src/Metadata/index.tsx b/packages/page-settings/src/Metadata/index.tsx index 5307fbed76..ceca30dd86 100644 --- a/packages/page-settings/src/Metadata/index.tsx +++ b/packages/page-settings/src/Metadata/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-settings/src/index.tsx b/packages/page-settings/src/index.tsx index bc225e8e88..375b243c1e 100644 --- a/packages/page-settings/src/index.tsx +++ b/packages/page-settings/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AppProps as Props } from '@polkadot/react-components/types'; diff --git a/packages/page-settings/src/translate.ts b/packages/page-settings/src/translate.ts index 784c968603..b6cb4544fc 100644 --- a/packages/page-settings/src/translate.ts +++ b/packages/page-settings/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-settings/src/types.ts b/packages/page-settings/src/types.ts index 1fa4890ec2..2ceb00dee3 100644 --- a/packages/page-settings/src/types.ts +++ b/packages/page-settings/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { MetadataDef } from '@polkadot/extension-inject/types'; diff --git a/packages/page-settings/src/useChainInfo.ts b/packages/page-settings/src/useChainInfo.ts index 505dc92e6e..281298fc06 100644 --- a/packages/page-settings/src/useChainInfo.ts +++ b/packages/page-settings/src/useChainInfo.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiPromise } from '@polkadot/api'; diff --git a/packages/page-settings/src/useCounter.ts b/packages/page-settings/src/useCounter.ts index acdd87e1db..8e5d36fca6 100644 --- a/packages/page-settings/src/useCounter.ts +++ b/packages/page-settings/src/useCounter.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import useExtensions from './useExtensions'; diff --git a/packages/page-settings/src/useExtensions.ts b/packages/page-settings/src/useExtensions.ts index 8cd3b62e58..d1b414ef41 100644 --- a/packages/page-settings/src/useExtensions.ts +++ b/packages/page-settings/src/useExtensions.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiPromise } from '@polkadot/api'; diff --git a/packages/page-settings/src/util.tsx b/packages/page-settings/src/util.tsx index 6564673d5f..35e81753db 100644 --- a/packages/page-settings/src/util.tsx +++ b/packages/page-settings/src/util.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-settings authors & contributors +// Copyright 2017-2021 @polkadot/app-settings authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option } from '@polkadot/apps-config/settings/types'; diff --git a/packages/page-signing/src/Hash.tsx b/packages/page-signing/src/Hash.tsx index ba26360ace..72e145b8b1 100644 --- a/packages/page-signing/src/Hash.tsx +++ b/packages/page-signing/src/Hash.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-signing authors & contributors +// Copyright 2017-2021 @polkadot/app-signing authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useState } from 'react'; diff --git a/packages/page-signing/src/Sign.tsx b/packages/page-signing/src/Sign.tsx index 5b57f2cd30..a3ee113f5c 100644 --- a/packages/page-signing/src/Sign.tsx +++ b/packages/page-signing/src/Sign.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-signing authors & contributors +// Copyright 2017-2021 @polkadot/app-signing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Signer } from '@polkadot/api/types'; diff --git a/packages/page-signing/src/Unlock.tsx b/packages/page-signing/src/Unlock.tsx index a91cacc23e..528ef8291c 100644 --- a/packages/page-signing/src/Unlock.tsx +++ b/packages/page-signing/src/Unlock.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-signing authors & contributors +// Copyright 2017-2021 @polkadot/app-signing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringPair } from '@polkadot/keyring/types'; diff --git a/packages/page-signing/src/Verify.tsx b/packages/page-signing/src/Verify.tsx index c04727d2ce..ebc1b2271c 100644 --- a/packages/page-signing/src/Verify.tsx +++ b/packages/page-signing/src/Verify.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-signing authors & contributors +// Copyright 2017-2021 @polkadot/app-signing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeypairType } from '@polkadot/util-crypto/types'; diff --git a/packages/page-signing/src/index.tsx b/packages/page-signing/src/index.tsx index 6fd24311f1..bc93afad61 100644 --- a/packages/page-signing/src/index.tsx +++ b/packages/page-signing/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-signing authors & contributors +// Copyright 2017-2021 @polkadot/app-signing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AppProps as Props } from '@polkadot/react-components/types'; diff --git a/packages/page-signing/src/translate.ts b/packages/page-signing/src/translate.ts index d5e1b3a4cf..61de4d3555 100644 --- a/packages/page-signing/src/translate.ts +++ b/packages/page-signing/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-signing authors & contributors +// Copyright 2017-2021 @polkadot/app-signing authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-society/src/Overview/Bid.tsx b/packages/page-society/src/Overview/Bid.tsx index a4d15d0274..a0e26f810f 100644 --- a/packages/page-society/src/Overview/Bid.tsx +++ b/packages/page-society/src/Overview/Bid.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Bid } from '@polkadot/types/interfaces'; diff --git a/packages/page-society/src/Overview/BidNew.tsx b/packages/page-society/src/Overview/BidNew.tsx index 2017ee5e8a..7800330c47 100644 --- a/packages/page-society/src/Overview/BidNew.tsx +++ b/packages/page-society/src/Overview/BidNew.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-society/src/Overview/Bids.tsx b/packages/page-society/src/Overview/Bids.tsx index accfa790dc..d75f3a3e88 100644 --- a/packages/page-society/src/Overview/Bids.tsx +++ b/packages/page-society/src/Overview/Bids.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Bid } from '@polkadot/types/interfaces'; diff --git a/packages/page-society/src/Overview/Candidate.tsx b/packages/page-society/src/Overview/Candidate.tsx index 0234931412..dfdebe8f1d 100644 --- a/packages/page-society/src/Overview/Candidate.tsx +++ b/packages/page-society/src/Overview/Candidate.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSocietyCandidate } from '@polkadot/api-derive/types'; diff --git a/packages/page-society/src/Overview/CandidateVoting.tsx b/packages/page-society/src/Overview/CandidateVoting.tsx index f3f574fade..308399c097 100644 --- a/packages/page-society/src/Overview/CandidateVoting.tsx +++ b/packages/page-society/src/Overview/CandidateVoting.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useRef, useState } from 'react'; diff --git a/packages/page-society/src/Overview/Candidates.tsx b/packages/page-society/src/Overview/Candidates.tsx index 253319a7b7..1bffad6a75 100644 --- a/packages/page-society/src/Overview/Candidates.tsx +++ b/packages/page-society/src/Overview/Candidates.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSocietyCandidate } from '@polkadot/api-derive/types'; diff --git a/packages/page-society/src/Overview/Defender.tsx b/packages/page-society/src/Overview/Defender.tsx index a9e887a1d1..fc91eed16e 100644 --- a/packages/page-society/src/Overview/Defender.tsx +++ b/packages/page-society/src/Overview/Defender.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSociety, DeriveSocietyMember } from '@polkadot/api-derive/types'; diff --git a/packages/page-society/src/Overview/DefenderVoting.tsx b/packages/page-society/src/Overview/DefenderVoting.tsx index e19ed99c68..777c6095c5 100644 --- a/packages/page-society/src/Overview/DefenderVoting.tsx +++ b/packages/page-society/src/Overview/DefenderVoting.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useRef, useState } from 'react'; diff --git a/packages/page-society/src/Overview/Member.tsx b/packages/page-society/src/Overview/Member.tsx index 381e910237..5449e0cace 100644 --- a/packages/page-society/src/Overview/Member.tsx +++ b/packages/page-society/src/Overview/Member.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSocietyMember } from '@polkadot/api-derive/types'; diff --git a/packages/page-society/src/Overview/Members.tsx b/packages/page-society/src/Overview/Members.tsx index 89c16d0bff..5695694961 100644 --- a/packages/page-society/src/Overview/Members.tsx +++ b/packages/page-society/src/Overview/Members.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSociety, DeriveSocietyMember } from '@polkadot/api-derive/types'; diff --git a/packages/page-society/src/Overview/Summary.tsx b/packages/page-society/src/Overview/Summary.tsx index dfcdd83c80..32a9b1c4bf 100644 --- a/packages/page-society/src/Overview/Summary.tsx +++ b/packages/page-society/src/Overview/Summary.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSociety } from '@polkadot/api-derive/types'; diff --git a/packages/page-society/src/Overview/Votes.tsx b/packages/page-society/src/Overview/Votes.tsx index 85efd849e4..92e10320be 100644 --- a/packages/page-society/src/Overview/Votes.tsx +++ b/packages/page-society/src/Overview/Votes.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { VoteSplit, VoteType } from '../types'; diff --git a/packages/page-society/src/Overview/VotesExpander.tsx b/packages/page-society/src/Overview/VotesExpander.tsx index e0efdac2b2..e1a14d8515 100644 --- a/packages/page-society/src/Overview/VotesExpander.tsx +++ b/packages/page-society/src/Overview/VotesExpander.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { VoteType } from '../types'; diff --git a/packages/page-society/src/Overview/index.tsx b/packages/page-society/src/Overview/index.tsx index b1ed77a702..4e9d290b0e 100644 --- a/packages/page-society/src/Overview/index.tsx +++ b/packages/page-society/src/Overview/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSociety } from '@polkadot/api-derive/types'; diff --git a/packages/page-society/src/draw/canary.ts b/packages/page-society/src/draw/canary.ts index 3d3218e5d1..ee4b5d5c65 100644 --- a/packages/page-society/src/draw/canary.ts +++ b/packages/page-society/src/draw/canary.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 // Adapted (wih permission) from https://www.w3schools.com/code/tryit.asp?filename=GGIGKE2GG7N1 diff --git a/packages/page-society/src/index.tsx b/packages/page-society/src/index.tsx index 9a35bb4ef3..292cc1aaea 100644 --- a/packages/page-society/src/index.tsx +++ b/packages/page-society/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useRef } from 'react'; diff --git a/packages/page-society/src/translate.ts b/packages/page-society/src/translate.ts index 3c84eb786d..c0924c02a3 100644 --- a/packages/page-society/src/translate.ts +++ b/packages/page-society/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-society/src/types.ts b/packages/page-society/src/types.ts index ca178f4ac1..dd036640dc 100644 --- a/packages/page-society/src/types.ts +++ b/packages/page-society/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SocietyVote } from '@polkadot/types/interfaces'; diff --git a/packages/page-society/src/useCounter.ts b/packages/page-society/src/useCounter.ts index 46c8fb2a62..57df850e5c 100644 --- a/packages/page-society/src/useCounter.ts +++ b/packages/page-society/src/useCounter.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Bid } from '@polkadot/types/interfaces'; diff --git a/packages/page-society/src/useMembers.ts b/packages/page-society/src/useMembers.ts index f4a126b5c7..bd7d9587ee 100644 --- a/packages/page-society/src/useMembers.ts +++ b/packages/page-society/src/useMembers.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-society authors & contributors +// Copyright 2017-2021 @polkadot/app-society authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSocietyMember } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Actions/Account/BondExtra.tsx b/packages/page-staking/src/Actions/Account/BondExtra.tsx index 4b0e61595b..24df9fa4ba 100644 --- a/packages/page-staking/src/Actions/Account/BondExtra.tsx +++ b/packages/page-staking/src/Actions/Account/BondExtra.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAll, DeriveStakingAccount } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Actions/Account/InjectKeys.tsx b/packages/page-staking/src/Actions/Account/InjectKeys.tsx index 8a9f03406e..8bc533d051 100644 --- a/packages/page-staking/src/Actions/Account/InjectKeys.tsx +++ b/packages/page-staking/src/Actions/Account/InjectKeys.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeypairType } from '@polkadot/util-crypto/types'; diff --git a/packages/page-staking/src/Actions/Account/InputValidateAmount.tsx b/packages/page-staking/src/Actions/Account/InputValidateAmount.tsx index e28c0430c6..39820d5947 100644 --- a/packages/page-staking/src/Actions/Account/InputValidateAmount.tsx +++ b/packages/page-staking/src/Actions/Account/InputValidateAmount.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAll } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Actions/Account/InputValidationController.tsx b/packages/page-staking/src/Actions/Account/InputValidationController.tsx index de1c16bccf..cd49c6cba5 100644 --- a/packages/page-staking/src/Actions/Account/InputValidationController.tsx +++ b/packages/page-staking/src/Actions/Account/InputValidationController.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAll } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Actions/Account/InputValidationSessionKey.tsx b/packages/page-staking/src/Actions/Account/InputValidationSessionKey.tsx index ed7266feda..247ffe58be 100644 --- a/packages/page-staking/src/Actions/Account/InputValidationSessionKey.tsx +++ b/packages/page-staking/src/Actions/Account/InputValidationSessionKey.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { I18nProps } from '@polkadot/react-components/types'; diff --git a/packages/page-staking/src/Actions/Account/InputValidationUnstakeThreshold.tsx b/packages/page-staking/src/Actions/Account/InputValidationUnstakeThreshold.tsx index 39089b97f9..c8d1ec721b 100644 --- a/packages/page-staking/src/Actions/Account/InputValidationUnstakeThreshold.tsx +++ b/packages/page-staking/src/Actions/Account/InputValidationUnstakeThreshold.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-staking/src/Actions/Account/ListNominees.tsx b/packages/page-staking/src/Actions/Account/ListNominees.tsx index 50e7013149..4a3147261e 100644 --- a/packages/page-staking/src/Actions/Account/ListNominees.tsx +++ b/packages/page-staking/src/Actions/Account/ListNominees.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveEraExposure, DeriveSessionIndexes } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Actions/Account/Nominate.tsx b/packages/page-staking/src/Actions/Account/Nominate.tsx index 991ccbcbea..61af1e3fa5 100644 --- a/packages/page-staking/src/Actions/Account/Nominate.tsx +++ b/packages/page-staking/src/Actions/Account/Nominate.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SortedTargets } from '../../types'; diff --git a/packages/page-staking/src/Actions/Account/SetControllerAccount.tsx b/packages/page-staking/src/Actions/Account/SetControllerAccount.tsx index f6a245f946..ed26ef442b 100644 --- a/packages/page-staking/src/Actions/Account/SetControllerAccount.tsx +++ b/packages/page-staking/src/Actions/Account/SetControllerAccount.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useState } from 'react'; diff --git a/packages/page-staking/src/Actions/Account/SetRewardDestination.tsx b/packages/page-staking/src/Actions/Account/SetRewardDestination.tsx index 054f652b03..78fa649a26 100644 --- a/packages/page-staking/src/Actions/Account/SetRewardDestination.tsx +++ b/packages/page-staking/src/Actions/Account/SetRewardDestination.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { RewardDestination } from '@polkadot/types/interfaces'; diff --git a/packages/page-staking/src/Actions/Account/SetSessionKey.tsx b/packages/page-staking/src/Actions/Account/SetSessionKey.tsx index e775df840d..fe09bb3667 100644 --- a/packages/page-staking/src/Actions/Account/SetSessionKey.tsx +++ b/packages/page-staking/src/Actions/Account/SetSessionKey.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SessionInfo } from '../partials/types'; diff --git a/packages/page-staking/src/Actions/Account/Unbond.tsx b/packages/page-staking/src/Actions/Account/Unbond.tsx index 0d1751671e..899a0cabb0 100644 --- a/packages/page-staking/src/Actions/Account/Unbond.tsx +++ b/packages/page-staking/src/Actions/Account/Unbond.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, StakingLedger } from '@polkadot/types/interfaces'; diff --git a/packages/page-staking/src/Actions/Account/Validate.tsx b/packages/page-staking/src/Actions/Account/Validate.tsx index bf6a80a8ff..81f4ab0835 100644 --- a/packages/page-staking/src/Actions/Account/Validate.tsx +++ b/packages/page-staking/src/Actions/Account/Validate.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ValidateInfo } from '../partials/types'; diff --git a/packages/page-staking/src/Actions/Account/index.tsx b/packages/page-staking/src/Actions/Account/index.tsx index af41897050..76b3a55468 100644 --- a/packages/page-staking/src/Actions/Account/index.tsx +++ b/packages/page-staking/src/Actions/Account/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAll, DeriveStakingAccount } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Actions/NewNominator.tsx b/packages/page-staking/src/Actions/NewNominator.tsx index fe9c9934e5..3d981eae93 100644 --- a/packages/page-staking/src/Actions/NewNominator.tsx +++ b/packages/page-staking/src/Actions/NewNominator.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SortedTargets } from '../types'; diff --git a/packages/page-staking/src/Actions/NewStash.tsx b/packages/page-staking/src/Actions/NewStash.tsx index 30a32b9cc2..b1f490ee65 100644 --- a/packages/page-staking/src/Actions/NewStash.tsx +++ b/packages/page-staking/src/Actions/NewStash.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BondInfo } from './partials/types'; diff --git a/packages/page-staking/src/Actions/NewValidator.tsx b/packages/page-staking/src/Actions/NewValidator.tsx index bd099d1bd3..9637914aef 100644 --- a/packages/page-staking/src/Actions/NewValidator.tsx +++ b/packages/page-staking/src/Actions/NewValidator.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BondInfo, SessionInfo, ValidateInfo } from './partials/types'; diff --git a/packages/page-staking/src/Actions/destOptions.tsx b/packages/page-staking/src/Actions/destOptions.tsx index b76fc96c2d..8d1c3a7574 100644 --- a/packages/page-staking/src/Actions/destOptions.tsx +++ b/packages/page-staking/src/Actions/destOptions.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/page-staking/src/Actions/index.tsx b/packages/page-staking/src/Actions/index.tsx index 89ce17eab7..e9c429e7a4 100644 --- a/packages/page-staking/src/Actions/index.tsx +++ b/packages/page-staking/src/Actions/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { StakerState } from '@polkadot/react-hooks/types'; diff --git a/packages/page-staking/src/Actions/partials/Bond.tsx b/packages/page-staking/src/Actions/partials/Bond.tsx index c204ba9047..e0bdc006a1 100644 --- a/packages/page-staking/src/Actions/partials/Bond.tsx +++ b/packages/page-staking/src/Actions/partials/Bond.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAll } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Actions/partials/Nominate.tsx b/packages/page-staking/src/Actions/partials/Nominate.tsx index db7fbf5272..50de5cc254 100644 --- a/packages/page-staking/src/Actions/partials/Nominate.tsx +++ b/packages/page-staking/src/Actions/partials/Nominate.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SortedTargets } from '../../types'; diff --git a/packages/page-staking/src/Actions/partials/SessionKey.tsx b/packages/page-staking/src/Actions/partials/SessionKey.tsx index 26bd22a353..bbece18625 100644 --- a/packages/page-staking/src/Actions/partials/SessionKey.tsx +++ b/packages/page-staking/src/Actions/partials/SessionKey.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SessionInfo } from './types'; diff --git a/packages/page-staking/src/Actions/partials/Validate.tsx b/packages/page-staking/src/Actions/partials/Validate.tsx index 04831ff8fb..220f56deee 100644 --- a/packages/page-staking/src/Actions/partials/Validate.tsx +++ b/packages/page-staking/src/Actions/partials/Validate.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ValidateInfo } from './types'; diff --git a/packages/page-staking/src/Actions/partials/types.ts b/packages/page-staking/src/Actions/partials/types.ts index f9f252f17d..53af322a7a 100644 --- a/packages/page-staking/src/Actions/partials/types.ts +++ b/packages/page-staking/src/Actions/partials/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-staking/src/Actions/types.ts b/packages/page-staking/src/Actions/types.ts index 59c989bff6..1a71c7fe51 100644 --- a/packages/page-staking/src/Actions/types.ts +++ b/packages/page-staking/src/Actions/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, Balance, UnappliedSlashOther } from '@polkadot/types/interfaces'; diff --git a/packages/page-staking/src/Actions/useInactives.ts b/packages/page-staking/src/Actions/useInactives.ts index c89ad3013f..7bcb8d1806 100644 --- a/packages/page-staking/src/Actions/useInactives.ts +++ b/packages/page-staking/src/Actions/useInactives.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSessionIndexes } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Actions/useUnbondDuration.ts b/packages/page-staking/src/Actions/useUnbondDuration.ts index a407b3c075..fa96951101 100644 --- a/packages/page-staking/src/Actions/useUnbondDuration.ts +++ b/packages/page-staking/src/Actions/useUnbondDuration.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSessionInfo } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/ElectionBanner.tsx b/packages/page-staking/src/ElectionBanner.tsx index d83e028c6e..211a513c65 100644 --- a/packages/page-staking/src/ElectionBanner.tsx +++ b/packages/page-staking/src/ElectionBanner.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-staking/src/Filtering.tsx b/packages/page-staking/src/Filtering.tsx index 57380b0acd..5e4e39faf0 100644 --- a/packages/page-staking/src/Filtering.tsx +++ b/packages/page-staking/src/Filtering.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import queryString from 'query-string'; diff --git a/packages/page-staking/src/Legend.tsx b/packages/page-staking/src/Legend.tsx index 1e89dd7772..9ebcdfc97a 100644 --- a/packages/page-staking/src/Legend.tsx +++ b/packages/page-staking/src/Legend.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-staking/src/MaxBadge.tsx b/packages/page-staking/src/MaxBadge.tsx index 0661ce6001..1cf2b419ba 100644 --- a/packages/page-staking/src/MaxBadge.tsx +++ b/packages/page-staking/src/MaxBadge.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/page-staking/src/Overview/Address/Favorite.tsx b/packages/page-staking/src/Overview/Address/Favorite.tsx index c709ff5be4..fcb1f87a83 100644 --- a/packages/page-staking/src/Overview/Address/Favorite.tsx +++ b/packages/page-staking/src/Overview/Address/Favorite.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback } from 'react'; diff --git a/packages/page-staking/src/Overview/Address/NominatedBy.tsx b/packages/page-staking/src/Overview/Address/NominatedBy.tsx index fd10b41e2a..12fc6ba743 100644 --- a/packages/page-staking/src/Overview/Address/NominatedBy.tsx +++ b/packages/page-staking/src/Overview/Address/NominatedBy.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SlashingSpans } from '@polkadot/types/interfaces'; diff --git a/packages/page-staking/src/Overview/Address/StakeOther.tsx b/packages/page-staking/src/Overview/Address/StakeOther.tsx index 2e1c5ab61b..3e7c7031f4 100644 --- a/packages/page-staking/src/Overview/Address/StakeOther.tsx +++ b/packages/page-staking/src/Overview/Address/StakeOther.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { NominatorValue } from './types'; diff --git a/packages/page-staking/src/Overview/Address/Status.tsx b/packages/page-staking/src/Overview/Address/Status.tsx index 43606bf638..bb6913d75c 100644 --- a/packages/page-staking/src/Overview/Address/Status.tsx +++ b/packages/page-staking/src/Overview/Address/Status.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-staking/src/Overview/Address/index.tsx b/packages/page-staking/src/Overview/Address/index.tsx index 63377b45b8..4824e0428c 100644 --- a/packages/page-staking/src/Overview/Address/index.tsx +++ b/packages/page-staking/src/Overview/Address/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveAccountInfo, DeriveHeartbeatAuthor } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Overview/Address/types.ts b/packages/page-staking/src/Overview/Address/types.ts index 88e469ba88..c98ae6622a 100644 --- a/packages/page-staking/src/Overview/Address/types.ts +++ b/packages/page-staking/src/Overview/Address/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Balance } from '@polkadot/types/interfaces'; diff --git a/packages/page-staking/src/Overview/CurrentList.tsx b/packages/page-staking/src/Overview/CurrentList.tsx index 14460b8a87..3e06619f08 100644 --- a/packages/page-staking/src/Overview/CurrentList.tsx +++ b/packages/page-staking/src/Overview/CurrentList.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveHeartbeats, DeriveStakingOverview } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Overview/Summary.tsx b/packages/page-staking/src/Overview/Summary.tsx index 08f60fe86d..bf51a69651 100644 --- a/packages/page-staking/src/Overview/Summary.tsx +++ b/packages/page-staking/src/Overview/Summary.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveStakingOverview } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Overview/index.tsx b/packages/page-staking/src/Overview/index.tsx index 3104678daf..0273a715e0 100644 --- a/packages/page-staking/src/Overview/index.tsx +++ b/packages/page-staking/src/Overview/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveStakingOverview } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Overview/types.ts b/packages/page-staking/src/Overview/types.ts index a424670b6e..f5e67e24c3 100644 --- a/packages/page-staking/src/Overview/types.ts +++ b/packages/page-staking/src/Overview/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 export interface AddressDetails { diff --git a/packages/page-staking/src/Payouts/PayButton.tsx b/packages/page-staking/src/Payouts/PayButton.tsx index 17e56e8232..6dab7a24f9 100644 --- a/packages/page-staking/src/Payouts/PayButton.tsx +++ b/packages/page-staking/src/Payouts/PayButton.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-staking/src/Payouts/Stash.tsx b/packages/page-staking/src/Payouts/Stash.tsx index 885e3ce134..4a0ef02504 100644 --- a/packages/page-staking/src/Payouts/Stash.tsx +++ b/packages/page-staking/src/Payouts/Stash.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-staking/src/Payouts/Validator.tsx b/packages/page-staking/src/Payouts/Validator.tsx index 25038281f0..3b0af79338 100644 --- a/packages/page-staking/src/Payouts/Validator.tsx +++ b/packages/page-staking/src/Payouts/Validator.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { PayoutValidator } from './types'; diff --git a/packages/page-staking/src/Payouts/index.tsx b/packages/page-staking/src/Payouts/index.tsx index d2f22bd4e7..5af02381a9 100644 --- a/packages/page-staking/src/Payouts/index.tsx +++ b/packages/page-staking/src/Payouts/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/page-staking/src/Payouts/types.ts b/packages/page-staking/src/Payouts/types.ts index e993b84c4f..a5630e3d3b 100644 --- a/packages/page-staking/src/Payouts/types.ts +++ b/packages/page-staking/src/Payouts/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveStakerReward } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Payouts/useEraBlocks.ts b/packages/page-staking/src/Payouts/useEraBlocks.ts index c64836dfdb..b2c1420dee 100644 --- a/packages/page-staking/src/Payouts/useEraBlocks.ts +++ b/packages/page-staking/src/Payouts/useEraBlocks.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSessionProgress } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Payouts/useStakerPayouts.ts b/packages/page-staking/src/Payouts/useStakerPayouts.ts index 03460727b0..25ca435e0d 100644 --- a/packages/page-staking/src/Payouts/useStakerPayouts.ts +++ b/packages/page-staking/src/Payouts/useStakerPayouts.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option } from '@polkadot/types'; diff --git a/packages/page-staking/src/Payouts/util.tsx b/packages/page-staking/src/Payouts/util.tsx index c440c94056..df41060ad4 100644 --- a/packages/page-staking/src/Payouts/util.tsx +++ b/packages/page-staking/src/Payouts/util.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-staking/src/Query/ChartPoints.tsx b/packages/page-staking/src/Query/ChartPoints.tsx index c14ca81d2d..96a347b4bd 100644 --- a/packages/page-staking/src/Query/ChartPoints.tsx +++ b/packages/page-staking/src/Query/ChartPoints.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveStakerPoints } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Query/ChartPrefs.tsx b/packages/page-staking/src/Query/ChartPrefs.tsx index fc61d03327..41a2fd8c80 100644 --- a/packages/page-staking/src/Query/ChartPrefs.tsx +++ b/packages/page-staking/src/Query/ChartPrefs.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveStakerPrefs } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Query/ChartRewards.tsx b/packages/page-staking/src/Query/ChartRewards.tsx index a2705fd233..509dcec3cb 100644 --- a/packages/page-staking/src/Query/ChartRewards.tsx +++ b/packages/page-staking/src/Query/ChartRewards.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveEraRewards, DeriveOwnSlashes, DeriveStakerPoints } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Query/ChartStake.tsx b/packages/page-staking/src/Query/ChartStake.tsx index 14b9637cdd..bbdf308e40 100644 --- a/packages/page-staking/src/Query/ChartStake.tsx +++ b/packages/page-staking/src/Query/ChartStake.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveOwnExposure } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Query/Validator.tsx b/packages/page-staking/src/Query/Validator.tsx index b959e48995..5c3e706254 100644 --- a/packages/page-staking/src/Query/Validator.tsx +++ b/packages/page-staking/src/Query/Validator.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from './types'; diff --git a/packages/page-staking/src/Query/index.tsx b/packages/page-staking/src/Query/index.tsx index ce44ebc497..f2286fa040 100644 --- a/packages/page-staking/src/Query/index.tsx +++ b/packages/page-staking/src/Query/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useState } from 'react'; diff --git a/packages/page-staking/src/Query/types.ts b/packages/page-staking/src/Query/types.ts index 490eaca2df..a5f091c045 100644 --- a/packages/page-staking/src/Query/types.ts +++ b/packages/page-staking/src/Query/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-staking/src/Query/useBlockCounts.tsx b/packages/page-staking/src/Query/useBlockCounts.tsx index 528965a377..8bd5688cda 100644 --- a/packages/page-staking/src/Query/useBlockCounts.tsx +++ b/packages/page-staking/src/Query/useBlockCounts.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSessionIndexes } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Query/util.ts b/packages/page-staking/src/Query/util.ts index 178bc48667..9a2aeb00cd 100644 --- a/packages/page-staking/src/Query/util.ts +++ b/packages/page-staking/src/Query/util.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-staking/src/Slashes/Era.tsx b/packages/page-staking/src/Slashes/Era.tsx index 4ee6bc0453..f2d148058a 100644 --- a/packages/page-staking/src/Slashes/Era.tsx +++ b/packages/page-staking/src/Slashes/Era.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-staking/src/Slashes/Row.tsx b/packages/page-staking/src/Slashes/Row.tsx index c3442f04f4..7c21463643 100644 --- a/packages/page-staking/src/Slashes/Row.tsx +++ b/packages/page-staking/src/Slashes/Row.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Slash } from './types'; diff --git a/packages/page-staking/src/Slashes/Summary.tsx b/packages/page-staking/src/Slashes/Summary.tsx index 273c055f01..fe5b9b53e3 100644 --- a/packages/page-staking/src/Slashes/Summary.tsx +++ b/packages/page-staking/src/Slashes/Summary.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSessionProgress } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Slashes/index.tsx b/packages/page-staking/src/Slashes/index.tsx index 62034f0399..399c127430 100644 --- a/packages/page-staking/src/Slashes/index.tsx +++ b/packages/page-staking/src/Slashes/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { StakerState } from '@polkadot/react-hooks/types'; diff --git a/packages/page-staking/src/Slashes/types.ts b/packages/page-staking/src/Slashes/types.ts index c609d555f4..93899d918b 100644 --- a/packages/page-staking/src/Slashes/types.ts +++ b/packages/page-staking/src/Slashes/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UnappliedSlash } from '@polkadot/types/interfaces'; diff --git a/packages/page-staking/src/Targets/Nominate.tsx b/packages/page-staking/src/Targets/Nominate.tsx index ad43883727..9c1e692635 100644 --- a/packages/page-staking/src/Targets/Nominate.tsx +++ b/packages/page-staking/src/Targets/Nominate.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { StakerState } from '@polkadot/react-hooks/types'; diff --git a/packages/page-staking/src/Targets/Summary.tsx b/packages/page-staking/src/Targets/Summary.tsx index 7f71b43abb..e283287f9c 100644 --- a/packages/page-staking/src/Targets/Summary.tsx +++ b/packages/page-staking/src/Targets/Summary.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSessionIndexes } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Targets/Validator.tsx b/packages/page-staking/src/Targets/Validator.tsx index ed8fa0ab0b..ef17bac252 100644 --- a/packages/page-staking/src/Targets/Validator.tsx +++ b/packages/page-staking/src/Targets/Validator.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveAccountInfo } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Targets/index.tsx b/packages/page-staking/src/Targets/index.tsx index 13e831bad2..0832815a25 100644 --- a/packages/page-staking/src/Targets/index.tsx +++ b/packages/page-staking/src/Targets/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveHasIdentity, DeriveStakingOverview } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/Targets/useOwnNominators.ts b/packages/page-staking/src/Targets/useOwnNominators.ts index 782bec2eb5..666a62d095 100644 --- a/packages/page-staking/src/Targets/useOwnNominators.ts +++ b/packages/page-staking/src/Targets/useOwnNominators.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { StakerState } from '@polkadot/react-hooks/types'; diff --git a/packages/page-staking/src/constants.ts b/packages/page-staking/src/constants.ts index 3cb8967949..dbd9906548 100644 --- a/packages/page-staking/src/constants.ts +++ b/packages/page-staking/src/constants.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 export const MAX_NOMINATIONS = 16; diff --git a/packages/page-staking/src/index.tsx b/packages/page-staking/src/index.tsx index dcc807cbe6..50ef676955 100644 --- a/packages/page-staking/src/index.tsx +++ b/packages/page-staking/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveStakingOverview } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/translate.ts b/packages/page-staking/src/translate.ts index 882de18304..630f104c07 100644 --- a/packages/page-staking/src/translate.ts +++ b/packages/page-staking/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-staking/src/types.ts b/packages/page-staking/src/types.ts index 58e23129de..1f0dde5266 100644 --- a/packages/page-staking/src/types.ts +++ b/packages/page-staking/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Inflation } from '@polkadot/react-hooks/types'; diff --git a/packages/page-staking/src/useIdentities.ts b/packages/page-staking/src/useIdentities.ts index a56528a778..9b8271741a 100644 --- a/packages/page-staking/src/useIdentities.ts +++ b/packages/page-staking/src/useIdentities.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveHasIdentity } from '@polkadot/api-derive/types'; diff --git a/packages/page-staking/src/useNominations.ts b/packages/page-staking/src/useNominations.ts index ae650ddea9..673199587e 100644 --- a/packages/page-staking/src/useNominations.ts +++ b/packages/page-staking/src/useNominations.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option, StorageKey } from '@polkadot/types'; diff --git a/packages/page-staking/src/useSortedTargets.ts b/packages/page-staking/src/useSortedTargets.ts index 1010eabe45..e9049c290d 100644 --- a/packages/page-staking/src/useSortedTargets.ts +++ b/packages/page-staking/src/useSortedTargets.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiPromise } from '@polkadot/api'; diff --git a/packages/page-storage/src/Queries.tsx b/packages/page-storage/src/Queries.tsx index 6a251d8889..27316970a2 100644 --- a/packages/page-storage/src/Queries.tsx +++ b/packages/page-storage/src/Queries.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-storage authors & contributors +// Copyright 2017-2021 @polkadot/app-storage authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { QueryTypes } from './types'; diff --git a/packages/page-storage/src/Query.tsx b/packages/page-storage/src/Query.tsx index 4009c4e995..6decc0623c 100644 --- a/packages/page-storage/src/Query.tsx +++ b/packages/page-storage/src/Query.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-storage authors & contributors +// Copyright 2017-2021 @polkadot/app-storage authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { QueryableStorageEntry } from '@polkadot/api/types'; diff --git a/packages/page-storage/src/Selection/Consts.tsx b/packages/page-storage/src/Selection/Consts.tsx index 3d6a93e785..2def1ecdaa 100644 --- a/packages/page-storage/src/Selection/Consts.tsx +++ b/packages/page-storage/src/Selection/Consts.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-storage authors & contributors +// Copyright 2017-2021 @polkadot/app-storage authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ConstantCodec } from '@polkadot/metadata/decorate/types'; diff --git a/packages/page-storage/src/Selection/Modules.tsx b/packages/page-storage/src/Selection/Modules.tsx index f8d85bf37d..08f2d7cd8d 100644 --- a/packages/page-storage/src/Selection/Modules.tsx +++ b/packages/page-storage/src/Selection/Modules.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-storage authors & contributors +// Copyright 2017-2021 @polkadot/app-storage authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { QueryableStorageEntry } from '@polkadot/api/types'; diff --git a/packages/page-storage/src/Selection/Raw.tsx b/packages/page-storage/src/Selection/Raw.tsx index 8f03de3bdf..26764d6792 100644 --- a/packages/page-storage/src/Selection/Raw.tsx +++ b/packages/page-storage/src/Selection/Raw.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-storage authors & contributors +// Copyright 2017-2021 @polkadot/app-storage authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ComponentProps as Props } from '../types'; diff --git a/packages/page-storage/src/Selection/index.tsx b/packages/page-storage/src/Selection/index.tsx index 8dc818f398..c12e111f59 100644 --- a/packages/page-storage/src/Selection/index.tsx +++ b/packages/page-storage/src/Selection/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-storage authors & contributors +// Copyright 2017-2021 @polkadot/app-storage authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ParitalQueryTypes, QueryTypes } from '../types'; diff --git a/packages/page-storage/src/index.tsx b/packages/page-storage/src/index.tsx index f4a214776c..f58d6d623f 100644 --- a/packages/page-storage/src/index.tsx +++ b/packages/page-storage/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-storage authors & contributors +// Copyright 2017-2021 @polkadot/app-storage authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AppProps as Props } from '@polkadot/react-components/types'; diff --git a/packages/page-storage/src/translate.ts b/packages/page-storage/src/translate.ts index 102e35c2d2..63e032b407 100644 --- a/packages/page-storage/src/translate.ts +++ b/packages/page-storage/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-storage authors & contributors +// Copyright 2017-2021 @polkadot/app-storage authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-storage/src/types.ts b/packages/page-storage/src/types.ts index 4340274bbb..267ba044cd 100644 --- a/packages/page-storage/src/types.ts +++ b/packages/page-storage/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-storage authors & contributors +// Copyright 2017-2021 @polkadot/app-storage authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { QueryableStorageEntry } from '@polkadot/api/types'; diff --git a/packages/page-sudo/src/SetKey.tsx b/packages/page-sudo/src/SetKey.tsx index c5bd355098..867413e8f0 100644 --- a/packages/page-sudo/src/SetKey.tsx +++ b/packages/page-sudo/src/SetKey.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useEffect, useState } from 'react'; diff --git a/packages/page-sudo/src/Sudo.tsx b/packages/page-sudo/src/Sudo.tsx index 4fdda8558e..67be66ae37 100644 --- a/packages/page-sudo/src/Sudo.tsx +++ b/packages/page-sudo/src/Sudo.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-sudo/src/index.tsx b/packages/page-sudo/src/index.tsx index 38acb46c5e..2661dd2113 100644 --- a/packages/page-sudo/src/index.tsx +++ b/packages/page-sudo/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-js authors & contributors +// Copyright 2017-2021 @polkadot/app-js authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AppProps as Props } from '@polkadot/react-components/types'; diff --git a/packages/page-sudo/src/translate.ts b/packages/page-sudo/src/translate.ts index 7ac090de90..b300650420 100644 --- a/packages/page-sudo/src/translate.ts +++ b/packages/page-sudo/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-sudo authors & contributors +// Copyright 2017-2021 @polkadot/app-sudo authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-sudo/src/types.ts b/packages/page-sudo/src/types.ts index 7277bf5e4f..b7c63e0810 100644 --- a/packages/page-sudo/src/types.ts +++ b/packages/page-sudo/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 export interface ComponentProps { diff --git a/packages/page-tech-comm/src/Overview/Members.tsx b/packages/page-tech-comm/src/Overview/Members.tsx index 817403f400..852e20cc8b 100644 --- a/packages/page-tech-comm/src/Overview/Members.tsx +++ b/packages/page-tech-comm/src/Overview/Members.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-tech-comm authors & contributors +// Copyright 2017-2021 @polkadot/app-tech-comm authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId } from '@polkadot/types/interfaces'; diff --git a/packages/page-tech-comm/src/Overview/Summary.tsx b/packages/page-tech-comm/src/Overview/Summary.tsx index 8d65ede586..0d2c316dda 100644 --- a/packages/page-tech-comm/src/Overview/Summary.tsx +++ b/packages/page-tech-comm/src/Overview/Summary.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-tech-comm authors & contributors +// Copyright 2017-2021 @polkadot/app-tech-comm authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { u32 } from '@polkadot/types'; diff --git a/packages/page-tech-comm/src/Overview/index.tsx b/packages/page-tech-comm/src/Overview/index.tsx index e4dd3809be..80709af33e 100644 --- a/packages/page-tech-comm/src/Overview/index.tsx +++ b/packages/page-tech-comm/src/Overview/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-tech-comm authors & contributors +// Copyright 2017-2021 @polkadot/app-tech-comm authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ComponentProps as Props } from '../types'; diff --git a/packages/page-tech-comm/src/Proposals/Close.tsx b/packages/page-tech-comm/src/Proposals/Close.tsx index c72e64da3c..d11d7a083a 100644 --- a/packages/page-tech-comm/src/Proposals/Close.tsx +++ b/packages/page-tech-comm/src/Proposals/Close.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-tech-comm authors & contributors +// Copyright 2017-2021 @polkadot/app-tech-comm authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Hash, Proposal, ProposalIndex } from '@polkadot/types/interfaces'; diff --git a/packages/page-tech-comm/src/Proposals/Proposal.tsx b/packages/page-tech-comm/src/Proposals/Proposal.tsx index e27ade9edd..7ce7a06118 100644 --- a/packages/page-tech-comm/src/Proposals/Proposal.tsx +++ b/packages/page-tech-comm/src/Proposals/Proposal.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-tech-comm authors & contributors +// Copyright 2017-2021 @polkadot/app-tech-comm authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option } from '@polkadot/types'; diff --git a/packages/page-tech-comm/src/Proposals/Propose.tsx b/packages/page-tech-comm/src/Proposals/Propose.tsx index e43c847f7d..435a914dfb 100644 --- a/packages/page-tech-comm/src/Proposals/Propose.tsx +++ b/packages/page-tech-comm/src/Proposals/Propose.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-tech-comm authors & contributors +// Copyright 2017-2021 @polkadot/app-tech-comm authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-tech-comm/src/Proposals/Voting.tsx b/packages/page-tech-comm/src/Proposals/Voting.tsx index 8b997edb1f..8e3a70bdae 100644 --- a/packages/page-tech-comm/src/Proposals/Voting.tsx +++ b/packages/page-tech-comm/src/Proposals/Voting.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-tech-comm authors & contributors +// Copyright 2017-2021 @polkadot/app-tech-comm authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, Hash } from '@polkadot/types/interfaces'; diff --git a/packages/page-tech-comm/src/Proposals/index.tsx b/packages/page-tech-comm/src/Proposals/index.tsx index 3f6207c5ba..1b431d6c11 100644 --- a/packages/page-tech-comm/src/Proposals/index.tsx +++ b/packages/page-tech-comm/src/Proposals/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-tech-comm authors & contributors +// Copyright 2017-2021 @polkadot/app-tech-comm authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Hash } from '@polkadot/types/interfaces'; diff --git a/packages/page-tech-comm/src/index.tsx b/packages/page-tech-comm/src/index.tsx index f7d0616a17..7489eac8cf 100644 --- a/packages/page-tech-comm/src/index.tsx +++ b/packages/page-tech-comm/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-tech-comm authors & contributors +// Copyright 2017-2021 @polkadot/app-tech-comm authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option } from '@polkadot/types'; diff --git a/packages/page-tech-comm/src/translate.ts b/packages/page-tech-comm/src/translate.ts index 8e6e3b33e8..6908279898 100644 --- a/packages/page-tech-comm/src/translate.ts +++ b/packages/page-tech-comm/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-tech-comm authors & contributors +// Copyright 2017-2021 @polkadot/app-tech-comm authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-tech-comm/src/types.ts b/packages/page-tech-comm/src/types.ts index 286430746f..4d491bcb7a 100644 --- a/packages/page-tech-comm/src/types.ts +++ b/packages/page-tech-comm/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, Hash } from '@polkadot/types/interfaces'; diff --git a/packages/page-tech-comm/src/useCounter.ts b/packages/page-tech-comm/src/useCounter.ts index c6f01aaddb..1b26046998 100644 --- a/packages/page-tech-comm/src/useCounter.ts +++ b/packages/page-tech-comm/src/useCounter.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Hash } from '@polkadot/types/interfaces'; diff --git a/packages/page-treasury/src/Overview/Council.tsx b/packages/page-treasury/src/Overview/Council.tsx index da2baa0dae..663a61a98f 100644 --- a/packages/page-treasury/src/Overview/Council.tsx +++ b/packages/page-treasury/src/Overview/Council.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-treasury authors & contributors +// Copyright 2017-2021 @polkadot/app-treasury authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-treasury/src/Overview/Proposal.tsx b/packages/page-treasury/src/Overview/Proposal.tsx index 146ba3aec3..11312d024c 100644 --- a/packages/page-treasury/src/Overview/Proposal.tsx +++ b/packages/page-treasury/src/Overview/Proposal.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-treasury authors & contributors +// Copyright 2017-2021 @polkadot/app-treasury authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveTreasuryProposal } from '@polkadot/api-derive/types'; diff --git a/packages/page-treasury/src/Overview/ProposalCreate.tsx b/packages/page-treasury/src/Overview/ProposalCreate.tsx index 248ca53046..7d5e841ab9 100644 --- a/packages/page-treasury/src/Overview/ProposalCreate.tsx +++ b/packages/page-treasury/src/Overview/ProposalCreate.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-treasury authors & contributors +// Copyright 2017-2021 @polkadot/app-treasury authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-treasury/src/Overview/Proposals.tsx b/packages/page-treasury/src/Overview/Proposals.tsx index 89cf6c68c6..c695fbbe37 100644 --- a/packages/page-treasury/src/Overview/Proposals.tsx +++ b/packages/page-treasury/src/Overview/Proposals.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-treasury authors & contributors +// Copyright 2017-2021 @polkadot/app-treasury authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveTreasuryProposal } from '@polkadot/api-derive/types'; diff --git a/packages/page-treasury/src/Overview/Summary.tsx b/packages/page-treasury/src/Overview/Summary.tsx index 61db6db6e5..9454c6deb2 100644 --- a/packages/page-treasury/src/Overview/Summary.tsx +++ b/packages/page-treasury/src/Overview/Summary.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-treasury authors & contributors +// Copyright 2017-2021 @polkadot/app-treasury authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAccount } from '@polkadot/api-derive/types'; diff --git a/packages/page-treasury/src/Overview/index.tsx b/packages/page-treasury/src/Overview/index.tsx index cb5560883d..e476f1b697 100644 --- a/packages/page-treasury/src/Overview/index.tsx +++ b/packages/page-treasury/src/Overview/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-treasury authors & contributors +// Copyright 2017-2021 @polkadot/app-treasury authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveTreasuryProposals } from '@polkadot/api-derive/types'; diff --git a/packages/page-treasury/src/Tips/Tip.tsx b/packages/page-treasury/src/Tips/Tip.tsx index 51651aeafb..673ef8dd45 100644 --- a/packages/page-treasury/src/Tips/Tip.tsx +++ b/packages/page-treasury/src/Tips/Tip.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-treasury authors & contributors +// Copyright 2017-2021 @polkadot/app-treasury authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, Balance, BlockNumber, OpenTip, OpenTipTo225 } from '@polkadot/types/interfaces'; diff --git a/packages/page-treasury/src/Tips/TipCreate.tsx b/packages/page-treasury/src/Tips/TipCreate.tsx index 5f1397f891..d27b77a9d6 100644 --- a/packages/page-treasury/src/Tips/TipCreate.tsx +++ b/packages/page-treasury/src/Tips/TipCreate.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-treasury authors & contributors +// Copyright 2017-2021 @polkadot/app-treasury authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-treasury/src/Tips/TipEndorse.tsx b/packages/page-treasury/src/Tips/TipEndorse.tsx index a405c138e1..5867e6da72 100644 --- a/packages/page-treasury/src/Tips/TipEndorse.tsx +++ b/packages/page-treasury/src/Tips/TipEndorse.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-treasury authors & contributors +// Copyright 2017-2021 @polkadot/app-treasury authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/page-treasury/src/Tips/TipReason.tsx b/packages/page-treasury/src/Tips/TipReason.tsx index 1d4f283823..2e5a41a667 100644 --- a/packages/page-treasury/src/Tips/TipReason.tsx +++ b/packages/page-treasury/src/Tips/TipReason.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-treasury authors & contributors +// Copyright 2017-2021 @polkadot/app-treasury authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Bytes, Option } from '@polkadot/types'; diff --git a/packages/page-treasury/src/Tips/Tips.tsx b/packages/page-treasury/src/Tips/Tips.tsx index f465e03743..2c24364262 100644 --- a/packages/page-treasury/src/Tips/Tips.tsx +++ b/packages/page-treasury/src/Tips/Tips.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-treasury authors & contributors +// Copyright 2017-2021 @polkadot/app-treasury authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option } from '@polkadot/types'; diff --git a/packages/page-treasury/src/Tips/index.tsx b/packages/page-treasury/src/Tips/index.tsx index 427402735b..c5e2592a5c 100644 --- a/packages/page-treasury/src/Tips/index.tsx +++ b/packages/page-treasury/src/Tips/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-treasury authors & contributors +// Copyright 2017-2021 @polkadot/app-treasury authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/page-treasury/src/index.tsx b/packages/page-treasury/src/index.tsx index 61d5f0bd63..04e152161d 100644 --- a/packages/page-treasury/src/index.tsx +++ b/packages/page-treasury/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-treasury authors & contributors +// Copyright 2017-2021 @polkadot/app-treasury authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useEffect, useMemo, useState } from 'react'; diff --git a/packages/page-treasury/src/translate.ts b/packages/page-treasury/src/translate.ts index 4701f8819a..32bf46de8a 100644 --- a/packages/page-treasury/src/translate.ts +++ b/packages/page-treasury/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-explorer authors & contributors +// Copyright 2017-2021 @polkadot/app-explorer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/page-treasury/src/useCounter.ts b/packages/page-treasury/src/useCounter.ts index efe6a0302b..221bb4ee55 100644 --- a/packages/page-treasury/src/useCounter.ts +++ b/packages/page-treasury/src/useCounter.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-treasury authors & contributors +// Copyright 2017-2021 @polkadot/app-treasury authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveTreasuryProposals } from '@polkadot/api-derive/types'; diff --git a/packages/react-api/src/Api.tsx b/packages/react-api/src/Api.tsx index fbd2c54792..867334f332 100644 --- a/packages/react-api/src/Api.tsx +++ b/packages/react-api/src/Api.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { InjectedExtension } from '@polkadot/extension-inject/types'; diff --git a/packages/react-api/src/ApiContext.ts b/packages/react-api/src/ApiContext.ts index 03b4c64d73..820498d03c 100644 --- a/packages/react-api/src/ApiContext.ts +++ b/packages/react-api/src/ApiContext.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiProps } from './types'; diff --git a/packages/react-api/src/hoc/api.tsx b/packages/react-api/src/hoc/api.tsx index cf60259c17..ac36aef83a 100644 --- a/packages/react-api/src/hoc/api.tsx +++ b/packages/react-api/src/hoc/api.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiProps, SubtractProps } from '../types'; diff --git a/packages/react-api/src/hoc/call.tsx b/packages/react-api/src/hoc/call.tsx index ccd19627be..016e6f5400 100644 --- a/packages/react-api/src/hoc/call.tsx +++ b/packages/react-api/src/hoc/call.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 // SInce this file is deemed deprecated (and awaiting removal), we just don't care diff --git a/packages/react-api/src/hoc/callDiv.tsx b/packages/react-api/src/hoc/callDiv.tsx index 04431037f1..1048b17200 100644 --- a/packages/react-api/src/hoc/callDiv.tsx +++ b/packages/react-api/src/hoc/callDiv.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BaseProps } from '../types'; diff --git a/packages/react-api/src/hoc/calls.ts b/packages/react-api/src/hoc/calls.ts index 8c51fbe57c..1530b721f2 100644 --- a/packages/react-api/src/hoc/calls.ts +++ b/packages/react-api/src/hoc/calls.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiProps, SubtractProps } from '../types'; diff --git a/packages/react-api/src/hoc/index.ts b/packages/react-api/src/hoc/index.ts index 59e146a5f1..d68c599eaa 100644 --- a/packages/react-api/src/hoc/index.ts +++ b/packages/react-api/src/hoc/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 export { default as withApi } from './api'; diff --git a/packages/react-api/src/hoc/multi.ts b/packages/react-api/src/hoc/multi.ts index 4dc61bf544..f8979eb738 100644 --- a/packages/react-api/src/hoc/multi.ts +++ b/packages/react-api/src/hoc/multi.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-api/src/hoc/observable.tsx b/packages/react-api/src/hoc/observable.tsx index ea94359dea..521d276dfc 100644 --- a/packages/react-api/src/hoc/observable.tsx +++ b/packages/react-api/src/hoc/observable.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 // TODO: Lots of duplicated code between this and withObservable, surely there is a better way of doing this? diff --git a/packages/react-api/src/hoc/onlyOn.tsx b/packages/react-api/src/hoc/onlyOn.tsx index 3315d817f1..4d9271fcc1 100644 --- a/packages/react-api/src/hoc/onlyOn.tsx +++ b/packages/react-api/src/hoc/onlyOn.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Environment } from '../types'; diff --git a/packages/react-api/src/hoc/types.ts b/packages/react-api/src/hoc/types.ts index 200d63ec7b..844eaf1410 100644 --- a/packages/react-api/src/hoc/types.ts +++ b/packages/react-api/src/hoc/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OnChangeCb } from '../types'; diff --git a/packages/react-api/src/index.ts b/packages/react-api/src/index.ts index 63dfca77d8..bb22f5fde4 100644 --- a/packages/react-api/src/index.ts +++ b/packages/react-api/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import Api, { api, DEFAULT_DECIMALS, DEFAULT_SS58 } from './Api'; diff --git a/packages/react-api/src/ledger.ts b/packages/react-api/src/ledger.ts index 0e5464b230..cf9f0a0881 100644 --- a/packages/react-api/src/ledger.ts +++ b/packages/react-api/src/ledger.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import { ledgerChains } from '@polkadot/apps-config'; diff --git a/packages/react-api/src/transform/echo.ts b/packages/react-api/src/transform/echo.ts index 8faf51db08..1fe73cf838 100644 --- a/packages/react-api/src/transform/echo.ts +++ b/packages/react-api/src/transform/echo.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 // eslint-disable-next-line @typescript-eslint/no-unused-vars diff --git a/packages/react-api/src/typeRegistry.ts b/packages/react-api/src/typeRegistry.ts index 48491304d2..afc323144d 100644 --- a/packages/react-api/src/typeRegistry.ts +++ b/packages/react-api/src/typeRegistry.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import { TypeRegistry } from '@polkadot/types/create'; diff --git a/packages/react-api/src/types.ts b/packages/react-api/src/types.ts index c0a830bda7..571273c6b6 100644 --- a/packages/react-api/src/types.ts +++ b/packages/react-api/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsicFunction } from '@polkadot/api/promise/types'; diff --git a/packages/react-api/src/urlTypes.ts b/packages/react-api/src/urlTypes.ts index a6b123785e..3d22e75965 100644 --- a/packages/react-api/src/urlTypes.ts +++ b/packages/react-api/src/urlTypes.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import { unzlibSync, zlibSync } from 'fflate'; diff --git a/packages/react-api/src/util/getEnvironment.ts b/packages/react-api/src/util/getEnvironment.ts index 9e770a1c40..44dc0c7e8b 100644 --- a/packages/react-api/src/util/getEnvironment.ts +++ b/packages/react-api/src/util/getEnvironment.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Environment } from '../types'; diff --git a/packages/react-api/src/util/historic.ts b/packages/react-api/src/util/historic.ts index 6d62f35d7a..43ad5b4430 100644 --- a/packages/react-api/src/util/historic.ts +++ b/packages/react-api/src/util/historic.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Hash } from '@polkadot/types/interfaces'; diff --git a/packages/react-api/src/util/index.ts b/packages/react-api/src/util/index.ts index 7182fdd2cc..3d17683655 100644 --- a/packages/react-api/src/util/index.ts +++ b/packages/react-api/src/util/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import getEnvironment from './getEnvironment'; diff --git a/packages/react-api/src/util/intervalObservable.ts b/packages/react-api/src/util/intervalObservable.ts index 554726ecd2..2d6551458a 100644 --- a/packages/react-api/src/util/intervalObservable.ts +++ b/packages/react-api/src/util/intervalObservable.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { CallState } from '../types'; diff --git a/packages/react-api/src/util/isEqual.ts b/packages/react-api/src/util/isEqual.ts index 9485a76025..669d8ebf56 100644 --- a/packages/react-api/src/util/isEqual.ts +++ b/packages/react-api/src/util/isEqual.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 function flatten (key: string | null, value?: unknown): unknown { diff --git a/packages/react-api/src/util/triggerChange.ts b/packages/react-api/src/util/triggerChange.ts index 1dd853dcf9..45e73dfa1b 100644 --- a/packages/react-api/src/util/triggerChange.ts +++ b/packages/react-api/src/util/triggerChange.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { OnChangeCb } from '../types'; diff --git a/packages/react-api/test/enzyme.js b/packages/react-api/test/enzyme.js index e75ba335f8..3272a832b8 100644 --- a/packages/react-api/test/enzyme.js +++ b/packages/react-api/test/enzyme.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 const Adapter = require('enzyme-adapter-react-16'); diff --git a/packages/react-api/test/observable.js b/packages/react-api/test/observable.js index e7b6ef2468..e0185aca14 100644 --- a/packages/react-api/test/observable.js +++ b/packages/react-api/test/observable.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-api authors & contributors +// Copyright 2017-2021 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 const createObservable = require('@polkadot/api-rx/observable'); diff --git a/packages/react-api/webpack.config.js b/packages/react-api/webpack.config.js index b8c4b37a96..16d1525fa1 100644 --- a/packages/react-api/webpack.config.js +++ b/packages/react-api/webpack.config.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 const ENV = process.env.NODE_ENV || 'development'; diff --git a/packages/react-components/src/AccountIndex.tsx b/packages/react-components/src/AccountIndex.tsx index 880dd11d23..b89d86cb53 100644 --- a/packages/react-components/src/AccountIndex.tsx +++ b/packages/react-components/src/AccountIndex.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveAccountInfo } from '@polkadot/api-derive/types'; diff --git a/packages/react-components/src/AccountName.tsx b/packages/react-components/src/AccountName.tsx index 56eb56c954..b3a90fef7a 100644 --- a/packages/react-components/src/AccountName.tsx +++ b/packages/react-components/src/AccountName.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; diff --git a/packages/react-components/src/ActionItem.tsx b/packages/react-components/src/ActionItem.tsx index 9892d4499f..1acd6a183d 100644 --- a/packages/react-components/src/ActionItem.tsx +++ b/packages/react-components/src/ActionItem.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Proposal } from '@polkadot/types/interfaces'; diff --git a/packages/react-components/src/AddressInfo.tsx b/packages/react-components/src/AddressInfo.tsx index bf211a824f..e099d47439 100644 --- a/packages/react-components/src/AddressInfo.tsx +++ b/packages/react-components/src/AddressInfo.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/react-components/src/AddressMini.tsx b/packages/react-components/src/AddressMini.tsx index d4f494953d..f2b610cef8 100644 --- a/packages/react-components/src/AddressMini.tsx +++ b/packages/react-components/src/AddressMini.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, AccountIndex, Address } from '@polkadot/types/interfaces'; diff --git a/packages/react-components/src/AddressRow.tsx b/packages/react-components/src/AddressRow.tsx index 970282fc22..95e5f0445a 100644 --- a/packages/react-components/src/AddressRow.tsx +++ b/packages/react-components/src/AddressRow.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, AccountIndex, Address } from '@polkadot/types/interfaces'; diff --git a/packages/react-components/src/AddressSmall.tsx b/packages/react-components/src/AddressSmall.tsx index d3a7308d70..8c350dd4f9 100644 --- a/packages/react-components/src/AddressSmall.tsx +++ b/packages/react-components/src/AddressSmall.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, Address } from '@polkadot/types/interfaces'; diff --git a/packages/react-components/src/AddressToggle.tsx b/packages/react-components/src/AddressToggle.tsx index cdca5ac141..3a1aa44ac2 100644 --- a/packages/react-components/src/AddressToggle.tsx +++ b/packages/react-components/src/AddressToggle.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveAccountInfo } from '@polkadot/api-derive/types'; diff --git a/packages/react-components/src/Available.tsx b/packages/react-components/src/Available.tsx index 7ec820f7db..9ce4a5c77f 100644 --- a/packages/react-components/src/Available.tsx +++ b/packages/react-components/src/Available.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, AccountIndex, Address } from '@polkadot/types/interfaces'; diff --git a/packages/react-components/src/AvatarItem.tsx b/packages/react-components/src/AvatarItem.tsx index 6cd1e8495b..7dd7f7a557 100644 --- a/packages/react-components/src/AvatarItem.tsx +++ b/packages/react-components/src/AvatarItem.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-parachains authors & contributors +// Copyright 2017-2021 @polkadot/app-parachains authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/Badge.tsx b/packages/react-components/src/Badge.tsx index 07819dfba4..9cc8a53d49 100644 --- a/packages/react-components/src/Badge.tsx +++ b/packages/react-components/src/Badge.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; diff --git a/packages/react-components/src/Balance.tsx b/packages/react-components/src/Balance.tsx index 384a71db7b..415b30e9af 100644 --- a/packages/react-components/src/Balance.tsx +++ b/packages/react-components/src/Balance.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, AccountIndex, Address } from '@polkadot/types/interfaces'; diff --git a/packages/react-components/src/BatchWarning.tsx b/packages/react-components/src/BatchWarning.tsx index 7f55ca055a..51b1291078 100644 --- a/packages/react-components/src/BatchWarning.tsx +++ b/packages/react-components/src/BatchWarning.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/Bonded.tsx b/packages/react-components/src/Bonded.tsx index aa6346af13..835b82f696 100644 --- a/packages/react-components/src/Bonded.tsx +++ b/packages/react-components/src/Bonded.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, AccountIndex, Address } from '@polkadot/types/interfaces'; diff --git a/packages/react-components/src/Button/Button.tsx b/packages/react-components/src/Button/Button.tsx index 4518bd3ac0..6fcea24d82 100644 --- a/packages/react-components/src/Button/Button.tsx +++ b/packages/react-components/src/Button/Button.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '../types'; diff --git a/packages/react-components/src/Button/Group.tsx b/packages/react-components/src/Button/Group.tsx index 710860fa88..393c5063a7 100644 --- a/packages/react-components/src/Button/Group.tsx +++ b/packages/react-components/src/Button/Group.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { GroupProps } from './types'; diff --git a/packages/react-components/src/Button/index.tsx b/packages/react-components/src/Button/index.tsx index 9533c25fa3..e758eddc7f 100644 --- a/packages/react-components/src/Button/index.tsx +++ b/packages/react-components/src/Button/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ButtonType } from './types'; diff --git a/packages/react-components/src/Button/types.ts b/packages/react-components/src/Button/types.ts index bb2f6ee90f..4681462190 100644 --- a/packages/react-components/src/Button/types.ts +++ b/packages/react-components/src/Button/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; diff --git a/packages/react-components/src/ButtonCancel.tsx b/packages/react-components/src/ButtonCancel.tsx index e386aaa12e..e0d4588e25 100644 --- a/packages/react-components/src/ButtonCancel.tsx +++ b/packages/react-components/src/ButtonCancel.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/Call.tsx b/packages/react-components/src/Call.tsx index f6a458cbed..d1b940d7d1 100644 --- a/packages/react-components/src/Call.tsx +++ b/packages/react-components/src/Call.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Hash } from '@polkadot/types/interfaces'; diff --git a/packages/react-components/src/CallExpander.tsx b/packages/react-components/src/CallExpander.tsx index ee4628276c..3f14b1c382 100644 --- a/packages/react-components/src/CallExpander.tsx +++ b/packages/react-components/src/CallExpander.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Call } from '@polkadot/types/interfaces'; diff --git a/packages/react-components/src/Card.tsx b/packages/react-components/src/Card.tsx index e4a36c887e..9c221d7df3 100644 --- a/packages/react-components/src/Card.tsx +++ b/packages/react-components/src/Card.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/CardSummary.tsx b/packages/react-components/src/CardSummary.tsx index 9f2930bf58..4ddf93e424 100644 --- a/packages/react-components/src/CardSummary.tsx +++ b/packages/react-components/src/CardSummary.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UInt } from '@polkadot/types'; diff --git a/packages/react-components/src/ChainImg.tsx b/packages/react-components/src/ChainImg.tsx index 5bdb18d8a8..c0e1c6a150 100644 --- a/packages/react-components/src/ChainImg.tsx +++ b/packages/react-components/src/ChainImg.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useMemo } from 'react'; diff --git a/packages/react-components/src/ChainLock.tsx b/packages/react-components/src/ChainLock.tsx index db94c9c12f..d435899871 100644 --- a/packages/react-components/src/ChainLock.tsx +++ b/packages/react-components/src/ChainLock.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useMemo } from 'react'; diff --git a/packages/react-components/src/Chart/Base.tsx b/packages/react-components/src/Chart/Base.tsx index f2befa6363..2508003c6f 100644 --- a/packages/react-components/src/Chart/Base.tsx +++ b/packages/react-components/src/Chart/Base.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BaseProps } from './types'; diff --git a/packages/react-components/src/Chart/Doughnut.tsx b/packages/react-components/src/Chart/Doughnut.tsx index b2e3145925..7cc6171fc4 100644 --- a/packages/react-components/src/Chart/Doughnut.tsx +++ b/packages/react-components/src/Chart/Doughnut.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DoughnutProps } from './types'; diff --git a/packages/react-components/src/Chart/HorizBar.tsx b/packages/react-components/src/Chart/HorizBar.tsx index be0382260b..94ad8032ee 100644 --- a/packages/react-components/src/Chart/HorizBar.tsx +++ b/packages/react-components/src/Chart/HorizBar.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { HorizBarProps, HorizBarValue } from './types'; diff --git a/packages/react-components/src/Chart/Line.tsx b/packages/react-components/src/Chart/Line.tsx index 36d60ff87a..791dd0b626 100644 --- a/packages/react-components/src/Chart/Line.tsx +++ b/packages/react-components/src/Chart/Line.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { LineProps } from './types'; diff --git a/packages/react-components/src/Chart/index.ts b/packages/react-components/src/Chart/index.ts index 3560a628c6..ba8060a150 100644 --- a/packages/react-components/src/Chart/index.ts +++ b/packages/react-components/src/Chart/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import Doughnut from './Doughnut'; diff --git a/packages/react-components/src/Chart/types.ts b/packages/react-components/src/Chart/types.ts index efa03e1cae..2a75c3f5de 100644 --- a/packages/react-components/src/Chart/types.ts +++ b/packages/react-components/src/Chart/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/react-components/src/Checkbox.tsx b/packages/react-components/src/Checkbox.tsx index 184a7df312..230fafdc7b 100644 --- a/packages/react-components/src/Checkbox.tsx +++ b/packages/react-components/src/Checkbox.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from './types'; diff --git a/packages/react-components/src/Columar.tsx b/packages/react-components/src/Columar.tsx index 3e5f36c92d..1893abf017 100644 --- a/packages/react-components/src/Columar.tsx +++ b/packages/react-components/src/Columar.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/ConvictionDropdown.tsx b/packages/react-components/src/ConvictionDropdown.tsx index 49d74094ab..fbabfba51a 100644 --- a/packages/react-components/src/ConvictionDropdown.tsx +++ b/packages/react-components/src/ConvictionDropdown.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/react-components/src/CopyButton.tsx b/packages/react-components/src/CopyButton.tsx index 9b9173817c..2e16909e6b 100644 --- a/packages/react-components/src/CopyButton.tsx +++ b/packages/react-components/src/CopyButton.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; diff --git a/packages/react-components/src/CryptoType.tsx b/packages/react-components/src/CryptoType.tsx index 3d2ec8137a..bdc656016c 100644 --- a/packages/react-components/src/CryptoType.tsx +++ b/packages/react-components/src/CryptoType.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, AccountIndex, Address } from '@polkadot/types/interfaces'; diff --git a/packages/react-components/src/DemocracyLocks.tsx b/packages/react-components/src/DemocracyLocks.tsx index f9e944a85f..e75ed8168c 100644 --- a/packages/react-components/src/DemocracyLocks.tsx +++ b/packages/react-components/src/DemocracyLocks.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TFunction } from 'i18next'; diff --git a/packages/react-components/src/Dropdown.tsx b/packages/react-components/src/Dropdown.tsx index 1903eef77b..9722399947 100644 --- a/packages/react-components/src/Dropdown.tsx +++ b/packages/react-components/src/Dropdown.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DropdownProps } from 'semantic-ui-react'; diff --git a/packages/react-components/src/EditButton.tsx b/packages/react-components/src/EditButton.tsx index 5f9ef36e92..14aa6b79fb 100644 --- a/packages/react-components/src/EditButton.tsx +++ b/packages/react-components/src/EditButton.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; diff --git a/packages/react-components/src/Editor.tsx b/packages/react-components/src/Editor.tsx index 096f4f9d7d..67032bb9c1 100644 --- a/packages/react-components/src/Editor.tsx +++ b/packages/react-components/src/Editor.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 // Something is seriously going wrong here... diff --git a/packages/react-components/src/ErrorBoundary.tsx b/packages/react-components/src/ErrorBoundary.tsx index d799a207f1..8bab5960f6 100644 --- a/packages/react-components/src/ErrorBoundary.tsx +++ b/packages/react-components/src/ErrorBoundary.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { I18nProps } from './types'; diff --git a/packages/react-components/src/Event.tsx b/packages/react-components/src/Event.tsx index bc1cef30cd..215808ca9b 100644 --- a/packages/react-components/src/Event.tsx +++ b/packages/react-components/src/Event.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DecodedEvent } from '@polkadot/api-contract/types'; diff --git a/packages/react-components/src/Expander.tsx b/packages/react-components/src/Expander.tsx index 6b41cce37b..ff10e0c06f 100644 --- a/packages/react-components/src/Expander.tsx +++ b/packages/react-components/src/Expander.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; diff --git a/packages/react-components/src/Extrinsic.tsx b/packages/react-components/src/Extrinsic.tsx index ab1395200b..0e500cf73a 100644 --- a/packages/react-components/src/Extrinsic.tsx +++ b/packages/react-components/src/Extrinsic.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-extrinsics authors & contributors +// Copyright 2017-2021 @polkadot/app-extrinsics authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api/types'; diff --git a/packages/react-components/src/FilterOverlay.tsx b/packages/react-components/src/FilterOverlay.tsx index b191ad4c93..ac751b583e 100644 --- a/packages/react-components/src/FilterOverlay.tsx +++ b/packages/react-components/src/FilterOverlay.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; @@ -27,7 +27,7 @@ export default React.memo(styled(FilterOverlay)` display: none; } right: calc(50% - ${({ theme }: ThemeProps) => theme.contentHalfWidth} + 1.5rem); - + ${media.DESKTOP` display: flex; justify-content: flex-end; @@ -45,7 +45,7 @@ export default React.memo(styled(FilterOverlay)` .ui.selection.dropdown { white-space: nowrap; } - + `} @media (max-width: ${({ theme }: ThemeProps) => theme.contentMaxWidth}) { diff --git a/packages/react-components/src/Forget.tsx b/packages/react-components/src/Forget.tsx index 1d1c565080..9275f9cd67 100644 --- a/packages/react-components/src/Forget.tsx +++ b/packages/react-components/src/Forget.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/HelpOverlay.tsx b/packages/react-components/src/HelpOverlay.tsx index eebe081a66..5fd18550b2 100644 --- a/packages/react-components/src/HelpOverlay.tsx +++ b/packages/react-components/src/HelpOverlay.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from './types'; diff --git a/packages/react-components/src/Icon.tsx b/packages/react-components/src/Icon.tsx index 35d310b06b..849cce2063 100644 --- a/packages/react-components/src/Icon.tsx +++ b/packages/react-components/src/Icon.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; diff --git a/packages/react-components/src/IconLink.tsx b/packages/react-components/src/IconLink.tsx index 8da8d9d36f..4c98492586 100644 --- a/packages/react-components/src/IconLink.tsx +++ b/packages/react-components/src/IconLink.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/IdentityIcon/RoboHash/backgrounds/index.ts b/packages/react-components/src/IdentityIcon/RoboHash/backgrounds/index.ts index 6075a4d097..4c642c87bb 100644 --- a/packages/react-components/src/IdentityIcon/RoboHash/backgrounds/index.ts +++ b/packages/react-components/src/IdentityIcon/RoboHash/backgrounds/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 // Automatically generated, do not edit diff --git a/packages/react-components/src/IdentityIcon/RoboHash/index.tsx b/packages/react-components/src/IdentityIcon/RoboHash/index.tsx index 065f65b864..f6f2c14283 100644 --- a/packages/react-components/src/IdentityIcon/RoboHash/index.tsx +++ b/packages/react-components/src/IdentityIcon/RoboHash/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 // Robots lovingly delivered by Robohash.org diff --git a/packages/react-components/src/IdentityIcon/RoboHash/sets/index.ts b/packages/react-components/src/IdentityIcon/RoboHash/sets/index.ts index 988499b45d..5b9a8e1e67 100644 --- a/packages/react-components/src/IdentityIcon/RoboHash/sets/index.ts +++ b/packages/react-components/src/IdentityIcon/RoboHash/sets/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 // Automatically generated, do not edit diff --git a/packages/react-components/src/IdentityIcon/index.tsx b/packages/react-components/src/IdentityIcon/index.tsx index cfc90be112..3151ab9c57 100644 --- a/packages/react-components/src/IdentityIcon/index.tsx +++ b/packages/react-components/src/IdentityIcon/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IdentityProps } from '@polkadot/react-identicon/types'; diff --git a/packages/react-components/src/InfoForInput.tsx b/packages/react-components/src/InfoForInput.tsx index 5a0086fcf8..2baa520f05 100644 --- a/packages/react-components/src/InfoForInput.tsx +++ b/packages/react-components/src/InfoForInput.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/Input.tsx b/packages/react-components/src/Input.tsx index ce8e3e1c38..aab2896897 100644 --- a/packages/react-components/src/Input.tsx +++ b/packages/react-components/src/Input.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useState } from 'react'; diff --git a/packages/react-components/src/InputAddress/KeyPair.tsx b/packages/react-components/src/InputAddress/KeyPair.tsx index a8ec51114b..1a1ca3dd33 100644 --- a/packages/react-components/src/InputAddress/KeyPair.tsx +++ b/packages/react-components/src/InputAddress/KeyPair.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '../types'; diff --git a/packages/react-components/src/InputAddress/createHeader.tsx b/packages/react-components/src/InputAddress/createHeader.tsx index 87ca76543a..1fc8699609 100644 --- a/packages/react-components/src/InputAddress/createHeader.tsx +++ b/packages/react-components/src/InputAddress/createHeader.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringSectionOption } from '@polkadot/ui-keyring/options/types'; diff --git a/packages/react-components/src/InputAddress/createItem.tsx b/packages/react-components/src/InputAddress/createItem.tsx index b117937750..3a5369e1f2 100644 --- a/packages/react-components/src/InputAddress/createItem.tsx +++ b/packages/react-components/src/InputAddress/createItem.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringSectionOption } from '@polkadot/ui-keyring/options/types'; diff --git a/packages/react-components/src/InputAddress/index.tsx b/packages/react-components/src/InputAddress/index.tsx index d65f5027e2..dec5f4bdeb 100644 --- a/packages/react-components/src/InputAddress/index.tsx +++ b/packages/react-components/src/InputAddress/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringOption$Type, KeyringOptions, KeyringSectionOption, KeyringSectionOptions } from '@polkadot/ui-keyring/options/types'; diff --git a/packages/react-components/src/InputAddress/types.ts b/packages/react-components/src/InputAddress/types.ts index 3204bfcfcc..cf2c824f2f 100644 --- a/packages/react-components/src/InputAddress/types.ts +++ b/packages/react-components/src/InputAddress/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringOption$Type, KeyringSectionOption } from '@polkadot/ui-keyring/options/types'; diff --git a/packages/react-components/src/InputAddressMulti/Available.tsx b/packages/react-components/src/InputAddressMulti/Available.tsx index 4304543199..3ae429a919 100644 --- a/packages/react-components/src/InputAddressMulti/Available.tsx +++ b/packages/react-components/src/InputAddressMulti/Available.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback } from 'react'; diff --git a/packages/react-components/src/InputAddressMulti/Selected.tsx b/packages/react-components/src/InputAddressMulti/Selected.tsx index d96cbc4f2e..dcbf7b104d 100644 --- a/packages/react-components/src/InputAddressMulti/Selected.tsx +++ b/packages/react-components/src/InputAddressMulti/Selected.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback } from 'react'; diff --git a/packages/react-components/src/InputAddressMulti/SelectedDrag.tsx b/packages/react-components/src/InputAddressMulti/SelectedDrag.tsx index 76f00a2bdc..062da2e587 100644 --- a/packages/react-components/src/InputAddressMulti/SelectedDrag.tsx +++ b/packages/react-components/src/InputAddressMulti/SelectedDrag.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/InputAddressMulti/index.tsx b/packages/react-components/src/InputAddressMulti/index.tsx index 51b38450a9..8d90753698 100644 --- a/packages/react-components/src/InputAddressMulti/index.tsx +++ b/packages/react-components/src/InputAddressMulti/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '../types'; diff --git a/packages/react-components/src/InputAddressSimple.tsx b/packages/react-components/src/InputAddressSimple.tsx index d032071ef4..7d4aae7e6d 100644 --- a/packages/react-components/src/InputAddressSimple.tsx +++ b/packages/react-components/src/InputAddressSimple.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useState } from 'react'; diff --git a/packages/react-components/src/InputBalance.tsx b/packages/react-components/src/InputBalance.tsx index d31608657b..1609570dac 100644 --- a/packages/react-components/src/InputBalance.tsx +++ b/packages/react-components/src/InputBalance.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BitLength } from './types'; diff --git a/packages/react-components/src/InputConsts/SelectKey.tsx b/packages/react-components/src/InputConsts/SelectKey.tsx index 0a348c018f..e4fd4fea4e 100644 --- a/packages/react-components/src/InputConsts/SelectKey.tsx +++ b/packages/react-components/src/InputConsts/SelectKey.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DropdownOptions } from '../util/types'; diff --git a/packages/react-components/src/InputConsts/SelectSection.tsx b/packages/react-components/src/InputConsts/SelectSection.tsx index c545318349..0a5cefe9ea 100644 --- a/packages/react-components/src/InputConsts/SelectSection.tsx +++ b/packages/react-components/src/InputConsts/SelectSection.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DropdownOptions } from '../util/types'; diff --git a/packages/react-components/src/InputConsts/index.tsx b/packages/react-components/src/InputConsts/index.tsx index e09e783619..b1ead8e1c7 100644 --- a/packages/react-components/src/InputConsts/index.tsx +++ b/packages/react-components/src/InputConsts/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ConstantCodec } from '@polkadot/metadata/decorate/types'; diff --git a/packages/react-components/src/InputConsts/options/key.tsx b/packages/react-components/src/InputConsts/options/key.tsx index a858c01c0e..62c7cfa7da 100644 --- a/packages/react-components/src/InputConsts/options/key.tsx +++ b/packages/react-components/src/InputConsts/options/key.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ConstantCodec } from '@polkadot/metadata/decorate/types'; diff --git a/packages/react-components/src/InputConsts/options/section.ts b/packages/react-components/src/InputConsts/options/section.ts index 3d52ff1ac0..f7b59649c1 100644 --- a/packages/react-components/src/InputConsts/options/section.ts +++ b/packages/react-components/src/InputConsts/options/section.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DropdownOptions } from '../../util/types'; diff --git a/packages/react-components/src/InputConsts/types.ts b/packages/react-components/src/InputConsts/types.ts index ff0cce3c21..bf8b892c45 100644 --- a/packages/react-components/src/InputConsts/types.ts +++ b/packages/react-components/src/InputConsts/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { StorageEntryBase } from '@polkadot/api/types'; diff --git a/packages/react-components/src/InputExtrinsic/LinkedWrapper.tsx b/packages/react-components/src/InputExtrinsic/LinkedWrapper.tsx index e1f3527e80..f24d26f61a 100644 --- a/packages/react-components/src/InputExtrinsic/LinkedWrapper.tsx +++ b/packages/react-components/src/InputExtrinsic/LinkedWrapper.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/InputExtrinsic/SelectMethod.tsx b/packages/react-components/src/InputExtrinsic/SelectMethod.tsx index 2c76ab002a..4ec09bafaf 100644 --- a/packages/react-components/src/InputExtrinsic/SelectMethod.tsx +++ b/packages/react-components/src/InputExtrinsic/SelectMethod.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsicFunction } from '@polkadot/api/types'; diff --git a/packages/react-components/src/InputExtrinsic/SelectSection.tsx b/packages/react-components/src/InputExtrinsic/SelectSection.tsx index 9338c75210..545e9736c5 100644 --- a/packages/react-components/src/InputExtrinsic/SelectSection.tsx +++ b/packages/react-components/src/InputExtrinsic/SelectSection.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsicFunction } from '@polkadot/api/types'; diff --git a/packages/react-components/src/InputExtrinsic/index.tsx b/packages/react-components/src/InputExtrinsic/index.tsx index b89f9e8810..598c39f95e 100644 --- a/packages/react-components/src/InputExtrinsic/index.tsx +++ b/packages/react-components/src/InputExtrinsic/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsicFunction } from '@polkadot/api/types'; diff --git a/packages/react-components/src/InputExtrinsic/options/method.tsx b/packages/react-components/src/InputExtrinsic/options/method.tsx index fd3082de03..c6422fca40 100644 --- a/packages/react-components/src/InputExtrinsic/options/method.tsx +++ b/packages/react-components/src/InputExtrinsic/options/method.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DropdownOption, DropdownOptions } from '../../util/types'; diff --git a/packages/react-components/src/InputExtrinsic/options/section.ts b/packages/react-components/src/InputExtrinsic/options/section.ts index e2a0b2f997..0d4e912636 100644 --- a/packages/react-components/src/InputExtrinsic/options/section.ts +++ b/packages/react-components/src/InputExtrinsic/options/section.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DropdownOptions } from '../../util/types'; diff --git a/packages/react-components/src/InputFile.tsx b/packages/react-components/src/InputFile.tsx index 1383f92b80..1477fc3221 100644 --- a/packages/react-components/src/InputFile.tsx +++ b/packages/react-components/src/InputFile.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from './types'; diff --git a/packages/react-components/src/InputNumber.tsx b/packages/react-components/src/InputNumber.tsx index b1322a159b..eb28d47c2d 100644 --- a/packages/react-components/src/InputNumber.tsx +++ b/packages/react-components/src/InputNumber.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiPromise } from '@polkadot/api'; diff --git a/packages/react-components/src/InputRpc/SelectMethod.tsx b/packages/react-components/src/InputRpc/SelectMethod.tsx index 0a567dca61..2de88aa186 100644 --- a/packages/react-components/src/InputRpc/SelectMethod.tsx +++ b/packages/react-components/src/InputRpc/SelectMethod.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DefinitionRpcExt } from '@polkadot/types/types'; diff --git a/packages/react-components/src/InputRpc/SelectSection.tsx b/packages/react-components/src/InputRpc/SelectSection.tsx index bd42e6c322..8133490d7c 100644 --- a/packages/react-components/src/InputRpc/SelectSection.tsx +++ b/packages/react-components/src/InputRpc/SelectSection.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DefinitionRpcExt } from '@polkadot/types/types'; diff --git a/packages/react-components/src/InputRpc/index.tsx b/packages/react-components/src/InputRpc/index.tsx index b29e76aa46..ea648fbf6b 100644 --- a/packages/react-components/src/InputRpc/index.tsx +++ b/packages/react-components/src/InputRpc/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 // TODO: We have a lot shared between this and InputExtrinsic & InputStorage diff --git a/packages/react-components/src/InputRpc/options/method.tsx b/packages/react-components/src/InputRpc/options/method.tsx index 453db95466..653a3862f8 100644 --- a/packages/react-components/src/InputRpc/options/method.tsx +++ b/packages/react-components/src/InputRpc/options/method.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DefinitionRpcExt } from '@polkadot/types/types'; diff --git a/packages/react-components/src/InputRpc/options/section.ts b/packages/react-components/src/InputRpc/options/section.ts index b77e53be09..9371f43984 100644 --- a/packages/react-components/src/InputRpc/options/section.ts +++ b/packages/react-components/src/InputRpc/options/section.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DropdownOptions } from '../../util/types'; diff --git a/packages/react-components/src/InputRpc/rpcs.ts b/packages/react-components/src/InputRpc/rpcs.ts index 1830a57275..3b0d2441cc 100644 --- a/packages/react-components/src/InputRpc/rpcs.ts +++ b/packages/react-components/src/InputRpc/rpcs.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Text } from '@polkadot/types'; diff --git a/packages/react-components/src/InputRpc/useRpcs.ts b/packages/react-components/src/InputRpc/useRpcs.ts index d1c1c2eca5..97daf2ab1f 100644 --- a/packages/react-components/src/InputRpc/useRpcs.ts +++ b/packages/react-components/src/InputRpc/useRpcs.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DefinitionRpcExt } from '@polkadot/types/types'; diff --git a/packages/react-components/src/InputStorage/SelectKey.tsx b/packages/react-components/src/InputStorage/SelectKey.tsx index 7355223b3e..91b4f3aadd 100644 --- a/packages/react-components/src/InputStorage/SelectKey.tsx +++ b/packages/react-components/src/InputStorage/SelectKey.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { QueryableStorageEntry } from '@polkadot/api/types'; diff --git a/packages/react-components/src/InputStorage/SelectSection.tsx b/packages/react-components/src/InputStorage/SelectSection.tsx index 9e17ca11bd..243dfe1306 100644 --- a/packages/react-components/src/InputStorage/SelectSection.tsx +++ b/packages/react-components/src/InputStorage/SelectSection.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { QueryableStorageEntry } from '@polkadot/api/types'; diff --git a/packages/react-components/src/InputStorage/index.tsx b/packages/react-components/src/InputStorage/index.tsx index 245a826ccb..b3c83dcbb8 100644 --- a/packages/react-components/src/InputStorage/index.tsx +++ b/packages/react-components/src/InputStorage/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 // TODO: We have a lot shared between this and InputExtrinsic diff --git a/packages/react-components/src/InputStorage/options/key.tsx b/packages/react-components/src/InputStorage/options/key.tsx index 9be0e7598a..4a97856cd7 100644 --- a/packages/react-components/src/InputStorage/options/key.tsx +++ b/packages/react-components/src/InputStorage/options/key.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { StorageEntry } from '@polkadot/types/primitive/types'; diff --git a/packages/react-components/src/InputStorage/options/section.ts b/packages/react-components/src/InputStorage/options/section.ts index 338f43dfa5..2b2ed3938e 100644 --- a/packages/react-components/src/InputStorage/options/section.ts +++ b/packages/react-components/src/InputStorage/options/section.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DropdownOptions } from '../../util/types'; diff --git a/packages/react-components/src/InputTags.tsx b/packages/react-components/src/InputTags.tsx index c45f36ccfa..a130b839ee 100644 --- a/packages/react-components/src/InputTags.tsx +++ b/packages/react-components/src/InputTags.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/InputWasm.tsx b/packages/react-components/src/InputWasm.tsx index d2462f9835..1eaae7a013 100644 --- a/packages/react-components/src/InputWasm.tsx +++ b/packages/react-components/src/InputWasm.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback } from 'react'; diff --git a/packages/react-components/src/Inset.tsx b/packages/react-components/src/Inset.tsx index 1c38d53e81..c5b6e2e5b5 100644 --- a/packages/react-components/src/Inset.tsx +++ b/packages/react-components/src/Inset.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback } from 'react'; diff --git a/packages/react-components/src/Label.tsx b/packages/react-components/src/Label.tsx index b3b53867b3..590b53ae2e 100644 --- a/packages/react-components/src/Label.tsx +++ b/packages/react-components/src/Label.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/LabelHelp.tsx b/packages/react-components/src/LabelHelp.tsx index 5d6bbe69a1..41b8f364e6 100644 --- a/packages/react-components/src/LabelHelp.tsx +++ b/packages/react-components/src/LabelHelp.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; diff --git a/packages/react-components/src/Labelled.tsx b/packages/react-components/src/Labelled.tsx index 25394b3993..289da2527b 100644 --- a/packages/react-components/src/Labelled.tsx +++ b/packages/react-components/src/Labelled.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/LinkExternal.tsx b/packages/react-components/src/LinkExternal.tsx index 43b53b0a55..aa38201cdd 100644 --- a/packages/react-components/src/LinkExternal.tsx +++ b/packages/react-components/src/LinkExternal.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { LinkTypes } from '@polkadot/apps-config/links/types'; diff --git a/packages/react-components/src/LockedVote.tsx b/packages/react-components/src/LockedVote.tsx index 497d9ead60..8b33953efa 100644 --- a/packages/react-components/src/LockedVote.tsx +++ b/packages/react-components/src/LockedVote.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, AccountIndex, Address } from '@polkadot/types/interfaces'; diff --git a/packages/react-components/src/Menu.tsx b/packages/react-components/src/Menu.tsx index 20e4593f9c..dc0be23b2a 100644 --- a/packages/react-components/src/Menu.tsx +++ b/packages/react-components/src/Menu.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import { Divider as SUIDivider, Menu as SUIMenu } from 'semantic-ui-react'; diff --git a/packages/react-components/src/Modal/Actions.tsx b/packages/react-components/src/Modal/Actions.tsx index 1a94cdbe3f..49d5a30584 100644 --- a/packages/react-components/src/Modal/Actions.tsx +++ b/packages/react-components/src/Modal/Actions.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ActionsProps } from './types'; diff --git a/packages/react-components/src/Modal/Column.tsx b/packages/react-components/src/Modal/Column.tsx index 13a0fa662d..d0937f1abc 100644 --- a/packages/react-components/src/Modal/Column.tsx +++ b/packages/react-components/src/Modal/Column.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ColumnProps } from './types'; diff --git a/packages/react-components/src/Modal/Columns.tsx b/packages/react-components/src/Modal/Columns.tsx index abd9b53377..f7792db265 100644 --- a/packages/react-components/src/Modal/Columns.tsx +++ b/packages/react-components/src/Modal/Columns.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ColumnProps } from './types'; diff --git a/packages/react-components/src/Modal/index.tsx b/packages/react-components/src/Modal/index.tsx index a7d9daa254..dc07e47cbc 100644 --- a/packages/react-components/src/Modal/index.tsx +++ b/packages/react-components/src/Modal/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeDef } from '@polkadot/react-components/types'; diff --git a/packages/react-components/src/Modal/types.tsx b/packages/react-components/src/Modal/types.tsx index 2f777a68f5..61058ce328 100644 --- a/packages/react-components/src/Modal/types.tsx +++ b/packages/react-components/src/Modal/types.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/Nonce.tsx b/packages/react-components/src/Nonce.tsx index e2c5758586..de1f7fca0e 100644 --- a/packages/react-components/src/Nonce.tsx +++ b/packages/react-components/src/Nonce.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, AccountIndex, Address } from '@polkadot/types/interfaces'; diff --git a/packages/react-components/src/Output.tsx b/packages/react-components/src/Output.tsx index c16d960516..dc800d22f5 100644 --- a/packages/react-components/src/Output.tsx +++ b/packages/react-components/src/Output.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/Params/Call.tsx b/packages/react-components/src/Params/Call.tsx index ccaf757de1..ef6870d51a 100644 --- a/packages/react-components/src/Params/Call.tsx +++ b/packages/react-components/src/Params/Call.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-extrinsics authors & contributors +// Copyright 2017-2021 @polkadot/app-extrinsics authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsicFunction } from '@polkadot/api/types'; diff --git a/packages/react-components/src/Params/Extrinsic.tsx b/packages/react-components/src/Params/Extrinsic.tsx index e6d0ba208f..c00e54e1ae 100644 --- a/packages/react-components/src/Params/Extrinsic.tsx +++ b/packages/react-components/src/Params/Extrinsic.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-extrinsics authors & contributors +// Copyright 2017-2021 @polkadot/app-extrinsics authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api/types'; diff --git a/packages/react-components/src/Params/OpaqueCall.tsx b/packages/react-components/src/Params/OpaqueCall.tsx index f7f955f8de..239046deca 100644 --- a/packages/react-components/src/Params/OpaqueCall.tsx +++ b/packages/react-components/src/Params/OpaqueCall.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-extrinsics authors & contributors +// Copyright 2017-2021 @polkadot/app-extrinsics authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/react-components/src/Params/Proposal.tsx b/packages/react-components/src/Params/Proposal.tsx index 24066c4986..a52120e2b3 100644 --- a/packages/react-components/src/Params/Proposal.tsx +++ b/packages/react-components/src/Params/Proposal.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-extrinsics authors & contributors +// Copyright 2017-2021 @polkadot/app-extrinsics authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props, RawParam } from '@polkadot/react-params/types'; diff --git a/packages/react-components/src/Params/index.ts b/packages/react-components/src/Params/index.ts index cdcf39ad1d..2e9a013d0e 100644 --- a/packages/react-components/src/Params/index.ts +++ b/packages/react-components/src/Params/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-extrinsics authors & contributors +// Copyright 2017-2021 @polkadot/app-extrinsics authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ComponentMap } from '@polkadot/react-params/types'; diff --git a/packages/react-components/src/Password.tsx b/packages/react-components/src/Password.tsx index a81cc52f1c..1fea92a681 100644 --- a/packages/react-components/src/Password.tsx +++ b/packages/react-components/src/Password.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/PasswordStrength.tsx b/packages/react-components/src/PasswordStrength.tsx index b7f2c0c4ef..ec733ec8dc 100644 --- a/packages/react-components/src/PasswordStrength.tsx +++ b/packages/react-components/src/PasswordStrength.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from './types'; diff --git a/packages/react-components/src/Popup.tsx b/packages/react-components/src/Popup.tsx index 50d3561811..2242f7a888 100644 --- a/packages/react-components/src/Popup.tsx +++ b/packages/react-components/src/Popup.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { PopupProps } from 'semantic-ui-react'; diff --git a/packages/react-components/src/Progress.tsx b/packages/react-components/src/Progress.tsx index 7d2c7536ff..0bb1db1c4c 100644 --- a/packages/react-components/src/Progress.tsx +++ b/packages/react-components/src/Progress.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UInt } from '@polkadot/types'; diff --git a/packages/react-components/src/ProposedAction.tsx b/packages/react-components/src/ProposedAction.tsx index a0b51bbaab..2f2f89cf0b 100644 --- a/packages/react-components/src/ProposedAction.tsx +++ b/packages/react-components/src/ProposedAction.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Proposal } from '@polkadot/types/interfaces'; diff --git a/packages/react-components/src/Row.tsx b/packages/react-components/src/Row.tsx index a2a6821a59..8ae7d8633e 100644 --- a/packages/react-components/src/Row.tsx +++ b/packages/react-components/src/Row.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/Sidebar.tsx b/packages/react-components/src/Sidebar.tsx index 689d43bbf0..77a645dab3 100644 --- a/packages/react-components/src/Sidebar.tsx +++ b/packages/react-components/src/Sidebar.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from './types'; diff --git a/packages/react-components/src/Spinner.tsx b/packages/react-components/src/Spinner.tsx index 387f959973..1a16789291 100644 --- a/packages/react-components/src/Spinner.tsx +++ b/packages/react-components/src/Spinner.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/StakingBonded.tsx b/packages/react-components/src/StakingBonded.tsx index 9d3c22df35..59c8ec8422 100644 --- a/packages/react-components/src/StakingBonded.tsx +++ b/packages/react-components/src/StakingBonded.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveStakingAccount } from '@polkadot/api-derive/types'; diff --git a/packages/react-components/src/StakingRedeemable.tsx b/packages/react-components/src/StakingRedeemable.tsx index 32ea147d48..5ea4b4715d 100644 --- a/packages/react-components/src/StakingRedeemable.tsx +++ b/packages/react-components/src/StakingRedeemable.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveStakingAccount } from '@polkadot/api-derive/types'; diff --git a/packages/react-components/src/StakingUnbonding.tsx b/packages/react-components/src/StakingUnbonding.tsx index b87b95d549..c4edd944d0 100644 --- a/packages/react-components/src/StakingUnbonding.tsx +++ b/packages/react-components/src/StakingUnbonding.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSessionProgress, DeriveStakingAccount, DeriveUnlocking } from '@polkadot/api-derive/types'; diff --git a/packages/react-components/src/Static.tsx b/packages/react-components/src/Static.tsx index 8a854266dc..e3edab7efd 100644 --- a/packages/react-components/src/Static.tsx +++ b/packages/react-components/src/Static.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/Status/Context.ts b/packages/react-components/src/Status/Context.ts index f5da1accf0..e5c988bfa2 100644 --- a/packages/react-components/src/Status/Context.ts +++ b/packages/react-components/src/Status/Context.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { QueueProps, QueueStatus, QueueTx } from './types'; diff --git a/packages/react-components/src/Status/Queue.tsx b/packages/react-components/src/Status/Queue.tsx index e6d511da2b..417f71a592 100644 --- a/packages/react-components/src/Status/Queue.tsx +++ b/packages/react-components/src/Status/Queue.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/promise/types'; diff --git a/packages/react-components/src/Status/constants.ts b/packages/react-components/src/Status/constants.ts index 480e5e2add..f23a8f6ad6 100644 --- a/packages/react-components/src/Status/constants.ts +++ b/packages/react-components/src/Status/constants.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { QueueTxStatus } from './types'; diff --git a/packages/react-components/src/Status/index.tsx b/packages/react-components/src/Status/index.tsx index 5b1981dd23..2dba4e3e5b 100644 --- a/packages/react-components/src/Status/index.tsx +++ b/packages/react-components/src/Status/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; diff --git a/packages/react-components/src/Status/types.ts b/packages/react-components/src/Status/types.ts index aa60bcf6c5..d017c8e4a1 100644 --- a/packages/react-components/src/Status/types.ts +++ b/packages/react-components/src/Status/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableResult } from '@polkadot/api'; diff --git a/packages/react-components/src/SummaryBox.tsx b/packages/react-components/src/SummaryBox.tsx index b36ba0e45c..b06738c0aa 100644 --- a/packages/react-components/src/SummaryBox.tsx +++ b/packages/react-components/src/SummaryBox.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/Table/Body.tsx b/packages/react-components/src/Table/Body.tsx index 0a1fa2c892..963769908d 100644 --- a/packages/react-components/src/Table/Body.tsx +++ b/packages/react-components/src/Table/Body.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '../types'; diff --git a/packages/react-components/src/Table/Foot.tsx b/packages/react-components/src/Table/Foot.tsx index 0aee8fcb34..123d1a80d5 100644 --- a/packages/react-components/src/Table/Foot.tsx +++ b/packages/react-components/src/Table/Foot.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '../types'; diff --git a/packages/react-components/src/Table/Head.tsx b/packages/react-components/src/Table/Head.tsx index 3c2bfae7bf..e8d5f1e0b4 100644 --- a/packages/react-components/src/Table/Head.tsx +++ b/packages/react-components/src/Table/Head.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '../types'; diff --git a/packages/react-components/src/Table/index.tsx b/packages/react-components/src/Table/index.tsx index 5274f6d760..23db02125b 100644 --- a/packages/react-components/src/Table/index.tsx +++ b/packages/react-components/src/Table/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/Tabs/Tab.tsx b/packages/react-components/src/Tabs/Tab.tsx index eb77e07543..aed98cb53e 100644 --- a/packages/react-components/src/Tabs/Tab.tsx +++ b/packages/react-components/src/Tabs/Tab.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '../types'; diff --git a/packages/react-components/src/Tabs/index.tsx b/packages/react-components/src/Tabs/index.tsx index 69ce6e467c..0d3bb2e19b 100644 --- a/packages/react-components/src/Tabs/index.tsx +++ b/packages/react-components/src/Tabs/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '../types'; @@ -67,7 +67,7 @@ export default React.memo(styled(Tabs)(({ theme }: ThemeProps) => ` text-align: left; z-index: 1; - + & .tabs-container { max-width: ${theme.contentMaxWidth}; margin: 0 auto; diff --git a/packages/react-components/src/Tabs/types.ts b/packages/react-components/src/Tabs/types.ts index 89a2b06280..3767fcbbb7 100644 --- a/packages/react-components/src/Tabs/types.ts +++ b/packages/react-components/src/Tabs/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/Tag.tsx b/packages/react-components/src/Tag.tsx index dddd564711..6811297d66 100644 --- a/packages/react-components/src/Tag.tsx +++ b/packages/react-components/src/Tag.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useState } from 'react'; diff --git a/packages/react-components/src/Tags.tsx b/packages/react-components/src/Tags.tsx index d0c664813f..3a77e2295e 100644 --- a/packages/react-components/src/Tags.tsx +++ b/packages/react-components/src/Tags.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useMemo } from 'react'; diff --git a/packages/react-components/src/TextArea.tsx b/packages/react-components/src/TextArea.tsx index 049175a80a..1ce115b224 100644 --- a/packages/react-components/src/TextArea.tsx +++ b/packages/react-components/src/TextArea.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from './types'; diff --git a/packages/react-components/src/Toggle.tsx b/packages/react-components/src/Toggle.tsx index 3dc3edc372..4ebfcc19c3 100644 --- a/packages/react-components/src/Toggle.tsx +++ b/packages/react-components/src/Toggle.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from './types'; diff --git a/packages/react-components/src/ToggleGroup.tsx b/packages/react-components/src/ToggleGroup.tsx index 1476f36d60..0472b5fc08 100644 --- a/packages/react-components/src/ToggleGroup.tsx +++ b/packages/react-components/src/ToggleGroup.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback } from 'react'; diff --git a/packages/react-components/src/Tooltip.tsx b/packages/react-components/src/Tooltip.tsx index fa3c6bbed9..98298c66d5 100644 --- a/packages/react-components/src/Tooltip.tsx +++ b/packages/react-components/src/Tooltip.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useEffect, useState } from 'react'; diff --git a/packages/react-components/src/TreasuryProposal.tsx b/packages/react-components/src/TreasuryProposal.tsx index 9d00fc8a76..02f3d57d7d 100644 --- a/packages/react-components/src/TreasuryProposal.tsx +++ b/packages/react-components/src/TreasuryProposal.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option } from '@polkadot/types'; diff --git a/packages/react-components/src/TxButton.tsx b/packages/react-components/src/TxButton.tsx index d01dfd317d..63b30a3a3a 100644 --- a/packages/react-components/src/TxButton.tsx +++ b/packages/react-components/src/TxButton.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/react-components/src/VoteAccount.tsx b/packages/react-components/src/VoteAccount.tsx index ef013161d1..1160e6cecd 100644 --- a/packages/react-components/src/VoteAccount.tsx +++ b/packages/react-components/src/VoteAccount.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-components/src/VoteValue.tsx b/packages/react-components/src/VoteValue.tsx index 3ec4bc7c65..63315e50d4 100644 --- a/packages/react-components/src/VoteValue.tsx +++ b/packages/react-components/src/VoteValue.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAll } from '@polkadot/api-derive/types'; diff --git a/packages/react-components/src/constants.ts b/packages/react-components/src/constants.ts index 8ea179023d..b6722a332c 100644 --- a/packages/react-components/src/constants.ts +++ b/packages/react-components/src/constants.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 export enum BitLengthOption { diff --git a/packages/react-components/src/i18n/Backend.ts b/packages/react-components/src/i18n/Backend.ts index 29f721d031..484726d6ab 100644 --- a/packages/react-components/src/i18n/Backend.ts +++ b/packages/react-components/src/i18n/Backend.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import languageCache from './cache'; diff --git a/packages/react-components/src/i18n/cache.ts b/packages/react-components/src/i18n/cache.ts index 0264ab89dc..03b6aa5b4b 100644 --- a/packages/react-components/src/i18n/cache.ts +++ b/packages/react-components/src/i18n/cache.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 const languageCache: Record> = {}; diff --git a/packages/react-components/src/i18n/index.ts b/packages/react-components/src/i18n/index.ts index 12d939916a..95df940e0c 100644 --- a/packages/react-components/src/i18n/index.ts +++ b/packages/react-components/src/i18n/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import i18next from 'i18next'; diff --git a/packages/react-components/src/index.tsx b/packages/react-components/src/index.tsx index af89a8e5d2..a9423d1e82 100644 --- a/packages/react-components/src/index.tsx +++ b/packages/react-components/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 export * from '@polkadot/react-qr'; diff --git a/packages/react-components/src/media.ts b/packages/react-components/src/media.ts index f2709a0e76..12d1d7af38 100644 --- a/packages/react-components/src/media.ts +++ b/packages/react-components/src/media.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import { css } from 'styled-components'; diff --git a/packages/react-components/src/styles/components.ts b/packages/react-components/src/styles/components.ts index 4fc30c7db5..bb2b938f79 100644 --- a/packages/react-components/src/styles/components.ts +++ b/packages/react-components/src/styles/components.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeDef } from '../types'; diff --git a/packages/react-components/src/styles/form.ts b/packages/react-components/src/styles/form.ts index 47d0c3dee1..55ad738049 100644 --- a/packages/react-components/src/styles/form.ts +++ b/packages/react-components/src/styles/form.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 export default ` diff --git a/packages/react-components/src/styles/index.ts b/packages/react-components/src/styles/index.ts index 9b7828ca21..2255dd3c1f 100644 --- a/packages/react-components/src/styles/index.ts +++ b/packages/react-components/src/styles/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '../types'; diff --git a/packages/react-components/src/styles/media.ts b/packages/react-components/src/styles/media.ts index 62661bd844..3185d36899 100644 --- a/packages/react-components/src/styles/media.ts +++ b/packages/react-components/src/styles/media.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 export default ` diff --git a/packages/react-components/src/styles/rx.ts b/packages/react-components/src/styles/rx.ts index 410a40a5ba..ba1d288e02 100644 --- a/packages/react-components/src/styles/rx.ts +++ b/packages/react-components/src/styles/rx.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 export default ` diff --git a/packages/react-components/src/styles/semantic.ts b/packages/react-components/src/styles/semantic.ts index 491816c900..915946236b 100644 --- a/packages/react-components/src/styles/semantic.ts +++ b/packages/react-components/src/styles/semantic.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeDef } from '../types'; diff --git a/packages/react-components/src/styles/theme.ts b/packages/react-components/src/styles/theme.ts index a2c7f0e805..f0b44cc413 100644 --- a/packages/react-components/src/styles/theme.ts +++ b/packages/react-components/src/styles/theme.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 /* default buttons, dark gray */ diff --git a/packages/react-components/src/translate.ts b/packages/react-components/src/translate.ts index df9a8c6344..d0179bc9bc 100644 --- a/packages/react-components/src/translate.ts +++ b/packages/react-components/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/react-components/src/types.ts b/packages/react-components/src/types.ts index a112c81a65..37ee3033ec 100644 --- a/packages/react-components/src/types.ts +++ b/packages/react-components/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; diff --git a/packages/react-components/src/util/checkVisibility.tsx b/packages/react-components/src/util/checkVisibility.tsx index f385a47b28..98144aad97 100644 --- a/packages/react-components/src/util/checkVisibility.tsx +++ b/packages/react-components/src/util/checkVisibility.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-staking authors & contributors +// Copyright 2017-2021 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveAccountInfo } from '@polkadot/api-derive/types'; diff --git a/packages/react-components/src/util/getAddressMeta.ts b/packages/react-components/src/util/getAddressMeta.ts index 326006b8d7..65104db01c 100644 --- a/packages/react-components/src/util/getAddressMeta.ts +++ b/packages/react-components/src/util/getAddressMeta.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringItemType, KeyringJson$Meta } from '@polkadot/ui-keyring/types'; diff --git a/packages/react-components/src/util/getAddressName.ts b/packages/react-components/src/util/getAddressName.ts index f1c2c62e88..88c7b3270c 100644 --- a/packages/react-components/src/util/getAddressName.ts +++ b/packages/react-components/src/util/getAddressName.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringItemType } from '@polkadot/ui-keyring/types'; diff --git a/packages/react-components/src/util/getAddressTags.ts b/packages/react-components/src/util/getAddressTags.ts index 540b08345b..f88f063b3e 100644 --- a/packages/react-components/src/util/getAddressTags.ts +++ b/packages/react-components/src/util/getAddressTags.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringItemType } from '@polkadot/ui-keyring/types'; diff --git a/packages/react-components/src/util/getContractAbi.ts b/packages/react-components/src/util/getContractAbi.ts index 9ceff10e82..14d3f3d743 100644 --- a/packages/react-components/src/util/getContractAbi.ts +++ b/packages/react-components/src/util/getContractAbi.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AnyJson } from '@polkadot/types/types'; diff --git a/packages/react-components/src/util/index.ts b/packages/react-components/src/util/index.ts index 4075db743a..5eb7a7421e 100644 --- a/packages/react-components/src/util/index.ts +++ b/packages/react-components/src/util/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 export { default as checkVisibility } from './checkVisibility'; diff --git a/packages/react-components/src/util/isTreasuryProposalVote.ts b/packages/react-components/src/util/isTreasuryProposalVote.ts index 0e0db5f27d..8b68b21ccd 100644 --- a/packages/react-components/src/util/isTreasuryProposalVote.ts +++ b/packages/react-components/src/util/isTreasuryProposalVote.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Proposal } from '@polkadot/types/interfaces'; diff --git a/packages/react-components/src/util/toAddress.ts b/packages/react-components/src/util/toAddress.ts index 6b06f9b04e..dbb56d2192 100644 --- a/packages/react-components/src/util/toAddress.ts +++ b/packages/react-components/src/util/toAddress.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import { keyring } from '@polkadot/ui-keyring'; diff --git a/packages/react-components/src/util/toShortAddress.ts b/packages/react-components/src/util/toShortAddress.ts index 8f0a55e540..d88b72c9b5 100644 --- a/packages/react-components/src/util/toShortAddress.ts +++ b/packages/react-components/src/util/toShortAddress.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId, AccountIndex, Address } from '@polkadot/types/interfaces'; diff --git a/packages/react-components/src/util/types.ts b/packages/react-components/src/util/types.ts index 660c279a24..a9bd36ca23 100644 --- a/packages/react-components/src/util/types.ts +++ b/packages/react-components/src/util/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 export interface DropdownOption { diff --git a/packages/react-hooks/src/index.ts b/packages/react-hooks/src/index.ts index c00cdd7c8e..c29516aac8 100644 --- a/packages/react-hooks/src/index.ts +++ b/packages/react-hooks/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 export { useAccountId } from './useAccountId'; diff --git a/packages/react-hooks/src/translate.ts b/packages/react-hooks/src/translate.ts index a32a16ae89..89636b0cf5 100644 --- a/packages/react-hooks/src/translate.ts +++ b/packages/react-hooks/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/react-hooks/src/types.ts b/packages/react-hooks/src/types.ts index 7a0410e0de..623699a0cc 100644 --- a/packages/react-hooks/src/types.ts +++ b/packages/react-hooks/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/react-hooks/src/useAccountId.ts b/packages/react-hooks/src/useAccountId.ts index 48f21ba9cb..ed2f2d67f4 100644 --- a/packages/react-hooks/src/useAccountId.ts +++ b/packages/react-hooks/src/useAccountId.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useCallback, useState } from 'react'; diff --git a/packages/react-hooks/src/useAccountInfo.ts b/packages/react-hooks/src/useAccountInfo.ts index 4ed0787183..e661f718cf 100644 --- a/packages/react-hooks/src/useAccountInfo.ts +++ b/packages/react-hooks/src/useAccountInfo.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveAccountFlags, DeriveAccountInfo } from '@polkadot/api-derive/types'; diff --git a/packages/react-hooks/src/useAccounts.ts b/packages/react-hooks/src/useAccounts.ts index 327d6e0ac0..d4273ced08 100644 --- a/packages/react-hooks/src/useAccounts.ts +++ b/packages/react-hooks/src/useAccounts.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useEffect, useState } from 'react'; diff --git a/packages/react-hooks/src/useAddresses.ts b/packages/react-hooks/src/useAddresses.ts index bd4d79589b..8dd342d816 100644 --- a/packages/react-hooks/src/useAddresses.ts +++ b/packages/react-hooks/src/useAddresses.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useEffect, useState } from 'react'; diff --git a/packages/react-hooks/src/useApi.ts b/packages/react-hooks/src/useApi.ts index ba6e6e561c..cf4694c78f 100644 --- a/packages/react-hooks/src/useApi.ts +++ b/packages/react-hooks/src/useApi.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiProps } from '@polkadot/react-api/types'; diff --git a/packages/react-hooks/src/useAvailableSlashes.ts b/packages/react-hooks/src/useAvailableSlashes.ts index 8bea5de0d1..d4000cd065 100644 --- a/packages/react-hooks/src/useAvailableSlashes.ts +++ b/packages/react-hooks/src/useAvailableSlashes.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-council authors & contributors +// Copyright 2017-2021 @polkadot/app-council authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveSessionIndexes } from '@polkadot/api-derive/types'; diff --git a/packages/react-hooks/src/useBlockTime.ts b/packages/react-hooks/src/useBlockTime.ts index ffca716636..8a790f78f5 100644 --- a/packages/react-hooks/src/useBlockTime.ts +++ b/packages/react-hooks/src/useBlockTime.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Time } from '@polkadot/util/types'; diff --git a/packages/react-hooks/src/useBlocksPerDays.ts b/packages/react-hooks/src/useBlocksPerDays.ts index 886af0366a..6197ebcdab 100644 --- a/packages/react-hooks/src/useBlocksPerDays.ts +++ b/packages/react-hooks/src/useBlocksPerDays.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/react-hooks/src/useCacheKey.ts b/packages/react-hooks/src/useCacheKey.ts index 4b76ff224f..f9384a8a21 100644 --- a/packages/react-hooks/src/useCacheKey.ts +++ b/packages/react-hooks/src/useCacheKey.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useCallback, useMemo } from 'react'; diff --git a/packages/react-hooks/src/useCall.ts b/packages/react-hooks/src/useCall.ts index 75090c8abc..315f2adbad 100644 --- a/packages/react-hooks/src/useCall.ts +++ b/packages/react-hooks/src/useCall.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 // eslint-disable-next-line @typescript-eslint/no-unused-vars diff --git a/packages/react-hooks/src/useContracts.ts b/packages/react-hooks/src/useContracts.ts index d58d9d4b51..1e9cb104ee 100644 --- a/packages/react-hooks/src/useContracts.ts +++ b/packages/react-hooks/src/useContracts.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useEffect, useState } from 'react'; diff --git a/packages/react-hooks/src/useDebounce.ts b/packages/react-hooks/src/useDebounce.ts index c2056b18cf..101551695e 100644 --- a/packages/react-hooks/src/useDebounce.ts +++ b/packages/react-hooks/src/useDebounce.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useEffect, useState } from 'react'; diff --git a/packages/react-hooks/src/useFavorites.ts b/packages/react-hooks/src/useFavorites.ts index 63bd31d349..cf82f26f0c 100644 --- a/packages/react-hooks/src/useFavorites.ts +++ b/packages/react-hooks/src/useFavorites.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useCallback, useState } from 'react'; diff --git a/packages/react-hooks/src/useFormField.ts b/packages/react-hooks/src/useFormField.ts index 0df93bb3c0..e5ddc066a2 100644 --- a/packages/react-hooks/src/useFormField.ts +++ b/packages/react-hooks/src/useFormField.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useMemo, useState } from 'react'; diff --git a/packages/react-hooks/src/useIncrement.ts b/packages/react-hooks/src/useIncrement.ts index 81da7282bc..5c703d94bc 100644 --- a/packages/react-hooks/src/useIncrement.ts +++ b/packages/react-hooks/src/useIncrement.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useCallback, useState } from 'react'; diff --git a/packages/react-hooks/src/useInflation.ts b/packages/react-hooks/src/useInflation.ts index 92e87616df..0a1092c260 100644 --- a/packages/react-hooks/src/useInflation.ts +++ b/packages/react-hooks/src/useInflation.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiPromise } from '@polkadot/api'; diff --git a/packages/react-hooks/src/useIpfs.ts b/packages/react-hooks/src/useIpfs.ts index b0dd2d91a4..d8815aad6a 100644 --- a/packages/react-hooks/src/useIpfs.ts +++ b/packages/react-hooks/src/useIpfs.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-accounts authors & contributors +// Copyright 2017-2021 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useState } from 'react'; diff --git a/packages/react-hooks/src/useIsMountedRef.ts b/packages/react-hooks/src/useIsMountedRef.ts index c580a832fb..e42ce4443d 100644 --- a/packages/react-hooks/src/useIsMountedRef.ts +++ b/packages/react-hooks/src/useIsMountedRef.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useEffect, useRef } from 'react'; diff --git a/packages/react-hooks/src/useLoadingDelay.ts b/packages/react-hooks/src/useLoadingDelay.ts index 5953d28963..f227652347 100644 --- a/packages/react-hooks/src/useLoadingDelay.ts +++ b/packages/react-hooks/src/useLoadingDelay.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useEffect, useState } from 'react'; diff --git a/packages/react-hooks/src/useMembers.ts b/packages/react-hooks/src/useMembers.ts index 6572bc616c..78ed9d9727 100644 --- a/packages/react-hooks/src/useMembers.ts +++ b/packages/react-hooks/src/useMembers.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/app-democracy authors & contributors +// Copyright 2017-2021 @polkadot/app-democracy authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId } from '@polkadot/types/interfaces'; diff --git a/packages/react-hooks/src/useModal.ts b/packages/react-hooks/src/useModal.ts index d6d91cb3ef..811239c51c 100644 --- a/packages/react-hooks/src/useModal.ts +++ b/packages/react-hooks/src/useModal.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ModalState } from './types'; diff --git a/packages/react-hooks/src/useNonEmptyString.ts b/packages/react-hooks/src/useNonEmptyString.ts index 959f7f0491..c5fb4955f4 100644 --- a/packages/react-hooks/src/useNonEmptyString.ts +++ b/packages/react-hooks/src/useNonEmptyString.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { FormField, useFormField } from './useFormField'; diff --git a/packages/react-hooks/src/useNonZeroBn.ts b/packages/react-hooks/src/useNonZeroBn.ts index 40f8b25597..ff27e800ca 100644 --- a/packages/react-hooks/src/useNonZeroBn.ts +++ b/packages/react-hooks/src/useNonZeroBn.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/react-hooks/src/useOwnEraRewards.ts b/packages/react-hooks/src/useOwnEraRewards.ts index aa9deda903..4492eece5e 100644 --- a/packages/react-hooks/src/useOwnEraRewards.ts +++ b/packages/react-hooks/src/useOwnEraRewards.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ApiPromise } from '@polkadot/api'; diff --git a/packages/react-hooks/src/useOwnStashInfos.ts b/packages/react-hooks/src/useOwnStashInfos.ts index bfee80c161..b610536ffc 100644 --- a/packages/react-hooks/src/useOwnStashInfos.ts +++ b/packages/react-hooks/src/useOwnStashInfos.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveStakingAccount } from '@polkadot/api-derive/types'; diff --git a/packages/react-hooks/src/useOwnStashes.ts b/packages/react-hooks/src/useOwnStashes.ts index 6d92d3b5eb..ff461ca24d 100644 --- a/packages/react-hooks/src/useOwnStashes.ts +++ b/packages/react-hooks/src/useOwnStashes.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option } from '@polkadot/types'; diff --git a/packages/react-hooks/src/usePassword.ts b/packages/react-hooks/src/usePassword.ts index c417d3ed65..90c66298e6 100644 --- a/packages/react-hooks/src/usePassword.ts +++ b/packages/react-hooks/src/usePassword.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useEffect, useState } from 'react'; diff --git a/packages/react-hooks/src/useRegistrars.ts b/packages/react-hooks/src/useRegistrars.ts index b2d96e13e9..2b59d54d78 100644 --- a/packages/react-hooks/src/useRegistrars.ts +++ b/packages/react-hooks/src/useRegistrars.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option } from '@polkadot/types'; diff --git a/packages/react-hooks/src/useSavedFlags.ts b/packages/react-hooks/src/useSavedFlags.ts index e591f852d6..f7729e7752 100644 --- a/packages/react-hooks/src/useSavedFlags.ts +++ b/packages/react-hooks/src/useSavedFlags.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useEffect, useState } from 'react'; diff --git a/packages/react-hooks/src/useSudo.ts b/packages/react-hooks/src/useSudo.ts index e23bab90ae..c9142ed217 100644 --- a/packages/react-hooks/src/useSudo.ts +++ b/packages/react-hooks/src/useSudo.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { AccountId } from '@polkadot/types/interfaces'; diff --git a/packages/react-hooks/src/useToggle.ts b/packages/react-hooks/src/useToggle.ts index b4bcbc1e06..0e259745c0 100644 --- a/packages/react-hooks/src/useToggle.ts +++ b/packages/react-hooks/src/useToggle.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import { useCallback, useEffect, useState } from 'react'; diff --git a/packages/react-hooks/src/useVotingStatus.ts b/packages/react-hooks/src/useVotingStatus.ts index 9449b295fd..c543bb3bc2 100644 --- a/packages/react-hooks/src/useVotingStatus.ts +++ b/packages/react-hooks/src/useVotingStatus.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BlockNumber, Votes } from '@polkadot/types/interfaces'; diff --git a/packages/react-hooks/src/useWeight.ts b/packages/react-hooks/src/useWeight.ts index afe1342b18..ee4beb4ae7 100644 --- a/packages/react-hooks/src/useWeight.ts +++ b/packages/react-hooks/src/useWeight.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-hooks authors & contributors +// Copyright 2017-2021 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Call } from '@polkadot/types/interfaces'; diff --git a/packages/react-params/src/Holder.tsx b/packages/react-params/src/Holder.tsx index ccdc9df92a..db20f9ca09 100644 --- a/packages/react-params/src/Holder.tsx +++ b/packages/react-params/src/Holder.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '@polkadot/react-components/types'; diff --git a/packages/react-params/src/Param/Account.tsx b/packages/react-params/src/Param/Account.tsx index 7e857008c5..5ef85009a9 100644 --- a/packages/react-params/src/Param/Account.tsx +++ b/packages/react-params/src/Param/Account.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/Amount.tsx b/packages/react-params/src/Param/Amount.tsx index d5cf11a06c..1af1ffb875 100644 --- a/packages/react-params/src/Param/Amount.tsx +++ b/packages/react-params/src/Param/Amount.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/Balance.tsx b/packages/react-params/src/Param/Balance.tsx index a18ce0eb03..c58b317074 100644 --- a/packages/react-params/src/Param/Balance.tsx +++ b/packages/react-params/src/Param/Balance.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/Bare.tsx b/packages/react-params/src/Param/Bare.tsx index bfd38fea3b..cdedee2f88 100644 --- a/packages/react-params/src/Param/Bare.tsx +++ b/packages/react-params/src/Param/Bare.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-params/src/Param/Base.tsx b/packages/react-params/src/Param/Base.tsx index edfff60659..b15c333793 100644 --- a/packages/react-params/src/Param/Base.tsx +++ b/packages/react-params/src/Param/Base.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Size } from '../types'; diff --git a/packages/react-params/src/Param/BaseBytes.tsx b/packages/react-params/src/Param/BaseBytes.tsx index 7d999a654f..dc8a82144e 100644 --- a/packages/react-params/src/Param/BaseBytes.tsx +++ b/packages/react-params/src/Param/BaseBytes.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TypeDef } from '@polkadot/types/types'; diff --git a/packages/react-params/src/Param/Bool.tsx b/packages/react-params/src/Param/Bool.tsx index 7343b15547..fde5e96acf 100644 --- a/packages/react-params/src/Param/Bool.tsx +++ b/packages/react-params/src/Param/Bool.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/Bytes.tsx b/packages/react-params/src/Param/Bytes.tsx index 4d3ef65397..2d5e81586c 100644 --- a/packages/react-params/src/Param/Bytes.tsx +++ b/packages/react-params/src/Param/Bytes.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/Call.tsx b/packages/react-params/src/Param/Call.tsx index 1301d5e51a..7397b9aae6 100644 --- a/packages/react-params/src/Param/Call.tsx +++ b/packages/react-params/src/Param/Call.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Extrinsic } from '@polkadot/types/interfaces'; diff --git a/packages/react-params/src/Param/Code.tsx b/packages/react-params/src/Param/Code.tsx index 6d59f78a40..8c1b1401f9 100644 --- a/packages/react-params/src/Param/Code.tsx +++ b/packages/react-params/src/Param/Code.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/DispatchError.tsx b/packages/react-params/src/Param/DispatchError.tsx index d2b5438852..a090de1762 100644 --- a/packages/react-params/src/Param/DispatchError.tsx +++ b/packages/react-params/src/Param/DispatchError.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DispatchError } from '@polkadot/types/interfaces'; diff --git a/packages/react-params/src/Param/Enum.tsx b/packages/react-params/src/Param/Enum.tsx index c4a45e36b4..a8ac99886a 100644 --- a/packages/react-params/src/Param/Enum.tsx +++ b/packages/react-params/src/Param/Enum.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TypeDef } from '@polkadot/types/types'; diff --git a/packages/react-params/src/Param/File.tsx b/packages/react-params/src/Param/File.tsx index 62363dad34..dc9ea3f38a 100644 --- a/packages/react-params/src/Param/File.tsx +++ b/packages/react-params/src/Param/File.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-params/src/Param/Hash160.tsx b/packages/react-params/src/Param/Hash160.tsx index fdd1ea048b..5a509ae95e 100644 --- a/packages/react-params/src/Param/Hash160.tsx +++ b/packages/react-params/src/Param/Hash160.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/Hash256.tsx b/packages/react-params/src/Param/Hash256.tsx index 5ebc370e21..2096c626a0 100644 --- a/packages/react-params/src/Param/Hash256.tsx +++ b/packages/react-params/src/Param/Hash256.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/Hash512.tsx b/packages/react-params/src/Param/Hash512.tsx index 781678705d..58b27e8ba0 100644 --- a/packages/react-params/src/Param/Hash512.tsx +++ b/packages/react-params/src/Param/Hash512.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/KeyValue.tsx b/packages/react-params/src/Param/KeyValue.tsx index 06539977e2..f31d1c05ab 100644 --- a/packages/react-params/src/Param/KeyValue.tsx +++ b/packages/react-params/src/Param/KeyValue.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/KeyValueArray.tsx b/packages/react-params/src/Param/KeyValueArray.tsx index f402e40f97..55ba2f0389 100644 --- a/packages/react-params/src/Param/KeyValueArray.tsx +++ b/packages/react-params/src/Param/KeyValueArray.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Vec } from '@polkadot/types'; diff --git a/packages/react-params/src/Param/Moment.tsx b/packages/react-params/src/Param/Moment.tsx index aeaed6004b..c50ebed23b 100644 --- a/packages/react-params/src/Param/Moment.tsx +++ b/packages/react-params/src/Param/Moment.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props, RawParamOnChangeValue } from '../types'; diff --git a/packages/react-params/src/Param/Null.tsx b/packages/react-params/src/Param/Null.tsx index c9d868307e..95ccb6b6f3 100644 --- a/packages/react-params/src/Param/Null.tsx +++ b/packages/react-params/src/Param/Null.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/OpaqueCall.tsx b/packages/react-params/src/Param/OpaqueCall.tsx index f11dca77e5..0f65453677 100644 --- a/packages/react-params/src/Param/OpaqueCall.tsx +++ b/packages/react-params/src/Param/OpaqueCall.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Bytes } from '@polkadot/types'; diff --git a/packages/react-params/src/Param/Option.tsx b/packages/react-params/src/Param/Option.tsx index 4c6088fc1d..ed0ba29edc 100644 --- a/packages/react-params/src/Param/Option.tsx +++ b/packages/react-params/src/Param/Option.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { TypeDef } from '@polkadot/types/types'; diff --git a/packages/react-params/src/Param/Raw.tsx b/packages/react-params/src/Param/Raw.tsx index 5d5f6f30ca..77273c2115 100644 --- a/packages/react-params/src/Param/Raw.tsx +++ b/packages/react-params/src/Param/Raw.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Codec } from '@polkadot/types/types'; diff --git a/packages/react-params/src/Param/Static.tsx b/packages/react-params/src/Param/Static.tsx index 761f860a66..06ef3998d3 100644 --- a/packages/react-params/src/Param/Static.tsx +++ b/packages/react-params/src/Param/Static.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Codec } from '@polkadot/types/types'; diff --git a/packages/react-params/src/Param/Struct.tsx b/packages/react-params/src/Param/Struct.tsx index 69fe802d0e..592c63e950 100644 --- a/packages/react-params/src/Param/Struct.tsx +++ b/packages/react-params/src/Param/Struct.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props, RawParam } from '../types'; diff --git a/packages/react-params/src/Param/Text.tsx b/packages/react-params/src/Param/Text.tsx index 0d41c2a39c..3bc5663983 100644 --- a/packages/react-params/src/Param/Text.tsx +++ b/packages/react-params/src/Param/Text.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/Tuple.tsx b/packages/react-params/src/Param/Tuple.tsx index ccc869a08f..6646a6e603 100644 --- a/packages/react-params/src/Param/Tuple.tsx +++ b/packages/react-params/src/Param/Tuple.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props, RawParam } from '../types'; diff --git a/packages/react-params/src/Param/Unknown.tsx b/packages/react-params/src/Param/Unknown.tsx index ae0e6c9b6d..00e8bc3088 100644 --- a/packages/react-params/src/Param/Unknown.tsx +++ b/packages/react-params/src/Param/Unknown.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/Vector.tsx b/packages/react-params/src/Param/Vector.tsx index 6668eea0fb..17f8e9ae30 100644 --- a/packages/react-params/src/Param/Vector.tsx +++ b/packages/react-params/src/Param/Vector.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ParamDef, Props, RawParam } from '../types'; diff --git a/packages/react-params/src/Param/VectorFixed.tsx b/packages/react-params/src/Param/VectorFixed.tsx index 8daad20b90..d54586c453 100644 --- a/packages/react-params/src/Param/VectorFixed.tsx +++ b/packages/react-params/src/Param/VectorFixed.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ParamDef, Props, RawParam } from '../types'; diff --git a/packages/react-params/src/Param/Vote.tsx b/packages/react-params/src/Param/Vote.tsx index 1a711d672a..58dd5357a5 100644 --- a/packages/react-params/src/Param/Vote.tsx +++ b/packages/react-params/src/Param/Vote.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/VoteThreshold.tsx b/packages/react-params/src/Param/VoteThreshold.tsx index 91c5adcc21..289aaeb28f 100644 --- a/packages/react-params/src/Param/VoteThreshold.tsx +++ b/packages/react-params/src/Param/VoteThreshold.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/findComponent.ts b/packages/react-params/src/Param/findComponent.ts index 6d59afbf43..9ae04b2b75 100644 --- a/packages/react-params/src/Param/findComponent.ts +++ b/packages/react-params/src/Param/findComponent.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Registry, TypeDef } from '@polkadot/types/types'; diff --git a/packages/react-params/src/Param/index.tsx b/packages/react-params/src/Param/index.tsx index 1d9d651990..1c8fe95452 100644 --- a/packages/react-params/src/Param/index.tsx +++ b/packages/react-params/src/Param/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Props } from '../types'; diff --git a/packages/react-params/src/Param/useParamDefs.ts b/packages/react-params/src/Param/useParamDefs.ts index bd24558b80..cd59bcc97f 100644 --- a/packages/react-params/src/Param/useParamDefs.ts +++ b/packages/react-params/src/Param/useParamDefs.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Registry, TypeDef } from '@polkadot/types/types'; diff --git a/packages/react-params/src/ParamComp.tsx b/packages/react-params/src/ParamComp.tsx index 63798b8257..6fa949714d 100644 --- a/packages/react-params/src/ParamComp.tsx +++ b/packages/react-params/src/ParamComp.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Registry, TypeDef } from '@polkadot/types/types'; diff --git a/packages/react-params/src/index.tsx b/packages/react-params/src/index.tsx index 025ae9ecfd..e8e6dbc2a8 100644 --- a/packages/react-params/src/index.tsx +++ b/packages/react-params/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { I18nProps } from '@polkadot/react-components/types'; diff --git a/packages/react-params/src/initValue.ts b/packages/react-params/src/initValue.ts index 384becb7ec..0975ee2661 100644 --- a/packages/react-params/src/initValue.ts +++ b/packages/react-params/src/initValue.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Registry, TypeDef } from '@polkadot/types/types'; diff --git a/packages/react-params/src/translate.ts b/packages/react-params/src/translate.ts index c7928f49af..a57e81059a 100644 --- a/packages/react-params/src/translate.ts +++ b/packages/react-params/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/react-params/src/types.ts b/packages/react-params/src/types.ts index 31521a7346..9bb976db5c 100644 --- a/packages/react-params/src/types.ts +++ b/packages/react-params/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Registry, TypeDef } from '@polkadot/types/types'; diff --git a/packages/react-params/src/valueToText.tsx b/packages/react-params/src/valueToText.tsx index d3d4325581..66784c4553 100644 --- a/packages/react-params/src/valueToText.tsx +++ b/packages/react-params/src/valueToText.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Keys, ValidatorId } from '@polkadot/types/interfaces'; diff --git a/packages/react-params/src/values.ts b/packages/react-params/src/values.ts index a35e3009dd..ef70a0b0ba 100644 --- a/packages/react-params/src/values.ts +++ b/packages/react-params/src/values.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-params authors & contributors +// Copyright 2017-2021 @polkadot/react-params authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Registry, TypeDef } from '@polkadot/types/types'; diff --git a/packages/react-query/src/Available.tsx b/packages/react-query/src/Available.tsx index 2b46a0fe65..7cd877bb56 100644 --- a/packages/react-query/src/Available.tsx +++ b/packages/react-query/src/Available.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAll } from '@polkadot/api-derive/types'; diff --git a/packages/react-query/src/Balance.tsx b/packages/react-query/src/Balance.tsx index e6676127dc..9725628cbf 100644 --- a/packages/react-query/src/Balance.tsx +++ b/packages/react-query/src/Balance.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAll } from '@polkadot/api-derive/types'; diff --git a/packages/react-query/src/BalanceFree.tsx b/packages/react-query/src/BalanceFree.tsx index 5dbbd40987..41292f4cd2 100644 --- a/packages/react-query/src/BalanceFree.tsx +++ b/packages/react-query/src/BalanceFree.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAll } from '@polkadot/api-derive/types'; diff --git a/packages/react-query/src/BalanceVoting.tsx b/packages/react-query/src/BalanceVoting.tsx index 514b4b566b..5dbf0905f0 100644 --- a/packages/react-query/src/BalanceVoting.tsx +++ b/packages/react-query/src/BalanceVoting.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAll } from '@polkadot/api-derive/types'; diff --git a/packages/react-query/src/BestFinalized.tsx b/packages/react-query/src/BestFinalized.tsx index 9ed719cf57..e099508e74 100644 --- a/packages/react-query/src/BestFinalized.tsx +++ b/packages/react-query/src/BestFinalized.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BlockNumber } from '@polkadot/types/interfaces'; diff --git a/packages/react-query/src/BestNumber.tsx b/packages/react-query/src/BestNumber.tsx index c9094cc213..442acc7c6c 100644 --- a/packages/react-query/src/BestNumber.tsx +++ b/packages/react-query/src/BestNumber.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BlockNumber } from '@polkadot/types/interfaces'; diff --git a/packages/react-query/src/BlockAuthors.tsx b/packages/react-query/src/BlockAuthors.tsx index 835d7e0f9c..202bc714f5 100644 --- a/packages/react-query/src/BlockAuthors.tsx +++ b/packages/react-query/src/BlockAuthors.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { EraRewardPoints } from '@polkadot/types/interfaces'; diff --git a/packages/react-query/src/BlockToTime.tsx b/packages/react-query/src/BlockToTime.tsx index 3c6de29a42..f060444f34 100644 --- a/packages/react-query/src/BlockToTime.tsx +++ b/packages/react-query/src/BlockToTime.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/react-query/src/Bonded.tsx b/packages/react-query/src/Bonded.tsx index ed9c56a340..4c3a806eae 100644 --- a/packages/react-query/src/Bonded.tsx +++ b/packages/react-query/src/Bonded.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Option } from '@polkadot/types'; diff --git a/packages/react-query/src/Chain.tsx b/packages/react-query/src/Chain.tsx index 0aff83fb42..ac8083e6cb 100644 --- a/packages/react-query/src/Chain.tsx +++ b/packages/react-query/src/Chain.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-query/src/Elapsed.tsx b/packages/react-query/src/Elapsed.tsx index c631ad9b48..dbabee73f8 100644 --- a/packages/react-query/src/Elapsed.tsx +++ b/packages/react-query/src/Elapsed.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/react-query/src/Events.tsx b/packages/react-query/src/Events.tsx index 1e31705306..081da731a2 100644 --- a/packages/react-query/src/Events.tsx +++ b/packages/react-query/src/Events.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { IndexedEvent, KeyedEvent } from './types'; diff --git a/packages/react-query/src/FormatBalance.tsx b/packages/react-query/src/FormatBalance.tsx index f26dfbd122..35565cc120 100644 --- a/packages/react-query/src/FormatBalance.tsx +++ b/packages/react-query/src/FormatBalance.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { ThemeProps } from '@polkadot/react-components/types'; diff --git a/packages/react-query/src/LockedVote.tsx b/packages/react-query/src/LockedVote.tsx index 96055c7c93..4fd745fa68 100644 --- a/packages/react-query/src/LockedVote.tsx +++ b/packages/react-query/src/LockedVote.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveCouncilVote } from '@polkadot/api-derive/types'; diff --git a/packages/react-query/src/NodeName.tsx b/packages/react-query/src/NodeName.tsx index d05bfcbcd7..3b39cb2b91 100644 --- a/packages/react-query/src/NodeName.tsx +++ b/packages/react-query/src/NodeName.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-query/src/NodeVersion.tsx b/packages/react-query/src/NodeVersion.tsx index 81639cce74..37c37dea1d 100644 --- a/packages/react-query/src/NodeVersion.tsx +++ b/packages/react-query/src/NodeVersion.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-query/src/Nonce.tsx b/packages/react-query/src/Nonce.tsx index 3d12922282..9191d7435a 100644 --- a/packages/react-query/src/Nonce.tsx +++ b/packages/react-query/src/Nonce.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { DeriveBalancesAll } from '@polkadot/api-derive/types'; diff --git a/packages/react-query/src/TimeNow.tsx b/packages/react-query/src/TimeNow.tsx index 79c8547d8c..9867d5ab0e 100644 --- a/packages/react-query/src/TimeNow.tsx +++ b/packages/react-query/src/TimeNow.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Moment } from '@polkadot/types/interfaces'; diff --git a/packages/react-query/src/TotalIssuance.tsx b/packages/react-query/src/TotalIssuance.tsx index aa4e999dc1..dcb5cf35f2 100644 --- a/packages/react-query/src/TotalIssuance.tsx +++ b/packages/react-query/src/TotalIssuance.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; diff --git a/packages/react-query/src/index.ts b/packages/react-query/src/index.ts index fc9cfc4c79..8d4c624c82 100644 --- a/packages/react-query/src/index.ts +++ b/packages/react-query/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 export { default as Available } from './Available'; diff --git a/packages/react-query/src/translate.ts b/packages/react-query/src/translate.ts index d90033f628..9f97e7e3e1 100644 --- a/packages/react-query/src/translate.ts +++ b/packages/react-query/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/react-query/src/types.ts b/packages/react-query/src/types.ts index 1a6b644564..913b8a6cec 100644 --- a/packages/react-query/src/types.ts +++ b/packages/react-query/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { BlockNumber, EventRecord } from '@polkadot/types/interfaces'; diff --git a/packages/react-query/webpack.config.js b/packages/react-query/webpack.config.js index b8c4b37a96..16d1525fa1 100644 --- a/packages/react-query/webpack.config.js +++ b/packages/react-query/webpack.config.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-query authors & contributors +// Copyright 2017-2021 @polkadot/react-query authors & contributors // SPDX-License-Identifier: Apache-2.0 const ENV = process.env.NODE_ENV || 'development'; diff --git a/packages/react-signer/src/Address.tsx b/packages/react-signer/src/Address.tsx index 904fa2091d..a8a4d2fa69 100644 --- a/packages/react-signer/src/Address.tsx +++ b/packages/react-signer/src/Address.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/react-signer/src/Password.tsx b/packages/react-signer/src/Password.tsx index f692c5033c..ab5cef83b3 100644 --- a/packages/react-signer/src/Password.tsx +++ b/packages/react-signer/src/Password.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringPair } from '@polkadot/keyring/types'; diff --git a/packages/react-signer/src/PaymentInfo.tsx b/packages/react-signer/src/PaymentInfo.tsx index 4e23566897..48a5192e04 100644 --- a/packages/react-signer/src/PaymentInfo.tsx +++ b/packages/react-signer/src/PaymentInfo.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/promise/types'; diff --git a/packages/react-signer/src/Qr.tsx b/packages/react-signer/src/Qr.tsx index 039168305b..63f454b546 100644 --- a/packages/react-signer/src/Qr.tsx +++ b/packages/react-signer/src/Qr.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useState } from 'react'; diff --git a/packages/react-signer/src/SignFields.tsx b/packages/react-signer/src/SignFields.tsx index 9967e99ba5..7f5f9c13ef 100644 --- a/packages/react-signer/src/SignFields.tsx +++ b/packages/react-signer/src/SignFields.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SignerOptions } from '@polkadot/api/submittable/types'; diff --git a/packages/react-signer/src/Tip.tsx b/packages/react-signer/src/Tip.tsx index 8dbd0b67c5..58fd804bf2 100644 --- a/packages/react-signer/src/Tip.tsx +++ b/packages/react-signer/src/Tip.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; diff --git a/packages/react-signer/src/Transaction.tsx b/packages/react-signer/src/Transaction.tsx index 3ad2422ef1..b88da4937b 100644 --- a/packages/react-signer/src/Transaction.tsx +++ b/packages/react-signer/src/Transaction.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { QueueTx } from '@polkadot/react-components/Status/types'; diff --git a/packages/react-signer/src/TxSigned.tsx b/packages/react-signer/src/TxSigned.tsx index 5d9b85abf6..afd4f7b38e 100644 --- a/packages/react-signer/src/TxSigned.tsx +++ b/packages/react-signer/src/TxSigned.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SignerOptions } from '@polkadot/api/submittable/types'; diff --git a/packages/react-signer/src/TxUnsigned.tsx b/packages/react-signer/src/TxUnsigned.tsx index 8a51036ee2..974d2a4b17 100644 --- a/packages/react-signer/src/TxUnsigned.tsx +++ b/packages/react-signer/src/TxUnsigned.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableExtrinsic } from '@polkadot/api/types'; diff --git a/packages/react-signer/src/index.tsx b/packages/react-signer/src/index.tsx index 0245fbde98..44aef36c20 100644 --- a/packages/react-signer/src/index.tsx +++ b/packages/react-signer/src/index.tsx @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { QueueTx, QueueTxMessageSetStatus, QueueTxResult } from '@polkadot/react-components/Status/types'; diff --git a/packages/react-signer/src/signers/AccountSigner.ts b/packages/react-signer/src/signers/AccountSigner.ts index b0ba8dd8d6..1617dbd1a5 100644 --- a/packages/react-signer/src/signers/AccountSigner.ts +++ b/packages/react-signer/src/signers/AccountSigner.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Signer, SignerResult } from '@polkadot/api/types'; diff --git a/packages/react-signer/src/signers/ApiSigner.ts b/packages/react-signer/src/signers/ApiSigner.ts index e062d49b9d..2c1a9d0aec 100644 --- a/packages/react-signer/src/signers/ApiSigner.ts +++ b/packages/react-signer/src/signers/ApiSigner.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SubmittableResult } from '@polkadot/api'; diff --git a/packages/react-signer/src/signers/LedgerSigner.ts b/packages/react-signer/src/signers/LedgerSigner.ts index c7bbe76812..6d655723f1 100644 --- a/packages/react-signer/src/signers/LedgerSigner.ts +++ b/packages/react-signer/src/signers/LedgerSigner.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Signer, SignerResult } from '@polkadot/api/types'; diff --git a/packages/react-signer/src/signers/QrSigner.ts b/packages/react-signer/src/signers/QrSigner.ts index ea94603a86..5682053744 100644 --- a/packages/react-signer/src/signers/QrSigner.ts +++ b/packages/react-signer/src/signers/QrSigner.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Signer, SignerResult } from '@polkadot/api/types'; diff --git a/packages/react-signer/src/signers/index.ts b/packages/react-signer/src/signers/index.ts index aad625c88e..f6ab4f5dad 100644 --- a/packages/react-signer/src/signers/index.ts +++ b/packages/react-signer/src/signers/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 export { default as AccountSigner } from './AccountSigner'; diff --git a/packages/react-signer/src/translate.ts b/packages/react-signer/src/translate.ts index 665aeb204f..aa19f1f41c 100644 --- a/packages/react-signer/src/translate.ts +++ b/packages/react-signer/src/translate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { UseTranslationResponse } from 'react-i18next'; diff --git a/packages/react-signer/src/types.ts b/packages/react-signer/src/types.ts index 629f9352a7..60d6e669af 100644 --- a/packages/react-signer/src/types.ts +++ b/packages/react-signer/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SignerResult } from '@polkadot/api/types'; diff --git a/packages/react-signer/src/util.ts b/packages/react-signer/src/util.ts index a6451122d3..cbb45d5c7b 100644 --- a/packages/react-signer/src/util.ts +++ b/packages/react-signer/src/util.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/react-signer authors & contributors +// Copyright 2017-2021 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringPair } from '@polkadot/keyring/types'; diff --git a/packages/test-support/src/api/createApi.ts b/packages/test-support/src/api/createApi.ts index e453ae04bc..04dcccd538 100644 --- a/packages/test-support/src/api/createApi.ts +++ b/packages/test-support/src/api/createApi.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/test-support authors & contributors +// Copyright 2017-2021 @polkadot/test-support authors & contributors // SPDX-License-Identifier: Apache-2.0 import { ApiPromise } from '@polkadot/api/promise'; diff --git a/packages/test-support/src/api/index.ts b/packages/test-support/src/api/index.ts index 0c2d8b0efb..4629571e25 100644 --- a/packages/test-support/src/api/index.ts +++ b/packages/test-support/src/api/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/test-support authors & contributors +// Copyright 2017-2021 @polkadot/test-support authors & contributors // SPDX-License-Identifier: Apache-2.0 export * from './createApi'; diff --git a/packages/test-support/src/keyring/MemoryStore.ts b/packages/test-support/src/keyring/MemoryStore.ts index 9c918fcc03..89ef1a46d0 100644 --- a/packages/test-support/src/keyring/MemoryStore.ts +++ b/packages/test-support/src/keyring/MemoryStore.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/test-support authors & contributors +// Copyright 2017-2021 @polkadot/test-support authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { KeyringJson, KeyringStore } from '@polkadot/ui-keyring/types'; diff --git a/packages/test-support/src/keyring/index.ts b/packages/test-support/src/keyring/index.ts index f265ef60f1..d7ae03da5c 100644 --- a/packages/test-support/src/keyring/index.ts +++ b/packages/test-support/src/keyring/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/test-support authors & contributors +// Copyright 2017-2021 @polkadot/test-support authors & contributors // SPDX-License-Identifier: Apache-2.0 export * from './MemoryStore'; diff --git a/packages/test-support/src/keyring/signers.ts b/packages/test-support/src/keyring/signers.ts index d576caaf64..552fb7688d 100644 --- a/packages/test-support/src/keyring/signers.ts +++ b/packages/test-support/src/keyring/signers.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/test-support authors & contributors +// Copyright 2017-2021 @polkadot/test-support authors & contributors // SPDX-License-Identifier: Apache-2.0 import { Keyring } from '@polkadot/keyring'; diff --git a/packages/test-support/src/react/apiInTests.ts b/packages/test-support/src/react/apiInTests.ts index e501962253..a5f3b2b479 100644 --- a/packages/test-support/src/react/apiInTests.ts +++ b/packages/test-support/src/react/apiInTests.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/test-support authors & contributors +// Copyright 2017-2021 @polkadot/test-support authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { PropsWithChildren } from 'react'; diff --git a/packages/test-support/src/react/index.ts b/packages/test-support/src/react/index.ts index e3d3ea3cbf..5440159ec1 100644 --- a/packages/test-support/src/react/index.ts +++ b/packages/test-support/src/react/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/test-support authors & contributors +// Copyright 2017-2021 @polkadot/test-support authors & contributors // SPDX-License-Identifier: Apache-2.0 export * from './apiInTests'; diff --git a/packages/test-support/src/substrate/constants.ts b/packages/test-support/src/substrate/constants.ts index e5c90d50f1..270ee9139e 100644 --- a/packages/test-support/src/substrate/constants.ts +++ b/packages/test-support/src/substrate/constants.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/test-support authors & contributors +// Copyright 2017-2021 @polkadot/test-support authors & contributors // SPDX-License-Identifier: Apache-2.0 export const SUBSTRATE_PORT = Number.parseInt(process.env.TEST_SUBSTRATE_PORT || '30333'); diff --git a/packages/test-support/src/substrate/index.ts b/packages/test-support/src/substrate/index.ts index 619907ba7f..b96773ad33 100644 --- a/packages/test-support/src/substrate/index.ts +++ b/packages/test-support/src/substrate/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/test-support authors & contributors +// Copyright 2017-2021 @polkadot/test-support authors & contributors // SPDX-License-Identifier: Apache-2.0 export * from './constants'; diff --git a/packages/test-support/src/transaction/execute.ts b/packages/test-support/src/transaction/execute.ts index f2a54c0437..c8ffc78097 100644 --- a/packages/test-support/src/transaction/execute.ts +++ b/packages/test-support/src/transaction/execute.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/test-support authors & contributors +// Copyright 2017-2021 @polkadot/test-support authors & contributors // SPDX-License-Identifier: Apache-2.0 import { waitFor } from '@testing-library/react'; diff --git a/packages/test-support/src/transaction/index.ts b/packages/test-support/src/transaction/index.ts index a4b3502996..77c45465b3 100644 --- a/packages/test-support/src/transaction/index.ts +++ b/packages/test-support/src/transaction/index.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/test-support authors & contributors +// Copyright 2017-2021 @polkadot/test-support authors & contributors // SPDX-License-Identifier: Apache-2.0 export * from './execute'; diff --git a/scripts/docker.sh b/scripts/docker.sh index 625fa9e671..a64b3900c8 100755 --- a/scripts/docker.sh +++ b/scripts/docker.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2017-2020 @polkadot/apps authors & contributors +# Copyright 2017-2021 @polkadot/apps authors & contributors # This software may be modified and distributed under the terms # of the Apache-2.0 license. See the LICENSE file for details. diff --git a/scripts/findPackages.js b/scripts/findPackages.js index 0ea06d1f10..9c53d42ee8 100644 --- a/scripts/findPackages.js +++ b/scripts/findPackages.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 const fs = require('fs'); diff --git a/scripts/i18nLint.js b/scripts/i18nLint.js index ea4dbe3f82..6f179c251d 100644 --- a/scripts/i18nLint.js +++ b/scripts/i18nLint.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 const fs = require('fs'); diff --git a/scripts/i18nSort.js b/scripts/i18nSort.js index 141602739c..3912c32911 100644 --- a/scripts/i18nSort.js +++ b/scripts/i18nSort.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 const fs = require('fs'); diff --git a/scripts/ipfsUpload.js b/scripts/ipfsUpload.js index f07d0e0ce5..a7f68d349d 100644 --- a/scripts/ipfsUpload.js +++ b/scripts/ipfsUpload.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 const fs = require('fs'); diff --git a/scripts/robohash.js b/scripts/robohash.js index f8ff0cdcb5..4936f0af7e 100755 --- a/scripts/robohash.js +++ b/scripts/robohash.js @@ -1,10 +1,10 @@ -// Copyright 2017-2020 @polkadot/react-components authors & contributors +// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 const fs = require('fs'); const path = require('path'); -const HEADER = `// Copyright 2017-2020 @polkadot/react-components authors & contributors +const HEADER = `// Copyright 2017-2021 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 // Automatically generated, do not edit`; diff --git a/test/enzyme.js b/test/enzyme.js index 9ca3593e0e..126b9127f2 100644 --- a/test/enzyme.js +++ b/test/enzyme.js @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/apps authors & contributors +// Copyright 2017-2021 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 const Adapter = require('enzyme-adapter-react-16'); diff --git a/test/test.contract.wasm b/test/test.contract.wasm deleted file mode 100644 index 835154855b..0000000000 Binary files a/test/test.contract.wasm and /dev/null differ