// Copyright 2019-2020 @polkadot/extension-base authors & contributors // SPDX-License-Identifier: Apache-2.0