@darwinia/types
Advanced tools
Comparing version 2.8.4 to 2.8.5
import type { LockIdentifier, Status, UsableBalance } from '@darwinia/types/interfaces/balances'; | ||
import type { BridgedBlockHash, BridgedHeaderHash, CrabRuntimeMessagesDarwiniaMessageCrabToDarwiniaMessagesParameter, DeliveredMessages, FixedU128, LaneId, MessageId, MessageNonce, MessagePayload, RawStorageProof, RelayerId, TechnicalMember, UnrewardedRelayer } from '@darwinia/types/interfaces/bridges'; | ||
import type { BSCHeader } from '@darwinia/types/interfaces/bsc'; | ||
import type { Address, AddressT, BalanceInfo, BalanceLock, Bloom, ChainProperties, Common, DepositId, EcdsaAddress, EcdsaMessage, EcdsaSignature, ElectionCompute, ElectionResultT, EraIndex, EthashProof, EthereumAddress, EthereumBlockNumber, EthereumNetwork, EthereumReceiptProof, EthereumTransactionIndex, Exposure, ExposureT, IndividualExposure, KtonBalance, LegacyReceipt, LockFor, LogEntry, MMRProof, MMRRoot, MappedRing, MerkleMountainRangeRootLog, OpCode, Power, PriorRelayer, RKT, Reasons, RefCount, RelayAuthorityMessage, RelayAuthoritySignature, RelayAuthoritySigner, RingBalance, Signature, Signer, SpanRecord, StakingLock, Term, TimeDepositItem, TokenMessageId, TransactionOutcome, TronAddress, TsInMs, UnappliedSlash, Unbonding, ValidatorPrefs, ValidatorPrefsWithBlocked } from '@darwinia/types/interfaces/darwiniaInject'; | ||
import type { Address, AddressT, BalanceInfo, BalanceLock, Bloom, ChainProperties, Common, DepositId, EcdsaAddress, EcdsaMessage, EcdsaSignature, ElectionCompute, ElectionResultT, EraIndex, EthashProof, EthereumAddress, EthereumBlockNumber, EthereumNetwork, EthereumReceiptProof, EthereumTransactionIndex, Exposure, ExposureT, IndividualExposure, KtonBalance, LegacyReceipt, LockFor, LogEntry, MMRProof, MMRRoot, MappedRing, MerkleMountainRangeRootLog, OpCode, Power, PriorRelayer, RKT, Reasons, RedeemFor, RefCount, RelayAuthorityMessage, RelayAuthoritySignature, RelayAuthoritySigner, RingBalance, Signature, Signer, SpanRecord, StakingLock, Term, TimeDepositItem, TokenMessageId, TransactionOutcome, TronAddress, TsInMs, UnappliedSlash, Unbonding, ValidatorPrefs, ValidatorPrefsWithBlocked } from '@darwinia/types/interfaces/darwiniaInject'; | ||
import type { DarwiniaDemocracyVoteThreshold } from '@darwinia/types/interfaces/democracy'; | ||
@@ -14,3 +14,3 @@ import type { EIP1559Transaction, EIP2930Transaction, EthAccessList, EthAccessListItem, EthAddress, EthBloom, EthHeader, EthLog, EthTransactionAction, EthTransactionSignature, LegacyTransaction, TransactionV2 } from '@darwinia/types/interfaces/eth'; | ||
import type { Data, StorageKey } from '@polkadot/types'; | ||
import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec'; | ||
import type { BitVec, Bool, Bytes, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec'; | ||
declare module '@polkadot/types/types/registry' { | ||
@@ -105,2 +105,3 @@ interface InterfaceTypes { | ||
OpCode: OpCode; | ||
OptionBool: OptionBool; | ||
PalletStakingIndividualExposure: PalletStakingIndividualExposure; | ||
@@ -115,2 +116,3 @@ Power: Power; | ||
Reasons: Reasons; | ||
RedeemFor: RedeemFor; | ||
RefCount: RefCount; | ||
@@ -117,0 +119,0 @@ RelayAffirmationId: RelayAffirmationId; |
import type { Enum, Struct, U8aFixed } from '@polkadot/types-codec'; | ||
import type { Balance } from '@polkadot/types/interfaces/runtime'; | ||
import { Balance } from '@polkadot/types/interfaces'; | ||
/** @name LockIdentifier */ | ||
@@ -4,0 +4,0 @@ export interface LockIdentifier extends U8aFixed { |
@@ -93,4 +93,4 @@ import type { LockIdentifier } from '@darwinia/types/interfaces/balances'; | ||
export interface ExposureT extends Struct { | ||
readonly ownRingBalance: Balance; | ||
readonly ownKtonBalance: Balance; | ||
readonly ownRingBalance: Compact<Balance>; | ||
readonly ownKtonBalance: Compact<Balance>; | ||
readonly ownPower: Power; | ||
@@ -103,4 +103,4 @@ readonly totalPower: Power; | ||
readonly who: AccountId; | ||
readonly ringBalance: Balance; | ||
readonly ktonBalance: Balance; | ||
readonly ringBalance: Compact<Balance>; | ||
readonly ktonBalance: Compact<Balance>; | ||
readonly power: Power; | ||
@@ -168,2 +168,8 @@ } | ||
} | ||
/** @name RedeemFor */ | ||
export interface RedeemFor extends Enum { | ||
readonly isToken: boolean; | ||
readonly isDeposit: boolean; | ||
readonly type: 'Token' | 'Deposit'; | ||
} | ||
/** @name RefCount */ | ||
@@ -170,0 +176,0 @@ export interface RefCount extends u32 { |
{ | ||
"name": "@darwinia/types", | ||
"version": "2.8.4", | ||
"version": "2.8.5", | ||
"description": "Implementation of the Parity codec", | ||
@@ -26,3 +26,3 @@ "main": "index.js", | ||
"@babel/runtime": "^7.17.9", | ||
"@darwinia/types-known": "^2.8.4", | ||
"@darwinia/types-known": "^2.8.5", | ||
"@polkadot/keyring": "^9.0.1", | ||
@@ -29,0 +29,0 @@ "@polkadot/types-augment": "^8.1.2-1", |
82659
2178