Skip to content
Snippets Groups Projects
Select Git revision
  • ec2e174a5d41168d9ea3e8b65d10af593f5b5cc3
  • master default protected
  • dev
  • appimage
  • fix_gitlab
  • fixappveyor
  • gitlab
  • fix_ci
  • fix_dbus_error
  • fix_ci_osx
  • sakia020
  • fix_travis#1105
  • feature/backend
  • check_uniq_node_by_endpoints
  • qt5.7
  • feature/agent_architecture
  • translations
  • pyqt5.6
  • qtwebengine
  • pyinstaller
  • landscape
  • 0.53.2
  • 0.53.1
  • 0.53.0
  • 0.52.0
  • 0.51.1
  • 0.51.0
  • 0.50.5
  • 0.50.4
  • 0.50.3
  • 0.50.2
  • 0.50.1
  • 0.50.0
  • 0.33.0rc7
  • 0.33.0rc6
  • 0.33.0rc5
  • 0.33.0rc4
  • 0.33.0rc3
  • 0.33.0rc2
  • 0.33.0rc1
  • 0.32.10post1
41 results

gen_translations.py

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>