Skip to content

jmartins-ledger/app-statemine

 
 

Repository files navigation

Ledger Statemine App

License GithubActions


zondax_light zondax_dark

Please visit our website at zondax.ch


This project contains the Statemine app (https://kusama.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

Statemine 6.900.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

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

Assets

Name Light XL Nesting Arguments
Create Compactu32 id
LookupasStaticLookupSource admin
Balance min_balance
Force create ✔️ ✔️ Compactu32 id
LookupasStaticLookupSource owner
bool is_sufficient
CompactBalance min_balance
Destroy Compactu32 id
DestroyWitness witness
Mint ✔️ ✔️ Compactu32 id
LookupasStaticLookupSource beneficiary
CompactBalance amount
Burn ✔️ ✔️ Compactu32 id
LookupasStaticLookupSource who
CompactBalance amount
Transfer ✔️ ✔️ Compactu32 id
LookupasStaticLookupSource target
CompactBalance amount
Transfer keep alive ✔️ ✔️ Compactu32 id
LookupasStaticLookupSource target
CompactBalance amount
Force transfer ✔️ ✔️ Compactu32 id
LookupasStaticLookupSource source
LookupasStaticLookupSource dest
CompactBalance amount
Freeze ✔️ ✔️ Compactu32 id
LookupasStaticLookupSource who
Thaw ✔️ ✔️ Compactu32 id
LookupasStaticLookupSource who
Freeze asset ✔️ ✔️ Compactu32 id
Thaw asset ✔️ ✔️ Compactu32 id
Transfer ownership ✔️ ✔️ Compactu32 id
LookupasStaticLookupSource owner
Set team ✔️ ✔️ Compactu32 id
LookupasStaticLookupSource issuer
LookupasStaticLookupSource admin
LookupasStaticLookupSource freezer
Set metadata ✔️ ✔️ Compactu32 id
Vecu8 name
Vecu8 symbol
u8 decimals
Clear metadata ✔️ ✔️ Compactu32 id
Force set metadata ✔️ ✔️ Compactu32 id
Vecu8 name
Vecu8 symbol
u8 decimals
bool is_frozen
Force clear metadata ✔️ ✔️ Compactu32 id
Force asset status ✔️ ✔️ Compactu32 id
LookupasStaticLookupSource owner
LookupasStaticLookupSource issuer
LookupasStaticLookupSource admin
LookupasStaticLookupSource freezer
CompactBalance min_balance
bool is_sufficient
bool is_frozen
Approve transfer ✔️ ✔️ Compactu32 id
LookupasStaticLookupSource delegate
CompactBalance amount
Cancel approval ✔️ ✔️ Compactu32 id
LookupasStaticLookupSource delegate
Force cancel approval ✔️ ✔️ Compactu32 id
LookupasStaticLookupSource owner
LookupasStaticLookupSource delegate
Transfer approved ✔️ ✔️ Compactu32 id
LookupasStaticLookupSource owner
LookupasStaticLookupSource destination
CompactBalance amount
Touch ✔️ Compactu32 id
Refund ✔️ Compactu32 id
bool allow_burn

Uniques

Name Light XL Nesting Arguments
Create ✔️ ClassId class_
LookupasStaticLookupSource admin
Force create ✔️ ClassId class_
LookupasStaticLookupSource owner
bool free_holding
Destroy ✔️ ClassId class_
DestroyWitness witness
Mint ✔️ ClassId class_
InstanceId instance
LookupasStaticLookupSource owner
Burn ✔️ ClassId class_
InstanceId instance
OptionLookupasStaticLookupSource check_owner
Transfer ✔️ ClassId class_
InstanceId instance
LookupasStaticLookupSource dest
Redeposit ✔️ ClassId class_
VecInstanceId instances
Freeze ✔️ ClassId class_
InstanceId instance
Thaw ✔️ ClassId class_
InstanceId instance
Freeze class ✔️ ClassId class_
Thaw class ✔️ ClassId class_
Transfer ownership ✔️ ClassId class_
LookupasStaticLookupSource owner
Set team ✔️ ClassId class_
LookupasStaticLookupSource issuer
LookupasStaticLookupSource admin
LookupasStaticLookupSource freezer
Approve transfer ✔️ ClassId class_
InstanceId instance
LookupasStaticLookupSource delegate
Cancel approval ✔️ ClassId class_
InstanceId instance
OptionLookupasStaticLookupSource maybe_check_delegate
Force asset status ✔️ ClassId class_
LookupasStaticLookupSource owner
LookupasStaticLookupSource issuer
LookupasStaticLookupSource admin
LookupasStaticLookupSource freezer
bool free_holding
bool is_frozen
Set attribute ✔️ ClassId class_
OptionInstanceId maybe_instance
BoundedVecu8 key
BoundedVecu8 value
Clear attribute ✔️ ClassId class_
OptionInstanceId maybe_instance
BoundedVecu8 key
Set metadata ✔️ ClassId class_
InstanceId instance
BoundedVecu8 data
bool is_frozen
Clear metadata ✔️ ClassId class_
InstanceId instance
Set class metadata ✔️ ClassId class_
BoundedVecu8 data
bool is_frozen
Clear class metadata ✔️ ClassId class_
Set accept ownership ✔️ OptionClassId maybe_class

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 86.0%
  • C++ 4.3%
  • TypeScript 3.9%
  • Rust 2.2%
  • Makefile 1.4%
  • CMake 1.4%
  • Other 0.8%