Files
api/packages/types
Jaco Greeff fd93fbc4a6 Support new versioned metadata format (#632)
* Start something...

* Parsing via proxy (everything still all-ok)

* Imp[ort order (minor)

* WIP expanding the structure

* Adjust V1 structure

* Parsing seems to do the trick...

* Add CodeHash and Schedule types

* //v0/ -> /v0/

* Update Extrinsic.ts

* Updated with compact outerDispatch, non-throw construction

* v1 to V0 conversion

* Bubble non-magic errors in constructor

* Update e2e after testing them

* Bump version with CHANGELOG  (potentially breaking change)
2019-01-26 16:27:00 +01:00
..
2019-01-04 16:18:44 +01:00
2018-11-21 13:37:27 +01:00

@polkadot/types

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

Substrate types

These types implement specific types that are found as part of the Substrate base: AccountId, AccountIndex, Address, AuthorityId, Balance, Block, BlockNumber, Bool, Bytes, ChainProperties Data, Digest, Event, EventRecord, Extrinsic, Extrinsics, ExtrinsicEra, ExtrinsicSignature, ExtrinsicStatus, Gas, H256, H512, Hash, Header, Justification, KeyValue, Metadata, Method, MisbehaviorReport, Moment, NewAccountOutcome, Nonce, Null, Origin, ParachainId, PendingExtrinsics, Perbill, Permill, PropIndex, Proposal, ProposalIndex, ReferendumIndex, RuntimeVersion, SessionKey, Signature, SignaturePayload, SignedBlock, StorageChangeSet, StorageData, StorageKey, StoredPendingChange, Text, Type, U8, U16, U32, U64, U128, U256, ValidatorPrefs, VoteIndex, VoteThreshold

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