ghost-portal/packages/app-js/src/snippets/index.ts
Stefanie Doll 7dffdb2e7e
Add const example to app-js (#1424)
* Add const example to app-js

* Trigger Travis
2019-07-19 17:40:31 +02:00

45 lines
989 B
TypeScript

// Copyright 2017-2019 @polkadot/app-123code authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { Snippet } from './../types';
import {
rpcNetworkAuthoring,
rpcNewHead,
rpcQueryState,
rpcSysthemInfo
} from './rpc-examples';
import {
storageGetInfo,
storageSystemEvents,
storageListenToBalanceChange,
storageListenToMultipleBalancesChange,
storageRetrieveInfoOnQueryKeys
} from './storage-examples';
import {
constsStakingParameters
} from './consts-examples';
import {
extrinsicMakeTransfer
} from './extrinsics-examples';
const snippets: Snippet[] = [
rpcNetworkAuthoring,
rpcNewHead,
rpcQueryState,
rpcSysthemInfo,
storageGetInfo,
storageSystemEvents,
storageListenToBalanceChange,
storageListenToMultipleBalancesChange,
storageRetrieveInfoOnQueryKeys,
constsStakingParameters,
extrinsicMakeTransfer
];
export default snippets;