-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added to support paritytech/substrate#6076
- Loading branch information
Showing
6 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Copyright 2017-2020 @polkadot/types authors & contributors | ||
// This software may be modified and distributed under the terms | ||
// of the Apache-2.0 license. See the LICENSE file for details. | ||
|
||
// order important in structs... :) | ||
/* eslint-disable sort-keys */ | ||
|
||
import { Definitions } from '../../types'; | ||
|
||
export default { | ||
rpc: {}, | ||
types: { | ||
WeightToFeeCoefficient: { | ||
coeffInteger: 'Balance', | ||
coeffFrac: 'Perbill', | ||
negative: 'bool', | ||
degree: 'u8' | ||
} | ||
} | ||
} as Definitions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit | ||
/* eslint-disable */ | ||
|
||
export * from './types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit | ||
/* eslint-disable */ | ||
|
||
import { Struct } from '@polkadot/types/codec'; | ||
import { bool, u8 } from '@polkadot/types/primitive'; | ||
import { Balance, Perbill } from '@polkadot/types/interfaces/runtime'; | ||
|
||
/** @name WeightToFeeCoefficient */ | ||
export interface WeightToFeeCoefficient extends Struct { | ||
readonly coeffInteger: Balance; | ||
readonly coeffFrac: Perbill; | ||
readonly negative: bool; | ||
readonly degree: u8; | ||
} | ||
|
||
export type PHANTOM_SUPPORT = 'support'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters