# Functions
BigIntToIntBytes encodes the given big.Int to a big endian encoded signed integer byte slice of the given byte length, using a two's complement if the big.Int is negative and returning an error if the given big.Int would be bigger than the maximum positive (negative) numbers the byte slice of the given length could hold.
BigIntToUintBytes encodes the given big.Int to a big endian encoded unsigned integer byte slice of the given byte length, returning an error if the given big.Int would be bigger than the maximum number the byte slice of the given length could hold.
CreateStorageKey uses the given metadata and to derive the right hashing of method, prefix as well as arguments to create a hashed StorageKey.
DecodeFromBytes decodes `bz` with the scale codec into `target`.
DecodeFromHexString decodes `str` with the scale codec into `target`.
EncodedLength returns the length of the value when encoded as a byte array.
EncodeToBytes encodes `value` with the scale codec with passed EncoderOptions, returning []byte TODO rename to Encode.
EncodeToHexString encodes `value` with the scale codec, returning a hex string (prefixed by 0x) TODO rename to EncodeToHex.
Eq compares the value of the input to see if there is a match.
GetHash returns a hash of the value.
Hex returns a hex string representation of the value (not of the encoded value).
HexDecodeString decodes bytes from a hex string.
HexEncode encodes bytes to a hex string.
IntBytesToBigInt decodes the given byte slice containing a big endian encoded signed integer to a big.Int, using a two's complement if the most significant bit is 1.
MustHexDecodeString panics if str cannot be decoded.
NewAccountID creates a new AccountID type.
NewAccountIndex creates a new AccountIndex type.
Deprecated: NewAccountInfoV4 creates a new AccountInfoV4 type.
NewAddressFromAccountID creates an Address from the given AccountID (public key).
NewAddressFromAccountIndex creates an Address from the given AccountIndex.
NewAddressFromHexAccountID creates an Address from the given hex string that contains an AccountID (public key).
NewAuthorityID creates a new AuthorityID type.
NewBool creates a new Bool.
NewBytes creates a new Bytes type.
NewBytes1024 creates a new Bytes1024 type.
NewBytes128 creates a new Bytes128 type.
NewBytes16 creates a new Bytes16 type.
NewBytes2048 creates a new Bytes2048 type.
NewBytes256 creates a new Bytes256 type.
NewBytes32 creates a new Bytes32 type.
NewBytes512 creates a new Bytes512 type.
NewBytes64 creates a new Bytes64 type.
NewBytes8 creates a new Bytes8 type.
No description provided by the author
NewData creates a new Data type.
NewExtrinsic creates a new Extrinsic from the provided Call.
NewH160 creates a new H160 type.
NewH256 creates a new H256 type.
NewH512 creates a new H512 type.
NewHash creates a new Hash type.
NewHashFromHexString creates a new Hash type from a hex string.
NewI128 creates a new I128 type.
NewI16 creates a new I16 type.
NewI256 creates a new I256 type.
NewI32 creates a new I32 type.
NewI64 creates a new I64 type.
NewI8 creates a new I8 type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMoment creates a new Moment type.
NewMultiAddressFromAccountID creates an Address from the given AccountID (public key).
NewMultiAddressFromHexAccountID creates an Address from the given hex string that contains an AccountID (public key).
NewNull creates a new Null type.
NewOptionBeefySignature creates an OptionBeefySignature with a value.
NewOptionBeefySignatureEmpty creates an OptionBeefySignature without a value.
NewOptionBool creates an OptionBool with a value.
NewOptionBoolEmpty creates an OptionBool without a value.
NewOptionBytes creates an OptionBytes with a value.
NewOptionBytes1024 creates an OptionBytes1024 with a value.
NewOptionBytes1024Empty creates an OptionBytes1024 without a value.
NewOptionBytes128 creates an OptionBytes128 with a value.
NewOptionBytes128Empty creates an OptionBytes128 without a value.
NewOptionBytes16 creates an OptionBytes16 with a value.
NewOptionBytes16Empty creates an OptionBytes16 without a value.
NewOptionBytes2048 creates an OptionBytes2048 with a value.
NewOptionBytes2048Empty creates an OptionBytes2048 without a value.
NewOptionBytes256 creates an OptionBytes256 with a value.
NewOptionBytes256Empty creates an OptionBytes256 without a value.
NewOptionBytes32 creates an OptionBytes32 with a value.
NewOptionBytes32Empty creates an OptionBytes32 without a value.
NewOptionBytes512 creates an OptionBytes512 with a value.
NewOptionBytes512Empty creates an OptionBytes512 without a value.
NewOptionBytes64 creates an OptionBytes64 with a value.
NewOptionBytes64Empty creates an OptionBytes64 without a value.
NewOptionBytes8 creates an OptionBytes8 with a value.
NewOptionBytes8Empty creates an OptionBytes8 without a value.
NewOptionBytesEmpty creates an OptionBytes without a value.
NewOptionH160 creates an OptionH160 with a value.
NewOptionH160Empty creates an OptionH160 without a value.
NewOptionH256 creates an OptionH256 with a value.
NewOptionH256Empty creates an OptionH256 without a value.
NewOptionH512 creates an OptionH512 with a value.
NewOptionH512Empty creates an OptionH512 without a value.
NewOptionHash creates an OptionHash with a value.
NewOptionHashEmpty creates an OptionHash without a value.
NewOptionI16 creates an OptionI16 with a value.
NewOptionI16Empty creates an OptionI16 without a value.
NewOptionI32 creates an OptionI32 with a value.
NewOptionI32Empty creates an OptionI32 without a value.
NewOptionI64 creates an OptionI64 with a value.
NewOptionI64Empty creates an OptionI64 without a value.
NewOptionI8 creates an OptionI8 with a value.
NewOptionI8Empty creates an OptionI8 without a value.
NewOptionU16 creates an OptionU16 with a value.
NewOptionU16Empty creates an OptionU16 without a value.
NewOptionU32 creates an OptionU32 with a value.
NewOptionU32Empty creates an OptionU32 without a value.
NewOptionU64 creates an OptionU64 with a value.
NewOptionU64Empty creates an OptionU64 without a value.
NewOptionU8 creates an OptionU8 with a value.
NewOptionU8Empty creates an OptionU8 without a value.
No description provided by the author
No description provided by the author
No description provided by the author
NewSignature creates a new Signature type.
NewStorageDataRaw creates a new StorageDataRaw type.
NewStorageKey creates a new StorageKey type.
NewText creates a new Text type.
NewU128 creates a new U128 type.
NewU16 creates a new U16 type.
NewU256 creates a new U256 type.
NewU32 creates a new U32 type.
NewU64 creates a new U64 type.
NewU8 creates a new U8 type.
No description provided by the author
No description provided by the author
NewWeight creates a new Weight type.
NewWeightMultiplier creates a new WeightMultiplier type.
SerDeOptionsFromMetadata returns Serialise and deserialize options from metadata.
SetSerDeOptions overrides default serialise and deserialize options.
UintBytesToBigInt decodes the given byte slice containing a big endian encoded unsigned integer to a big.Int.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
v0 is unknown.
Funds are free, as corresponding to `free` item in Balances.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Result was forcefully computed on chain at the end of the session.
Funds are reserved, as corresponding to `reserved` item in Balances.
Result was submitted and accepted to the chain via a signed transaction.
SimpleMajority require simple majority of approvals is needed to pass this vote.
No description provided by the author
SuperMajorityAgainst require super majority of rejects is needed to fail this vote.
SuperMajorityApprove require super majority of approvals is needed to pass this vote.
Result was submitted and accepted to the chain via an unsigned transaction (by an authority).
# Variables
nolint:lll.
nolint:lll,dupl.
nolint:lll.
nolint:lll.
nolint:lll.
No description provided by the author
Parsed from ExamplaryMetadataV11SubstrateString.
No description provided by the author
From https://github.com/polkadot-js/api/blob/master/packages/metadata/src/Metadata/v12/static.ts.
nolint:lll,dupl.
nolint:lll.
nolint:lll,dupl.
nolint:lll,dupl.
# Structs
AccountInfo contains information of an account.
No description provided by the author
Deprecated: AccountInfoV4 is an account information structure for contracts.
No description provided by the author
No description provided by the author
Address is a wrapper around an AccountId or an AccountIndex.
Block encoded with header and extrinsics.
Call is the extrinsic function descriptor.
Callindex is a 16 bit wrapper around the `[sectionIndex, methodIndex]` value that uniquely identifies a method.
ChainProperties contains the SS58 format, the token decimals and the token symbol.
No description provided by the author
No description provided by the author
Commitment is a beefy commitment.
No description provided by the author
DigestItem specifies the item in the logs of a digest.
DispatchClass is a generalized group of dispatch types.
DispatchError is an error occurring during extrinsic dispatch.
DispatchInfo contains a bundle of static information collected from the `#[weight = $x]` attributes.
DispatchResult can be returned from dispatchable functions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EventAssetDestroyed is emitted when an asset is destroyed.
EventAssetIssued is emitted when an asset is issued.
EventAssetTransferred is emitted when an asset is transferred.
EventBalanceSet is emitted when a balance is set by root.
EventDeposit is emitted when an account receives some free balance.
EventDustLost is emitted when an account is removed with a balance that is non-zero but below ExistentialDeposit, resulting in a loss.
EventBalancesEndowed is emitted when an account is created with some free balance.
EventBalancesReserved is emitted when some balance was reserved (moved from free to reserved).
EventBalancesReserveRepatriated is emitted when some balance was moved from the reserve of the first account to the second account.
EventBalancesTransfer is emitted when a transfer succeeded (from, to, value).
EventBalancesUnreserved is emitted when some balance was unreserved (moved from reserved to free).
EventClaimsClaimed is emitted when an account claims some DOTs.
EventCollectiveApproved is emitted when a motion was approved by the required threshold.
EventCollectiveClosed is emitted when a proposal was closed after its duration was up.
EventCollectiveDisapproved is emitted when a motion was not approved by the required threshold.
EventCollectiveExecuted is emitted when a motion was executed; `result` is true if returned without error.
EventCollectiveMemberExecuted is emitted when a single member did some action; `result` is true if returned without error.
EventCollectiveProposed is emitted when a motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`).
EventCollectiveVote is emitted when a motion (given hash) has been voted on by given account, leaving a tally (yes votes and no votes given respectively as `MemberCount`).
EventContractsCodeStored is emitted when code with the specified hash has been stored.
EventContractsContractExecution is triggered when an event deposited upon execution of a contract from the account.
EventContractsEvicted is emitted when a contract has been evicted and is now in tombstone state.
EventContractsInstantiated is emitted when a contract is deployed by address at the specified address.
EventContractsRestored is emitted when a restoration for a contract has been successful.
EventContractsScheduleUpdated is triggered when the current [schedule] is updated.
EventDemocracyBlacklisted is emitted when A proposal has been blacklisted permanently.
EventDemocracyCancelled is emitted when a referendum has been cancelled.
EventDemocracyDelegated is emitted when an account has delegated their vote to another account.
EventDemocracyExecuted is emitted when a proposal has been enacted.
EventDemocracyExternalTabled is emitted when an external proposal has been tabled.
EventDemocracyNotPassed is emitted when a proposal has been rejected by referendum.
EventDemocracyPassed is emitted when a proposal has been approved by referendum.
EventDemocracyPreimageInvalid is emitted when a proposal could not be executed because its preimage was invalid.
EventDemocracyPreimageMissing is emitted when a proposal could not be executed because its preimage was missing.
EventDemocracyPreimageNoted is emitted when a proposal's preimage was noted, and the deposit taken.
EventDemocracyPreimageReaped is emitted when a registered preimage was removed and the deposit collected by the reaper (last item).
EventDemocracyPreimageUsed is emitted when a proposal preimage was removed and used (the deposit was returned).
EventDemocracyProposed is emitted when a motion has been proposed by a public account.
EventDemocracyStarted is emitted when a referendum has begun.
EventDemocracyTabled is emitted when a public proposal has been tabled for referendum vote.
EventDemocracyUndelegated is emitted when an account has cancelled a previous delegation operation.
EventDemocracyUnlocked is emitted when an account has been unlocked successfully.
EventDemocracyVetoed is emitted when an external proposal has been vetoed.
EventElectionsElectionError is emitted when an internal error happened while trying to perform election.
EventElectionsEmpty is emitted when No (or not enough) candidates existed for this round.
EventElectionsMemberKicked is emitted when a member has been removed.
EventElectionsMemberRenounced is emitted when a member has renounced their candidacy.
EventElectionsNewTerm is emitted when a new term with new members.
EventElectionsVoterReported is emitted when a voter (first element) was reported (by the second element) with the the report being successful or not (third element).
EventGrandpaNewAuthorities is emitted when a new authority set has been applied.
EventGrandpaPaused is emitted when the current authority set has been paused.
EventGrandpaResumed is emitted when the current authority set has been resumed.
A name was cleared, and the given balance returned.
A judgement was given by a registrar.
A judgement was asked from a registrar.
A judgement request was retracted.
A name was removed and the given balance slashed.
A registrar was added.
A name was set or reset (which will remove all judgements).
EventIdentitySubIdentityAdded is emitted when a sub-identity was added to an identity and the deposit paid.
EventIdentitySubIdentityRemoved is emitted when a sub-identity was removed from an identity and the deposit freed.
EventIdentitySubIdentityRevoked is emitted when a sub-identity was cleared, and the given deposit repatriated from the main identity account to the sub-identity account.
EventImOnlineAllGood is emitted when at the end of the session, no offence was committed.
EventImOnlineHeartbeatReceived is emitted when a new heartbeat was received from AuthorityId.
EventImOnlineSomeOffline is emitted when the end of the session, at least once validator was found to be offline.
EventIndicesIndexAssigned is emitted when an index is assigned to an AccountID.
EventIndicesIndexFreed is emitted when an index is unassigned.
EventIndicesIndexFrozen is emitted when an index is frozen to its current account ID.
No description provided by the author
EventUtility is emitted when a multisig operation has been approved by someone.
EventUtility is emitted when a multisig operation has been cancelled.
EventUtility is emitted when a multisig operation has been executed.
EventUtilityNewMultisig is emitted when a new multisig operation has begun.
EventOffencesOffence is emitted when there is an offence reported of the given kind happened at the session_index and (kind-specific) time slot.
EventProxyAnnounced is emitted when an announcement was placed to make a call in the future.
EventProxyAnonymousCreated is emitted when an anonymous account has been created by new proxy with given, disambiguation index and proxy type.
EventProxyProxyExecuted is emitted when a proxy was executed correctly, with the given [result].
EventRecords is a default set of possible event records that can be used as a target for `func (e EventRecordsRaw) Decode(...`.
EventRecoveryAccountRecovered is emitted when account_1 has been successfully recovered by account_2.
EventRecoveryClosed is emitted when a recovery process for account_1 by account_2 has been closed.
EventRecoveryCreated is emitted when a recovery process has been set up for an account.
EventRecoveryInitiated is emitted when a recovery process has been initiated for account_1 by account_2.
EventRecoveryRemoved is emitted when a recovery process has been removed for an account.
EventRecoveryVouched is emitted when a recovery process for account_1 by account_2 has been vouched for by account_3.
EventSchedulerCanceled is emitted when canceled some task.
EventSchedulerDispatched is emitted when dispatched some task.
EventSchedulerScheduled is emitted when scheduled some task.
EventSessionNewSession is emitted when a new session has happened.
EventSocietyAutoUnbid is emitted when a [candidate] was dropped (due to an excess of bids in the system).
EventSocietyBid is emitted when a membership bid just happened.
EventSocietyCandidateSuspended is emitted when a [candidate] has been suspended.
EventSocietyChallenged is emitted when a [member] has been challenged.
EventSocietyDefenderVote is emitted when a vote has been placed for a defending member.
EventSocietyDeposit is emitted when some funds were deposited into the society account.
EventSocietyFounded is emitted when the society is founded by the given identity.
EventSocietyInducted is emitted when a group of candidates have been inducted.
EventSocietyMemberSuspended is emitted when a [member] has been suspended.
EventSocietyNewMaxMembers is emitted when a new [max] member count has been set.
EventSocietySuspendedMemberJudgement is emitted when a suspended member has been judged.
EventSocietyUnbid is emitted when a [candidate] was dropped (by their request).
EventSocietyUnfounded is emitted when society is unfounded.
EventSocietyUnvouch is emitted when a [candidate] was dropped (by request of who vouched for them).
EventSocietyVote is emitted when a vote has been placed.
EventSocietyVouch is emitted when a membership bid just happened by vouching.
EventStakingBonded is emitted when an account has bonded this amount.
EventStakingEraPayout is emitted when the era payout has been set;.
EventStakingOldSlashingReportDiscarded is emitted when an old slashing report from a prior era was discarded because it could not be processed.
EventStakingReward is emitted when the staker has been rewarded by this amount.
EventStakingSlash is emitted when one validator (and its nominators) has been slashed by the given amount.
EventStakingSolutionStored is emitted when a new solution for the upcoming election has been stored.
EventStakingStakingElection is emitted when a new set of stakers was elected with the given.
EventStakingUnbonded is emitted when an account has unbonded this amount.
EventStakingWithdrawn is emitted when an account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance` from the unlocking queue.
A sudo just took place.
EventSudoKeyChanged is emitted when the sudoer just switched identity; the old key is supplied.
EventSudoSudid is emitted when a sudo just took place.
EventSystemCodeUpdated is emitted when the runtime code (`:code`) is updated.
EventSystemExtrinsicFailed is emitted when an extrinsic failed.
EventSystemExtrinsicFailedV8 is emitted when an extrinsic failed
Deprecated: EventSystemExtrinsicFailedV8 exists to allow users to simply implement their own EventRecords struct if they are on metadata version 8 or below.
EventSystemExtrinsicSuccess is emitted when an extrinsic completed successfully.
EventSystemExtrinsicSuccessV8 is emitted when an extrinsic completed successfully
Deprecated: EventSystemExtrinsicSuccessV8 exists to allow users to simply implement their own EventRecords struct if they are on metadata version 8 or below.
EventSystemKilledAccount is emitted when an account is reaped.
EventSystemNewAccount is emitted when a new account was created.
EventTechnicalCommitteeApproved is emitted when a motion was approved by the required threshold.
EventTechnicalCommitteeClosed is emitted when A proposal was closed because its threshold was reached or after its duration was up.
EventTechnicalCommitteeDisapproved is emitted when a motion was not approved by the required threshold.
EventTechnicalCommitteeExecuted is emitted when a motion was executed; result will be `Ok` if it returned without error.
EventTechnicalCommitteeMemberExecuted is emitted when a single member did some action; result will be `Ok` if it returned without error.
EventTechnicalCommitteeProposed is emitted when a motion (given hash) has been proposed (by given account) with a threshold (given, `MemberCount`).
EventTechnicalCommitteeVoted is emitted when a motion (given hash) has been voted on by given account, leaving, a tally (yes votes and no votes given respectively as `MemberCount`).
EventTechnicalMembershipKeyChanged is emitted when - phantom member, never used.
EventTechnicalMembershipKeyChanged is emitted when one of the members' keys changed.
EventTechnicalMembershipMemberAdded is emitted when the given member was added; see the transaction for who.
EventTechnicalMembershipMemberRemoved is emitted when the given member was removed; see the transaction for who.
EventTechnicalMembershipMembersReset is emitted when the membership was reset; see the transaction for who the new set is.
EventTechnicalMembershipMembersSwapped is emitted when two members were swapped;; see the transaction for who.
EventTreasuryAwarded is emitted when some funds have been allocated.
EventTreasuryBountyAwarded is emitted when a bounty is awarded to a beneficiary.
EventTreasuryBountyBecameActive is emitted when a bounty proposal is funded and became active.
EventTreasuryBountyCanceled is emitted when a bounty is cancelled.
EventTreasuryBountyClaimed is emitted when A bounty is claimed by beneficiary.
EventTreasuryBountyExtended is emitted when a bounty is extended.
EventTreasuryBountyProposed is emitted for a new bounty proposal.
EventTreasuryBountyRejected is emitted when a bounty proposal was rejected; funds were slashed.
EventTreasuryBurnt is emitted when some of our funds have been burnt.
EventTreasuryDeposit is emitted when some funds have been deposited.
EventTreasuryNewTip is emitted when a new tip suggestion has been opened.
EventTreasuryProposed is emitted when New proposal.
EventTreasuryRejected is emitted when s proposal was rejected; funds were slashed.
EventTreasuryRollover is emitted when spending has finished; this is the amount that rolls over until next spend.
EventTreasurySpending is emitted when we have ended a spend period and will now allocate funds.
EventTreasuryTipClosed is emitted when a tip suggestion has been closed.
EventTreasuryTipClosing is emitted when a tip suggestion has reached threshold and is closing.
EventTreasuryTipRetracted is emitted when a tip suggestion has been retracted.
EventUtilityBatchCompleted is emitted when a batch of dispatches completed fully with no error.
EventUtilityBatchInterrupted is emitted when a batch of dispatches did not complete fully.
EventVestingVestingCompleted is emitted when an [account] has become fully vested.
EventVestingVestingUpdated is emitted when the amount vested has been updated.
ExampleEnum - Enum types can be represented using Go's structs.
ExampleStruct - Struct types (fixed-sized series of values with predetermined and fixed types, typically without names/labels/keys) can be represented using Go's structs.
ExampleTuple - Tuple types (fixed-sized series of values with predetermined and fixed types, typically without names/labels/keys) can be represented using Go's structs.
ExampleVec - Vec types (vectors, lists, series, sets, arrays, slices) can be represented using Go's native slices and arrays.
ExampleVecAny - VecAny is used in polkadot-js as a list of elements that are of any type, while Vec and VecFixed require fixed types.
Exposure lists the own and nominated stake of a validator.
Extrinsic is a piece of Args bundled into a block that expresses something from the "external" (i.e.
ExtrinsicEra indicates either a mortal or immortal extrinsic.
No description provided by the author
ExtrinsicPayloadV3 is a signing payload for an Extrinsic.
No description provided by the author
No description provided by the author
No description provided by the author
ExtrinsicStatus is an enum containing the result of an extrinsic submission.
Modelled after packages/types/src/Metadata/v10/toV11.ts.
No description provided by the author
No description provided by the author
No description provided by the author
Health contains the status of a node.
I128 is a signed 128-bit integer, it is represented as a big.Int in Go.
I256 is a signed 256-bit integer, it is represented as a big.Int in Go.
IndividualExposure contains the nominated stake by one specific third party.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Modelled after packages/types/src/Metadata/v10/Metadata.ts.
Modelled after packages/types/src/Metadata/v10/toV11.ts.
Modelled after packages/types/src/Metadata/v11/toV12.ts.
No description provided by the author
No description provided by the author
Modelled after https://github.com/paritytech/substrate/blob/v1.0.0rc2/srml/metadata/src/lib.rs.
Modelled after packages/types/src/Metadata/v7/Metadata.ts.
Modelled after packages/types/src/Metadata/v8/Metadata.ts.
Modelled after packages/types/src/Metadata/v9/Metadata.ts.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Moment is a wrapper around milliseconds/timestamps using the `time.Time` type.
MortalEra for an extrinsic, indicating period and phase.
No description provided by the author
MultiSignature.
NetworkState contains the current state of the network.
No description provided by the author
OptionBeefySignature is a structure that can store a BeefySignature or a missing value.
OptionBool is a structure that can store a Bool or a missing value Note that encoding rules are slightly different from other "option" fields This implementation was adopted from https://github.com/Joystream/parity-codec-go/blob/develop/noreflect/codec.go.
OptionBytes is a structure that can store a Bytes or a missing value.
OptionBytes1024 is a structure that can store a Bytes1024 or a missing value.
OptionBytes128 is a structure that can store a Bytes128 or a missing value.
OptionBytes16 is a structure that can store a Bytes16 or a missing value.
OptionBytes2048 is a structure that can store a Bytes2048 or a missing value.
OptionBytes256 is a structure that can store a Bytes256 or a missing value.
OptionBytes32 is a structure that can store a Bytes32 or a missing value.
OptionBytes512 is a structure that can store a Bytes512 or a missing value.
OptionBytes64 is a structure that can store a Bytes64 or a missing value.
OptionBytes8 is a structure that can store a Bytes8 or a missing value.
OptionH160 is a structure that can store a H160 or a missing value.
OptionH256 is a structure that can store a H256 or a missing value.
OptionH512 is a structure that can store a H512 or a missing value.
OptionHash is a structure that can store a Hash or a missing value.
OptionI16 is a structure that can store a I16 or a missing value.
OptionI32 is a structure that can store a I32 or a missing value.
OptionI64 is a structure that can store a I64 or a missing value.
OptionI8 is a structure that can store a I8 or a missing value.
OptionU16 is a structure that can store a U16 or a missing value.
OptionU32 is a structure that can store a U32 or a missing value.
OptionU64 is a structure that can store a U64 or a missing value.
OptionU8 is a structure that can store a U8 or a missing value.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PeerInfo contains information about a connected peer.
Phase is an enum describing the current phase of the event (applying the extrinsic or finalized).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SerDeOptions are serialise and deserialize options for types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SignedCommitment is a beefy commitment with optional signatures from the set of validators.
No description provided by the author
StorageChangeSet contains changes from storage subscriptions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TaskAddress holds the location of a scheduled task that can be used to remove it.
TimePoint is a global extrinsic index, formed as the extrinsic index within a block, together with that block's height.
U128 is an unsigned 128-bit integer, it is represented as a big.Int in Go.
U256 is an usigned 256-bit integer, it is represented as a big.Int in Go.
# Interfaces
Hexer interface is implemented by any type that has a Hex() function returning a string.
No description provided by the author
No description provided by the author
# Type aliases
AccountID represents a public key (an 32 byte array).
AccountIndex is a shortened, variable-length encoding for an Account.
Args are the encoded arguments for a Call.
AuthorityID represents a public key (an 32 byte array).
No description provided by the author
BeefySignature is a beefy signature.
No description provided by the author
Bool represents boolean values.
No description provided by the author
Bytes represents byte slices.
Bytes1024 represents an 1024 byte array.
Bytes128 represents an 128 byte array.
Bytes16 represents an 16 byte array.
Bytes2048 represents an 2048 byte array.
Bytes256 represents an 256 byte array.
Bytes32 represents an 32 byte array.
Bytes512 represents an 512 byte array.
Bytes64 represents an 64 byte array.
Bytes8 represents an 8 byte array.
BytesBare represents byte slices that will be encoded bare, i.
ConsensusEngineID is a 4-byte identifier (actually a [u8; 4]) identifying the engine, e.g.
Data is a raw data structure, containing raw bytes that are not decoded/encoded (without any length encoding).
Digest contains logs.
DigestOf contains logs.
No description provided by the author
No description provided by the author
EventRecordsRaw is a raw record for a set of events, represented as the raw bytes.
No description provided by the author
H160 is a hash containing 160 bits (20 bytes), typically used in blocks, extrinsics and as a sane default.
H256 is a hash containing 256 bits (32 bytes), typically used in blocks, extrinsics and as a sane default.
H512 is a hash containing 512 bits (64 bytes), typically used for signature.
Hash is the default hash that is used across the system.
I16 is a signed 16-bit integer.
I32 is a signed 32-bit integer.
I64 is a signed 64-bit integer.
I8 is a signed 8-bit integer.
No description provided by the author
Null is a type that does not contain anything (apart from null).
Origin is an internal-only value that will be ignored when encoding/decoding.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Signature is a H512.
StorageDataRaw contains raw bytes that are not decoded/encoded.
StorageKey represents typically hashed storage keys of the system.
Text is a string type.
Type is a string, specifically to handle types.
U16 is an unsigned 16-bit integer.
U32 is an unsigned 32-bit integer.
U64 is an unsigned 64-bit integer.
U8 is an unsigned 8-bit integer.
No description provided by the author
Deprecated: USize is a system default unsigned number, typically used in RPC to report non-consensus data.
VoteThreshold is a means of determining if a vote is past pass threshold.
Weight is a numeric range of a transaction weight.
WeightMultiplier represents how a fee value can be computed from a weighted transaction.