Skip to content
Snippets Groups Projects
runtime-events.md 27.55 KiB

Runtime events

There are 130 events from 37 pallets.

  • System - 0
    • ExtrinsicSuccess(dispatch_info) - 0 An extrinsic completed successfully.
      dispatch_info: DispatchInfo
    • ExtrinsicFailed(dispatch_error, dispatch_info) - 1 An extrinsic failed.
      dispatch_error: DispatchError
      dispatch_info: DispatchInfo
    • CodeUpdated() - 2 `:code` was updated.
      no args
    • NewAccount(account) - 3 A new account was created.
      account: T::AccountId
    • KilledAccount(account) - 4 An account was reaped.
      account: T::AccountId
    • Remarked(sender, hash) - 5 On on-chain remark happened.
      sender: T::AccountId
      hash: T::Hash
  • Account - 1
    • ForceDestroy(who, balance) - 0 Force the destruction of an account because its free balance is insufficient to pay the account creation price. [who, balance]
      who: T::AccountId
      balance: T::Balance
    • RandomIdAssigned(who, random_id) - 1 Random id assigned [account_id, random_id]
      who: T::AccountId
      random_id: H256
    • AccountLinked(who, identity) - 2 account linked to identity
      who: T::AccountId
      identity: IdtyIdOf<T>
    • AccountUnlinked() - 3 account unlinked from identity
      : T::AccountId
  • Scheduler - 2
    • Scheduled(when, index) - 0 Scheduled some task.
      when: T::BlockNumber
      index: u32
    • Canceled(when, index) - 1 Canceled some task.
      when: T::BlockNumber
      index: u32
    • Dispatched(task, id, result) - 2 Dispatched some task.
      task: TaskAddress<T::BlockNumber>
      id: Option<TaskName>
      result: DispatchResult
    • CallUnavailable(task, id) - 3 The call for the provided hash was not found so the task has been aborted.
      task: TaskAddress<T::BlockNumber>
      id: Option<TaskName>
    • PeriodicFailed(task, id) - 4 The given task was unable to be renewed since the agenda is full at that block.
      task: TaskAddress<T::BlockNumber>
      id: Option<TaskName>
    • PermanentlyOverweight(task, id) - 5 The given task can never be executed since it is overweight.
      task: TaskAddress<T::BlockNumber>
      id: Option<TaskName>
  • Babe - 3
  • Timestamp - 4
  • Parameters - 5
  • Balances - 6
    • Endowed(account, free_balance) - 0 An account was created with some free balance.
      account: T::AccountId
      free_balance: T::Balance
    • DustLost(account, amount) - 1 An account was removed whose balance was non-zero but below ExistentialDeposit, resulting in an outright loss.
      account: T::AccountId
      amount: T::Balance
    • Transfer(from, to, amount) - 2 Transfer succeeded.
      from: T::AccountId
      to: T::AccountId
      amount: T::Balance
    • BalanceSet(who, free) - 3 A balance was set by root.
      who: T::AccountId
      free: T::Balance
    • Reserved(who, amount) - 4 Some balance was reserved (moved from free to reserved).
      who: T::AccountId
      amount: T::Balance
    • Unreserved(who, amount) - 5 Some balance was unreserved (moved from reserved to free).
      who: T::AccountId
      amount: T::Balance
    • ReserveRepatriated(from, to, amount, destination_status) - 6 Some balance was moved from the reserve of the first account to the second account. Final argument indicates the destination balance type.
      from: T::AccountId
      to: T::AccountId
      amount: T::Balance
      destination_status: Status
    • Deposit(who, amount) - 7 Some amount was deposited (e.g. for transaction fees).
      who: T::AccountId
      amount: T::Balance
    • Withdraw(who, amount) - 8 Some amount was withdrawn from the account (e.g. for transaction fees).
      who: T::AccountId
      amount: T::Balance
    • Slashed(who, amount) - 9 Some amount was removed from the account (e.g. for misbehavior).
      who: T::AccountId
      amount: T::Balance
    • Minted(who, amount) - 10 Some amount was minted into an account.
      who: T::AccountId
      amount: T::Balance
    • Burned(who, amount) - 11 Some amount was burned from an account.
      who: T::AccountId
      amount: T::Balance
    • Suspended(who, amount) - 12 Some amount was suspended from an account (it can be restored later).
      who: T::AccountId
      amount: T::Balance
    • Restored(who, amount) - 13 Some amount was restored into an account.
      who: T::AccountId
      amount: T::Balance
    • Upgraded(who) - 14 An account was upgraded.
      who: T::AccountId
    • Issued(amount) - 15 Total issuance was increased by `amount`, creating a credit to be balanced.
      amount: T::Balance
    • Rescinded(amount) - 16 Total issuance was decreased by `amount`, creating a debt to be balanced.
      amount: T::Balance
    • Locked(who, amount) - 17 Some balance was locked.
      who: T::AccountId
      amount: T::Balance
    • Unlocked(who, amount) - 18 Some balance was unlocked.
      who: T::AccountId
      amount: T::Balance
    • Frozen(who, amount) - 19 Some balance was frozen.
      who: T::AccountId
      amount: T::Balance
    • Thawed(who, amount) - 20 Some balance was thawed.
      who: T::AccountId
      amount: T::Balance
  • TransactionPayment - 32
    • TransactionFeePaid(who, actual_fee, tip) - 0 A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, has been paid by `who`.
      who: T::AccountId
      actual_fee: BalanceOf<T>
      tip: BalanceOf<T>
  • OneshotAccount - 7
    • OneshotAccountCreated(account, balance, creator) - 0
      account: T::AccountId
      balance: <T::Currency as Currency<T::AccountId>>::Balance
      creator: T::AccountId
    • OneshotAccountConsumed(account, dest1, dest2) - 1
      account: T::AccountId
      dest1: (T::AccountId,<T::Currency as Currency<T::AccountId>>::Balance,)
      dest2: Option<
      (T::AccountId,<T::Currency as Currency<T::AccountId>>::Balance,)
      >
    • Withdraw(account, balance) - 2
      account: T::AccountId
      balance: <T::Currency as Currency<T::AccountId>>::Balance
  • Quota - 66
    • Refunded(who, identity, amount) - 0 Refunded fees to an account
      who: T::AccountId
      identity: IdtyId<T>
      amount: BalanceOf<T>
    • NoQuotaForIdty() - 1 No quota for identity
      : IdtyId<T>
    • NoMoreCurrencyForRefund() - 2 No more currency available for refund
      no args
    • RefundFailed() - 3 Refund failed
      : T::AccountId
    • RefundQueueFull() - 4 Refund queue full
      no args
  • AuthorityMembers - 10
    • IncomingAuthorities() - 0 List of members who will enter the set of authorities at the next session. [Vec]
      : Vec<T::MemberId>
    • OutgoingAuthorities() - 1 List of members who will leave the set of authorities at the next session. [Vec]
      : Vec<T::MemberId>
    • MemberGoOffline() - 2 A member will leave the set of authorities in 2 sessions. [member_id]
      : T::MemberId
    • MemberGoOnline() - 3 A member will enter the set of authorities in 2 sessions. [member_id]
      : T::MemberId
    • MemberRemoved() - 4 A member has lost the right to be part of the authorities, this member will be removed from the authority set in 2 sessions. [member_id]
      : T::MemberId
    • MemberRemovedFromBlackList() - 5 A member has been removed from the blacklist. [member_id]
      : T::MemberId
  • Authorship - 11
  • Offences - 12
    • Offence(kind, timeslot) - 0 There is an offence reported of the given `kind` happened at the `session_index` and (kind-specific) time slot. This event is not deposited for duplicate slashes. \[kind, timeslot\].
      kind: Kind
      timeslot: OpaqueTimeSlot
  • Historical - 13
  • Session - 14
    • NewSession(session_index) - 0 New session has happened. Note that the argument is the session index, not the block number as the type might suggest.
      session_index: SessionIndex
  • Grandpa - 15
    • NewAuthorities(authority_set) - 0 New authority set has been applied.
      authority_set: AuthorityList
    • Paused() - 1 Current authority set has been paused.
      no args
    • Resumed() - 2 Current authority set has been resumed.
      no args
  • ImOnline - 16
    • HeartbeatReceived(authority_id) - 0 A new heartbeat was received from `AuthorityId`.
      authority_id: T::AuthorityId
    • AllGood() - 1 At the end of the session, no offence was committed.
      no args
    • SomeOffline(offline) - 2 At the end of the session, at least one validator was found to be offline.
      offline: Vec<IdentificationTuple<T>>
  • AuthorityDiscovery - 17
  • Sudo - 20
    • Sudid(sudo_result) - 0 A sudo just took place. \[result\]
      sudo_result: DispatchResult
    • KeyChanged(old_sudoer) - 1 The \[sudoer\] just switched identity; the old key is supplied if one existed.
      old_sudoer: Option<T::AccountId>
    • SudoAsDone(sudo_result) - 2 A sudo just took place. \[result\]
      sudo_result: DispatchResult
  • UpgradeOrigin - 21
    • DispatchedAsRoot(result) - 0 A call was dispatched as root from an upgradable origin
      result: DispatchResult
  • Preimage - 22
    • Noted(hash) - 0 A preimage has been noted.
      hash: T::Hash
    • Requested(hash) - 1 A preimage has been requested.
      hash: T::Hash
    • Cleared(hash) - 2 A preimage has ben cleared.
      hash: T::Hash
  • TechnicalCommittee - 23
    • Proposed(account, proposal_index, proposal_hash, threshold) - 0 A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`).
      account: T::AccountId
      proposal_index: ProposalIndex
      proposal_hash: T::Hash
      threshold: MemberCount
    • Voted(account, proposal_hash, voted, yes, no) - 1 A motion (given hash) has been voted on by given account, leaving a tally (yes votes and no votes given respectively as `MemberCount`).
      account: T::AccountId
      proposal_hash: T::Hash
      voted: bool
      yes: MemberCount
      no: MemberCount
    • Approved(proposal_hash) - 2 A motion was approved by the required threshold.
      proposal_hash: T::Hash
    • Disapproved(proposal_hash) - 3 A motion was not approved by the required threshold.
      proposal_hash: T::Hash
    • Executed(proposal_hash, result) - 4 A motion was executed; result will be `Ok` if it returned without error.
      proposal_hash: T::Hash
      result: DispatchResult
    • MemberExecuted(proposal_hash, result) - 5 A single member did some action; result will be `Ok` if it returned without error.
      proposal_hash: T::Hash
      result: DispatchResult
    • Closed(proposal_hash, yes, no) - 6 A proposal was closed because its threshold was reached or after its duration was up.
      proposal_hash: T::Hash
      yes: MemberCount
      no: MemberCount
  • UniversalDividend - 30
    • NewUdCreated(amount, index, monetary_mass, members_count) - 0 A new universal dividend is created.
      amount: BalanceOf<T>
      index: UdIndex
      monetary_mass: BalanceOf<T>
      members_count: BalanceOf<T>
    • UdReevalued(new_ud_amount, monetary_mass, members_count) - 1 The universal dividend has been re-evaluated.
      new_ud_amount: BalanceOf<T>
      monetary_mass: BalanceOf<T>
      members_count: BalanceOf<T>
    • UdsAutoPaidAtRemoval(count, total, who) - 2 DUs were automatically transferred as part of a member removal.
      count: UdIndex
      total: BalanceOf<T>
      who: T::AccountId
    • UdsClaimed(count, total, who) - 3 A member claimed his UDs.
      count: UdIndex
      total: BalanceOf<T>
      who: T::AccountId
  • Wot - 40
  • Identity - 41
    • IdtyCreated(idty_index, owner_key) - 0 A new identity has been created [idty_index, owner_key]
      idty_index: T::IdtyIndex
      owner_key: T::AccountId
    • IdtyConfirmed(idty_index, owner_key, name) - 1 An identity has been confirmed by its owner [idty_index, owner_key, name]
      idty_index: T::IdtyIndex
      owner_key: T::AccountId
      name: IdtyName
    • IdtyValidated(idty_index) - 2 An identity has been validated [idty_index]
      idty_index: T::IdtyIndex
    • IdtyChangedOwnerKey(idty_index, new_owner_key) - 3
      idty_index: T::IdtyIndex
      new_owner_key: T::AccountId
    • IdtyRemoved(idty_index, reason) - 4 An identity has been removed [idty_index]
      idty_index: T::IdtyIndex
      reason: IdtyRemovalReason<T::IdtyRemovalOtherReason>
  • Membership - 42
    • MembershipAcquired() - 0 A membership was acquired [idty_id]
      : T::IdtyId
    • MembershipExpired() - 1 A membership expired [idty_id]
      : T::IdtyId
    • MembershipRenewed() - 2 A membership was renewed [idty_id]
      : T::IdtyId
    • MembershipRequested() - 3 An membership was requested [idty_id]
      : T::IdtyId
    • MembershipRevoked() - 4 A membership was revoked [idty_id]
      : T::IdtyId
    • PendingMembershipExpired() - 5 A pending membership request has expired [idty_id]
      : T::IdtyId
  • Cert - 43
    • NewCert(issuer, issuer_issued_count, receiver, receiver_received_count) - 0 New certification [issuer, issuer_issued_count, receiver, receiver_received_count]
      issuer: T::IdtyIndex
      issuer_issued_count: u32
      receiver: T::IdtyIndex
      receiver_received_count: u32
    • RemovedCert(issuer, issuer_issued_count, receiver, receiver_received_count, expiration) - 1 Removed certification [issuer, issuer_issued_count, receiver, receiver_received_count, expiration]
      issuer: T::IdtyIndex
      issuer_issued_count: u32
      receiver: T::IdtyIndex
      receiver_received_count: u32
      expiration: bool
    • RenewedCert(issuer, receiver) - 2 Renewed certification [issuer, receiver]
      issuer: T::IdtyIndex
      receiver: T::IdtyIndex
  • Distance - 44
  • SmithSubWot - 50
  • SmithMembership - 52
    • MembershipAcquired() - 0 A membership was acquired [idty_id]
      : T::IdtyId
    • MembershipExpired() - 1 A membership expired [idty_id]
      : T::IdtyId
    • MembershipRenewed() - 2 A membership was renewed [idty_id]
      : T::IdtyId
    • MembershipRequested() - 3 An membership was requested [idty_id]
      : T::IdtyId
    • MembershipRevoked() - 4 A membership was revoked [idty_id]
      : T::IdtyId
    • PendingMembershipExpired() - 5 A pending membership request has expired [idty_id]
      : T::IdtyId
  • SmithCert - 53
    • NewCert(issuer, issuer_issued_count, receiver, receiver_received_count) - 0 New certification [issuer, issuer_issued_count, receiver, receiver_received_count]
      issuer: T::IdtyIndex
      issuer_issued_count: u32
      receiver: T::IdtyIndex
      receiver_received_count: u32
    • RemovedCert(issuer, issuer_issued_count, receiver, receiver_received_count, expiration) - 1 Removed certification [issuer, issuer_issued_count, receiver, receiver_received_count, expiration]
      issuer: T::IdtyIndex
      issuer_issued_count: u32
      receiver: T::IdtyIndex
      receiver_received_count: u32
      expiration: bool
    • RenewedCert(issuer, receiver) - 2 Renewed certification [issuer, receiver]
      issuer: T::IdtyIndex
      receiver: T::IdtyIndex
  • AtomicSwap - 60
    • NewSwap(account, proof, swap) - 0 Swap created.
      account: T::AccountId
      proof: HashedProof
      swap: PendingSwap<T>
    • SwapClaimed(account, proof, success) - 1 Swap claimed. The last parameter indicates whether the execution succeeds.
      account: T::AccountId
      proof: HashedProof
      success: bool
    • SwapCancelled(account, proof) - 2 Swap cancelled.
      account: T::AccountId
      proof: HashedProof
  • Multisig - 61
    • NewMultisig(approving, multisig, call_hash) - 0 A new multisig operation has begun.
      approving: T::AccountId
      multisig: T::AccountId
      call_hash: CallHash
    • MultisigApproval(approving, timepoint, multisig, call_hash) - 1 A multisig operation has been approved by someone.
      approving: T::AccountId
      timepoint: Timepoint<T::BlockNumber>
      multisig: T::AccountId
      call_hash: CallHash
    • MultisigExecuted(approving, timepoint, multisig, call_hash, result) - 2 A multisig operation has been executed.
      approving: T::AccountId
      timepoint: Timepoint<T::BlockNumber>
      multisig: T::AccountId
      call_hash: CallHash
      result: DispatchResult
    • MultisigCancelled(cancelling, timepoint, multisig, call_hash) - 3 A multisig operation has been cancelled.
      cancelling: T::AccountId
      timepoint: Timepoint<T::BlockNumber>
      multisig: T::AccountId
      call_hash: CallHash
  • ProvideRandomness - 62
    • FilledRandomness(request_id, randomness) - 0 Filled randomness
      request_id: RequestId
      randomness: H256
    • RequestedRandomness(request_id, salt, r#type) - 1 Requested randomness
      request_id: RequestId
      salt: H256
      r#type: RandomnessType
  • Proxy - 63
    • ProxyExecuted(result) - 0 A proxy was executed correctly, with the given.
      result: DispatchResult
    • PureCreated(pure, who, proxy_type, disambiguation_index) - 1 A pure account has been created by new proxy with given disambiguation index and proxy type.
      pure: T::AccountId
      who: T::AccountId
      proxy_type: T::ProxyType
      disambiguation_index: u16
    • Announced(real, proxy, call_hash) - 2 An announcement was placed to make a call in the future.
      real: T::AccountId
      proxy: T::AccountId
      call_hash: CallHashOf<T>
    • ProxyAdded(delegator, delegatee, proxy_type, delay) - 3 A proxy was added.
      delegator: T::AccountId
      delegatee: T::AccountId
      proxy_type: T::ProxyType
      delay: T::BlockNumber
    • ProxyRemoved(delegator, delegatee, proxy_type, delay) - 4 A proxy was removed.
      delegator: T::AccountId
      delegatee: T::AccountId
      proxy_type: T::ProxyType
      delay: T::BlockNumber
  • Utility - 64
    • BatchInterrupted(index, error) - 0 Batch of dispatches did not complete fully. Index of first failing dispatch given, as well as the error.
      index: u32
      error: DispatchError
    • BatchCompleted() - 1 Batch of dispatches completed fully with no error.
      no args
    • BatchCompletedWithErrors() - 2 Batch of dispatches completed but has errors.
      no args
    • ItemCompleted() - 3 A single item within a Batch of dispatches has completed with no error.
      no args
    • ItemFailed(error) - 4 A single item within a Batch of dispatches has completed with error.
      error: DispatchError
    • DispatchedAs(result) - 5 A call was dispatched.
      result: DispatchResult
  • Treasury - 65
    • Proposed(proposal_index) - 0 New proposal.
      proposal_index: ProposalIndex
    • Spending(budget_remaining) - 1 We have ended a spend period and will now allocate funds.
      budget_remaining: BalanceOf<T, I>
    • Awarded(proposal_index, award, account) - 2 Some funds have been allocated.
      proposal_index: ProposalIndex
      award: BalanceOf<T, I>
      account: T::AccountId
    • Rejected(proposal_index, slashed) - 3 A proposal was rejected; funds were slashed.
      proposal_index: ProposalIndex
      slashed: BalanceOf<T, I>
    • Burnt(burnt_funds) - 4 Some of our funds have been burnt.
      burnt_funds: BalanceOf<T, I>
    • Rollover(rollover_balance) - 5 Spending has finished; this is the amount that rolls over until next spend.
      rollover_balance: BalanceOf<T, I>
    • Deposit(value) - 6 Some funds have been deposited.
      value: BalanceOf<T, I>
    • SpendApproved(proposal_index, amount, beneficiary) - 7 A new spend proposal has been approved.
      proposal_index: ProposalIndex
      amount: BalanceOf<T, I>
      beneficiary: T::AccountId
    • UpdatedInactive(reactivated, deactivated) - 8 The inactive funds of the pallet have been updated.
      reactivated: BalanceOf<T, I>
      deactivated: BalanceOf<T, I>