UNPKG

@open-web3/orml-types

Version:

Polkadot.js types for Open Runtime Module Library (ORML)

21 lines (20 loc) 693 B
import type { AccountId, Moment, OracleValue } from '@open-web3/orml-types/interfaces/runtime'; import type { Struct, Text, Vec, u8 } from '@polkadot/types-codec'; /** @name DataProviderId */ export interface DataProviderId extends u8 { } /** @name OrderedSet */ export interface OrderedSet extends Vec<AccountId> { } /** @name RpcDataProviderId */ export interface RpcDataProviderId extends Text { } /** @name TimestampedValue */ export interface TimestampedValue extends Struct { readonly value: OracleValue; readonly timestamp: Moment; } /** @name TimestampedValueOf */ export interface TimestampedValueOf extends TimestampedValue { } export declare type PHANTOM_ORACLE = 'oracle';