Skip to content

Zondax/ledger-darwinia

Repository files navigation

Ledger Darwinia App

License GithubActions


zondax_light zondax_dark

Please visit our website at zondax.ch


This project contains the Darwinia app (https://darwinia.network/) for Ledger Nano S and X.

  • Ledger Nano S/X BOLOS app
  • Specs / Documentation
  • C++ unit tests
  • Zemu tests

For more information: How to build

ATTENTION

Please:

  • Do not use in production
  • Do not use a Ledger device with funds for development purposes.
  • Have a separate and marked device that is used ONLY for development and testing

Darwinia 1.5330.x

System

Name Light XL Nesting Arguments
Fill block Perbill ratio
Remark Vecu8 remark
Set heap pages u64 pages
Set code Vecu8 code
Set code without checks Vecu8 code
Set storage VecKeyValue items
Kill storage VecKey keys
Kill prefix Key prefix
u32 subkeys
Remark with event Vecu8 remark

ParachainSystem

Name Light XL Nesting Arguments
Set validation data ParachainInherentData data
Sudo send upward message UpwardMessage message
Authorize upgrade Hash code_hash
Enact authorized upgrade Vecu8 code

Timestamp

Name Light XL Nesting Arguments
Set Compactu64 now

Balances

Name Light XL Nesting Arguments
Transfer ✔️ ✔️ ✔️ LookupasStaticLookupSource dest
CompactBalance amount
Set balance ✔️ ✔️ LookupasStaticLookupSource who
CompactBalance new_free
CompactBalance new_reserved
Force transfer ✔️ ✔️ ✔️ LookupasStaticLookupSource source
LookupasStaticLookupSource dest
CompactBalance amount
Transfer keep alive ✔️ ✔️ ✔️ LookupasStaticLookupSource dest
CompactBalance amount
Transfer all ✔️ ✔️ LookupasStaticLookupSource dest
bool keep_alive
Force unreserve ✔️ LookupasStaticLookupSource who
Balance amount

Authorship

Name Light XL Nesting Arguments
Set uncles VecHeader new_uncles

CollatorSelection

Name Light XL Nesting Arguments
Set invulnerables VecAccountId new_
Set desired candidates u32 max
Set candidacy bond Balance bond
Register as candidate
Leave intent

Session

Name Light XL Nesting Arguments
Set keys Keys keys
Bytes proof
Purge keys

XcmpQueue

Name Light XL Nesting Arguments
Service overweight OverweightIndex index
Weight weight_limit
Suspend xcm execution
Resume xcm execution
Update suspend threshold u32 new_
Update drop threshold u32 new_
Update resume threshold u32 new_
Update threshold weight Weight new_
Update weight restrict decay Weight new_
Update xcmp max individual weight Weight new_

PolkadotXcm

Name Light XL Nesting Arguments
Send BoxVersionedMultiLocation dest
BoxVersionedXcmTuple message
Teleport assets BoxVersionedMultiLocation dest
BoxVersionedMultiLocation beneficiary
BoxVersionedMultiAssets assets
u32 fee_asset_item
Reserve transfer assets BoxVersionedMultiLocation dest
BoxVersionedMultiLocation beneficiary
BoxVersionedMultiAssets assets
u32 fee_asset_item
Execute BoxVersionedXcmTasSysConfigCall message
Weight max_weight
Force xcm version BoxMultiLocation location
XcmVersion xcm_version
Force default xcm version OptionXcmVersion maybe_xcm_version
Force subscribe version notify BoxVersionedMultiLocation location
Force unsubscribe version notify BoxVersionedMultiLocation location
Limited reserve transfer assets BoxVersionedMultiLocation dest
BoxVersionedMultiLocation beneficiary
BoxVersionedMultiAssets assets
u32 fee_asset_item
WeightLimit weight_limit
Limited teleport assets BoxVersionedMultiLocation dest
BoxVersionedMultiLocation beneficiary
BoxVersionedMultiAssets assets
u32 fee_asset_item
WeightLimit weight_limit

DmpQueue

Name Light XL Nesting Arguments
Service overweight OverweightIndex index
Weight weight_limit

Utility

Name Light XL Nesting Arguments
Batch VecCall calls
As derivative u16 index
Call call
Batch all VecCall calls
Dispatch as BoxPalletsOrigin as_origin
Call call
Force batch VecCall calls

Multisig

Name Light XL Nesting Arguments
As multi threshold 1 VecAccountId other_signatories
Call call
As multi u16 threshold
VecAccountId other_signatories
OptionTimepoint maybe_timepoint
OpaqueCall call
bool store_call
Weight max_weight
Approve as multi u16 threshold
VecAccountId other_signatories
OptionTimepoint maybe_timepoint
H256 call_hash
Weight max_weight
Cancel as multi u16 threshold
VecAccountId other_signatories
Timepoint timepoint
H256 call_hash

Proxy

Name Light XL Nesting Arguments
Proxy AccountId real
OptionProxyType force_proxy_type
Call call
Add proxy AccountId delegate
ProxyType proxy_type
BlockNumber delay
Remove proxy AccountId delegate
ProxyType proxy_type
BlockNumber delay
Remove proxies
Anonymous ProxyType proxy_type
BlockNumber delay
u16 index
Kill anonymous AccountId spawner
ProxyType proxy_type
u16 index
Compactu32 height
Compactu32 ext_index
Announce AccountId real
CallHashOf call_hash
Remove announcement AccountId real
CallHashOf call_hash
Reject announcement AccountId delegate
CallHashOf call_hash
Proxy announced AccountId delegate
AccountId real
OptionProxyType force_proxy_type
Call call

Sudo

Name Light XL Nesting Arguments
Sudo Call call
Sudo unchecked weight Call call
Weight weight
Set key LookupasStaticLookupSource new_
Sudo as LookupasStaticLookupSource who
Call call