Skip to content
Snippets Groups Projects
Select Git revision
  • b117b43eff06e58ac0d56a6b70e12043e65fff08
  • main default protected
  • ts
  • raw-crypt
  • v3.5.8 protected
  • v3.5.7 protected
  • v3.5.6 protected
  • v3.5.5 protected
  • v3.5.4 protected
  • v3.5.3 protected
  • v3.5.2 protected
  • v3.5.1 protected
  • v3.5.0 protected
  • v3.4.2 protected
  • v3.4.1 protected
  • v3.4.0 protected
  • v3.3.3 protected
  • v3.3.2 protected
  • v3.3.1 protected
  • v3.3.0 protected
  • v3.2.0 protected
  • v3.1.0 protected
  • v3.0.2 protected
  • v3.0.1 protected
24 results

dictionary-parser.mjs

Blame
  • runtime-calls.md 42.77 KiB

    Runtime calls

    Calls are categorized according to the dispatch origin they require:

    1. User calls: the dispatch origin for this kind of call must be signed by the transactor. This is the only call category that can be submitted with an extrinsic.
    2. Root calls: This kind of call requires a special origin that can only be invoked through on-chain governance mechanisms.
    3. Inherent calls: This kind of call is invoked by the author of the block itself (usually automatically by the node).
    4. Disabled calls: These calls can not be called directly, they are reserved for internal use by other runtime calls.

    User calls

    There are 69 user calls from 21 pallets.

    Scheduler - 2

    schedule - 0

    schedule(when, maybe_periodic, priority, call)
    when: T::BlockNumber
    maybe_periodic: Option<schedule::Period<T::BlockNumber>>
    priority: schedule::Priority
    call: Box<<T as Config>::RuntimeCall>

    Anonymously schedule a task.

    cancel - 1

    cancel(when, index)
    when: T::BlockNumber
    index: u32

    Cancel an anonymously scheduled task.

    schedule_named - 2

    schedule_named(id, when, maybe_periodic, priority, call)
    id: TaskName
    when: T::BlockNumber
    maybe_periodic: Option<schedule::Period<T::BlockNumber>>
    priority: schedule::Priority
    call: Box<<T as Config>::RuntimeCall>

    Schedule a named task.

    cancel_named - 3

    cancel_named(id)
    id: TaskName

    Cancel a named scheduled task.

    schedule_after - 4

    schedule_after(after, maybe_periodic, priority, call)
    after: T::BlockNumber
    maybe_periodic: Option<schedule::Period<T::BlockNumber>>
    priority: schedule::Priority
    call: Box<<T as Config>::RuntimeCall>