ghost-portal/packages/app-testing/src/extrinsics/staking.js
2018-04-19 09:25:27 +02:00

22 lines
467 B
JavaScript

// Copyright 2017-2018 Jaco Greeff
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// @flow
import type { ExtrinsicsBasic } from './types';
module.exports = ({
transfer: {
description: 'Staking Transfer',
params: ['AccountId', 'Balance']
},
stake: {
description: 'Stake',
params: []
},
unstake: {
description: 'Unstake',
params: []
}
}: ExtrinsicsBasic);