The user account balance, u128 type.
Moduleweb3-polkadot-1.1.0.1Haskell2010
Network.Polkadot.Primitives
Polkadot primitive data types.
- 12 types
- Packageweb3-polkadot-1.1.0.1
- Exports12
- LanguageHaskell2010
- LicenceApache-2.0
- SourcePrimitives.hs
Block numbers is up to 2^32.
Time moment is 64bit.
Transaction nonce value.
The type for looking up accounts. We don't expect more than 4 billion of them.
The user account identifier type for the runtime.
The type for runtime hashes.
Account balances.
Constructors
Instances9Eq, Ord, Show, Generic, Decode, Encode, …
Eq AccountDataDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesOrd AccountDataDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesShow AccountDataDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesGeneric AccountDataDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesGeneric AccountDataDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesDecode AccountDataDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesEncode AccountDataDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Primitivestype Rep AccountData = D1 ('MetaDataDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Primitives"AccountData"
"Network.Polkadot.Primitives"
"web3-polkadot-1.1.0.1-6kG9gXWmnQp2u9KlJzmdvJ"
'False) (C1 ('MetaCons"AccountData"
'PrefixI 'True) ((S1 ('MetaSel ('Just"balanceFree"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Balance) :*: S1 ('MetaSel ('Just"balanceReserved"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Balance)) :*: (S1 ('MetaSel ('Just"miscFrozen"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Balance) :*: S1 ('MetaSel ('Just"feeFrozen"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Balance))))type Code AccountData = GCode AccountDataDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Primitives
General account information.
Constructors
Instances9Eq, Ord, Show, Generic, Decode, Encode, …
Eq AccountInfoDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesOrd AccountInfoDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesShow AccountInfoDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesGeneric AccountInfoDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesGeneric AccountInfoDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesDecode AccountInfoDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesEncode AccountInfoDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Primitivestype Rep AccountInfo = D1 ('MetaDataDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Primitives"AccountInfo"
"Network.Polkadot.Primitives"
"web3-polkadot-1.1.0.1-6kG9gXWmnQp2u9KlJzmdvJ"
'False) (C1 ('MetaCons"AccountInfo"
'PrefixI 'True) ((S1 ('MetaSel ('Just"accountNonce"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Index) :*: S1 ('MetaSel ('Just"accountConsumers"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word32)) :*: (S1 ('MetaSel ('Just"accountProviders"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word32) :*: (S1 ('MetaSel ('Just"accountSufficients"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word32) :*: S1 ('MetaSel ('Just"accountData"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 AccountData)))))type Code AccountInfo = GCode AccountInfoDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Primitives
Multiple signatures support type.
Constructors
Instances9Eq, Ord, Show, Generic, Decode, Encode, …
Eq MultiSignatureDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesOrd MultiSignatureDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesShow MultiSignatureDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesGeneric MultiSignatureDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesGeneric MultiSignatureDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesDecode MultiSignatureDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesEncode MultiSignatureDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Primitivestype Rep MultiSignature = D1 ('MetaDataDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Primitives"MultiSignature"
"Network.Polkadot.Primitives"
"web3-polkadot-1.1.0.1-6kG9gXWmnQp2u9KlJzmdvJ"
'False) (C1 ('MetaCons"Ed25519Signature"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 H512)) :+: (C1 ('MetaCons"Sr25519Signature"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 H512)) :+: C1 ('MetaCons"EcdsaSignature"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 H512) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word8))))type Code MultiSignature = GCode MultiSignatureDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Primitives
Cryptographic key for any known crypto algorithm.
Constructors
Sr25519Signersr25519 crypto has no support yet
Ed25519Signer !H256Ed25519 public key.
EcdsaSigner !Word8 !H256ECDSA public key.
Instances11Eq, Ord, Show, Generic, Decode, Encode, …
Eq MultiSignerDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesOrd MultiSignerDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesShow MultiSignerDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Account · orphanGeneric MultiSignerDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesGeneric MultiSignerDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesDecode MultiSignerDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesEncode MultiSignerDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesIdentifyAccount MultiSignerDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Accounttype Rep MultiSigner = D1 ('MetaDataDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Primitives"MultiSigner"
"Network.Polkadot.Primitives"
"web3-polkadot-1.1.0.1-6kG9gXWmnQp2u9KlJzmdvJ"
'False) (C1 ('MetaCons"Sr25519Signer"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"Ed25519Signer"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 H256)) :+: C1 ('MetaCons"EcdsaSigner"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Word8) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 H256))))type Code MultiSigner = GCode MultiSignerDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Primitivestype AccountId MultiSigner = AccountIdDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Account
A multi-format address wrapper for on-chain accounts.
Constructors
MaId !AccountIdIt's an account ID (pubkey).
MaIndex !(Compact AccountIndex)It's an account index.
MaRaw !HexStringIt's some arbitrary raw bytes.
MaAddress32 !H256It's a 32 byte representation.
MaAddress20 !H160Its a 20 byte representation.
Instances9Eq, Ord, Show, Generic, Decode, Encode, …
Eq MultiAddressDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesOrd MultiAddressDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesShow MultiAddressDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesGeneric MultiAddressDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesGeneric MultiAddressDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesDecode MultiAddressDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.PrimitivesEncode MultiAddressDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Primitivestype Rep MultiAddress = D1 ('MetaDataDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Primitives"MultiAddress"
"Network.Polkadot.Primitives"
"web3-polkadot-1.1.0.1-6kG9gXWmnQp2u9KlJzmdvJ"
'False) ((C1 ('MetaCons"MaId"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 AccountId)) :+: C1 ('MetaCons"MaIndex"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 (Compact AccountIndex)))) :+: (C1 ('MetaCons"MaRaw"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 HexString)) :+: (C1 ('MetaCons"MaAddress32"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 H256)) :+: C1 ('MetaCons"MaAddress20"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 H160)))))type Code MultiAddress = GCode MultiAddressDefined in web3-polkadot-1.1.0.1 · Network.Polkadot.Primitives