# Packages
No description provided by the author
# 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 Using variadic argument, so caller do not need to construct array of arguments.
Decode decodes `bz` with the scale codec into `target`.
DecodeFromHex decodes `str` with the scale codec into `target`.
Default implementation of Hasher() for a Storage entry It fails when called if entry is not a plain type.
Encode encodes `value` with the scale codec with passed EncoderOptions, returning []byte.
EncodedLength returns the length of the value when encoded as a byte array.
EncodeToHex encodes `value` with the scale codec, returning a hex string (prefixed by 0x).
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.
HexEncodeToString 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.
NewEcdsaSignature creates a new EcdsaSignature type.
No description provided by the author
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
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.
No description provided by the author
No description provided by the author
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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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.
No description provided by the author
No description provided by the author
NewOptionU128 creates an OptionU128 with a value.
NewOptionU128Empty creates an OptionU128 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
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
BadFormat The preimage for this hash was known but could not be decoded into a Call.
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
Si0TypeDefPrimitive variants.
Si0TypeDefPrimitive variants.
Si0TypeDefPrimitive variants.
Si0TypeDefPrimitive variants.
Si0TypeDefPrimitive variants.
Si0TypeDefPrimitive variants.
Si0TypeDefPrimitive variants.
Si0TypeDefPrimitive variants.
Si0TypeDefPrimitive variants.
Si0TypeDefPrimitive variants.
Si0TypeDefPrimitive variants.
Si0TypeDefPrimitive variants.
Si0TypeDefPrimitive variants.
Si0TypeDefPrimitive variants.
Si0TypeDefPrimitive variants.
Locked1x votes, locked for an enactment period following a successful vote.
Locked2x votes, locked for 2x enactment periods following a successful vote.
Locked3x votes, locked for 4x...
Locked4x votes, locked for 8x...
Locked5x votes, locked for 16x...
Locked6x votes, locked for 32x...
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
None 0.1x votes, unlocked.
No description provided by the author
OnChain means that the result was forcefully computed on chain at the end of the session.
Funds are reserved, as corresponding to `reserved` item in Balances.
Signed means that the 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.
Unknown A call of this hash was not known.
Unsigned means that the 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.
No description provided by the author
No description provided by the author
nolint:lll,dupl.
nolint:lll.
nolint:lll,dupl.
nolint:lll,dupl.
# Structs
AccountInfo contains information of an account.
Deprecated: AccountInfoV4 is an account information structure for contracts.
Address is a wrapper around an AccountId or an AccountIndex.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Block encoded with header and extrinsics.
No description provided by the author
No description provided by the author
Call is the extrinsic function descriptor.
Callindex is a 16 bit wrapper around the `[sectionIndex, methodIndex]` value that uniquely identifies a method.
No description provided by the author
No description provided by the author
ChainProperties contains the SS58 format, the token decimals and the token symbol.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Commitment is a beefy commitment.
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
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.
DispatchErrorWithPostInfo is used in DispatchResultWithPostInfo.
DispatchInfo contains a bundle of static information collected from the `#[weight = $x]` attributes.
DispatchResult can be returned from dispatchable functions.
DispatchResultWithPostInfo can be returned from dispatch able 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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EventAssetApprovalCancelled is emitted when an approval for account `delegate` was cancelled by `owner`.
EventAssetApprovedTransfer is emitted when (additional) funds have been approved for transfer to a destination account.
EventAssetAssetFrozen is emitted when some asset `asset_id` was frozen.
EventAssetAssetStatusChanged is emitted when an asset has had its attributes changed by the `Force` origin.
EventAssetAssetThawed is emitted when some asset `asset_id` was thawed.
EventAssetBurned is emitted when an asset is destroyed.
EventAssetCreated is emitted when an asset is created.
EventAssetDestroyed is emitted when an asset class is destroyed.
EventAssetForceCreated is emitted when some asset class was force-created.
EventAssetFrozen is emitted when some account `who` was frozen.
EventAssetIssued is emitted when an asset is issued.
EventAssetMetadataCleared is emitted when metadata has been cleared for an asset.
EventAssetMetadataSet is emitted when new metadata has been set for an asset.
EventAssetOwnerChanged is emitted when the owner changed.
EventAssetTeamChanged is emitted when the management team changed.
EventAssetThawed is emitted when some account `who` was thawed.
EventAssetTransferred is emitted when an asset is transferred.
EventAssetTransferredApproved is emitted when an `amount` was transferred in its entirety from `owner` to `destination` by the approved `delegate`.
EventAuctionsAuctionClosed is emitted when an auction ended.
EventAuctionsAuctionStarted is emitted when an auction started.
EventAuctionsBidAccepted is emitted when a new bid has been accepted as the current winner.
EventAuctionsReserveConfiscated is emitted when someone attempted to lease the same slot twice for a parachain.
EventAuctionsReserved is emitted when funds were reserved for a winning bid.
EventAuctionsUnreserved is emitted when funds were unreserved since bidder is no longer active.
EventAuctionsWinningOffset is emitted when the winning offset was chosen for an auction.
EventBagsListRebagged is emitted when an account was moved from one bag to another.
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.
EventBalancesSlashed is emitted when some amount was removed from the account (e.g.
EventBalancesTransfer is emitted when a transfer succeeded (from, to, value).
EventBalancesUnreserved is emitted when some balance was unreserved (moved from reserved to free).
EventBalancesWithdraw is emitted when some amount was withdrawn from the account (e.g.
EventBountiesBountyAwarded is emitted when a bounty is awarded to a beneficiary.
EventBountiesBountyBecameActive is emitted when a bounty proposal is funded and became active.
EventBountiesBountyCanceled is emitted when a bounty is cancelled.
EventBountiesBountyClaimed is emitted when a bounty is claimed by beneficiary.
EventBountiesBountyExtended is emitted when a bounty is extended.
EventBountiesBountyProposed is emitted for a new bounty proposal.
EventBountiesBountyRejected is emitted when a bounty proposal was rejected; funds were slashed.
EventChildBountiesAdded is emitted when a child-bounty is added.
EventChildBountiesAwarded is emitted when a child-bounty is awarded to a beneficiary.
EventChildBountiesCanceled is emitted when a child-bounty is canceled.
EventChildBountiesClaimed is emitted when a child-bounty is claimed by a beneficiary.
EventClaimsClaimed is emitted when an account claims some DOTs.
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
EventContractsCodeRemoved is emitted when code with the specified hash was removed.
EventContractsCodeStored is emitted when code with the specified hash has been stored.
EventContractsContractCodeUpdated is emitted when a contract's code was updated.
EventContractsContractEmitted is emitted when a custom event emitted by the contract.
EventContractsContractExecution is triggered when an event deposited upon execution of a contract from the account.
EventContractsInstantiated is emitted when a contract is deployed by address at the specified address.
EventContractsScheduleUpdated is triggered when the current [schedule] is updated.
EventContractsTerminated The only way for a contract to be removed and emitting this event is by calling `seal_terminate`.
EventConvictionVotingDelegated is emitted when an account has delegated their vote to another account.
EventConvictionVotingUndelegated is emitted when an account has delegated their vote to another account.
EventCouncilApproved is emitted when a motion was approved by the required threshold.
EventCouncilClosed is emitted when a proposal was closed after its duration was up.
EventCouncilDisapproved is emitted when a motion was not approved by the required threshold.
EventCouncilExecuted is emitted when a motion was executed; `result` is true if returned without error.
EventCouncilMemberExecuted is emitted when a single member did some action; `result` is true if returned without error.
EventCouncilProposed 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`).
EventCrowdloanAddedToNewRaise is emitted when a parachain has been moved to `NewRaise`.
EventCrowdloanAllRefunded is emitted when all loans in a fund have been refunded.
EventCrowdloanContributed is emitted when `who` contributed to a crowd sale.
EventCrowdloanCreated is emitted when a new crowdloaning campaign is created.
EventCrowdloanDissolved is emitted when the fund is dissolved.
EventCrowdloanEdited is emitted when the configuration to a crowdloan has been edited.
EventCrowdloanHandleBidResult is emitted when trying to submit a new bid to the Slots pallet.
EventCrowdloanMemoUpdated is emitted when a memo has been updated.
EventCrowdloanPartiallyRefunded is emitted when the loans in a fund have been partially dissolved, i.e.
EventCrowdloanWithdrew is emitted when the full balance of a contributor was withdrawn.
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.
EventDemocracySeconded is emitted when an account has seconded a proposal.
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.
EventDemocracyVetoed is emitted when an external proposal has been vetoed.
EventDemocracyVoted is emitted when an account has voted in a referendum.
EventElectionProviderMultiPhaseElectionFinalized is emitted when the election has been finalized, with `Some` of the given computation, or else if the election failed, `None`.
EventElectionProviderMultiPhaseRewarded is emitted when an account has been rewarded for their signed submission being finalized.
EventElectionProviderMultiPhaseSignedPhaseStarted is emitted when the signed phase of the given round has started.
EventElectionProviderMultiPhaseSlashed is emitted when an account has been slashed for submitting an invalid signed submission.
EventElectionProviderMultiPhaseSolutionStored is emitted when a solution was stored with the given compute.
EventElectionProviderMultiPhaseUnsignedPhaseStarted is emitted when the unsigned phase of the given round has started.
EventElectionsCandidateSlashed is emitted when a candidate was slashed by amount due to failing to obtain a seat as member or runner-up.
EventElectionsElectionError is emitted when an internal error happened while trying to perform election.
EventElectionsEmptyTerm is emitted when No (or not enough) candidates existed for this round.
EventElectionsMemberKicked is emitted when a member has been removed.
EventElectionsNewTerm is emitted when a new term with new members.
EventElectionsRenounced is emitted when a member has renounced their candidacy.
EventElectionsSeatHolderSlashed is emitted when a seat holder was slashed by amount by being forcefully removed from the set.
EventGiltBidPlaced is emitted when a bid was successfully placed.
EventGiltBidRetracted is emitted when a bid was successfully removed (before being accepted as a gilt).
EventGiltGiltIssued is emitted when a bid was accepted as a gilt.
EventGiltGiltThawed is emitted when an expired gilt has been thawed.
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.
EventHRMPChannelClosed is emitted when an HRMP channel is closed.
EventHRMPOpenChannelAccepted is emitted when an open HRMP channel is accepted.
EventHRMPOpenChannelCanceled is emitted when an HRMP channel request sent by the receiver was canceled by either party.
EventHRMPOpenChannelRequested is emitted when an open HRMP channel is requested.
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.
EventLotteryCallsUpdated is emitted when a new set of calls has been set.
EventLotteryLotteryStarted is emitted when a lottery has been started.
EventLotteryTicketBought is emitted when a ticket has been bought.
EventLotteryWinner is emitted when a winner has been chosen.
No description provided by the author
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.
EventNftSalesForSale is emitted when an NFT is out for sale.
EventNftSalesRemoved is emitted when an NFT is removed.
EventNftSalesSold is emitted when an NFT is sold.
EventOffencesOffence is emitted when there is an offence reported of the given kind happened at the session_index and (kind-specific) time slot.
EventParachainSystemDownwardMessagesProcessed is emitted when downward messages were processed using the given weight.
EventParachainSystemDownwardMessagesReceived is emitted when some downward messages have been received and will be processed.
EventParachainSystemUpgradeAuthorized is emitted when an upgrade has been authorized.
EventParachainSystemValidationFunctionApplied is emitted when the validation function was applied as of the contained relay chain block number.
EventParachainSystemValidationFunctionDiscarded is emitted when the relay-chain aborted the upgrade process.
EventParachainSystemValidationFunctionStored is emitted when the validation function has been scheduled to apply.
EventParaInclusionCandidateBacked is emitted when a candidate was backed.
EventParaInclusionCandidateIncluded is emitted when a candidate was included.
EventParaInclusionCandidateTimedOut is emitted when a candidate timed out.
EventParasActionQueued is emitted when a para has been queued to execute pending actions.
EventParasCodeUpgradeScheduled is emitted when a code upgrade has been scheduled for a Para.
EventParasCurrentCodeUpdated is emitted when the current code has been updated for a Para.
EventParasCurrentHeadUpdated is emitted when the current head has been updated for a Para.
EventParasDisputesDisputeConcluded is emitted when a dispute has concluded for or against a candidate.
EventParasDisputesDisputeInitiated is emitted when a dispute has been initiated.
EventParasDisputesDisputeTimedOut is emitted when a dispute has timed out due to insufficient participation.
EventParasDisputesRevert is emitted when a dispute has concluded with supermajority against a candidate.
EventParasNewHeadNoted is emitted when a new head has been noted for a Para.
EventParasPvfCheckAccepted is emitted when the given validation code was accepted by the PVF pre-checking vote.
EventParasPvfCheckRejected is emitted when the given validation code was rejected by the PVF pre-checking vote.
EventParasPvfCheckStarted is emitted when the given para either initiated or subscribed to a PVF check for the given validation code.
EventPreimageCleared is emitted when a preimage has been cleared.
EventPreimageNoted is emitted when a preimage has been noted.
EventPreimageRequested is emitted when a preimage has been requested.
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.
EventProxyProxyAdded is emitted when a proxy was added.
EventProxyProxyExecuted is emitted when a proxy was executed correctly, with the given [result].
EventProxyProxyRemoved is emitted when a proxy was removed.
EventRecords is a default set of possible event records that can be used as a target for `func (e EventRecordsRaw) Decode(...` Sources: https://github.com/polkadot-js/api/blob/master/packages/api-augment/src/substrate/events.ts https://github.com/polkadot-js/api/blob/master/packages/api-augment/src/polkadot/events.ts
nolint:stylecheck,lll,revive.
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.
EventReferendaApproved is emitted when a referendum has been approved and its proposal has been scheduled.
EventReferendaCancelled is emitted when a referendum has been cancelled.
EventReferendaConfirmAborted is emitted when a referendum has been aborted.
EventReferendaConfirmed is emitted when a referendum has ended its confirmation phase and is ready for approval.
EventReferendaConfirmStarted is emitted when a referendum has been started.
EventReferendaDecisionDepositPlaced is emitted when the decision deposit has been placed.
EventReferendaDecisionDepositRefunded is emitted when the decision deposit has been refunded.
EventReferendaDecisionSlashed is emitted when a deposit has been slashed.
EventReferendaDecisionStarted is emitted when a referendum has moved into the deciding phase.
EventReferendaKilled is emitted when a referendum has been killed.
EventReferendaRejected is emitted when a proposal has been rejected by referendum.
EventReferendaSubmitted is emitted when a referendum has been submitted.
EventReferendaTimedOut is emitted when a referendum has been timed out without being decided.
EventRegistrarDeregistered is emitted when a parachain is deregistered.
EventRegistrarRegistered is emitted when a parachain is registered.
EventRegistrarReserved is emitted when a parachain slot is reserved.
EventSchedulerCallLookupFailed is emitted when the call for the provided hash was not found so the task has been aborted.
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.
EventSlotsLeased is emitted when a para has won the right to a continuous set of lease periods as a parachain.
EventSlotsNewLeasePeriod is emitted when a new `[lease_period]` is beginning.
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.
EventStakingChilled is emitted when an account has stopped participating as either a validator or nominator.
EventStakingEraPaid is emitted when the era payout has been set;.
EventStakingKicked is emitted when a nominator has been kicked from a validator.
EventStakingOldSlashingReportDiscarded is emitted when an old slashing report from a prior era was discarded because it could not be processed.
EventStakingPayoutStarted is emitted when the stakers' rewards are getting paid.
EventStakingRewarded is emitted when the staker has been rewarded by this amount.
EventStakingSlashed 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.
EventStakingStakersElected is emitted when a new set of stakers was elected.
EventStakingStakingElectionFailed is emitted when the election failed.
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.
EventStateTrieMigrationAutoMigrationFinished is emitted when the auto migration task has finished.
EventStateTrieMigrationHalted is emitted when the migration got halted.
EventStateTrieMigrationMigrated is emitted when the given number of `(top, child)` keys were migrated respectively, with the given `compute`.
EventStateTrieMigrationSlashed is emitted when some account got slashed by the given amount.
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.
EventSystemRemarked is emitted when an on-chain remark happened.
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.
EventTipsNewTip is emitted when a new tip suggestion has been opened.
EventTipsTipClosed is emitted when a tip suggestion has been closed.
EventTipsTipClosing is emitted when a tip suggestion has reached threshold and is closing.
EventTipsTipRetracted is emitted when a tip suggestion has been retracted.
EventTipsTipSlashed is emitted when a tip suggestion has been slashed.
No description provided by the author
EventTransactionStorageProofChecked is emitted when storage proof was successfully checked.
EventTransactionStorageRenewed is emitted when data is renewed under a specific index.
EventTransactionStorageStored is emitted when data is stored under a specific index.
EventTreasuryAwarded is emitted when some funds have been allocated.
EventTreasuryBurnt is emitted when some of our funds have been burnt.
EventTreasuryDeposit is emitted when some funds have been deposited.
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.
EventUMPExecutedUpward is emitted when the upward message executed with the given outcome.
EventUMPInvalidFormat is emitted when the upward message is invalid XCM.
EventUMPOverweightEnqueued is emitted when the weight budget was exceeded for an individual upward message.
EventUMPOverweightServiced is emitted when the upward message from the overweight queue was executed with the given actual weight used.
EventUMPUnsupportedVersion is emitted when the upward message is unsupported version of XCM.
EventUMPUpwardMessagesReceived is emitted when some upward messages have been received and will be processed.
EventUMPWeightExhausted is emitted when the weight limit for handling upward messages was reached.
EventUniquesApprovalCancelled is emitted when an approval for a delegate account to transfer the instance of an asset class was cancelled by its owner.
EventUniquesApprovedTransfer is emitted when an `instance` of an asset `class` has been approved by the `owner` for transfer by a `delegate`.
EventUniquesAssetStatusChanged is emitted when an asset `class` has had its attributes changed by the `Force` origin.
EventUniquesAttributeCleared is emitted when an attribute metadata has been cleared for an asset class or instance.
EventUniquesAttributeSet is emitted when a new attribute metadata has been set for an asset class or instance.
EventUniquesBurned is emitted when an asset `instance` was destroyed.
EventUniquesClassFrozen is emitted when some asset `class` was frozen.
EventUniquesClassMetadataCleared is emitted when metadata has been cleared for an asset class.
EventUniquesClassMetadataSet is emitted when new metadata has been set for an asset class.
EventUniquesClassThawed is emitted when some asset `class` was thawed.
EventUniquesCreated is emitted when an asset class was created.
EventUniquesDestroyed is emitted when an asset `class` was destroyed.
EventUniquesForceCreated is emitted when an asset class was force-created.
EventUniquesFrozen is emitted when some asset `instance` was frozen.
EventUniquesIssued is emitted when an asset instance was issued.
EventUniquesMetadataCleared is emitted when metadata has been cleared for an asset instance.
EventUniquesMetadataSet is emitted when metadata has been set for an asset instance.
EventUniquesOwnerChanged is emitted when the owner changed.
EventUniquesRedeposited is emitted when metadata has been cleared for an asset instance.
EventUniquesTeamChanged is emitted when the management team changed.
EventUniquesThawed is emitted when some asset instance was thawed.
EventUniquesTransferred is emitted when some asset instance was transferred.
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.
EventUtilityDispatchedAs is emitted when a call was dispatched.
EventUtilityItemCompleted is emitted when a single item within a Batch of dispatches has completed with no error.
EventVestingVestingCompleted is emitted when an [account] has become fully vested.
EventVestingVestingUpdated is emitted when the amount vested has been updated.
EventWhitelistCallWhitelisted is emitted when a call has been whitelisted.
EventWhitelistWhitelistedCallDispatched is emitted when a whitelisted call has been dispatched.
EventWhitelistWhitelistedCallRemoved is emitted when a whitelisted call has been removed.
EventXcmPalletAssetsTrapped is emitted when some assets have been placed in an asset trap.
EventXcmPalletAttempted is emitted when the execution of an XCM message was attempted.
EventXcmPalletInvalidResponder is emitted when the expected query response has been received but the origin location of the response does not match that expected.
EventXcmPalletInvalidResponderVersion is emitted when the expected query response has been received but the expected origin location placed in storage by this runtime previously cannot be decoded.
EventXcmPalletNotified is emitted when a query response has been received and query is removed.
EventXcmPalletNotifyDecodeFailed is emitted when a query response has been received and query is removed.
EventXcmPalletNotifyDispatchError is emitted when a query response has been received and query is removed.
EventXcmPalletNotifyOverweight is emitted when a query response has been received and query is removed.
EventXcmPalletNotifyTargetMigrationFail is emitted when a given location which had a version change subscription was dropped owing to an error migrating the location to our new XCM format.
EventXcmPalletNotifyTargetSendFail is emitted when a given location which had a version change subscription was dropped owing to an error sending the notification to it.
EventXcmPalletResponseReady is emitted when a query response has been received and is ready for taking with `take_response`.
EventXcmPalletResponseTaken is emitted when the received query response has been read and removed.
EventXcmPalletSent is emitted when an XCM message was sent.
EventXcmPalletSupportedVersionChanged is emitted when the supported version of a location has been changed.
EventXcmPalletUnexpectedResponse is emitted when a query response which does not match a registered query is received.
EventXcmPalletVersionChangeNotified is emitted when an XCM version change notification message has been attempted to be sent.
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.
No description provided by the author
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.
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
No description provided by the author
No description provided by the author
GenerateMMRProofResponse contains the generate proof rpc response.
No description provided by the author
Health contains the status of a node.
No description provided by the author
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
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
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
nolint:lll Based on https://github.com/polkadot-js/api/blob/80b581f0df87108c59f71e67d7c5fc5f8c89ec33/packages/types/src/interfaces/metadata/v14.ts.
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.
MigrationCompute is an enum describing how a migration was computed.
No description provided by the author
MMRProof is a MMR proof.
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
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
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
MultiSignature.
No description provided by the author
NetworkState contains the current state of the network.
No description provided by the author
No description provided by the author
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.
No description provided by the author
No description provided by the author
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.
No description provided by the author
OptionU128 is a structure that can store a U128 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
PayloadItem ...
No description provided by the author
PeerInfo contains information about a connected peer.
No description provided by the author
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
PostDispatchInfo is used in DispatchResultWithPostInfo.
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
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
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.
No description provided by the author
No description provided by the author
No description provided by the author
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.
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
# Interfaces
Hexer interface is implemented by any type that has a Hex() function returning a string.
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.
No description provided by the author
No description provided by the author
ConsensusEngineID is a 4-byte identifier (actually a [u8; 4]) identifying the engine, e.g.
No description provided by the author
No description provided by the author
Data is a raw data structure, containing raw bytes that are not decoded/encoded (without any length encoding).
No description provided by the author
Digest contains logs.
DigestOf contains logs.
EcdsaSignature is a 65 byte array.
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.
No description provided by the author
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
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
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
`byte` can only be one of the variants listed below.
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.
No description provided by the author