Files
api/packages/types
Jaco Greeff b313614935 Pull in vuepress foir docs (as opposed to gitbook) (#742)
* Pull in latest @polkadot/dev, cleanup existing *.html

* Cleanups (old gitbook interfaces)

* Bump, WIP

* Ready for testing

* Update examples

* Include source

* Cleanup links

* Adjust links

* Add typedoc exclusions

* Default classes from class files

* Adjust imports

* Adjust config

* Re-add types split

* Update links to substrate interfaces

* Anchors for metadata

* Adjust links

* Restore HTML (to be deleted on CI)

* Bump deps

* Re-gen yarn.lock

* Remove a in links

* Adjust interfaces
2019-02-26 15:21:39 +01:00
..
2018-11-21 13:37:27 +01:00

@polkadot/types

Implementation of the types and their (de-)serialisation via parity-codec.

Primitive types

There primitive types are available: Bool, Bytes, Data, H160, H256, H512, I8, I16, I32, I64, I128, I256, Method, Moment, Null, StorageData, StorageKey, Text, Type, U8, U16, U32, U64, U128, U256, USize

Substrate types

These types implement specific types that are found as part of the Substrate base: AccountId, AccountIndex, Address, Amount, AssetOf, AttestedCandidate, AuthorityId, Balance, BalanceOf, Block, BlockNumber, ChainProperties, CodeHash, Digest, Event, EventRecord, Extrinsic, Extrinsics, ExtrinsicEra, ExtrinsicSignature, ExtrinsicStatus, Gas, Hash, Header, Health, InherentOfflineReport, Justification, KeyValue, Metadata, MisbehaviorReport, NewAccountOutcome, Nonce, Origin, ParaId, PendingExtrinsics, Perbill, Permill, PrefabWasmModule, PropIndex, Proposal, ProposalIndex, ReferendumIndex, ReferendumInfo, RuntimeVersion, Schedule, SeedOf, SessionKey, Signature, SignaturePayload, SignedBlock, StorageChangeSet, StoredPendingChange, ValidatorPrefs, VestingSchedule, Vote, VoteIndex, VoteThreshold

Derived types

Some types are extended from the base to provide additional information: HeaderExtended, ReferendumInfoExtended

Codec types

These are the base types of the codec, typically not used directly, but rather inherited from to create specific types: Base, Compact, Enum, EnumType, Option, Set, Struct, Tuple, U8a, U8aFixed, UInt, Vector