@darwinia/types
Advanced tools
Comparing version 2.6.8-2 to 2.6.8-3
@@ -5,3 +5,3 @@ import type { Metadata } from '@polkadot/metadata'; | ||
import type { UsableBalance } from '@darwinia/types/interfaces/balances'; | ||
import type { Fee } from '@darwinia/types/interfaces/darwiniaInject'; | ||
import type { Fee } from '@darwinia/types/interfaces/fee'; | ||
import type { MMRProofResult } from '@darwinia/types/interfaces/headerMMR'; | ||
@@ -8,0 +8,0 @@ import type { PowerOf } from '@darwinia/types/interfaces/staking'; |
@@ -240,3 +240,5 @@ declare const _default: { | ||
}; | ||
Fee: string; | ||
Fee: { | ||
amount: string; | ||
}; | ||
Order: { | ||
@@ -243,0 +245,0 @@ lane: string; |
@@ -251,3 +251,5 @@ "use strict"; | ||
}, | ||
Fee: 'Balance', | ||
Fee: { | ||
amount: 'Balance' | ||
}, | ||
Order: { | ||
@@ -254,0 +256,0 @@ lane: 'LaneId', |
@@ -1,8 +0,8 @@ | ||
import type { Bytes, Compact, Enum, Option, Struct, Text, U256, U8aFixed, Vec, u128, u32, u64, u8 } from '@polkadot/types'; | ||
import type { ITuple } from '@polkadot/types/types'; | ||
import type { Bytes, Compact, Enum, Option, Struct, Text, u128, U256, u32, u64, u8, U8aFixed, Vec } from '@polkadot/types'; | ||
import type { Reasons, EraIndex } from '@polkadot/types/interfaces'; | ||
import type { EthereumAddress } from '@polkadot/types/interfaces/claims'; | ||
import type { AccountId, Balance, BlockNumber, H128, H160, H256, H512, Hash, Index, LockIdentifier } from '@polkadot/types/interfaces/runtime'; | ||
import type { ValidatorPrefsWithBlocked } from '@polkadot/types/interfaces/staking'; | ||
import type { RefCount } from '@polkadot/types/interfaces/system'; | ||
import { EraIndex } from '@polkadot/types/interfaces/staking'; | ||
export * from '../fee/types'; | ||
import type { ITuple } from '@polkadot/types/types'; | ||
/** @name AccountData */ | ||
@@ -27,7 +27,2 @@ export interface AccountData extends Struct { | ||
} | ||
export interface Reasons extends Enum { | ||
readonly Fee: string; | ||
readonly Misc: string; | ||
readonly All: string; | ||
} | ||
/** @name BalanceLock */ | ||
@@ -356,4 +351,2 @@ export interface BalanceLock extends Struct { | ||
} | ||
export interface ValidatorPrefsWithBlocked extends Struct { | ||
} | ||
/** @name ValidatorPrefs */ | ||
@@ -360,0 +353,0 @@ export interface ValidatorPrefs extends ValidatorPrefsWithBlocked { |
@@ -1,17 +0,1 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
var _types = require("../fee/types"); | ||
Object.keys(_types).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function () { | ||
return _types[key]; | ||
} | ||
}); | ||
}); | ||
"use strict"; |
@@ -11,5 +11,7 @@ declare const _default: { | ||
types: { | ||
Fee: string; | ||
Fee: { | ||
amount: string; | ||
}; | ||
}; | ||
}; | ||
export default _default; |
@@ -23,5 +23,7 @@ "use strict"; | ||
types: { | ||
Fee: 'Balance' | ||
Fee: { | ||
amount: 'Balance' | ||
} | ||
} | ||
}; | ||
exports.default = _default; |
@@ -0,5 +1,7 @@ | ||
import type { Struct } from '@polkadot/types'; | ||
import type { Balance } from '@polkadot/types/interfaces/runtime'; | ||
/** @name Fee */ | ||
export interface Fee extends Balance { | ||
export interface Fee extends Struct { | ||
readonly amount: Balance; | ||
} | ||
export declare type PHANTOM_FEE = 'fee'; |
@@ -1,8 +0,3 @@ | ||
import type { AccountId, Hash, BlockNumber } from '@polkadot/types/interfaces/runtime'; | ||
import type { Enum, Struct } from '@polkadot/types'; | ||
export interface ProxyAnnouncement extends Struct { | ||
real: AccountId; | ||
callHash: Hash; | ||
height: BlockNumber; | ||
} | ||
import type { Enum } from '@polkadot/types'; | ||
import type { ProxyAnnouncement } from '@polkadot/types/interfaces/proxy'; | ||
/** @name Announcement */ | ||
@@ -9,0 +4,0 @@ export interface Announcement extends ProxyAnnouncement { |
{ | ||
"name": "@darwinia/types", | ||
"version": "2.6.8-2", | ||
"version": "2.6.8-3", | ||
"description": "Implementation of the Parity codec", | ||
@@ -25,4 +25,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"@darwinia/types-known": "^2.6.8-2" | ||
"@darwinia/types-known": "^2.6.8-3" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
550294
11365